4 Basic Instructions
DVP-PM Application Manual
4-12
Mnemonic Function
PLF
Falling-Edge Output
Controllers
20PM 10PM
X0~X377 Y0~Y377 M0~M4095 S0~S1023 T0~T255 C0~C255 D0~D9999
Operand
-
9 9
- - - -
Explanations:
When X0 goes from ON to OFF (falling-edge triggered), PLS instruction executes and M0 generates a pulse with the
pulse width of one scan time.
Program Example:
Ladder diagram: Instruction: Operation:
LD X0 Load NO contact X0
PLF M0
M0 falling-edge output
LD M0 Load NO contact M0
X0
M0
PLF
M0
Y0SET
SET Y0 Y0 latched (ON)
Timing diagram:
X0
M0
Y0
1 scan time
Mnemonic Function
P
Pointer
Controllers
20PM 10PM
Operand
P0 ~ P255
Explanations:
Pointer P is used in API 00 CJ, API 01 CALL, API 256 CJN and API 257 JMP instructions. Pointer P does not need to
be used starting from P0. However, number of P cannot be repeated, otherwise unexpected errors may occur.
Program Example:
Ladder diagram: Instruction: Operation:
LD X0 Load NO contact X0
CJ P10 Jump to P10 subroutine
:
P10
Pointer P10
LD X1 Load NO contact X1
X0
Y1
P10
X1
P10
CJCJ
OUT Y1 Drive coil Y1