4 Basic Instructions
Instruction
code
Function Applicable model
20PM
LDF
Starting falling-edge detection
X0~X377 Y0~Y377 M0~M4,095 S0~S1,023 T0~T255 C0~C255 D0~D9,999
Operand
-
Explanation
The usage of LDF is similar to that of LD, but the action of LDP is different from
that of LD. LDF reserves the present contents, and stores the state of the falling
edge-triggered contact specified to an accumulation register.
Example
Ladder diagram:
X0 X1
Y1
Instruction code: Description:
LDF X0
Starting the detection
of the state of the
falling edge-triggered
contact X0
AND X1 Connecting the Form A
contact X1 in series
OUT Y1 Driving the coil Y1
Instruction
code
Function Applicable model
20PM
ANDP
Connecting rising-edge detection in series
X0~X377 Y0~Y377 M0~M4,095 S0~S1,023 T0~T255 C0~C255 D0~D9,999
Operand
-
Explanation
The instruction ANDP is used to connect a rising edge-triggered contact in
series.
Example
Ladder diagram:
X1X0
Y1
Instruction code: Description:
LD X0 Loading the Form A
contact X0
ANDP X1
Connecting the rising
edge-triggered contact
X1 in series
OUT Y1 Driving the coil Y1
DVP-20PM Application Manual
4-11