beautypg.com

Rockwell Automation 1772-LS_LSP,D17726.8.6 PROG/OPER MANUAL-MINI PLC-2/05 User Manual

Page 181

background image

Program Editing

Chapter 16

16-4

Inserting a Rung
A rung can be inserted anywhere within a program. The cursor can be
positioned on any instruction of a rung. The new rung is inserted after the
rung which contains the cursor. The rung appears as an unconditional
rung. you must complete the rung. You cannot edit instructions in the new
rung until the rung is complete.

Keystrokes: To insert a rung in a program, perform the following steps.

1.

Press [INSERT][RUNG].

2.

Insert .

Then:

3.

Press [INSERT][

].

4.

Insert .

5.

Insert

.

If the cursor is on the END statement, the rung need not be inserted. You
can enter the rung as in initial program entry. if, at any time, the memory
is full, a MEMORY FULL message is displayed you cannot enter
more instructions.

Removing a Rung
Removing a rung is the only way an output instruction can be removed.
you can remove any rung, except the last one containing the
END statement.

Keystrokes: To remove a rung, perform the following steps.

1.

Position the cursor anywhere on the rung you want to remove.

2.

Press [REMOVE][RUNG].

Only bits corresponding to Output Energize, Latch, or Unlatch instructions
are cleared to zero. All other word and bit addresses are not cleared when
a rung is removed.

Changing Data in a Word or Block Instruction
You can change the data of any word or block instruction, except
Mathematics and Put instructions, in the program mode without removing
and re-entering the instruction.