Examples for setting and resetting devices
4–26 MITSUBISHI ELECTRIC
The Basic Instruction Set An Introduction to Programming
This concludes the conversion of an OUT
instruction to a SET instruction.
Ladder Diagram
MELSEC Instruction List
LD X1
SET M0
LD X2
RST M0
1
st
alternative
2
nd
alternative
IEC Instruction List
LD X1
SM0
LD X2
RM0
X2
X1
M0
t
If the set and reset instructions for the
same device both evaluate to “1” the last
operation performed has priority. In this
example that is the RST instruction, and
so M0 remains off.
For a SET instruction click on
Set
. If you want a
RST instruction click on
Reset
. Then click on
OK
to close the window.