FX Series Programmable Controllers

Basic Program Instructions 2

2.4Load, Load Inverse

FX1S

FX1N

FX2N

FX2NC

 

 

 

 

 

 

 

 

 

 

 

 

Mnemonic

Function

 

 

 

Format

Devices

Program steps

 

 

 

Initial logical

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LD

operation contact

 

 

 

 

 

X, Y, M, S, T, C

1

 

 

 

 

 

 

 

 

 

(LoaD)

type NO

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(normally open)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Initial logical

 

 

 

 

 

 

 

 

 

LDI

operation contact

 

 

 

 

 

X, Y, M, S, T, C

1

 

 

 

 

 

 

 

 

 

(LoaD Inverse)

type NC

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(normally closed)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Program example:

X0

Y0

X1

M100

LDIT0

K K19

T0

Y1

0

LD

X

0

1

OUT

Y

0

2

LDI

X

1

3OUT M 100

4OUT T 0

 

SP

K

19

 

7

LD

T

0

8

OUT

Y

1

When using hand held programmers, the space key needs to be pressed to enable the constant to be entered.

Basic points to remember:

-Connect the LD and LDI instructions directly to the left hand bus bar.

-Or use LD and LDI instructions to define a new block of program when using the ORB and ANB instructions (see later sections).

The OUT instruction:

For details of the OUT instruction (including basic timer and counter variations) please see over the following page.

2-3

Page 29
Image 29
Mitsubishi Electronics FX1S manual Load, Load Inverse, OUT instruction, Program example