Internal Data Types

Internal Data Types

Internal data types

Data types, used in D2000 system, are listed in the following table.

Data type

Range

LongInteger

-2147483648 ≤ x ≤ 2147483647

LongReal

0, 2.3x10-308 ≤ |x| ≤ 1.7x10308

Time

1.1.1972 - 31.12.2099. Time data accuracy in D2000 system is more then 1 µs (microsecond).

Text

Text strings with floating length are limited to 10 000 characters. The texts are internally encoded in UTF-8.

Range of database types:

-1.0x1038 ≤ x ≤ 1.0x1038

This range implies the following restrictions relating to:

  • configuration database - maximum size of real numbers used as limits in the configuration of eval tags, I/O tags, historical values, etc.

  • archive database - maximum size of real data that can be stored in historical value archive