6 Application example: Modbus TCP
6.5 Evaluation of module diagnostics
XI/ON: XNE-GWBR-2ETH-MB
10/2011 MN05002008Z-EN
www.eaton.com
133
6.5
Evaluation of module diagnostics
The diagnostic data of the XI/ON modules can be found in registers 0×A000 to 0×A400. For
each module in the station, 64 bytes are reserved for diagnosis information.
In addition to that, a group diagnosis (max. 32 modules per station) is displayed. It can be read
out either via the packed process data or separately via registers 0×1018 to 0×101A.
The group diagnosis contains one diagnostic bit for each module in the station, which shows,
if the respective module sends a diagnostic message or not. The meaning of this diagnostic
bit has to be read out from the diagnostic data of the module, registers 0×A000 to 0×A400:
6.5.1
Group diagnosis within the process input data:
Group diagnosis message:
0×02 0×08
Byte 0
(modules 0 to 7): 0×08
→
Bits 3 is set, which means module 3 sends a diagnostic message:
Byte 1
(modules 8 to 15): 0×02
→
Bit 1 is set, module 9 sends a diagnosis message.
Figure 64:
Group diagno-
sis in the pro-
cess data
A
group diagno-
sis
Table 70:
Group diag-
nosis, byte 0,
Value: 0×08
Bit
7
6
5
4
3
2
1
0
Value
0
0
0
0
1
0
0
0
Table 71:
Group diag-
nosis, byte 1,
value 0×02
Bit
7
6
5
4
3
2
1
0
Value
0
0
0
0
0
0
1
0
A