User manual
Transferring Data Using Communication Blocks
174
33002479 06 07/2008
TCP/IP Ethernet Network Statistics
TCP/IP Ethernet
Network
Statistics
A TCP/IP Ethernet module replies to local and remote statistics commands from the
MBP_MSTR block with the following information:
Word Meaning
00 to 02 MAC address
e.g. MAC address 00 00 54 00 12 34 is displayed as follows:
03 Module state
z 0x0001 = Running
z 0x4000 = APPI LED (1=ON, 0 = OFF)
z 0x8000 = LED connection
04 and 05 Number of receiver interrupts
06 and 07 Number of transfer interrupts
08 and 09 Transfer timeout error count
10 and 11 Collision detection error count
12 and 13 Omitted packets
14 and 15 Memory error count
16 and 17 Number of restarts performed by the driver
18 and 19 Receive framing error count
20 and 21 Overflow error count receiver
22 and 23 Receive CRC error counter
24 and 25 Receive buffer error counter
26 and 27 Transfer buffer error counter
28 and 29 Transfer bin underflow counter
30 and 31 Late collision counter
32 and 33 Lost carrier counter
34 and 35 Number of retries
36 and 37 IP address
e.g. the IP address 198.202.137.113 (or c6 CA 89 71) is represented as
follows:
Word
00
01
02
Contents
00
00
34
00
54
12
Word
36
37
Contents
89
C6
71
CA