Ladder diagram:
Example
X0
X1
Mnemonic
Falling-edge parallel connection
ORF
X0~X17
Operand
The ORP commands are used in the parallel connection of the contact's falling-edge
detection.
Ladder diagram:
Example
X0
X1
Mnemonic
Rising-edge output
PLS
X0~X17
Operand
-
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 the time needed for one scan cycle.
Ladder diagram:
Example
X0
M0
Timing diagram:
X0
Time for one scan cycle
M0
Y0
Mnemonic
Falling-edge output
PLF
X0~X17
Operand
-
When X0= ON→OFF (falling-edge trigger), PLF command will be executed and M0
will send the pulse of one time which the length is the time for scan one time.
Y1
Y0~Y17
M0~M799
Y1
Y0~Y17
M0~M799
M0
PLS
SET
Y0
Y0~Y17
M0~M799
16-46
Chapter 16 PLC Function |C2000 Series
Command code:
LD
X0
ORP
X1
OUT
Y1
Function
T0~159
Command code:
LD
X0
ORF
X1
OUT
Y1
Function
T0~159
C0~C79
-
Command code:
LD
X0
PLS
M0
LD
M0
SET
Y0
Function
T0~159
C0~C79
-
Operation:
Load A contact of X0
X1 rising-edge
detection in parallel
connection
Drive Y1 coil
C0~C79
D0~D399
-
Operation:
Load A contact of X0
X1 falling-edge
detection in parallel
connection
Drive Y1 coil
D0~D399
-
-
Operation:
Load A contact of X0
M0 rising-edge output
Load the contact A of
M0
Y0 latched (ON)
D0~D399
-
-