Download "user manual"

Transcript
Appendix D How to Use PLC Function|
Mnemonic
Function
ORP
Rising-edge parallel connection
Operand
X0~X17
Y0~Y17
9
9
M0~M159
T0~15
C0~C7
D0~D29
9
9
--
9
Explanations:
The ORP commands are used in the parallel connection of the contact’s rising-edge detection.
Program Example:
Ladder diagram:
Command code: Operation:
X0
Y1
X1
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
9
9
M0~M159
9
T0~15
C0~C7
D0~D29
9
9
--
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
Y1
X1
D-42
LD
X0
Load A contact of X0
ORF
X1
X1 falling-edge detection in parallel
connection
OUT
Y1
Drive Y1 coil
Revision Jan. 2009, 06EE, SW--PW V1.12/CTL V2.12