PART 1: CX-Programmer
OMRON
CHAPTER 3 – Project Reference
CX-Programmer _Page 47
Finding and Replacing Text
This applies to the 'Look At:' choices of 'Address', 'Symbol Names', 'All(strings)'. Select
How to Input
pushbutton to show examples.
1. Select
the
Replace
button from the toolbar or press
Ctrl+H
to open the Replace dialog.
2. In the Look At: field select the area to be searched. Select either 'Address', 'Symbol
Names', 'Mnemonics' or 'Comments'.
3. In the Find what field, enter the text to be searched for.
4. In the Replacement field, enter the replacement text.
The pull-down list on the
Find What
field can be used to enter the contents used for
previous find operations, and the pull-down list on the
Replace with
field can be used to
enter the contents used for previous replace operations.
5. Select
either
PLC
, Program or
Current view
to set the scope of the find and replace.
Click
Find Next
to find and display the next assurance of the match, click
Replace
to
replace the match or
Replace All
to replace all matches.
Replacing only in the Selected Rungs
Select one or more rungs and then select Replace from the Edit Menu.
Selected
will be automatically selected.
Note:
The first click of the Replace button can also be used to find the next occurrence. Two clicks
will find the next occurrence and perform the replace.
Normally, a match will only be found if text within the item matches exactly what is being searched for. Note,
however, a 'wildcard' can be used of '*' to search for partial matches. The '*' wildcard indicates that any
following characters are to be ignored in a single word when searching for a match. Note that the wildcard
operates on each word separately. e.g. to search for mnemonic lines for the ‘MOV(0221)’ instruction where the
second operand is D1, the following search can be made – “MOV* D1”.
In addition, it is possible to search for 'Whole Word Only' - a match will only be found if an entire word matches
the text typed. If this option is not selected, then a match will be found if a word contains the text typed, and any
text may be in front or behind the 'Find What' text in the same word. For this search a match will normally be
found regardless of case. If an exact match is required, select the 'Match case' option.
Wild Card Searching
A wildcard can be used in the search and replacement text. This will have the effect of using the text that the
corresponding wildcard in the find string became. e.g. Using a ‘Find what’ of ‘ab*’ and a replace of ‘tr*’ will
change ‘about’ into ‘trout’ and ‘abort’ into ‘trort’.
Mnemonics Searching
The Mnemonic search is the same as the normal text search, except it can be used to retrieve almost any
information about the symbol or step it may be contained in (except rung comments). A Mnemonic search is
able to retrieve all the information of Address, Value and Symbol Name searches. Matches found using a
Mnemonic search though will only display information in the Mnemonic line of an Instruction Step, and will not
track to the exact operand that the match may belong in.
The entire line of mnemonic is search so it is possible to specify any string that may occur in a mnemonic, e.g.
an instruction followed by an operand.
Rung Comment Searching
Rung Comments are treated the same as any other text based search, but can not be accessed in the symbol table.
Finding and Replacing Addresses
This search and replace operates the same as for the Text but applies only to the 'Look At' choice of 'Bit
Addresses' and 'Addresses'.
The choice of 'Bit Addresses' is only available when searching and replacing for only addresses of BOOL type.
No period is needed when entering the addresses in the 'Find What' field in this case. e.g. ‘1000’ will search for
address '10.00’ only.
Содержание CX-PROGRAMMER V9
Страница 1: ...Cat No W446 E1 12 CX Programmer Ver 9 CXONE AL_C V4 AL_D V4 SYSMAC OPERATION MANUAL...
Страница 2: ......
Страница 3: ...SYSMAC CX Programmer Ver 9 CXONE AL C V4 AL D V4 Operation Manual Revised July 2010...
Страница 4: ......
Страница 6: ......
Страница 32: ......
Страница 33: ...PART 1 CX Programmer...
Страница 34: ......
Страница 91: ......
Страница 111: ......
Страница 191: ...PART 1 CX Programmer CHAPTER 4 Reference OMRON CX Programmer _Page 108...
Страница 217: ......
Страница 233: ......
Страница 234: ...PART 2 CX Server PLC Tools...
Страница 235: ......
Страница 243: ......
Страница 249: ......
Страница 261: ...PART 2 CX Server PLC Tools CHAPTER 2 PLC Memory Component OMRON CX Server PLC Tools_Page 18...
Страница 280: ......
Страница 333: ......
Страница 377: ......
Страница 409: ......
Страница 430: ......
Страница 431: ...PART 3 CX Server Runtime...
Страница 432: ......
Страница 476: ......
Страница 482: ......
Страница 498: ......
Страница 524: ......
Страница 534: ......
Страница 535: ......
Страница 536: ......