FX Series Programmable Controllers

Basic Program Instructions 2

2.9And Pulse, And Trailing Pulse

FX1S

FX1N

FX2N

FX2NC

 

 

 

 

 

 

 

 

Mnemonic

Function

Format

Devices

Program steps

 

 

ANP

Serial connection

 

 

 

 

 

of Rising edge

 

X, Y, M, S, T, C

2

 

 

(ANd Pulse)

 

 

 

pulse

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ANF

Serial connection

 

 

 

 

 

of Falling /

 

 

 

 

 

(ANd Falling

 

X, Y, M, S, T, C

2

 

 

trailing edge

 

 

 

pulse)

 

 

 

 

 

pulse

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Program example:

ANP

M40

X1

X0

T10

M100

ANF

C0

Y4

0

LD

M

40

1

OR

X

1

2

ANP

T

10

4

OUT

M 100

5

LDF

X

0

6

ANF

C

0

8

OUT

Y

4

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.

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

2-9

Page 35
Image 35
Mitsubishi Electronics FX1S manual Pulse, And Trailing Pulse, Ldf Anf Out