USER MANUAL APS 6.0

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 sear
ch for an indir
ect addr
ess; however
, you can sear
ch for components
within the indir
ect addr
ess. For example if you ar
e sear
ching for N7:0, the indir
ect
addr
ess F8:[N7:0] will be found as a match. Refer to the
Instruction Set Reference
Manual
for mor
e information about indir
ect addr
essing.
For indexed addr
esses, the # sign is ignor
ed when performing a sear
ch and r
eplace
for instructions or addr
esses. 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