PART 1: CX-Programmer
OMRON
CHAPTER 3 – Project Reference
CX-Programmer _Page 37
3. Select
the
Zoom to Fit
button to change the size of the program width to the length of
the Diagram view.
Finding and Replacing
CX-Programmer provides facilities for finding references to particular text, and replacing text with other text.
There are also powerful replacement options, such as moving a range of addresses to another starting point. The
Search and Replace functionality consists of two dialogs, depending on which operation is being executed. The
Find dialog is opened from the
EDIT | Find
menu option or the key combination
Ctrl+F.
The Replace dialog is
opened from the
EDIT | Replace
menu option or by pressing
Ctrl+H.
It is possible to find and replace text from various places: the project workspace, diagram workspace (ladder or
mnemonic views), a symbol table, and an I/O Comment view.
When using the Find and Replace feature from the project workspace, the operation searches the chosen object,
including any objects within it. For example, when finding text from a program within the project workspace,
the local symbol table for that program is also searched. When beginning a search from the project object itself,
everything within the project is searched.
It is also possible to limit the search to a single program window, symbol table, or I/O Comment view by
beginning the search when the relevant ladder, symbol table, or I/O comment window is active.
When
Change All
is selected from the
Edit
menu option, the Change All dialogue to replace
Addresses
within
the PLC will be opened. Enter the
Find what
and
Replace with
text as described in
Using Find and Replace
in
this chapter, the replacement of the text will be applied throughout the entire PLC.
Rules for Finding
Symbols may only have their details replaced when in the symbol table. An attempt to replace a symbol name
or address whilst in the Ladder View will result in the generation of a new contact which will appear in error.
Symbol comments may only be replaced whilst in the Symbol Table, and so the option to replace comments are
not allowed by disabling the replace buttons.
When doing a text search information will only be found in a step, regardless of whether it is being filtered from
the view or not. For example in the Symbol Name is not being displayed but the symbol is found to have a
match, the symbol will still be highlighted.
Tree searching is the same as a normal search, in so much as the same rules are applied to Address, Value and
Text searching as if carried out in a single view. For each branch of the tree the following search criteria is
applied.
♦
Find in Project:
finds occurrences in all PLC’s, Symbol Tables and Programs.
♦
Find in PLC:
finds occurrences in all Symbol Tables and Programs.
♦
Find in Global Symbol Table:
finds occurrences in this Global Symbol Table only.
♦
Find in Program:
finds occurrences in Local Symbol Table and all Sections.
♦
Find in Local Symbol Table:
finds occurrences in this Local Symbol Table.
♦
Find in Section:
finds occurrences in this Section.
♦
Find in area:
finds occurrences in I/O Comment view.
Other find features supported include: Multi-byte character sets (MBCS), Multiple instances in a rung,
Statement List (SL) – as standard Ladder View and while online to a PLC.
Find
The Find dialogue allows various types of search to be carried out inside a window, from the project workspace
and while online to a PLC. Select
How to Input
pushbutton to show examples.
Summary of Contents for Sysmac WS02-CXPC1-EV3
Page 1: ...Cat No W414 E1 01 SYSMAC...
Page 2: ......
Page 3: ...SYSMAC WS02 CXPC1 EV3 CX Programmer Ver 3 1 Operation Manual Revised November 2002...
Page 4: ......
Page 6: ......
Page 7: ...PART1 CX Programmer...
Page 8: ......
Page 24: ......
Page 34: ......
Page 106: ......
Page 130: ......
Page 131: ...PART 2 CX Server PLC Tools...
Page 132: ......
Page 136: ......
Page 158: ......
Page 168: ......
Page 194: ......
Page 206: ......
Page 250: ......
Page 298: ......
Page 304: ......
Page 305: ...PART 3 CX Server Runtime...
Page 306: ......
Page 310: ......
Page 338: ......
Page 344: ......
Page 378: ......
Page 384: ......
Page 388: ......