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

AVEVA™ Communication Drivers

General data types

  • Last UpdatedJul 29, 2024
  • 2 minute read

General data types include all basic data types defined in the controller for general purpose usage. See Conversions and suffixes of items (symbolic addressing) for suffix definitions.

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

Data Format

Structural Element

Suffix

Data Type

Access

Value Range / Notes

Bool

VT_BOOL

Read/Write

FALSE or TRUE

Byte

VT_UI1

Read/Write

0 to 255

Char

VT_UI1

Read/Write

ASCII character set

DInt

VT_I4

Read/Write

-2147483648 to +2147483647

DWord

VT_UI4

Read/Write

0 to 4294967295

Int

VT_I2

Read/Write

-32768 to 32767

LInt

VT_I8

Read/Write

-9223372036854775808 to +9223372036854775807

LReal

VT_R8

Read/Write

-1.7976931348623158e+308 to -2.2250738585072014e-308

±0,0

+2.2250738585072014e-308 to +1.7976931348623158e+308

LWord

VT_UI8

Read/Write

0 to 18446744073709551615

Real

VT_R4

Read/Write

-3.402823e+38 to -1.175495e-38

±0,0

+1.175495e-38 to +3.402823e+38

SInt

VT_I1

Read/Write

-128 to 127

String

VT_BSTR

Read/Write

0 to 254 characters

UDInt

VT_UI4

Read/Write

0 to 4294967295

UInt

VT_UI2

Read/Write

0 to 65535

ULInt

VT_UI8

Read/Write

0 to 18446744073709551615

USInt

VT_UI1

Read/Write

0 to 255

WChar

VT_UI2

Read/Write

$0000 - $D7FF

WString

VT_BSTR

Read/Write

0 to 254 characters

x. possible values: 0 to 16382

Word

VT_UI2

Read/Write

0 to 65535

Date

VT_UI2

Read/Write

0 to 65535 (days)

D

VT_BSTR

Read only

1990-01-01 to 2168-12-31

Date_And_Time

VT_Date

Read/Write

1990-01-01-00:00:00.000 to 2089-12-31-23:59:59.999

DT

VT_BSTR

Read/Write

1990-01-01-00:00:00.000 to 2089-12-31-23:59:59.999

Note: DT suffix is required for SuiteLink.

LDT

VT_UI8

Read/Write

0 to 18446744073709551615 (nanoseconds)

LDT

VT_BSTR

Read/Write

1970-01-01-0:0:0.000000000 to 2263-04-11-23:47:16.854775808

LTime

VT_I8

Read/Write

-9223372036854775808 to +9223372036854775807 (nanoseconds)

LT

VT_BSTR

Read only

-106751d23h47m16s854ms775us808ns to 106751d23h47m16s854ms775us807ns

LTime_Of_Day

VT_UI8

Read/Write

0 to 18446744073709551615

S5Time

VT_I4

Read/Write

0 to 9990000 (milliseconds)

S5T

VT_BSTR

Read only

10MS to 9S_990MS (Resolution: 0.01s)

100MS to 1MIN_39S_900MS (Resolution: 0.1s)

1S to 16MIN_ 39S (Resolution: 1s)

0MS to 2H_46M_30S_0MS (Resolution: 10s <Default>)

Time

VT_I4

Read/Write

-2147483648 to +2147483647 (milliseconds)

T

VT_BSTR

Read only

-24d20h31m23s648ms to +24d20h31m23s647ms

Time_Of_Day

VT_UI4

Read/Write

0 to 4294967295 (milliseconds)

TOD

VT_BSTR

Read only

00:00:00.000 to 23:59:59.999

DTL <Structure>

UInt

.YEAR

VT_UI2

Read only

1970 to 2262

USInt

.MONTH

VT_UI1

Read only

1 to 12

USInt

.DAY

VT_UI1

Read only

1 to 31

USInt

.WEEKDAY

VT_UI1

Read only

1(Sunday) to 7(Saturday)

USInt

.HOUR

VT_UI1

Read only

0 to 23

USInt

.MINUTE

VT_UI1

Read only

0 to 59

USInt

.SECOND

VT_UI1

Read only

0 to 59

UDInt

.NANOSECOND

VT_UI4

Read only

0 to 999999999

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