User manual

MVI56-HART ♦ ControlLogix Platform Reference
HART Multi-drop Master Communication Module User Manual
ProSoft Technology, Inc. Page 115 of 171
October 13, 2011
5.8.2 Configuration Error Word
The following table defines the contents of the configuration error word. Each bit in the
word corresponds to an error condition recognized when the module is configured. There
is a separate word for each HART channel. This data is reported in the status data area
previously defined.
Bit Code Description
0 0x0001 Enabled not set to Y or N
1 0x0002 Enable Handheld not set to Y or N
2 0x0004 Primary Master not set to Y or N
3 0x0008 Invalid Preambles (1 to 50)
4 0x0010 Invalid Short Address Retries (0 to 50)
5 0x0020 Invalid Long Address Retries (0 to 50)
6 0x0040 Invalid Retries After Error (0 to 50)
7 0x0080 Invalid Poll Time After Error (0 to 10000)
8 0x0100 Invalid DB Address Status
9 0x0200 Invalid Command Count
10 0x0400 Memory Error in allocating commands
11 0x0800 Memory Error in allocating command fixed data
12 0x1000 Memory Error in allocating TX/RX buffers
13 0x2000 HART Board not found
14 0x4000 Cannot initialize HART channel
15 0x8000
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 using the Error/Status Offset parameter
for each port. Accessing the Debug capabilities of the module is accomplished by
connecting a PC to the Debug port, then running a terminal emulation program. 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 the following section for a listing of the Error Codes to interpret the status/error
codes present in the integer data area. The following illustration shows the location of
each error word in the data block:
Word Offset Description
0
99
Command 0 Error Value
...
...
Command 99 Error Value
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".