32.17.4.4 System Variables Indicating Execution Results - ASIN/ASINP

Program Example

ASIN

  1. The ASIN instruction is executed when the positive transition instruction turns ON. The ASIN instruction calculates the arc sine of Data_A and stores the result in D1.
    When using a normally open instruction, the ASIN instruction is always executed as long as the normally open instruction bit is ON.

ASINP

  1. ASINP and ASIN instructions differ in when they run. In ASINP instructions, even when using a normally open instruction, only the positive transition is detected and the ASINP instruction is executed. Therefore, the ASINP instruction is executed only for one scan, even when the normally open instruction bit remains ON.