5 - 35 5 - 35
MELSEC-Q/QnA
5 SEQUENCE INSTRUCTIONS
PLF
(1) When turned from ON to OFF, the PLF command turns ON the specified device, and other
than when turned from ON to OFF (i.e. from OFF to OFF, from OFF to ON or from ON to ON),
it turns OFF the specified device.
When there is one PLF instruction for the device designated by
D
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.
X5 OFF
M0 OFF
ON
ON
1 scan
X5
M0PLF
1 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.
POINT
Note that the device designated by
D
may be ON more than one scan if the PLS or PLF
instruction is jumped by the CJ instruction or if the subroutine program where the PLS/PLF
instructon was executed was not called by the CALL instruction.
[Operation Errors]
(1) There are no operation errors associated with the PLS or PLF instructions.
[Program Example]
(1) The following program executes the PLS instruction when X9 goes ON.
[Ladder Mode] [List Mode]
Steps
Instruction
Device
X9 OFF
M9 OFF
ON
ON
1 scan
(2) The following program executes the PLF instruction when X9 goes OFF.
[Ladder Mode] [List Mode]
Steps
Instruction
Device
X9 OFF
M9 OFF
ON
ON
1 scan
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com