Driver objects |
HMI32 -> Creating variables -> Driver objects and datatypes -> Driver objects |
Show all Hide all |
The following object types are available in this driver:
Driver object type |
Channel type |
Read / Write |
Supported data types |
Comment |
---|---|---|---|---|
Output |
11 |
L / S |
USINT, BOOL, SINT, UINT, INT |
|
Input |
10 |
L |
USINT, BOOL, SINT, UINT, INT |
|
Ext. data block |
34 |
L / S |
REAL, BOOL, WSTRING, DINT, UDINT, INT, UINT, STRING, USINT, SINT |
|
S5Time data block |
96 |
L / S |
REAL |
Only times in seconds will be read and written. Attention: 32 bits of data will be read, but in the S7, S5Time has only 16 bits; you should therefore make sure that there are still 16 bits left after the last S5Time object in a data block. |
PLC marker |
8 |
L / S |
REAL, BOOL, WSTRING, DINT, UDINT, INT, UINT, STRING, USINT, SINT |
|
Counters |
23 |
L / S |
UINT |
|
Time |
22 |
L / S |
REAL |
|
Driver variable |
35 |
L / S |
BOOL, SINT, USINT, INT, UINT, DINT, UDINT, REAL, STRING |
Variables for the statistical analysis of communication. Find out more in the chapter about the Driver variables |
Objects for process variables in zenon
Object |
Channel type |
Data type |
Name |
---|---|---|---|
2 |
8 |
8 |
Marker - (M)BOOL |
3 |
8 |
9 |
Marker - (MB)BYTE/CHAR |
4 |
8 |
2 or 1 |
Marker - (MW)WORD/INT |
5 |
8 |
4 or 3 |
Marker - (MD)DWORD/DINT |
6 |
34 |
8 |
Data block - (DBX)BOOL |
7 |
34 |
9 |
Data block - (DBB)BYTE/CHAR |
8 |
34 |
2 or 1 |
Data block - (DBW)WORD/INT |
9 |
34 |
4 or 3 |
Data block - (DBD)DWORD/DINT |
10 |
34 |
5 |
Data block - (DBD)REAL |
11 |
34 |
12 |
Data block – STRING |
12 |
10 |
8 |
Input - (I)BOOL |
13 |
10 |
9 |
Input - (IB)BYTE/CHAR |
14 |
10 |
2 or 1 |
Input - (DBW)WORD/INT |
15 |
11 |
8 |
Output - (Q)BOOL |
16 |
11 |
9 |
Output - (QB)BYTE/CHAR |
17 |
11 |
2 or 1 |
Output - (QW)WORD/INT |
18 |
22 |
5 |
Time - (T)REAL |
19 |
8 |
12 |
Marker – STRING |
21 |
23 |
2 |
Counter - (C)WORD |
22 |
8 |
5 |
Marker - (MD)REAL |
23 |
8 |
21 |
Marker - WSTRING |
24 |
34 |
21 |
Data block - WSTRING |
Time
Depending on the employed offset, the resolution of time in the S7 can differ. The driver converts all times to seconds. You cannot write to times.
Net Address
The net address of the variable; defines the MPI address. If you use an adapter of version 5, you can only communicate with addresses that are entered in the target addresses field.
I-Bit
As the driver tries to send a command without errors several times after a communication error, the datapoint will only be set to invalid after 24 seconds.