USER MANUAL APS 6.0
Creating and Editing Ladder Program Files
6–15
Search and Replace
Note You
cannot sear
ch for an indir
ect addr
ess; however
, you can sear
ch and r
eplace
components within the indir
ect addr
ess. For example, if you ar
e r
eplacing N7:0
with R6:2.POS, the indir
ect addr
ess F8:[N7:0] becomes F8:[R6:2.POS].
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
To search for and replace an instruction or address, begin at the search screen.
1.
Press
CONFIG
OFFLINE
CONFIG
SEARCH
TYPE
F1
, until Search & Replace Instr/Addr appears in the search type
field.
2.
Press
CONFIG
OFFLINE
CONFIG
SEARCH
FOR
F2
. Enter the instruction type by doing one of the following:
•
type in the search string and press
[ENTER]
• press the appropriate function key
3.
Press
CONFIG
OFFLINE
CONFIG
REPLACE
WITH
F3
. Select the replace string and press
[ENTER].
4.
Press
CONFIG
OFFLINE
CONFIG
START
SEARCH
F4
. The system moves the cursor to the first occurrence of the
search object and prompts you to either Replace, Skip, Quit, or
All. If no match is found, the cursor position does not change and the
following message is displayed:
SEARCH PATTERN NOT FOUND
If
replacements are made, the following message is displayed:
REPLACEMENTS HAVE BEEN MADE.