PLX30 Series
MBTCP Protocol
Ethernet and Serial Gateways
User Manual
ProSoft Technology, Inc.
Page 107 of 200
September 19, 2012
MBTCP Client Status Data
The following table lists the addresses in upper memory that hold status data for
each MBTCP Client.
Client
Address Range
0
15500 through 15509
1
15526 through 15535
2
15552 through 15561
.
.
.
.
8
15708 through 15717
9
15734 through 15743
The content of each Client’s status data area is structured the same. The
following table describes the content of each register in the status data area.
Offset
Description
0
Command Request Count (total Client commands sent)
1
Command Response Count (total command responses received)
2
Command Error Count
3
Number of Request Packets
4
Number of Response Packets
5
Errors Sent
6
Errors Received
7
Reserved
8
Current Error
9
Last Error
Offsets 8 and 9 contain information about the most recent communication errors.
The Current Error (offset 8) will have a non-zero value if the currently executing
Client command experiences an error.
The Last Error (offset 9) will store the most recent non-zero value error code that
was reported by the Client the last time it experienced an error. Note that this
value is retentive. This register will hold the last error value until the memory is
cleared by a restart, reset, cold-boot, or warm-boot operation. Therefore, any
value you see here may indicate an error that could have occurred at any time
since the gateway was last restarted and may not indicate a current or recent
error. For details on error codes, see
MBTCP Client Command List Error Data
(page 109).