Rockwell Automation AADvance Controller Configuration Guide User Manual

Page 164

Advertising
background image

7-2

Document: 553633
ICSTT-RM405f-EN-P

Issue 07

Configuration Guide (AADvance Controller)


Type: Standard IEC 61131 types as a set of pull down options: Boolean (Bool), Short
Integer (SINT), Unsigned Short Integer (USINT), BYTE, Integer (INT), Unsigned

Integer (UNIT), WORD, Double Integer (UDINT), Double Word (DWORD), Long
Integer (LINT), Unsigned Long Integer (ULINT), REAL, Long Real (LREAL), Timer

(TIME), DATE, STRING. Type also includes the standard AADvance structures and

user defined structures.
[ ]: If Type is a string, this property defines the string length (maximum 255

characters).
Init Value: Initial variable value, numeric or textual.
Dimensions: The size (number of elements) of an Array.

Example: [1..4, 1..7]

Group: Group name, or none.
Attribute: The following attribute values can be set:

Read: Read-only variable with an initial value.

Write: Write only variable with an initial value.

Free: Variable that can be used for reading or writing.

Scope: Global or local to a program or function.
Direction: Sets the Variable and/or device direction:

Input: Variable connected to an input device (refreshed by the system).

Output: Variable connected to an output device.

Internal: Internal variable updated by the programs or communication.

When you set the direction of the variable, you have to apply these rules to the
attribute setting:

An input variable can only have a read attribute setting.

An output variable can only have a write or free attribute setting.

An internal variable can have any attribute setting.

Retain Variable Attribute: Yes or No. The current value of a retain variable is
saved by the controller at each application cycle (if the battery is fitted and is healthy),

and the value stored is restored if the controller stops and restarts.
Address: Not used.
Comment: User comments. Free format.
Message FALSE: Message defined for the FALSE value messages. This applies to

boolean variables and can be used for Sequence of Events or OPC to provide an

option for a user defined message.

Example: 'Pump off'.

Message TRUE: Message defined for the TRUE value messages. This applies to

boolean variables and can be used for SOE or OPC to provide an option for a user
defined message.

Advertising