The search function, 6œ12, Preface – Rockwell Automation 9323-PA1E USER MANUAL APS 6.0 User Manual

Page 103: Searching for instructions and addresses

Advertising
background image

Preface

Advanced Programming Software User Manual

6–12

The Search Function

The search function allows you to quickly locate instructions and addresses in
ladder program files. The search and replace function also allows you to quickly
locate instructions and addresses; however, this function also allows you to
automatically replace the instruction or address with a different one. This function is
discussed later in this section.

Searching for Instructions and Addresses

This section shows you how to search for:

instruction (type + operand)

instruction type

operand (address or symbol)

edit zones (SLC 5/03 and SLC 5/04 processors)

The Search function is accessible offline and online from the Monitor File display.
You can also access the search function from the Monitor File, Edit, or Force
displays by pressing

[ALT–S]

.

Each time the search object is found, the new cursor location becomes the search
start point. If the search object appears at least once in the ladder program, no
message appears. When you press [F5], Start Search the cursor moves to the next
occurrence.

Note

You cannot search for an indirect address; however, you can search for components
within the indirect address. For example if you are searching for N7:0, the indirect
address F8:[N7:0] will be found as a match. Refer to the
Instruction Set Reference
Manual for more information about indirect addressing.

For indexed addresses, the # sign is ignored when performing a search and replace
for instructions or addresses. For example:

If the address is:

and you search for:

and replace with:

the result is:

#N7:1

N7:1

#N7:4

#N7:4

N7:1

N7:1

#N7:4

N7:4

#N7:4

#N7:4

N7:5

#N7:5

N7:4

#N7:4

N7:5

N7:5

Advertising