Appendix D How to Use PLC Function|
D-42 Revision June 2008, 04EE, SW--PW V1.11/CTL V2.11
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
Mnemonic Function
ANDP Rising-edge series connection
X0~X17 Y0~Y17 M0~M159 T0~15 C0~C7 D0~D29
Operand
9 9 9 9 9
--
Explanations:
ANDP command is used in the series connection of the contacts’ rising-edge detection.
Program Example:
Ladder diagram: Command code:
Operation:
LD X0 Load A contact of X0
ANDP X1 X1 rising-edge detection in series connection
X1X0
Y1
OUT Y1 Drive Y1 coil
Mnemonic Function
ANDF Falling-edge series connection
X0~X17 Y0~Y17 M0~M159 T0~15 C0~C7 D0~D29
Operand
9 9 9 9 9
--
Explanations:
ANDF command is used in the series connection of the contacts’ falling-edge detection.
Program Example:
Ladder diagram: Command code: Operation:
LD X0 Load A contact of X0
ANDF X1 X1 falling-edge detection in series
connection
X1X0
Y1
OUT Y1 Drive Y1 coil