beautypg.com

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

Page 150

background image

Chapter 7
Creating and Editing a Program File

7–38

4. To find the next occurrence of the same instruction, press

[ENTER]

.

The following display appears with the cursor positioned on the second
examine if closed instruction in rung 0. Once again, notice that the
display shows the instruction mnemonic and address in the upper left
corner, and the cursor location in the upper right corner.

Instruction
Mnemonic
and Address

] [

] [

] [

] [

2.0.0.0.2

] [

F1

F2

F3

F4

F5

] [

( )

] [

] [

( )

( )

] [

] [

( )

] [

] [

( )

] [

] [

] [

CUR–INS CUR–OPD

NEW–INS

FORCE

UP

OFL

XIC +

NO FORCE

XIC:I1:1.0/1

Cursor
Location

5. Pressing

[ENTER]

again, brings up the next occurrence of the instruction,

the first instruction in rung 1, nest level 1, branch level 0.

] [

] [

] [

F1

F2

F3

F4

F5

] [

( )

( )

] [

( )

] [

] [

( )

] [

] [

] [

CUR–INS CUR–OPD

NEW–INS

FORCE

UP

OFL

XIC +

NO FORCE

XIC:I1:1.0/0

2.1.1.0.1

You may continue to search for each XIC instruction in the program by
pressing

[ENTER]

. When you reach the last occurrence of this instruction

in the program, the cursor wraps around to the start of the program.

6. To conclude this search procedure and clear the search buffer, press

[ESC]

.

Searching for an Address

In this example, search for every occurrence of address I:1/1 in the program,
regardless of instruction type. A search can be initiated with the cursor
located anywhere in the program.

1. Use the cursor keys to position the cursor on the left power rail of rung 0:

] [

] [

2.0.0.0.*

F1

F2

F3

F4

F5

] [

( )

] [

] [

( )

( )

] [

] [

] [

] [

( )

] [

] [

( )

] [

] [

] [

>

INS_RNG MOD_RNG SEARCH

DEL_RNG UND_RNG

OFL