Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controllers Basic Program Instructions 2
2-20
2.17 Leading and Trailing Pulse
Program example:
Basic points to remember:
- When a PLS instruction is
executed, ob
j
ect devices Y
and M operate for one
operation c
y
cle after the drive
input si
g
nal has turned ON.
- When a PLF instruction is
executed, ob
j
ect devices Y
and M operate for one
operation c
y
cle after the drive
input si
g
nal has turned OFF.
- When the PLC status is
chan
g
ed from RUN to STOP and back to RUN with the input si
g
nals still ON, PLS M0 is
operated a
g
ain. However, if an M coil which is batter
y
backed (latched) was used instead
of M0 it would not re-activate. For the batter
y
backed device to be re-pulsed, its drivin
g
input (ex. X0) must be switched OFF durin
g
the RUN/STOP/RUN sequence before it will
be pulsed once more.
Mnemonic Function Format Devices Program steps
PLS
(PuLSe)
Risin
g
ed
g
e
pulse
Y, M
(no special M
coils allowed)
2
PLF
(PuLse Fallin
g
)
Fallin
g
/ trailin
g
ed
g
e pulse
Y, M
(no special M
coils allowed)
2
PLS
PLF
X0
PLS M0
M0
SET Y0
X1
PLF M1
M1
RST Y0
0
0
0
1
1
1
0
LD
PLS
LD
SET
LD
RST
PLF
LD
0
1
4
5
8
9
6
3
0
X
M
M
M
Y
M
Y
X
X0
X1
M0
M1
Y0
t msec