198
5 SEQUENCE INSTRUCTIONS
5.3 Output Instructions
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.
• 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.
• 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.
Sc: 1 scan
(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.
PLS
M0
X5
X5 OFF
M0 OFF
ON
ON
Sc
Sc
PLS
M0
X0
X0 OFF
M0 OFF
ON
PLS M0
LD X0
END
0
END
PLS M0
LD X0
END
PLS M0
LD X0
0
ON
(1)
(3)
(4)
(3)
(4)
(2)
(2)
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......