3-40
3.10 Operation of OUT Instructions, SET/RST Instructions, or PLS/PLF Instructions Using Same Device
3.10
Operation of OUT Instructions, SET/RST
Instructions, or PLS/PLF Instructions Using Same
Device
This section explains the operation when the OUT instructions, SET/RST instructions, or PLS/
PLF instructions that use a same device are executed multiple times in one scan.
(1) OUT instructions that use a same device
Avoid executing the OUT instructions that use a same device multiple times during one
scan. If the OUT instructions that use a same device are executed multiple times during one
scan, the specified device is turned ON/OFF according to the operation result obtained by
each execution of the OUT instruction. Since the ON/OFF status of the specified device is
determined by each execution of the OUT instruction, turning ON/OFF may be repeated
during one scan.
The following figures show the operation example of the ladder that turns ON/OFF the same
internal relay (M0) by the inputs X0 and X1.
[Ladder]
[Timing chart]
For refresh type CPU modules, the ON/OFF status of the OUT instruction executed last
during one scan is output when output (Y) is specified for the OUT instruction.
O
UT
EN
EN
O
d
M0
O
UT
EN
EN
O
d
M0
X
0
X1
O
FF
O
N
O
N
O
FF
O
N
EN
D
EN
D
EN
D
X
0
X1
M0
O
FF
O
UT
EN EN
O
d
M0
X1
O
UT
EN EN
O
d
M0
X
0
O
UT
EN EN
O
d
M0
X1
O
UT
EN EN
O
d
M0
X
0
M0
turns
O
N b
ecause
X
0
i
s
O
N.
M0
turns
O
FF b
ecause
X1 i
s
O
FF.
M0
rema
i
ns
O
FF b
ecause
X
0
i
s
O
FF.
M0
turns
O
N b
ecause
X1 i
s
O
N.
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......