31.12.2.5 Confirming Execution Results - OR/ORP

Program Example

OR

  1. When the positive transition instruction start turns ON, the OR instruction will be executed. When the OR instruction is executed, the result value obtained by ORing Data_A with FOFF is stored in D1.
    When using a normally open instruction, as long as the instruction variable is ON, an OR instruction is always executed.

ORP

  1. When the normally open instruction turns ON, the ORP instruction will be executed. When the OPR instruction is executed, the result value obtained by ORing Data_A with F0FF is stored in D1.
    Even when using a normally open instruction, the ORP instruction executes only when it detects the upward transition.
    Therefore, even when the variable of the NO instruction is always ON, the ORP instruction is executed only for one scan.