Export / import projects – Rockwell Automation T6200 Compressor Anti-Surge and Capacity Controller User Manual

Page 137

Advertising
background image

Configuration

8-17

Run the Cross References from the "Tools" menu in the main window or in editors.


Search in all programs

The Cross Reference tool enables you to search for a text in all programs. To do that, just enter the
searched text in the edit box and hit enter. You also can use the drop down list to get a text already
searched. The text is searched in all the programs of the project. Occurences are listed in the Cross
Reference list. You can double click on an occurrence to open the program at the appropriate
location.
At any moment you can run the "File / Find in files" menu command to update the list.

Listing unused variables:

Use the "File / List Unused" command to display the list of declared variables that are not used in
the programs of the application. This command is particularly useful when cleaning a project.

Find / replace in all programs:

The "File / Replace in files" command enables you to replace a text in all the programs of the
application. The cross reference tool provides a visual interface for replacing texts, and enables
you to skip some replacements. Use the following buttons when replacing texts in files:

Finds the next occurrence of the searched text in the current file.

Replace the found text and search for the next occurrence.

Replace all the occurrences of the searched text in the current file and continues searching in the next file.

Skip the current file and continues searching in the next file.

Stops the search sequence


All replaced occurrences are listed in the report box.
Notes:

• You must close open programs before running the global Find / Replace command. Texts cannot be replaced in the

programs currently open for editing.

• Depending on your license, Global Replace feature may not be available.

Export / Import Projects


The Workbench enables you to archive projects for exchanging them. An archive is a unique
compressed ZIP file that contains all the files of a project.

Use the commands of the "File" menu in the main window to save the project to a ZIP file or open
a project from a ZIP file.

When you export a project, you can select to embed in the archive the definition of the library
elements (function blocks) referenced in the project. It is recommended to check this option if you
are using custom functions or blocks that may not be installed on other machines.

When you import a ZIP archive, the program builds a new project where the archive is
decompressed. You can select the name of the created project and its location on the disk. If you
decide to import to your local library the library items embedded in the archive, you will have to
confirm the copy in case of an overwrite. You can select in which library you want to put imported
library elements.

Note that it is not possible to overwrite in the import library an item currently defined in another
library.

Advertising