Rockwell Automation 1772-LS_LSP,D17726.8.6 PROG/OPER MANUAL-MINI PLC-2/05 User Manual

Page 185

Advertising
background image

Program Editing

Chapter 16

16-8

Specific Instructions and Specific Word Addresses
You can locate any instruction in your program by using methods
described in this section. you can search for a block instruction searching
for the counter address or the first entered address in the block.

Keystrokes: You can locate any instruction in your program by
performing the following steps.

1.

Press [SEARCH].

2.

Insert <instruction>.

3.

insert <address>. Enter leading zeros before the address if necessary.

Keystrokes: You can locate any address (excluding those associated with
Examine On and Examine Off instructions and those contained within
files) by performing the following steps.

1.

Press [SEARCH] 8.

2.

Enter <address>.

The address you enter is the word address for the Output instructions. The
industrial terminal locates all uses of the word addresses associated with
the word address except for -] [- and -]/[-.

Once either key sequence is pressed, this information and an EXECUTING
SEARCH message is displayed near the bottom of the screen. The
industrial terminal begins to search for the address and/or instruction from
the cursor’s position. It looks past the temporary end and subroutine area
boundaries to the END statement. Then it continues searching from the
beginning of the program to the point where the search began.

If found, the rung containing the first occurrence of the address and/or
instruction is displayed as well as the rungs after it. If the SEARCH key is
pressed again, the next occurrence of the address and/or instruction is
displayed. When it cannot be located or all addresses and/or instructions
have been found, a NOT FOUND message is displayed.

If the instruction is found in the subroutine area or past the temporary end
instruction, the area in which it is found is displayed in the lower portion of
the screen.

This function can be terminated at any time by pressing [CANCEL
COMMAND]. All other keys are ignored during the search.

Advertising