Specifications

STB NIP 2311 Services
138
EIO0000000051 6/2010
Ethernet Statistics
Ethernet statistics comprise status information related to data transmissions to and
from the STB NIP 2311 module over the Ethernet LAN.
Ethernet statistics are held in a buffer until the get Ethernet statistics command is
issued, and the statistics are retrieved.
The clear Ethernet statistics command clears all of the statistics currently held in
the buffer except the MAC address and the IP address.
When issuing a command, it is necessary to include a diagnostic control word that
contains the following required information:
Basic Network Diagnostics
Basic network diagnostic data can be accessed at the following Modbus register
addresses, relative to the initial address offset value:
Diagnostic Control Byte Description
MSB: bits 15...8 Data Selection code:
0x01 Basic Network Diagnostics (see page 138)
0x02 Ethernet Port Diagnostics (see page 139)
(requires the input of a port selection code)
0x03 Modbus TCP/Port 502 Diagnostics
(see page 140)
LSB: bits 7...0 Port Selection code
0x01...0xFF The logical number of the port
Address: Offset + Description
0–1 basic network diagnostic validity
2 communication global status
3 supported communication services
4 status of communication services
5–6 IP address
7–8 subnet mask
9–10 default gateway
11–13 MAC address
14–16 Ethernet frame format capability/configuration/operational
17–18 Ethernet receive frames OK
19–20 Ethernet transmit frames OK
21 number of open client connections
22 number of open server connections
23–24 number of Modbus exception responses
25–26 number of Modbus messages sent
27–28 number of Modbus messages received
29–36 device name
37–38 IP assignment mode capability/operational