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

Range of values

8 Bit signed

SINT

-128 to 127

8 Bit unsigned

USINT

0 to 255

32 bit floating point

REAL

± 3.4E ± 38

Boolean

BOOL

0, 1

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.