Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controllers Basic Program Instructions 2
2-8
2.8 Load Pulse, Load Trailing Pulse
Pro
g
ram example:
Basic points to remember:
- Connect the LDP and LDF instructions directl
y
to the left hand bus bar.
- Or use LDP and LDF instructions to define a new block of pro
g
ram when usin
g
the ORB
and ANB instructions (see later sections).
- LDP is active for one pro
g
ram scan after the associated device switches from OFF to ON.
- LDF is active for one pro
g
ram scan after the associated device switches from ON to
OFF.
Mnemonic Function Format Devices Program steps
LDP
(LoaDPulse)
Initial lo
g
ical
operation -
Risin
g
ed
g
e
pulse
X, Y, M, S, T, C 2
LDF
(LoaD Fallin
g
pulse)
Initial lo
g
ical
operation Fallin
g
/ trailin
g
ed
g
e
pulse
X, Y, M, S, T, C 2
LDF
LDP
X0
Y0
M100
X1
X0
0LDP X 0
2OR X 1
3 OUT M 100
4LDF X 0
6 OUT Y 0
Single Operation flags M2800 to M3071:
The pulse operation instructions, when used with auxiliar
y
rela
y
s M2800 to M3071,
onl
y
activate the first instruction encountered in the pro
g
ram scan, after the point in
the pro
g
ram where the device chan
g
es. An
y
other pulse operation instructions will
remain inactive.
This is useful for use in STL pro
g
rams (see chapter 3) to perform sin
g
le step
operation usin
g
a sin
g
le device.
•An
y
other instructions (LD, AND, OR, etc.) will operate as expected.
For more details please see pa
g
e 4-5.