Mapping of the datatypes |
Logix32 -> Creating variables -> Driver objects and datatypes -> Mapping of the datatypes |
Show all Hide all |
All variables in zenon are derived from IEC data types. The following table compares the IEC datatypes with the datatypes of the PLC.
PLC |
zenon |
Data type |
BOOL |
BOOL |
8 |
SINT |
USINT |
9 |
SINT |
SINT |
10 |
INT |
UINT |
2 |
INT |
INT |
1 |
DINT |
UDINT |
4 |
DINT |
DINT |
3 |
- |
ULINT |
27 |
- |
LINT |
26 |
REAL |
REAL |
5 |
- |
LREAL |
6 |
SINT[82] |
STRING |
12 |
- |
WSTRING |
21 |
- |
DATE |
18 |
- |
TIME |
17 |
- |
DATE_AND_TIME |
20 |
- |
TOD (Time of Day) |
19 |
Data type |
The property "Datenart" is the internal numerical name of the data type. It is also used for the extended DBF import/export of the variables. |