Mbtcp diagnostics – ProSoft Technology PLX31-EIP-SIE User Manual
Page 105

PLX3x Series
MBTCP Protocol
Ethernet and Serial Gateways
User Manual
ProSoft Technology, Inc.
Page 105 of 218
September 17, 2014
6.3
MBTCP Diagnostics
6.3.1 PCB Diagnostics
The best way to troubleshoot the MBTCP driver is to use ProSoft Configuration
Builder to access the diagnostic capabilities of the gateway through the Ethernet
debug port. For instructions on how to access Diagnostics, see
Diagnostics in ProSoft Configuration Builder
(page 36).
6.3.2 MBTCP Status Data in Upper Memory
The MBTCP driver has an associated status data area located in the
gateway’s
upper memory. The Data Map functionality of the gateway can be used to map
this data into the normal user data range of the gateway
(page 25).
Note that all the status values are initialized to zero (0) at power-up, cold boot
and during warm boot.
MBTCP Server Status Data
The following table lists the addresses in upper memory where status data for
MBTCP servers can be found.
Server Port
Address Range
2000
6200 through 6209
502
6210 through 6219
2001
6220 through 6229
The content of each server port’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
Number of Command Requests
1
Number of Command Responses
2
Number of Command Errors
3
Number of Requests
4
Number of Responses
5
Number of Errors Sent
6
Number of Errors Received
7
Configuration Error Word
8
Current Error Code
9
Last Error Code