User manual

Ladder Logic MVI56-HART ♦ ControlLogix Platform
User Manual HART Multi-drop Master Communication Module
Page 54 of 171 ProSoft Technology, Inc.
October 13, 2011
Configuration/Error Status Flags (Cfg_Err)
The Cfg_Err word member of the HARTCHStat reports configuration errors for the
respective port. If the module is not functioning as expected, inspect the value presented
in this object. If a configuration error exists, the associated bit is set. A value of zero for
the bit indicates the configuration value is valid. This does not guarantee that the module
is configured correctly for your application. The bits used by this member are shown in
the following table.
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
Backplane Object (HARTBackplane)
The HARTBackplane object stores all the variables required for the data transfer
operation between the module and the controller. The LastRead data member is used as
the handshaking byte to indicate the arrival of new data from the module. The following
table describes the structure of the object.
Name Data Type Description
LastRead INT Index of last read block
LastWrite INT Index of last write block
BlockIndex INT Computed block offset for data table
The other members of the object are be used in the ladder logic to assist in the data
transfer operation.