![ProSoft Technology ProLinx ASCII Скачать руководство пользователя страница 27](http://html1.mh-extra.com/html/prosoft-technology/prolinx-ascii/prolinx-ascii_driver-manual_1618953027.webp)
Driver Status Data
ASCII
♦
ProLinx Standalone
Generic ASCII Serial Communication Module
ProSoft Technology, Inc.
Page 27 of 40
July 7, 2008
Port 3 Status Data
Status Register
Description
13030 Receive
State:
-1 = Listening for data
1 = Receiving Port Data
2 = Waiting for Backplane transfer
13031
Receive character count
13032
Receive message count
13033 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
13034
Transmit character count
13035
Transmit message count
13036 Configuration
error
word
13037 to 13039
No Valid Data
If the module is configured correctly, the configuration error word should have a
value of zero. Any other value indicates a configuration error. Use the value in
the configuration error word to determine which set of parameters are invalid in
the driver configuration area. The following table lists the bits associated with
each configuration error in the word:
Bit Code
Description
0
0x0001
Invalid selection for enabled parameter
1
0x0002
Invalid Rx DB Start parameter
2
0x0004
Invalid Tx DB Start parameter
3
0x0008
Invalid Baud Rate
4
0x0010
Invalid Parity (N, O, E, M or S)
5
0x0020
Invalid Data bits (5 to 8)
6
0x0040
Invalid Stop bits (1 or 2)
7
0x0080
Invalid Handshaking parameter (N, Y, D or X)
8
0x0100
Invalid Rx Termination Type
9
0x0200
Invalid Rx Term Count value
10
0x0400
Invalid Rx Timeout
11
0x0800
Invalid Rx Delay
12
0x1000
Invalid Rx Packet Length