Generating Pulses - Mitsubishi MELSEC System Q Manual

Hide thumbs Also See for MELSEC System Q:
Table of Contents

Advertisement

The Basic Instruction Set
4.7.9

Generating pulses

Instruction
PLS
PLF
*
PLC and PLF instructions can be used to set outputs (Y) and relays (M).
These instructions effectively convert a static signal into a brief pulse, the duration of which
depends on the length of the program cycle. If you use PLS instead of an OUT instruction the
signal state of the specified device will only be set to "1" for a single program cycle, specifically
during the cycle in which the signal state of the device before the PLS instruction in the circuit
switches from "0" to "1" (rising edge pulse).
The PLF instruction responds to a falling edge pulse and sets the specified device to "1" for a
single program cycle, during the cycle in which the signal state of the device before the PLF
instruction in the circuit switches from "1" to "0" (falling edge pulse).
Ladder Diagram
X0
X1
M0
M1
Y10
4 – 28
Function
Pulse, sets an device* for the duration of
a single program cycle on the rising edge
of the switching pulse of the input condi-
tion / device
Pulse Falling, sets a device* for the dura-
tion of a single program cycle on the fall-
ing edge of the switching pulse of the
input condition / device
An Introduction to Programming
Ladder Diagram
MELSEC Instruction List
LD
X0
PLS
M0
LD
M0
SET
Y10
LD
X1
PLF
M1
LD
M1
RST
Y10
t
IEC Instruction List
PLS_M
PLF_M
IEC Instruction List
LD
X0
PLS_M
M0
LD
M0
S
Y10
LD
X1
PLF_M
M1
LD
M1
R
Y10
The rising edge of the device X0
signal triggers the function.
In the case of device X1 the falling
edge of the signal is the trigger.
Relays M0 and M1 are only
switched on for the duration of a
single program cycle.
MITSUBISHI ELECTRIC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents