Mitsubishi Electric MELSEC-Q/L Programming Manual page 126

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

PLS instructions using the same device
The PLS instruction turns ON the specified device when the execution command is turned ON from OFF. It turns OFF the
device at any other time (OFF to OFF, ON to ON, or ON to OFF). If two or more PLS instructions using the same device are
executed in one scan, each instruction turns ON the device when the corresponding execution command is turned ON from
OFF and turns OFF the device in other cases. For this reason, if multiple PLS instructions using the same device are
executed in a single scan, a device that has been turned ON by the PLS instruction may not be turned ON during one scan.
[Ladder]
X0
X1
[Timing Chart]
• The ON/OFF timing of the X0 and X1 is different. (The specified device does not turn ON throughout the scan.)
END
ON
OFF
X0
X1
OFF
OFF
M0
• The X0 and X1 turn ON from OFF at the same time.
END
ON
OFF
X0
ON
X1
OFF
OFF
M0
When using a refresh type CPU module and specifying output (Y) in the PLS instructions, the ON/OFF status of the device at
the execution of the last PLS instruction in the scan is returned as the output (Y).
3 CONFIGURATION OF INSTRUCTIONS
124
3.9 Operation When the OUT, SET/RST, or PLS/PLF Instructions Use the Same Device
PLS
M0
PLS
M0
X0
PLS
M0
X1
PLS
END
ON
ON
M0 turns OFF because X1
status is other than OFF
M0 turns ON because
X0 goes ON (OFF
ON).
X0
PLS
M0
X1
PLS
END
ON
M0 turns ON because X1
goes ON (OFF
ON).
(M0 remains ON.)
M0 turns ON because
X0 goes ON (OFF
ON).
X0
PLS
X1
M0
ON
M0 turns ON because X1
goes ON (OFF
ON.
M0 turns OFF because X0 status
is other than OFF
(M0 remains OFF.)
X0
PLS
X1
M0
M0 turns OFF because X1 status is
other than OFF
(M0 remains OFF.)
M0 turns OFF because X0 status is other
than OFF
ON.
M0
PLS
M0
END
ON).
ON.
M0
PLS
M0
END
ON.

Advertisement

Table of Contents
loading

Table of Contents