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.

Example for all possible zenon data types

PLC

zenon

VB0, EB7, AB3, MB6

i/u8Bit (signed)

VW0, EW6, AW3, MW6

i/u16Bit (signed)

VD0, ED4, AD3, MD6

i/u32Bit (signed)

VB0, EB7, AB3, MB6

i/u8Bit

VW0, EW6, AW3, MW6, T0, Z5

i/u16Bit

VD0, ED4, AD3, MD6

i/u32Bit

VD0, ED4, AD3, MD6

float32

VB0.0, EB7.7, AD3.5, MB6.2

Boolean

VB0

String

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.