Mitsubishi MELSEC QCPU Programming Manual page 131

Programmable logic controller
Table of Contents

Advertisement

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
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
(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
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]
(2) The following program executes the PLF instruction when X9 goes OFF.
[Ladder Mode]
5 - 35
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
PLF
M0
may be ON more than one scan if the PLS or PLF
D
ON
X9 OFF
ON
M9 OFF
1 scan
ON
X9 OFF
M9 OFF
D
ON
X5 OFF
M0 OFF
1 scan
[List Mode]
Steps
Instruction
[List Mode]
Instruction
Steps
ON
1 scan
MELSEC-Q/QnA
during one scan, the
ON
1 scan
Device
Device
5 - 35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents