FX Series Programmable Controllers

Basic Program Instructions 2

2.6And, And Inverse

FX1S

FX1N

FX2N

FX2NC

 

 

 

 

 

 

 

 

 

 

 

 

Mnemonic

Function

 

Format

Devices

Program steps

 

 

AND

Serial connection

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

of NO (normally

 

 

 

 

 

X, Y, M, S, T, C

1

 

 

(AND)

 

 

 

 

 

 

 

open) contacts

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ANI

Serial connection

 

 

 

 

 

 

 

 

 

of NC (normally

 

 

 

 

 

X, Y, M, S, T, C

1

 

 

(AND Inverse)

 

 

 

 

 

 

 

closed) contacts

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Program example:

 

AND

 

 

 

 

X2

X0

0

LD

X

2

 

Y3

1

AND

X

0

 

 

2

OUT

Y

3

Y3

X3

3

LD

Y

3

 

M101

4

ANI

X

3

 

5

OUT

M 101

 

 

 

T1

6

AND

T

1

ANI

7

OUT

Y

4

Y4

 

 

 

 

 

 

AND

 

 

 

 

Basic points to remember:

-Use the AND and ANI instructions for serial connection of contacts. As many contacts as required can be connected in series (see following point headed “Peripheral limitations”).

-The output processing to a coil, through a contact, after writing the initial OUT instruction is called a “follow-on” output (for an example see the program above; OUT Y4). Follow- on outputs are permitted repeatedly as long as the output order is correct.

Peripheral limitations:

• The PLC has no limit to the number of contacts connected in series or in parallel. However, some programming panels, screens and printers will not be able to display or print the program if it exceeds the limit of the hardware. It is preferable for each line or rung of ladder program to contain up to a maximum of 10 contacts and 1 coil. Also, keep the number of follow-on outputs to a maximum of 24.

2-6

Page 32
Image 32
Mitsubishi Electronics FX1S manual And, And Inverse, Peripheral limitations