ProSoft Technology PLX31-EIP-SIE User Manual
Page 134
MBS Protocol
PLX3x Series
User Manual
Ethernet and Serial Gateways
Page 134 of 218
ProSoft Technology, Inc.
September 17, 2014
These status values are state registers. They are used as ‘scratchpad’ areas by
the operating firmware to keep track of the current logical state of activities on a
slave port. These state registers are constantly changing as the gateway
progresses through the various stages needed to process communication on the
serial ports. This processing happens faster than can be followed, unless a port
error causes the value to remain constant for some noticeable length of time.
The diagnostic screen displays are 'snapshot' type screens; that is, they display
the current value at the time they are called but do not continue to automatically
update the data displayed. They are not live-data screens. Therefore, to see a
change in STATE or COMM STATE, you must repeatedly call the screen by
pressing the appropriate menu key to have the screen refreshed. Depending on
the refresh timing you may or may not see a change in the displayed values
every time you call for an update.
The STATE register may display any of the following values.
STATE Value
Description
-2
Preparing port, Flushing all buffers, Scan for RTS-Off, or Waiting for port
enable signal
-1
Waiting for receipt of data
0
Undefined state
1
Receiving a message from the Master
2
Building a slave response message
2000
Sending slave response to the Master
The COMM STATE register may display any of the following values.
COMM STATE
Value
Description
0
Port not sending data (Wait for send)
1
Setting up minimum Response Delay Timer
101
Waiting for Minimum Response Delay to timeout
2
Turning on RTS line and starting RTS-On Delay Timer
3
Waiting for RTS-On Delay timer to timeout
4
Sending data
5
Waiting for all data to be sent and starting RTS-Off Delay Timer
6
Waiting for RTS-Off Delay timeout and then turning OFF RTS line after timeout