M800V/M80V Series PLC Programming Manual (1/2)
6 Explanation of Instructions and Functions
6.6 Execution Condition of Instruction
6.6 Execution Condition of Instruction
There are the following 4 kinds of execution conditions for basic instruction and function instruction.
Execute all the time: Instruction executed regardless of device's ON/ OFF
Example: LD X0 , OUT Y10
Execute at ON: Instruction executed when input condition is turned ON
Example: MOV instruction, CJ instruction
Execute at rising edge: Instruction executed only at the rising edge (OFF to ON) of input condition
Example: PLS instruction, MOVP
Execute at falling edge: Instruction executed only at the falling edge (ON to OFF) of input condition
Example: PLF instruction
With coil equivalent basic instruction and function instruction, if "execution at ON" and "execution at rising edge" are both
possible with the same instruction, add "P" at the end of instruction to differentiate the execution condition.
Instruction when executed at ON: Instruction name
Instruction when executed at rising edge: Instruction name + P
With MOV instruction, execution at ON and execution at rising edge are specified as shown below.
IB-1501667-B
MOV K4X0 D0
Execute at ON
MOVP K4X0 D0
Execute at rising edge
112