Mapping of the datatypes |
DNP332 -> Creating variables -> Driver objects and datatypes -> Mapping of the datatypes |
Show all Hide all |
All variables in zenon are derived from IEC data types. The following table compares the IEC datatypes with the datatypes of the PLC.
Driver object types and supported IEC data types for process variables in zenon
Driver object types |
Channel type |
Supported datatypes (DataType) |
Read |
Write |
Comment |
---|---|---|---|---|---|
Binary Input |
64 |
BOOL |
Y |
N |
|
Binary Output |
65 |
BOOL |
N |
Y |
Value 1: LATCH_ON
1 for successful writing, 0 for error |
Binary Output |
65 |
USINT |
N |
Y |
Value 1: PULSE_ON 1 for successful writing, 0 for error
|
Running Counter |
66 |
BOOL,SINT,INT,DINT |
Y |
N |
|
Frozen Counter |
67 |
BOOL,SINT,INT,DINT |
Y |
Y |
Writing freezes the counter |
Analog Input |
68 |
REAL |
Y |
N |
|
Analog Output |
69 |
REAL |
N |
Y |
1 for successful writing, 0 for error |
String Data |
70 |
STRING |
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. |