ProSoft Technology 5228-DFNT-HART User Manual

Page 87

Advertising
background image

ProLinx-HART ♦ ProLinx Gateway

Reference

HART Master with Analog I/O

Driver Manual

ProSoft Technology, Inc.

Page 87 of 104

October 13, 2011

HART Command List Error Data

Each command in the command list for each HART channel has a word value for a

status/error code. This error data list can be read using the Configuration/Debug Port and

can be placed in the module’s internal database. Accessing the Debug capabilities of the

module is accomplished easily by connecting a PC to the Debug port and loading a

terminal program such as ProSoft Configuration Builder or HyperTerminal.
This status/error code is the first word of the Integer Data Block returned from every

HART command executed. This word has information about the execution of the

command by the HART device.
Refer to sections containing Error Codes to interpret the status/error codes present in the

integer data area.

Module Error Codes

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.

Advertising
This manual is related to the following products: