MBTCP Protocol
PLX3x Series ♦ Multi-Protocol Gateways
User Manual
Page 110 of 215
ProSoft Technology, Inc.
January 25, 2018
Offsets 8 and 9 contain information about the most recent communication
errors.
The Current Error (offset 8) has a non-zero value if the currently executing
client command experiences an error.
The Last Error (offset 9) stores 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 protected. This register holds the last error value until you clear
the memory by a restart, reset, cold-boot, or warm-boot operation. Therefore,
any value here may be from an error that occurred at any time since the
PLX3x gateway was last restarted.
MBTCP Client Command List Error Data
The PLX3x gateway stores a status/error code in upper memory for each
command in each MBT
CP client’s command list. The following table lists the
addresses in upper memory where the PLX3x gateway stores the command list
error data for each MBTCP Client:
Client
Address Range
0
15510 to 15525
1
15536 to 15551
2
15562 to 15577
.
.
.
.
8
15718 to 15733
9
15744 to 15759
The first word in each client’s command list error data area contains the
status/error code for the first command in the client’s Command List. Each
successive word in the Command Error List is associated with the next command
in the client Command List. Therefore, the number of valid error values depends
on on the number of commands defined.
The structure of the command list error data area (which is the same for all
Clients) is displayed in the following table:
Offset
Description
0
Command #1 Error Code
1
Command #2 Error Code
2
Command #3 Error Code
.
.
.
.
13
Command #14 Error Code
14
Command #15 Error Code
15
Command #16 Error Code
A non-zero error code for a command indicates an error.