Mapping of the datatypes |
IEC870 -> 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.
Mapping of the data types from the PLC to zenon data types
PLC |
ASDU Type |
zenon |
Comment |
Data type |
---|---|---|---|---|
M_SP_NA_1 |
1 |
BOOL |
|
8 |
M_SP_TA_1 |
2 |
BOOL |
|
8 |
M_SP_TB_1 |
30 |
BOOL |
|
8 |
M_DP_NA_1 |
3 |
SINT |
|
10 |
M_DP_TA_1 |
4 |
SINT |
|
10 |
M_DP_TB_1 |
31 |
SINT |
|
10 |
M_ME_NA_1 |
9 |
REAL |
|
5 |
M_ME_TA_1 |
10 |
REAL |
|
5 |
M_ME_TD_1 |
34 |
REAL |
|
5 |
M_ME_NB_1 |
11 |
INT |
|
1 |
M_ME_TB_1 |
12 |
INT |
|
1 |
M_ME_TE_1 |
35 |
INT |
|
1 |
M_ME_NC_1 |
13 |
REAL |
|
5 |
M_ME_TC_1 |
14 |
REAL |
|
5 |
M_ME_TF_1 |
36 |
REAL |
|
5 |
M_BO_NA_1 |
7 |
DINT |
|
3 |
M_BO_TA_1 |
64 |
DINT |
|
3 |
M_BO_TB_1 |
33 |
DINT |
|
3 |
M_IT_NA_1 |
15 |
DINT |
|
3 |
M_IT_TA_1 |
16 |
DINT |
|
3 |
M_IT_TB_1 |
37 |
DINT |
|
3 |
C_SC_NA_1 |
45 |
BOOL |
mirrors the command direction during execution |
8 |
C_SC_TA_1 |
58 |
BOOL |
mirrors the command direction during execution |
8 |
C_DC_NA_1 |
46 |
SINT |
mirrors the command direction during execution |
10 |
C_DC_TA_1 |
59 |
SINT |
mirrors the command direction during execution |
10 |
C_SE_NA_1 |
48 |
REAL |
mirrors the command direction during execution |
5 |
C_SE_TA_1 |
61 |
REAL |
mirrors the command direction during execution |
5 |
C_SE_NB_1 |
49 |
INT |
mirrors the command direction during execution |
1 |
C_SE_TB_1 |
62 |
INT |
mirrors the command direction during execution |
1 |
C_SE_NC_1 |
50 |
REAL |
mirrors the command direction during execution |
5 |
C_SE_TC_1 |
63 |
REAL |
mirrors the command direction during execution |
5 |
C_BO_NA_1 |
51 |
DINT |
mirrors the command direction during execution |
3 |
C_BO_TA_1 |
64 |
DINT |
mirrors the command direction during execution |
3 |
C_IC_NA_1 |
100 |
BOOL |
1 during execution |
8 |
C_CS_NA_1 |
103 |
BOOL |
1 during execution |
8 |
F_SC_NA_1 |
122 |
STRING |
Command for file transfer "DIR" or "GET" |
|
F_DR_TA_1 |
126 |
STRING |
response variable for file transfer |
|
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. |