beautypg.com

Modifying rungs – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 126

background image

Chapter 7
Creating and Editing a Program File

7–14

Modifying Rungs

In the previous two examples you created rungs by inserting them into the
program. After rungs are part of a ladder program, you can modify those
rungs offline, at any time.

Adding an Instruction to a Rung

In this example, add an examine if closed instruction to the first rung (rung
0) of your program. The modified rung should appear as follows.

] [

I:1.0

0

( )

O:3.0

0

] [

I:1.0

2

Add this instruction to the rung.

By adding an examine if closed instruction to this rung, you are creating a
rung of series logic, that is: when input I:1.0/0 and input I:1.0/2 are both
energized, output O:3.0/0 is energized.

1. From the previous display, press

[ENTER]

to display the additional menu

functions.

F1

F2

F3

F4

F5

>

2.0.0.0.*

OFL

] [

( )

INS_RNG MOD_RNG SEARCH

DEL_RNG UND_RNG

The cursor is located on the left

power rail of rung 0.

<

END

>

] [

( )

] [

2. To place the new instruction between the existing input and output

instructions, press the

[

]

key twice to place the cursor on the output

instruction. The display changes as follows:

F1

F2

F3

F4

F5

>

2.0.0.0.2

OFL

] [

( )

INS_RNG MOD_RNG SEARCH

DEL_RNG UND_RNG

OTE:O0:3.0/0

NO FORCE

Notice that with the cursor placed

on the output instruction, the

instruction mnemonic and

address are displayed in the

upper left corner.

The cursor location is also

displayed in the upper right

corner. This indicates that the

cursor is located in program file

2, rung 0, nest level 0, branch

level 0 and on the second

instruction in the rung.

<

END

>

] [

( )

] [

3. Press

[F2]

, MOD_RNG then

[F1]

, INS_INST, then

[F1]

, BIT for the

following display to appear:

I

F1

F2

F3

F4

F5

>

OFL

] [

I

] [

( )

]/[

( )

L

( )

U

2.0.0.0.2

( )

OTE:O0:3.0/0

NO FORCE

<

END

>

] [

( )

] [