Specifications
ProLinx Communication Gateways, Inc. 29
HART Master Protocol Drive Manual
August 17, 2004
8 Module Error Codes
The module error codes are listed in this section. Error codes returned from the HART
device are placed at the first word of the integer data block in the Virtual Database. The
error codes are formatted in the word as follows: If the most-significant bit of the word
contains “1”, then the most significant byte has a communication error code. The least-
significant byte of the word will contain “0”.
If the most-significant bit of the word contains “0”, the most significant byte contains a
command error code. In this case, the least-significant byte contains a device malfunction
information.
If this word value is “-1” (or 0xFFFF), it means that the command timed out.
Use the error codes returned for each command in the list to determine the success or
failure of the command. If the command fails, use the error code to determine the cause
of failure.
8.1 Protocol Error Codes
These are error codes that are part of the HART protocol. The standard HART error
codes are shown in the tables below:
Error Code Word
First Byte Second Byte
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
BIT 7 OF FIRST BYTE = 1
COMMUNICATION ERROR
FIRST BYTE
BIT 6 Parity Error
BIT 5 Overrun Error
BIT 4 Framing Error
BIT 3 Checksum Error
BIT 2 Reserved
BIT 1 RX Buffer Overflow
BIT 0 Undefined
SECOND BYTE
BIT 0 to BIT 7 All 0