beautypg.com

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

Page 128

background image

Chapter 7
Creating and Editing a Program File

7–16

Modifying Instructions

In the previous example you modified a rung by adding an instruction to the
rung. Another function available in the HHT is the ability to modify
instructions. Instructions may be edited by changing the address and/or
changing the type of instruction. The following examples show you how to
do both.

Changing the Address of an Instruction

Change the address of the second examine if closed instruction, in the first
rung (rung 0) of the program, from I:1.0/2 to I:1.0/1. The new rung should
appear as follows:

] [

I:1.0

0

( )

O:3.0

0

] [

I:1.0

1

Change this address.

1. From the previous save and continue display, press

[ENTER]

. The

following display appears:

F1

F2

F3

F4

F5

>

2.0.0.0.*

INS_RNG MOD_RNG SEARCH

DEL_RNG UND_RNG

OFL

] [

( )

] [

] [

] [

( )

<

END

>

2. To change the address of the second examine if closed instruction, press

[

]

twice.

3. With the cursor positioned on the examine if closed instruction with

address

I1:1.0/2

, press

[F2]

, MOD_RNG. The following display

appears:

] [

F1

F2

F3

F4

F5

2.0.0.0.2

OFL

] [

( )

] [

] [

( )

<

END

>

>

INS_INST

BRANCH

MOD_INST

ACP_RNG

XIC:I1:1.0/2

NO FORCE

I

I