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.

Examples for all possible IEC data types

PLC

zenon

BOOL

BOOL

DT or DATE_AND_TIME

DATE_AND_TIME

DINT

DINT

INT

INT

LREAL

LREAL

REAL

REAL

SINT

SINT

STRING

STRING

TOD or TIME_OF_DAY

TOD

UDINT

UDINT

UINT

UINT

USINT

USINT

WORD

WORD

DWORD

DWORD

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.