32.13.1.5 Confirming Execution Results - MOV/MOVP

Program Example

MOV

Stores the constant in the integer variable.

  1. When the positive transition instruction turns ON, the MOV instruction will be executed. When the MOV instruction is executed, the constant 10 is stored in D1.
    When using a normally open instruction, as long as the instruction variable is ON, the MOV instruction is always executed.

MOVP

  1. When the normally open instruction turns ON, the MOVP instruction is executed. When the MOVP instruction is executed, the constant 10 is stored in D1.
    Even when using a normally open instruction, the MOVP instruction executes only when it detects the upward transition.
    Therefore, even when the NO instruction is always ON, the MOVP instruction is executed only for one scan.