Mnemonic
LDP
Operand
Explanations:
Usage of the LDP command is the same as the LD command, but the motion is different. It is used to
reserve present contents and at the same time, saving the detection status of the acquired contact
rising-edge into the accumulative register.
Program Example:
Ladder diagram:
X0
X1
Mnemonic
LDF
Operand
Explanations:
Usage of the LDF command is the same as the LD command, but the motion is different. It is used to
reserve present contents and at the same time, saving the detection status of the acquired contact
falling-edge into the accumulative register.
Program Example:
Revision June 2008, 04EE, SW--PW V1.11/CTL V2.11
LD
OUT
MCR
X0~X17
Y0~Y17
Command code: Operation:
LDP
Y1
AND
OUT
X0~X17
Y0~Y17
Appendix D How to Use PLC Function|
X11
Load A contact of X11
Y10
Drive Y10 coil
:
N0
Disable N0 common series
connection contact
Function
Rising-edge detection operation
M0~M159
T0~15
X0
Start X0 rising-edge detection
X1
Series connection A contact of X1
Y1
Drive Y1 coil
Function
Falling-edge detection operation
M0~M159
T0~15
C0~C7
D0~D29
--
C0~C7
D0~D29
--
D-41