32.22.7.5 Confirming Execution Results - H2S/H2SP

Program Example

H2S

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

H2SP

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