Using CitectSCADA > Tagging Process Variables > Tag Data Types

Tag Data Types

Tags in CitectSCADA hold data values that can be defined as one of the following data types.

Data Type Variable Size Allowed Values

BCD

Binary- Coded Decimal

2 bytes

0 to 9,999

BYTE

Byte

1 byte

0 to 255

DIGITAL

Digital

1 bit or 1 byte

0 or 1

INT

Integer

2 bytes

-32,768 to 32,767

UINT

Unsigned Integer

2 bytes

0 to 65,535

LONG

Long Integer

4 bytes

-2,147,483,648 to 2,147,483,647

ULONG

Unsigned Long Integer
(Only for display on a screen.Arithmetic operations are not supported. )

4 bytes

0 to 4,294,967,295

LONGBCD

Long Binary- Coded Decimal

4 bytes

0 to 99,999,999

REAL

Floating Point

4 bytes

-3.4E38 to 3.4E38

STRING

String

256 bytes (maximum)

ASCII (null terminated)

Tag values can be used with the Cicode Variable data types.

A Cicode variable of INT data type can be used to store Tag data types: BCD, BYTE, DIGITAL, INT, UINT, LONG, ULONG and LONGBCD.

A Cicode variable of the QUALITY or TIMESTAMP data type can be used to store the Tag quality and timestamp items.

See Also

Cicode Variable Data Types