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

BOOL

BOOL

8

SINT

SINT

10

USINT

USINT

9

INT

INT

1

UINT

UINT

2

DINT

DINT

3

UDINT

UDINT

4

LINT

LINT

26

REAL

REAL

5

LREAL

LREAL

6

STRING

STRING

12

BYTE

BYTE

22

WORD

WORD

23

DWORD

DWORD

24

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.