Operations When The Out, Set/Rst, Or Pls/Plf Instruction Of The Same Device Is Used - Mitsubishi Electric M800VW Series Programming Manual

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

6.8 Operations When the OUT, SET/RST, or PLS/PLF Instruction of the
Same Device is Used
Operations when multiple OUT instructions, SET/RST instructions or PLS/PLF instructions using the same device are
executed in one scan are explained.
When the OUT instruction of the same device is used
Do not execute the OUT instruction of the same device multiple times within one scan.
When the OUT instruction of the same device is executed multiple times in one scan, a specified device is turned ON/OFF at
the time of each execution of OUT instruction, depending on the operation result up to the OUT instruction.
Because ON/OFF of the specified device is determined at the time of each execution of OUT instruction, ON/OFF may be
repeated within one scan.
In the ladder example below, the same internal relay (M0) is turned ON/OFF with the input X0 and X1.
[Ladder]
X0
M0
X1
M0
In the case of refresh type CPU unit, when output (Y) is specified with OUT instruction, ON/OFF status of the OUT instruction
executed at the end of one scan is output.
[Timing chart]
X0
END
ON
X0
OFF
ON
X1
OFF
ON
M0
OFF
M0 turns ON
because X0 is ON.
115
X0
M0
X1
X1
M0
END
M0 turns OFF
M0 turns ON when
because X1 is OFF
X1 is ON.
M0 remains OFF
because X0 is OFF.
M0
M0
END
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents