Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controllers Basic Program Instructions 2
2-10
2.10 Or Pulse, Or Trailing Pulse
Program example:
Basic points to remember:
- Use the ORP and ORF instructions for the parallel connection of pulse contacts.
-Usa
g
e is the same as for OR and ORI; see earlier.
- ORP is active for one pro
g
ram scan after the associated device switches from OFF to
ON.
- ORF is active for one pro
g
ram scan after the associated device switches from ON to
OFF.
Mnemonic Function Format Devices Program steps
ORP
(OR Pulse)
Parallel
connection of
Risin
g
ed
g
e
pulse
X, Y, M, S, T, C 2
ORF
(OR Fallin
g
pulse)
Parallel
connection of
Fallin
g
/ trailin
g
ed
g
e pulse
X, Y, M, S, T, C 2
ORP
Y4
X1
X0
0LD M40
1 ORP X 1
3 SET M 50
4LD X 0
5 AND M 24
6LD Y 7
7 ORF X 1
9 ORB
10 OUT Y 4
M40
ORF
M24
SET M50
X1
Y7
Single operation flags M2800 to M3071:
When used with fla
g
s M2800 to M3071 onl
y
the first instruction will activate. For
details see pa
g
e 2-8