Leading Edge And Trailing Edge Output (Pls, Plf) - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

5 SEQUENCE INSTRUCTIONS

5.3.8 Leading edge and trailing edge output (PLS, PLF)

Internal Devices
Set
(System, User)
Data
Bit
Word
D
[Instruction Symbol] [Execution Condition]
PLS
PLF
[Set Data]
Set Data
D
[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
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
(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
X0 OFF
M0 OFF
(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.
5 - 34
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
MELSECNET/10(H)
File
Direct J \
Register
Bit
PLS command
PLF Command
Pulse conversion device
PLS
M0
PLS
M0
Set the CPU module RUN/STOP
key switch from RUN to STOP.
LD X0
PLS M0
END
0
END
ON
ON
1 scan of PLS M0
QCPU
PLC CPU
Basic
High Performance
Usable Devices
Special
Function
Module
Word
U \G
Meaning
ON
X5 OFF
ON
M0 OFF
1 scan
Set CPU module RUN/STOP key
switch from STOP to RUN
Set CPU module
RUN/STOP key switch
LD X0
from RUN to STOP
PLS M0
END
Amount of time QnACPU
operation has been stopped
MELSEC-Q/QnA
QnA
Process CPU
Index
Other
Constant
Register
K, H
Zn
PLS
D
PLF
D
Data Type
Bit
during one scan, the
D
1 scan
Set CPU module
RUN/STOP key switch
from STOP to RUN
LD X0
PLS M0
0
5 - 34
Q4AR
DY

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents