beautypg.com

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

Page 142

background image

Chapter 7
Creating and Editing a Program File

7–30

Copying an Instruction from One Location to Another

Use the delete instruction command in conjunction with the undelete
instruction command to copy an instruction from one location to another,
within the same rung or to a different rung.

1. To copy the examine if closed instruction with address I:1.0/1, in rung 1,

and place it between the input and output instructions in rung 0, start with
the display from the previous procedure, with the cursor positioned on the
left power rail of rung 1.

F1

F2

F3

F4

F5

2.1.0.0.*

] [

( )

] [

] [

( )

<

END

>

OFL

( )

>

INS_RNG MOD_RNG SEARCH

DEL_RNG UND_RNG

2. Press the

[

]

key two times, then the

[

]

key once to position the cursor

on the instruction to be copied. The display appears as follows:

F1

F2

F3

F4

F5

2.1.1.1.2

] [

( )

] [

] [

( )

<

END

>

OFL

( )

>

INS_RNG MOD_RNG SEARCH

DEL_RNG UND_RNG

XIC:I1:1.0/2

NO FORCE

3. Press

[F2]

, MOD_RNG, then

[ENTER

], for additional menu functions.

Then press

[F2]

, DEL_INST, then

[F2]

, YES to confirm the deletion and

place the instruction in the delete buffer.

4. Press

[F4]

, UND_INST to re–insert the instruction into rung 1, then

[ENTER]

, then press

[F5]

, ACP_RNG. The display appears with the

cursor on the

END

statement:

F1

F2

F3

F4

F5

2.2.0.0.*

] [

( )

] [

] [

( )

<

END

>

OFL

( )

>

INS_RNG MOD_RNG SEARCH

DEL_RNG UND_RNG

5. To insert the deleted instruction, between the input and output instructions

in rung 0, press the

[

]

key three times, then the

[

]

key once to

position the cursor on the output energize instruction. Then press

[F2]

,

MOD_RNG, then

[ENTER]

.

The undelete instruction command operates the same as the insert
instruction command. The instruction is placed to the left of the cursor
position.