beautypg.com

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

Page 117

background image

Chapter 7
Creating and Editing a Program File

7–5

Entering a Rung

To enter a rung, do the following:

1. Press

[F3]

, EDT_FIL from the program maintenance display. The

following display appears:

File Name: 222

Prog Name:1000

File Name

Type

Size(Instr)

0

System

*

1

Reserved

*

2

222

Ladder

*

3

Ladder

*

ENTER FILE NUMBER:

F1

F2

F3

F4

F5

OFL

2. Edit file number 2, the main program file. Press

[2]

, then

[ENTER]

. The

display shows the

END

of program statement. No other rungs exist at this

time. The numbers

2.0.0.0.

* appear in the upper right corner of the

display. This indicates that you are editing program file 2, and the cursor
is located on rung 0, nest level 0, branch level 0, and not presently on an
editable instruction (the cursor is located on the

END

of program

statement).

F1

F2

F3

F4

F5

2.0.0.0.*

INS_RNG MOD_RNG SEARCH

DEL_RNG UND_RNG

OFL

>

<

END

>

3. Press

[F1]

, INS_RNG. The following display appears:

F1

F2

F3

F4

F5

2.0.0.0.*

INS_INST

BRANCH

MOD_INST

ACP_RNG

OFL

>

<

END

>

I

I

The

I

symbol in the power rails

indicate this rung is being

inserted or edited.

The Insert Rung command inserts the new rung above the rung where the
cursor is positioned. In this case, since there are no other rungs, the new
rung is placed directly above the

END

statement. The cursor is now

located on the left power rail of rung 0. The first rung of a program file is
always numbered 0.