32.22.5.5 Confirming Execution Results - R2I/R2IP

Program Example

R2I

  1. When the positive transition instruction turns ON, the R2I instruction will be executed. When the R2I instruction is executed, the result of the R2I conversion of Data_A is stored in D1.
    When using a normally open instruction, the R2I instruction is always executed as long as the normally open instruction variable remains ON.

R2IP

  1. The R2IP and R2I instructions have different ways of detecting when to execute. In the R2IP instruction, only the upward transition is detected and the R2IP instruction is executed even when using a normally open instruction. Even if the normally open instruction variable remains ON, the R2IP instruction is executed only once (for 1 scan).