Driver status data, 5 driver status data – ProSoft Technology 5201-DFNT-ASCII User Manual

Page 25

Advertising
background image

Driver Status Data

ASCII ♦ ProLinx Standalone

Generic ASCII Serial Communication Module

ProSoft Technology, Inc.

Page 25 of 40

July 7, 2008

5 Driver

Status

Data

Each ASCII port associated with the ASCII driver has an associated status data
area. This data is located in the virtual address range of the module. The map
data functionality of the module must be used to map this data into the normal
data range of the module's database. The following table lists the content of the
status data areas associated with each ASCII port driver:

Port 0 Status Data

Status Register

Description

13000 Receive

State:

-1 = Listening for data
1 = Receiving Port Data
2 = Waiting for Backplane transfer

13001

Receive character count

13002

Receive message count

13003 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

13004

Transmit character count

13005

Transmit message count

13006 Configuration

error

word

13007 to 13009

No Valid Data

Port 1 Status Data

Status Register

Description

13010 Receive

State:

-1 = Listening for data
1 = Receiving Port Data
2 = Waiting for Backplane transfer

13011

Receive character count

13012

Receive message count

Advertising