DOCA0271EN-00

Data Types

The following data types are supported by Studio 5000® software. A data type is a definition of the size and layout of the memory allocated for the created tag. Data types define how many bits, bytes, or words of data a tag uses.

Data Types

Data Type

Abbreviation

Memory Bits

Range

Boolean

BOOL

1

0–1

Short Integer

SINT

8

−128 to 127

Integer

INT

16

−32,768 to 32,767

Double Integer

DINT

32

−2,147,483,648 to 2,147,483,647

Real Number

REAL

32

±3.402823E38 to ±1.1754944E-38

TeSys™ island supports unsigned data types. However, Studio 5000 software supports only signed data types. These data types use a bit to indicate that the software only handles signed integers. For this reason, the maximum positive value that can be displayed for 32-bit unsigned integers is 2,147,483,647. To enforce this, logic exists within AOIs (add-on instructions) to max out UDINT registers if the sign bit is used. For these TeSys island registers, a flag exists as an exposed parameter to indicate overflow. These flags are data type BOOL with the naming convention {TagName}_O.

Overflow Example

AvgIRMS

DINT

AvgIRMS_O

DINT

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?