Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 200

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• This instruction turns on the specified device on the rising edge (off to on) of the execution command. When the execution
command is in another state (staying on, falling edge (on to off), or staying off), the instruction turns off the specified device.
If only one PLS instruction in the device specified by (d) is executed in a single scan, the specified device turns on for one
scan. For the operation to be performed if more than one PLS instruction is executed during one scan, refer to the
following.
Page 59 Operations arising when the OUT, SET/RST, and PLS/PLF instructions of the same device are used
X5
Sc: 1 scan
• Once after execution of the PLS instruction, even if the switch of the CPU module is moved to the STOP position and then
the RUN position again, the PLS instruction is not executed.
X0
END
0
ON
X0 OFF
M0 OFF
(1) M0 turns on for one scan.
(2) The CPU module operation stops.
(3) Change the RUN/STOP/RESET switch of the CPU module from RUN to STOP.
(4) Change the RUN/STOP/RESET switch of the CPU module from STOP to RUN.
• If the latch relay (L) is specified as the execution command and the system is powered on while the latch relay is on, the
execution command turns on in the first scan, triggering execution of the PLS instruction and turning on the specified
device. The device that has been turned on in the first scan after power-on can be turned off by the next PLS instruction.
• The PLS instruction performs OFF processing at the execution of the next instruction after the instruction execution.
However, in safety programs executed by the Safety CPU, the PLS instruction turns on one safety cycle processing for the
specified device/label until the safety program of next safety cycle processing starts and the instruction is executed. If the
standard/safety shared label is used in the argument of the PLS instruction, the instruction may fail to detect the ON state of
the standard/safety shared label or may detect the ON state for plural periods in the safety program or standard program
that uses the corresponding standard/safety shared label depending on the timing to interrupt the safety cycle processing.
• Note that if the PLS instruction is jumped by using the CJ instruction or the executed subroutine program is
not called by using the CALL(P) instruction, the device specified by (d) may be on for more than one scan.
Operation error
There is no operation error.
5 SEQUENCE INSTRUCTIONS
198
5.3 Output Instructions
X5 OFF
PLS
M0
M0 OFF
PLS
M0
(4)
LD X0
(3)
PLS M0
END
(2)
ON
(1)
ON
ON
Sc
(4)
LD X0
PLS M0
END
(2)
Sc
(3)
LD X0
PLS M0
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents