Sorting variables, Naming a variable – Rockwell Automation T6200 Compressor Anti-Surge and Capacity Controller User Manual

Page 128

Advertising
background image

Configuration

8-8

When the active grid is disabled, modifying a variable is done through a dialog box. Press the
ENTER key when the grid is inactive to open the variable setting box.
When the active grid is active, the name of the selected column is displayed in bold characters.
The text of selected cell (or ". . ." if empty) is marked in bold yellow characters:



At any time you can drag with the mouse column separators in the main grid header for resizing
columns.

Sorting Variables

At any moment you can sort variables of a group according to their name, type or dimension. For
that you simply need to:
1- move the cursor to the header of the group
2- click on the name of the wished column

The configurator always keeps the original order of declared variables, in order to allow safe On
Line change. Each time you insert a new variable or expand/collapse a group, the original sorting
is re-applied.

Naming a Variable

To change the name of the variable, enable the modification mode in the grid and move the cursor
to the selected "name" cell. Then press ENTER or hit the first character of the new name. Name is
entered in a small box. Hit ENTER to validate the name or ESCAPE to cancel the change.


A variable must be identified by a unique name within its parent group. The variable name cannot
be a reserved keyword of the programming languages and cannot have the same name as a
standard or "C" function or function block. A variable should not have the same name as a
program or a user defined function block.

The name of a variable should begin by a letter or an underscore ("_") mark, followed by letters,
digits or underscore marks. It is not allowed to put two consecutive underscores within a variable
name. Naming is case insensitive. Two names with different cases are considered as the same.

FIGURE 8-4

Variable Editor
Active Grid

Advertising