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.

PLC

zenon

Data type

 

BOOL

8

 

USINT

9

 

SINT

10

 

UINT

2

 

INT

1

 

UDINT

4

 

DINT

3

 

ULINT

27

 

LINT

26

 

REAL

5

 

LREAL

6

 

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.