FX Series Programmable Controllers Basic Program Instructions 2
2-9
2.9 And Pulse, And Trailing Pulse
Program example:
Basic points to remember:
- Use the ANDP and ANDF instructions for the serial connection of pulse contacts.
- Usage is the same as for AND and ANI; see earlier.
- ANP is active for one program scan after the associated device switches from OFF to
ON.
- ANF is active for one program scan after the associated device switches from ON to
OFF.
Mnemonic Function Format Devices Program steps
ANP
(ANd Pulse)
Serial connection
of Rising edge
pulse
X, Y, M, S, T, C 2
ANF
(ANd Falling
pulse)
Serial connection
of Falling /
trailing edge
pulse
X, Y, M, S, T, C 2
ANP
T10
Y4
M100
X1
X0
0LD M40
1OR X 1
2 ANP T 10
4 OUT M 100
5LDF X 0
6ANF C 0
8 OUT Y 4
M40
ANF
C0
Single operation flags M2800 to M3071:
• When used with flags M2800 to M3071 only the first instruction will activate. For
details see page 2-8