D-53
Program Example:
Ladder diagram:
Command code:
Operation:
X0
X1
Y1
LD
X0
Load A contact of X0
ORP X1
X1 rising-edge detection in parallel
connection
OUT Y1
Drive Y1 coil
Mnemonic Function
ORF
Falling-edge parallel connection
Operand
X0~X17 Y0~Y17
M0~M159 T0~15 C0~C7 D0~D29
--
Explanations:
The ORP commands are used in the parallel connection of the contact’s falling-edge detection.
Program Example:
Ladder diagram:
Command code:
Operation:
X0
X1
Y1
LD
X0
Load A contact of X0
ORF
X1
X1 falling-edge detection in parallel
connection
OUT Y1
Drive Y1 coil
Mnemonic Function
PLS Rising-edge
output
Operand
X0~X17 Y0~Y17
M0~M159 T0~15 C0~C7 D0~D29
--
-- --
--
Explanations:
When X0=OFF
→
ON (rising-edge trigger), PLS command will be executed and M0 will send the
pulse of one time which the length is a scan time.
Program Example:
Ladder diagram:
Command code:
Operation:
X0
M0
PLS
M0
LD
X0
Load A contact of X0
PLS
M0
M0 rising-edge output