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: |
00 01 02 |
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: |
36 37 |
89 71 C6 CA |
Board Status Word Bit Definition
The following table describes the bit definitions of the board status word:
140 NOE 771 x1, versions 2.0, 3.0, 3.1, 3.3 and 3.6 or higher
140 NOE 771 x0, versions 3.0, 3.3 and 3.4 or higher
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 |
The following table describes the word bit definitions for board status for the:
140 NOE 771 x1, version 3.5
140 NOE 771 x0, versions 1.02 and 2.0
140 CPU 651 x0
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) |
Board Status Word Bit Definition by Module Type
The following table describes the values of the module types:
See the previous tables for the bit range that applies to your module’s software version. |
|
---|---|
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) |