TCP/IP Ethernet Network Statistics
Original instructions
TCP/IP Ethernet Network Statistics
A TCP/IP Ethernet module replies to local and remote statistics commands from the MBP_MSTR block with the the contents of the databuf array (see the information in the table below):
Word
Meaning
00 to 02
MAC address
e.g. MAC address 00 00 54 00 12 34 is displayed as follows:
Word
00
01
02
Contents
00 00
54 00
12 34
03
Board status (refer to the following table)
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
36
37
Contents
89 71
C6 CA
Board Status Word Bit Definition
NOTE: It is best to view the board status word in binary format.
The following table describes the bit definitions of the board status word:
Bit #
Definition
15
0 = Link LED off  1 = Link LED on
14
0 = Appl LED off  1 = Appl LED on
13
0 = twisted pair 1 = fiber
12
0 = 10 Mbit 1 = 100 Mbit
11 ... 8
(Reserved)
7 ... 4
Module type (see table, below)
3
(Reserved)
2
0 = half duplex 1 = full duplex
1
0 = not configured 1 = configured
0
0 = not running 1 = running
NOTE: Bits are numbered from right to left, starting with bit 0 (low bit). For example, PLC running = 0000 0000 0000 0001 and LED connection = 1000 0000 0000 0000.
The following table describes the word bit definitions for board status for the:
Bit #
Definition
15 ... 12
Module type (see table below)
11
(Reserved)
10
0 = half duplex 1 = full duplex
9
0 = not configured 1 = configured
8
0 = PLC not running 1 = PLC/NOE running
7
0 = Link LED off 1 = Link LED on
6
0 = Appl LED off 1 = Appl LED on
5
0 = twisted pair 1 = fiber
4
0 = 10 Mbit 1 = 100 Mbit
3 ... 0
(Reserved)
NOTE: Bits are counted from right to left, starting with bit 0 (low bit). For example, PLC running = 0x0100, Application LED = 0x0040, and LED Connection = 0x0080.
Board Status Word Bit Definition by Module Type
The following table describes the values of the module types:
Value of Bits 7...4 or 15...12
Note: See the previous tables for the bit range that applies to your module’s software version.
Module Type
0
NOE 2x1
1
ENT
2
M1E
3
NOE 771 00
4
ETY
5
CIP
6
(reserved)
7
140 CPU 651 x0
8
(reserved)
9
(reserved)
10
NOE 771 10
11
NOE 771 01
12
NOE 771 11
13 ... 15
(reserved)