Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Communication Drivers

Special data types

  • Last UpdatedAug 29, 2024
  • 2 minute read

Special data types include:

  • System data type

  • Hardware data type

These are used for special purposes through specific instructions in the controller. Their availability depends on the model of the controller. Some frequently used special data types are listed in the following table.

Note: Structure element names are predefined by the system and cannot be changed.

Data Format

Structural Element

Suffix

Data Type

Access

Value Range / Notes

AOM_IDENT

VT_UI4

Read/Write

0 to 4294967295

CONN_ANY

VT_UI2

Read/Write

0 to 65535

CONN_OUC

VT_UI2

Read/Write

0 to 65535

CONN_PRG

VT_UI2

Read/Write

0 to 65535

CONN_R_ID

VT_UI4

Read/Write

0 to 4294967295

CREF

<Structure>

N/A

Byte

.BLOCK_TYPE

VT_UI1

Read/Write

0 to 255

UInt

.CB_NUMBER

VT_UI2

Read/Write

0 to 65535

UDInt

.OFFSET

VT_UI4

Read/Write

0 to 4294967295

DB_ANY

VT_UI2

Read/Write

0 to 65535

DB_WWW

VT_UI2

Read/Write

0 to 65535

EVENT_ANY

VT_UI4

Read/Write

0 to 4294967295

EVENT_ATT

VT_UI4

Read/Write

0 to 4294967295

EVENT_HWINT

VT_UI4

Read/Write

0 to 4294967295

ErrorStruct

<Structure>

N/A

Word

.ERROR_ID

VT_UI1

Read/Write

0 to 255

Byte

.FLAGS

VT_UI1

Read/Write

0 to 255

Byte

.REACTION

VT_UI1

Read/Write

0 to 255

Byte

.MODE

VT_UI2

Read/Write

0 to 255

UInt

.OPERAND_NUMBER

VT_UI2

Read/Write

1970 to 2262

UInt

.POINTER_NUMBER_LOCATION

VT_UI1

Read/Write

1970 to 2262

UInt

.SLOT_NUMBER_SCOPE

VT_UI2

Read/Write

1970 to 2262

CREF

<Structure>

N/A

Byte

.CREF.BLOCK_TYPE

VT_UI4

Read/Write

0 to 4294967295

UInt

.CREF.CB_NUMBER

VT_UI1

Read/Write

1970 to 2262

UDInt

.CREF.OFFSET

VT_UI2

Read/Write

0 to 999999999

NREF

<Structure>

N/A

Byte

.NREF.AREA

VT_UI1

Read/Write

0 to 255

UInt

.NREF.DB_NUMBER

VT_UI2

Read/Write

1970 to 2262

UDInt

.NREF.OFFSET

VT_UI4

Read/Write

0 to 4294967295

HW_ANY

VT_UI2

Read/Write

0 to 65535

HW_DEVICE

VT_UI2

Read/Write

0 to 65535

HW_DPMASTER

VT_UI2

Read/Write

0 to 65535

HW_DPSLAVE

VT_UI2

Read/Write

0 to 65535

HW_HSC

VT_UI2

Read/Write

0 to 65535

HW_IEPORT

VT_UI2

Read/Write

0 to 65535

HW_INTERFACE

VT_UI2

Read/Write

0 to 65535

HW_IO

VT_UI2

Read/Write

0 to 65535

HW_IOSYSTEM

VT_UI2

Read/Write

0 to 65535

HW_MODULE

VT_UI2

Read/Write

0 to 65535

HW_PTO

VT_UI2

Read/Write

0 to 65535

HW_PWM

VT_UI2

Read/Write

0 to 65535

HW_SUBMODULE

VT_UI2

Read/Write

0 to 65535

NREF

<Structure>

N/A

Byte

.NREF.AREA

VT_UI1

Read/Write

0 to 255

UInt

.NREF.DB_NUMBER

VT_UI2

Read/Write

0 to 65535

UDInt

.NREF.OFFSET

VT_UI4

Read/Write

0 to 4294967295

OB_ANY

VT_I2

Read/Write

-32768 to 32767

OB_ATT

VT_I2

Read/Write

-32768 to 32767

OB_CYCLIC

VT_I2

Read/Write

-32768 to 32767

OB_DELAY

VT_I2

Read/Write

-32768 to 32767

OB_DIAG

VT_I2

Read/Write

-32768 to 32767

OB_HWINT

VT_I2

Read/Write

-32768 to 32767

OB_PCYCLE

VT_I2

Read/Write

-32768 to 32767

OB_STARTUP

VT_I2

Read/Write

-32768 to 32767

OB_TIMEERROR

VT_I2

Read/Write

-32768 to 32767

OB_TOD

VT_I2

Read/Write

-32768 to 32767

PIP

VT_UI2

Read/Write

0 to 65535

PORT

VT_UI2

Read/Write

0 to 65535

RTM

VT_UI2

Read/Write

0 to 65535

STRUCT

<Structure>

N/A

The STRUCT data type does not have a pre-defined name or member names. It represents a data structure composed of different data types. Any data type can be included in STRUCT. See the Siemens programming guidelines for additional information.

TitleResults for “How to create a CRG?”Also Available in