D-47
Mnemonic Function
SET Latch
(ON)
Operand
X0~X17 Y0~Y17
M0~M159 T0~15 C0~C7 D0~D29
--
-- -- --
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:
X0
Y0
Y1
SET
LD
X0
Load contact A of X0
ANI
Y0
Connect to contact B of Y0 in series
SET
Y1
Y1 latch (ON)
Mnemonic Function
RST
Clear the contacts or the registers
Operand
X0~X17 Y0~Y17
M0~M159 T0~15 C0~C7 D0~D29
--
--
Explanations:
When the RST command is driven, motion of its specific device is as follows:
Device
Status
Y, M
Coil and contact will be set to “OFF”.
T, C
Present values of the timer or counter
will be set to 0, and the coil and contact
will be set to “OFF.”
D
The content value will be set to 0.
Program Example:
Ladder diagram:
Command code:
Operation:
X0
Y5
RST
LD
X0
Load contact A of X0
RST
Y5
Clear contact Y5