Rockwell Automation T6200 Compressor Anti-Surge and Capacity Controller User Manual

Page 129

Advertising
background image

Configuration

8-9

Variable Data Type and Dimension

To change the type and dimension of the variable, enable the modification mode in the grid and
move the cursor to the appropriate cell and press ENTER.
Each variable must have a valid data type. ICS TRIPLEX supported data types are BOOL, DINT,
STRING and REAL. Do not use other data types as they will not be compiled for ICS TRIPLEX
controllers. Variables of STRING data type are only used for the LET_REAL, LET_INT, and
LET_BOOL function blocks.

Arrays of these basic data types can also be created by entering a dimension for the variable in the
“Dim.” column. The starting index for an array is zero (0). This means that to refer to the first
element of an array MyArray in your configuration, you must enter the string MyArray[0]. Note
that although the ICS TRIPLEX Graphical Configurator supports arrays, the MICON OPC Server
does not support arrays. Any such array variables will not be accessible in a Windows HMI via the
MICON OPC Server.

Attributes of a Variable

Each variable have an attribute displayed in the corresponding column of the grid. For each
internal variable, you can select the "Read Only". Otherwise, the "attribute" column of an internal
variable is empty.
To change the attribute of an internal variable, enable the modification mode in the grid and move
the cursor to the selected "attribute" cell. Then press ENTER to set or reset the "Read Only"
attribute.

Initial Value of a Variable

A variable may have an initial value. The value must be a valid constant expression that fits to the
data type of the variable. The initial value is displayed in red if it is not a valid expression for the
selected data type.

To change the initial value of a variable, enable the modification mode in the grid and move the
cursor to the selected "init value" cell. Then press ENTER to enter the new value. Array variables
cannot be initialized in the configurator. To initialize individual array elements, values must be
assigned in the configuration.

Variable Tag and Description

The configurator enables you to freely enter for each variable two strings that describe the
variable:
- The "Tag" is a short comment, that can be displayed together with the variable name in graphic
languages.
- The "Description" is a long comment text that describes the variable
To change the tag or description of a variable, enable the modification mode in the grid and move
the cursor to the corresponding cell. Then press ENTER to enter the new text.

Variable Properties

The configurator enables you to embed in the application code extra information for each variable.
Run the "Edit / Properties" when a variable is selected in the grid to edit its properties in a separate
box. You also can set the "View / Properties" menu option to display variable properties in one
more column in the grid.
Publishing properties
Select the "Publishing" tab to enter the pieces of information you want to embed in the target
application and publish for extra embedded software. For each variable, you can embed:
- its symbol
- a numerical tag (a number between 1 and 65535)

Advertising