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

BOOLEAN

BOOL

8

INT8

SINT

10

INT8U

USINT

9

INT16

INT

1

INT16U

UINT

2

INT24

DINT

3

INT24U

UDINT

4

INT32

DINT

3

INT32U

UDINT

4

INT128

DINT

3

FLOAT32

REAL

5

FLOAT64

LREAL

6

ENUMERATED

INT

1

CODED ENUM

UDINT

4

OCTET STRING

STRING

12

VISIBLE STRING

STRING

12

UNICODE STRING

WSTRING

21

PACKED LIST

UDINT

4

TIMESTAMP

LREAL

6

EntryTime

LREAL

6

TriggerConditions

UDINT

4

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.