Mitsubishi Electronics FX1S manual Inverse, Usages for INV

Models: FX1S

1 120
Download 120 pages 31.35 Kb
Page 47
Image 47

FX Series Programmable Controllers

Basic Program Instructions 2

2.18Inverse

FX1S

FX1N

FX2N

FX2NC

 

 

 

 

 

 

 

 

Mnemonic

Function

Format

Devices

Program steps

 

 

 

Invert the current

 

 

 

 

 

INV

result of the

 

N/A

1

 

 

(Inverse)

internal PLC

 

 

 

 

 

 

 

 

 

operations

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Program example:

 

 

 

 

X0

PLS M0

M0

SET Y0

X1

PLF M1

M1

RST Y0

0

LD

X

0

1

PLS

M

0

3

LD

M

0

4

SET

Y

0

5

LD

X

1

6

PLF

M

1

8

LD

M

1

9

RST

Y

0

Basic points to remember:

-The INV instruction is used to change (invert) the logical state of the current ladder network at the inserted position.

-Usage is the same as for AND and ANI; see earlier.

Usages for INV

• Use the invert instruction to quickly change the logic of a complex circuit.

It is also useful as an inverse operation for the pulse contact instructions LDP, LDF, ANP, etc.

2-21

Page 47
Image 47
Mitsubishi Electronics FX1S manual Inverse, Usages for INV