Appendix D How to Use PLC Function
VFD-E Series
D-36 Revision August 2006, 01EE, SW--PW V1.03/CTL V2.03
Mnemonic Function
LDP Rising-edge detection operation
X0~X17 Y0~Y17 M0~M159 T0~15 C0~C7 D0~D29 X0~X17
Operand
999999
--
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: Command code: Operation:
LDP X0 Start X0 rising-edge detection
AND X1 Series connection A contact of X1
X0 X1
Y1
OUT Y1 Drive Y1 coil
Mnemonic Function
LDF Falling-edge detection operation
X0~X17 Y0~Y17 M0~M159 T0~15 C0~C7 D0~D29 X0~X17
Operand
999999
--
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:
Ladder diagram: Command code: Operation:
LDF X0 Start X0 falling-edge detection
AND X1 Series connection A contact of X1
X0 X1
Y1
OUT Y1 Drive Y1 coil