beautypg.com

Mnet error and status data, Mnet client error/status data – ProSoft Technology 5201-MNET-ASCII User Manual

Page 50

background image

Diagnostics and Troubleshooting

MNET ♦ ProLinx Gateway

Driver Manual

Modbus TCP/IP Interface Module

Page 50 of 78

ProSoft Technology, Inc.

September 1, 2010

3.3

MNET Error and Status Data

The following topics list the register addresses that contain error and status data.
Use the Database View option from the ProLinx Main Menu to view the contents
of each register. The ProLinx Reference Guide provides the information on using
this option.

3.3.1 MNET Client Error/Status Data

The Client connection Error and Status Data areas are discussed in this section.
The error/status data table is located at the virtual addresses 6000 through 6009.
This data will be available through the Configuration/Debug Port or through the
Server driver, if requested by a remote Client.

The data area is initialized with zeros whenever the gateway is initialized. This
occurs during a cold-start (power-on), reset (reset push-button pressed) or a
warm-boot operation (commanded from the Diagnostics menu or immediately
after a new configuration has been downloaded).

Internal Database Address

Description

6000

Command Request Count (total Client commands sent)

6001

Command Response Count (total command responses received)

6002

Command Error Count

6003

Number of Request Packets

6004

Number of Response Packets

6005

Errors Sent

6006

Errors Received

6007

Configuration Error Word

6008

Current Error

6009

Last Error

Registers 6000 through 6006 are counters and are shown as 16-bit signed
integer values in the range of -32768 to +32767. When a count exceeds +32767,
it will automatically rollover to -32768 and become less negative (increment) with
each additional count.

Register 6007, the MNET Configuration Error Word, is a bit-mapped value. Not
all bits are used; some are reserved for future use. The bit-map indicates the
following errors if specific bits are set to 1. Note that, since this is a bit map, if
multiple errors are present, the value displayed with be the sum of the values
shown in the chart for all of the bits set to 1.

Bit

Decimal Value

Description

0

0001

Reserved

1

0002

Reserved

2

0004

Reserved

3

0008

Reserved

4

0016

Invalid Retry Count (0 to 10)

5

0032

Invalid Float Flag (Y or N)