4 Basic Instructions
Instruction
code
Function Applicable model
20PM
PLS
Rising-edge output
X0~X377 Y0~Y377 M0~M4,095 S0~S1,023 T0~T255 C0~C255 D0~D9,999
Operand
-
- - - -
Explanation
PLS is a rising-edge output instruction. When X0 is turned from OFF to ON, the
instruction PLS is executed. M0 sends a pulse for a scan cycle.
Example
Ladder diagram:
X0
M0
PLS
M0
Y0SET
Timing diagram:
X0
M0
Y0
One scan cycle
Instruction code: Description:
LD X0 Loading the Form A
contact X0
PLS M0
M0 is rising
edge-triggered.
LD M0 Loading the Form A
contact M0
SET Y0 Y0 remains ON.
Instruction
code
Function Applicable model
20PM
PLF
Falling-edge output
X0~X377 Y0~Y377 M0~M4,095 S0~S1,023 T0~T255 C0~C255 D0~D9,999
Operand
-
- - - -
Explanation
PLF is a falling-edge output instruction. When X0 is turned from ON to OFF, the
instruction PLF is executed. MO sends a pulse for a scan cycle.
Example
Ladder diagram:
X0
M0
PLF
M0
Y0SET
Timing diagram:
One scan cycle
X0
M0
Y
Instruction code: Description:
LD X0 Loading the Form A
contact X0
PLF M0
M0 is falling
edge-triggered.
LD M0 Loading the Form A
contact M0
SET Y0 Y0 remains ON.
DVP-20PM Application Manual
4-14