PART 1: CX-Programmer
OMRON
CHAPTER 3 – Project Reference
CX-Programmer _Page 59
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.
Summary of Contents for CX-Programmer 9
Page 1: ...Cat No W446 E1 10 CX Programmer Ver 9 SYSMAC WS02 CXPC_ V9 OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC WS02 CXPC V9 CX Programmer Ver 9 Operation Manual Revised December 2009...
Page 4: ......
Page 6: ......
Page 19: ...CX Programmer_Page xvi Unit Versions and Lot Numbers...
Page 30: ......
Page 31: ...PART 1 CX Programmer...
Page 32: ......
Page 100: ......
Page 120: ......
Page 198: ...PART 1 CX Programmer CHAPTER 4 Reference OMRON CX Programmer _Page 118...
Page 224: ...PART 1 CX Programmer Keyboard Shortcuts CX Programmer OMRON CX Programmer _Page 144...
Page 240: ......
Page 241: ...PART 2 CX Server PLC Tools...
Page 242: ......
Page 250: ......
Page 256: ......
Page 268: ...PART 2 CX Server PLC Tools CHAPTER 2 PLC Memory Component OMRON CX Server PLC Tools_Page 18...
Page 286: ......
Page 338: ......
Page 382: ......
Page 414: ......
Page 430: ......
Page 436: ......
Page 437: ...PART 3 CX Server Runtime...
Page 438: ......
Page 482: ......
Page 488: ......
Page 504: ......
Page 530: ......
Page 540: ......
Page 541: ......
Page 542: ......