Chapter 16 PLC Function ApplicationsMS300 (High Speed Model)
16-42
Command Function
ANDF
Reverse edge detection series connection
Operand
X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399
-
The ANDF command is used for a contact falling edge detection series connection.
Ladder diagram:
X1
Y1
X0
Command code: Description:
LD X0 Load Contact A of X0
ANDF
X1
X1 Reverse edge
detection series
connection
OUT Y1 Drive Y1 coil
Command Function
ORP
Forward edge detection parallel connection
Operand
X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399
-
The ORP command is used for a contact rising edge detection parallel connection.
Ladder diagram:
X0
X1
Y1
Command code: Description:
LD X0 Load Contact A of X0
ORP
X1
X1 Forward edge
detection parallel
connection
OUT Y1 Drive Y1 coil
Command Function
ORF
Reverse edge detection parallel connection
Operand
X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399
-
The ORF command is used for contact falling edge detection parallel connection.
Ladder diagram:
X0
X1
Y1
Command code: Description:
LD X0 Load Contact A of X0
ORF
X1
X1 Reverse edge
detection parallel
connection
OUT Y1 Drive Y1 coil