2 PRECAUTIONS ON PROGRAMMING
2.3 Operations Arising when the OUT, SET/RST, and PLS/PLF Instructions of the Same Device are Used
39
2
2.3
Operations Arising when the OUT, SET/RST, and
PLS/PLF Instructions of the Same Device are Used
If two or more OUT, SET/RST, and PLS/PLF instructions are executed using the same device during one scan, they operate
as described in this section.
For OUT instructions of the same device
More than one OUT instruction of the same device must not be issued during one scan.
Otherwise, the specified device turns on or off, depending on the operation result up to each OUT instruction while it is in
execution.
In this case, the device may turn on/off during one scan because the on/off state of the specified device is determined during
execution of each OUT instruction.
The following figure shows the behavior arising when a circuit turning on/off the same internal relay (M0) is created with input
X0 and X1.
If output (Y) is specified using an OUT instruction, the on/off state of the last OUT instruction executed during the one scan will
be output.
(1) Since X0 is on, M0 turns on.
(2) Since X1 is off, M0 turns off.
(3) Since X1 is off, M0 remains off.
(4) Since X1 is on, M0 turns on.
X1
M0
X0
M0
OFF
OFF
X1
X1
X0
X0
M0
X1
X0
END
END
END
ON
ON
OFF
OFF
ON
ON
ON
ON
OFF
OFF
M0
M0
M0
M0
(1)
(2)
(3)
(4)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......