Mitsubishi Electric M800VW Series Programming Manual page 137

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
6 Explanation of Instructions and Functions
6.8 Operations When the OUT, SET/RST, or PLS/PLF Instruction of the Same Device is Used
When the SET/RST instruction of the same device is used
 The SET instruction turns a specified device ON when the SET command is ON and it does not operate when the SET
command is OFF.
Therefore, when the SET instructions of the same device are executed multiple times within one scan, and if one or more
SET commands are ON, the specified device will be turned ON.
 The RST instruction turns a specified device OFF when the RST command is ON and it does not operate when the RST
command is OFF.
Therefore, when the RST instructions of the same device are executed multiple times within one scan, and if one or more
RST commands are ON, the specified device will be turned OFF.
 When both the SET instruction and RST instruction of the same device exist within one scan, the SET instruction turns a
specified device ON when the SET command is ON, and the RST instruction turns a specified device OFF when the RST
command is ON.
When both the SET command and RST command are OFF, the specified device's ON/OFF status does not change.
[Ladder]
X0
SET M0
X1
RST M0
IB-1501667-B
[Timing chart]
X0
END
X0
OFF
X1
OFF
ON
M0
OFF
RST executes no
operation because X1 is
OFF. (M0 remains ON.)
M0 turns ON
because X0 is ON.
116
X0
SET M0
X1
X1
RST M0
END
ON
M0 turns OFF
because X1 is ON.
SET executes no
operation because X0 is
OFF. (M0 remains ON.)
SET M0
RST M0
END

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents