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