5-38
PLS,PLF
(3) When designating a latch relay (L) for the execution command and turning the power supply
OFF to ON with the latch relay ON, the execution command turns OFF to ON at the first
scan, executing the PLS instruction and turning ON the designated device.
The device turned ON at the first scan after power-ON turns OFF at the next PLS instruction.
PLF
(1) Turns ON the designated device when the execution command is turned ON OFF, and
turns OFF the device in any other case the execution command is turned ON OFF (i.e., at
OFF OFF, OFF ON or ON ON of the execution command).
When there is one PLF instruction for the device designated by during one scan, the
specified device turns ON one scan.
See Section 3.9 for the operation to be performed when the PLF instruction for the same device
is executed more than once during one scan.
(2) If the RUN/STOP key switch is changed from RUN to STOP after the execution of the PLF
instruction, the PLF instruction will not be executed again even if the switch is set back to
RUN.
Note that the device designated by may remain ON for more than one scan if
the PLS or PLF instruction is jumped by the CJ instruction or if the executed
subroutine program was not called by the CALL instruction.
Operation Error
(1) There are no operation errors associated with the PLS or PLF instruction.
Program Example
(1) The following program executes the PLS instruction when X9 goes ON.
[Ladder Mode] [List Mode]
[Timing Chart]
D
X5 OFF
M0 OFF
ON
ON
1 scan
X5
M0
PLF
1 scan
D
Step
Instruction
Device
X9 OFF
M9 OFF
ON
ON
1 scan