The Search / Replace tool provides you with the following functions:
-
the Search function,
-
the Replace function.
This function lets you look for objects such as:
-
instances of elementary data types (EDT),
-
instances and types of derived data (DDT / IODDT),
-
instances and types of function block data (EFB / DFB),
NOTE: In online mode, searching DFB instances can also be performed using the DFB instances animation button in the programming language editor toolbar. For more detailed information, refer to
Searching / animating DFB Instances.
-
instances and types of data relating to Sequential Function Charts (SFC),
-
topological addresses (%M100).
The search is carried out in the following areas of the project:
This function lets you replace objects such as:
-
instances of elementary data types (EDT),
-
instances of derived data types (DDT / IODDT),
-
instances of function block data (EFB / DFB),
-
topological addresses (%M100).
The replacement objects must be declared, except for direct addressing data (%M, %MW, etc.) and their type must correspond to that of the objects being replaced.
The replacement can done on the search results and initiated at the result window.
Accessing the Data Search Dialog
To open the Data Search dialog
To start a predefined search
select the object whose references you want to see and use Initialize Search from the context menu.
Another way is to select a variable in a language editor window. Doing so, the list box of the
search toolbar contains the variable name. Press
Enter to start searching. You can also use 2 special buttons from the toolbar to
search for reading/writing references.