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 zenon data types

PLC

zenon

IX 1.0

Input bit offset 1 bit 1

I 1

Input byte offset 1 low-order

MB 100

Byte marker offset 100 low-order

MX 100.0

Bit marker offset 100 bit 0

MW 100

Word marker offset 100

Q 1

Output byte offset 1 low-order

QW 60000

Output word offset 60000

QX 1.1

Output bit offset 1 bit 1

Driver object types and supported IEC data types for process variables in zenon

Driver object types

Channel type

Supported data types

(DataType)

Read

Write

Comment

Marker

8

BOOL

BYTE

DATE

DINT

DT

DATE_AND_TIME

DWORD

INT

INT16

LREAL

REAL

SINT

STRING

TIME

TOD

TIME_OF_DAY

UDINT

UINT

UINT16

USINT

WORD

Y

Y

 

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.