Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual

Page 376

Advertising
background image

Program Editing

Chapter 24

24-3

Inserting an Instruction

Only non-output instructions can be inserted in a rung. There are ways of
doing this:

First instruction of an existing rung
First instruction of another rung
Another location in the rung.

You insert an instruction using either of the two ways by performing the
following steps.

First Instruction of an Existing Rung

1.

Position the cursor of the first instruction of the existing rung.

2.

Press [Insert][

].

3.

Insert <instruction>.

4.

Insert <address>.

First Instruction at the Beginning of Another Rung.

1.

Position the cursor on the previous rung’s output instruction.

2.

Press [Insert].

3.

Insert <instruction>.

4.

Insert <address>.

If the cursor is on the END statement, the instruction is inserted before the
END statement or subroutine area.

Another Location in the Rung

1.

Position the cursor on the instruction immediately preceding your
selected location.

2.

Press the key sequence [Insert].

3.

Press <instruction>.

4.

Press <address>.

The new instruction is inserted after the cursor’s present position.

You can enter bit addresses of 6 or 7 digits provided the data table is
expanded to a 4- or 5-digit word address and you press [Expand Addr]
before you enter the address.

Advertising