3 - 22 3 - 22
MELSEC-Q/QnA
3 CONFIGURATION OF INSTRUCTIONS
(2) SET/RST instructions using the same device
(a) The SET instruction turns ON the specified device when the SET command is ON and
does not do anything when the SET command is OFF.
For this reason, when two or more SET instructions use the same device in one scan,
the specified device will be ON if any one of the SET commands is ON.
(b) The RST instruction turns OFF the specified device when the RST command is ON and
does not anything when the RST command is OFF.
For this reason, when two or more RST instructions use the same device in one scan,
the specified device will be OFF if any one of the RST commands is ON.
(c) When the SET instruction and RST instruction using the same device are programmed
in one scan, the SET instruction turns ON the specified device when the SET command
is ON and the RST instruction turns OFF the specified device when the RST command
is ON.
When both the SET and RST commands are OFF, the ON/OFF status of the specified
device will not be changed.
[Circuit]
M0
X0
X1
SET
M0
RST
[Timing Chart]
M0
M0 turns ON because X0 is ON.
RST M0 remains the same (ON)
because X1 is OFF.
SET M0 remains the same (ON)
because X0 is OFF.
M0 turns OFF
because X1 is ON.
OFF
ON
END
END END
0
1
M0
OFF
OFF
ON
SET
X0
X1
M0
RST
M0SET
M0RST
X0
X1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com