5 - 34 5 - 34
MELSEC-Q/QnA
5 SEQUENCE INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
5.3.8 Leading edge and trailing edge output (PLS, PLF)
Usable Devices
Internal Devices
(System, User)
MELSECNET/10(H)
Direct J
\
Other
Set
Data
Bit Word
File
Register
Bit Word
Special
Function
Module
U
\G
Index
Register
Zn
Constant
K, H
DY
D
[Instruction Symbol] [Execution Condition]
PLS command
PLF Command
PLF
PLS
D
D
PLS
PLF
[Set Data]
Set Data Meaning Data Type
D
Pulse conversion device Bit
[Functions]
PLS
(1) When turned from OFF to ON, the PLS command turns ON the specified device, and other
than when turned from OFF to ON (i.e. from ON to ON, from ON to OFF or from OFF to OFF),
it turns OFF the specified device.
When there is one PLS 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 PLS instruction for the same
device is executed more than once during one scan.
X5 OFF
M0 OFF
ON
ON
1 scan 1 sca
X5
M0PLS
(2) If the RUN/STOP key switch is changed from RUN to STOP after the execution of the PLS
instruction, the PLS instruction will not be executed again even if the switch is set back to RUN.
X0
M0PLS
X0 OFF
M0 OFF
ON
PLS M0
LD X0
END0END
Set the CPU module RUN/STOP
key switch from RUN to STOP.
PLS M0
LD X0
Set CPU module RUN/STOP key
switch from STOP to RUN
END
Set CPU module
RUN/STOP key switch
from STOP to RUN
PLS M0
LD X0
Set CPU module
RUN/STOP key switch
from RUN to STOP
Amount of time QnACPU
operation has been stopped
0
1 scan of PLS M0
ON
(3) When a latch relay (L) is specified for the PLS command, switching power OFF with the latch
relay (L) ON and then switching it ON again executes the PLS instruction to turn ON the
specified device since the PLS command turns from OFF to ON at the first scan.
The device turned ON at the first scan after power-ON turns OFF at the next PLS instruction.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com