6 Application example: Modbus TCP
6.3 Communication examples: Modbus TCP
118
XI/ON: XNE-GWBR-2ETH-MB
10/2011 MN05002008Z-EN
www.eaton.com
6.3.1
Reading-out the gateway-status
The gateway-status can be read from register 0×100C by using function code 04.
Gateway response:
Status-register of the gateway:
Figure 48:
Request:
gateway-status
(register
0×100C)
Figure 49:
Gateway-status
Table 61:
Register 100Ch:
gateway-status
Byte Value/
Meaning
– Byte 1
bits 8 to 15
0
– Byte 0
0
bit 3
1 = I/O Cfg Modified Warning
→
The actual module list does not correspond to the reference
module list stored in the gateway
bits 1 and 2
0 = reserved
bit 0
1= I/O Diags Active Warning
→
At least one module in the station sends a diagnosis.