Value range of data types
The following table informs about available data types and its value range in WinCC OA:
Data type | Value range | Comment |
---|---|---|
struct | - | structure of anytype of values |
dyn_char | - | dynamic array of characters |
dyn_uint | - | dynamic array of positive integer values |
dyn_int | - | dynamic array of integer values |
dyn_float | - | dynamic array of decimal values |
dyn_bool | - | dynamic array of binary values |
dyn_bit32 | - | dynamic array of bit patterns |
dyn_string | - | dynamic array of strings |
dyn_time | - | dynamic array of values in the internal time format |
char array | - | structure of characters |
unsigned array | - | structure of positive integer values |
int array | - | structure of integer values |
float array | - | structure of decimal values |
bool array | - | structure of binary values |
bit32 array | - | structure of bit patterns |
string array | - | structure of strings |
time array | - | structure of values in the internal time format |
char | - |
character in the size of 1 byte This can also represent a numerical data type that takes the values 0 to 255. An example for this is the _lock.._man_type data point config attribute. |
unsigned (uint) | 0 to 4294967295 | positive integer value |
int | -2147483648 to 2147483647 | integer value |
float | -1.79769e+308 to +1.79769e+308 | decimals |
bool | 0, 1 or FALSE, TRUE | binary value |
bit32 | 0 to 4294967295 | 32 bit |
string |
Any number of characters. Depends however on the operating system as well as on the free disk space and main memory. |
string |
time | 2*10^31s from 01.01.1970 (to 09 .01 .2038 04h14m07s) | internal time format, default is 01.01.1970 when out of range. |
dpid | - | address of data point element / attribute |
dyn_dpid | - | dynamic array of dat apoint element / attribute addresses |
dpid array | - | structure of data point element / attribute addresses |
typref | - | reference to any other data point type |
langString | - | description |
langString array | - | structure of multilingual texts |
dyn_langString | - | dynamic array of multilingual texts |
blob | - | binary large object |
blob array | - | structure of blobs |
dyn_blob | - | dynamic array of blobs |