ProSoft Technology MVI71-GSC User Manual
Page 29

Installing and Configuring the Module
MVI71-GSC ♦ PLC Platform
Generic Serial Communication Module
ProSoft Technology, Inc.
Page 29 of 82
January 31, 2008
Word
Offset
Description
220
Port 2 receive state:
-1 = Listening for data
1 = Receiving Port Data
2 = Waiting for Backplane transfer
221
Port 2 receive character count
222
Port 2 receive block count
223
Port 2 transmit state:
0 = Waiting for Data to Send
1 = RTS On
2 = RTS Timeout
3 = Sending data
4 = Waiting for RTS Off
5 = RTS turned off
30 = Intercharacter Delay
31 = Intercharacter Delay
32 = Intercharacter Delay
100 = Message Delay before Transmit
101 = Message Delay before Transmit
224
Port 2 transmit character count
225
Port 2 transmit block count
Port 2
Status
226
Port 2 error word
Within the status data area is a single word for each port that is bit mapped (error
word). The definition of the bits is given in the following table.
Error
Bit in
Word
Description
Cfg_type
Bit 0
The termination type configured for the port is not valid.
Values between 0 and 15 are the only ones valid. The
module will use type 0 (stream mode) for the port.
Cfg_Baud
Bit 1
The baud rate entered for the port is not valid. The module
will use 9600 baud for the port.
Cfg_Parity
Bit 2
The parity value entered is not valid. Values between 0 and
4 are accepted. The module has set the parity to a value of
none (0).
Cfg_DataBits
Bit 3
The number of data bits for the protocol is not valid. Values
between 5 and 8 are accepted. The module assumes a
value of 8 data bits.
Cfg_StopBits
Bit 4
The number of stop bits for the protocol is not valid. Values
of 1 or 2 are accepted. The module assumes a value of 1
stop bit.
Cfg_Handshake
Bit 5
The handshake code for the port is not valid. The value
entered must be in the range of 0 to 3. The module assumes
a value of 0 (no handshaking).