3.15 SET, RST (Set, Reset)
■
Ladder diagram
■
Devices that can be specified (indicated by ●)
Operand
Bit device
Specification of bit of
word device
Index modifier
X Y R L T C P E SR IN OT DT.n LD.n
bit ● ● ● ● ● ● ● ● ●
■
Outline of operation
Type of
instruction
Operation
SET
When the execution condition turns ON, the output turns ON and the state is held regardless of a
change in the state of the execution condition.
RST
When the execution condition turns ON, the output coil turns OFF and the OFF state is held
regardless of a change in the state of the execution condition.
■
Operation Example
X100
R0
X101
1) When X100 turns ON, R0 turns ON and its state is held.
2) When X101 turns ON, R1 turns OFF and its state is held.
① ②
■
Precautions for programming
● The same output coil can be specified as the output destination of the SET and RST
instructions for any number of times.
3.15 SET, RST (Set, Reset)
WUME-FP7CPUPGR-12 3-31