31.21.6.4 System Variables Indicating Execution Results - DEG/DEGP

Program Example

DEG

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

DEGP

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