Mapping of the datatypes

Previous chapterNext chapter Show allShow all    Hide allHide all

All variables in zenon are derived from IEC data types. The following table compares the IEC datatypes with the datatypes of the PLC.

Mapping of the data types from the PLC to zenon data types

PLC

zenon

Data type

BOOL

BOOL

8

SINT

SINT

10

USINT

USINT

9

INT

INT

1

UINT

UINT

2

DINT

DINT

3

UDINT

UDINT

4

REAL

REAL

5

DATE

DATE

18

TIME

TIME

17

DATE_AND_TIME

DATE_AND_TIME

20

TOD

TOD

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.