Simatic 505 SoftShop
6 - Programming
••••
101
6.
Click Cancel to disregard the search and return to the active
logic program.
Find Next
Click
on the toolbar or select Find Next on the Edit menu to find
the next occurrence of an address or tag.
Search and Replace Address
You can use the Replace command on the Edit menu to search for a
specified address and
replace them with another address. The following
logic windows support
Search and Replace by address:
•
SF programs
•
SF subroutines
•
Ladder Editor
•
Alarms
•
PID Loops
Use the following steps to conduct a Search and Replace Address:
1.
From the Edit menu (Ctrl+R), select
Replace
, and the Replace
dialog box appears (Figure 6.6a).
Figure 6.6a
2.
Specify the address number to be replaced in the Find What
field and the address replacing it in the Replace With field. For
example, to replace C1 with C2, simply type these two address
numbers in the Find What and Replace With field respectively.
With this setting, all occurrences of address C1 are Changed to
address C2 for the selected logic type range.
3.
Specify the logic type by clicking on the drop-down box in the
Where
field and selecting one of the 5 logic types.
4.
In the From Rung To Rung fields, specify the search range
for the replacement address. If no range is selected, the
software defaults to the total number of networks/lines in
the target logic type.
5.
Confirm
. When the Confirm check box is not chosen on
the Replace dialog box, the program automatically changes
all Find What addresses to
Replace With addresses. When
the Confirm check box is chosen on the Replace dialog
box, the program displays each address where the Replace
is to occur. The address to be replaced is surrounded by a
red outlined rectangle and the following options are
displayed in Figure 6.6b.