Dh485 general error codes, Dh485 api specific error codes, 1 dh485 general error codes – ProSoft Technology 5201-DFNT-DH485 User Manual
Page 30: 2 dh485 api specific error codes

DH485 ♦ ProLinx Gateway
Serial Port Protocol Error/Status Data
DH485 Interface
Driver Manual
Page 30 of 44
ProSoft Technology, Inc.
August 27, 2009
Byte #
Description
27
Total number of NAK’s because of no memory for transmission
28
Total number of bad packets
29
Total number of bad control packets
30
Total number of packets received with a bad CRC value
31
Total number of parity errors
32
Total number of framing errors
33
Total number of overrun errors
34
Total number of unexpected bytes received
35
Total number of bad LSAP’s received
Word# Description
0
Error code for command index 0.
1
Error code for command index 1.
--- ---
99
Error code for command index 99.
4.2.1 DH485 General Error Codes
Error #
Description
0 Operation
successful
1 Invalid
parameter
2
Device is already open
3
Device is not present
4 Invalid
access
5
The function has timed out
6
7
Unable to configure the requested port
8
Unable to allocate memory for DH-485 driver
4.2.2 DH485 API Specific Error Codes
Error #
Description
0x0800
Command only permitted in master mode
0x0801
Command already active on the port
0x0802
Response to request timed out
0x0803
Unable to allocate memory for the request
0x0804
Illegal command or format
0x0805
Host could not complete request (hardware fault)
0x0806
Out of memory, file or rung does not exist
0x0807
Field has an illegal value
0x0808
Not enough fields in request message