Appendix D How to Use PLC Function|
Revision June 2008, 04EE, SW--PW V1.11/CTL V2.11 D-37
Program Example:
Ladder diagram: Command code: Operation:
LDI X0 Load contact B of X0
AND X1 Connect to contact A of X1 in
series
X0 X1
Y1
OUT Y1 Drive Y1 coil
Mnemonic Function
SET Latch (ON)
X0~X17 Y0~Y17 M0~M159 T0~15 C0~C7 D0~D29
Operand
--
9 9
-- -- --
Explanations:
When the SET command is driven, its specific device is set to be “ON,” which will keep “ON” whether
the SET command is still driven. You can use the RST command to set the device to “OFF”.
Program Example:
Ladder diagram: Command code: Operation:
LD X0 Load contact A of X0
ANI Y0 Connect to contact B of Y0 in series
X0 Y0
Y1
SET
SET Y1 Y1 latch (ON)
Mnemonic Function
RST Clear the contacts or the registers
X0~X17 Y0~Y17 M0~M159 T0~15 C0~C7 D0~D29
Operand
--
9 9 9 9
--