User manual
Ladder Logic MVI56-HART ♦ ControlLogix Platform
User Manual HART Multi-drop Master Communication Module
Page 52 of 171 ProSoft Technology, Inc.
October 13, 2011
3.1 Using the Sample Program
The sample program consists of user defined data types, controller tags and ladder rungs
that allow communication between the ControlLogix processor, the MVI56-HART module,
and the HART network. You can use the sample program as-is, or you can incorporate
the data types, controller tags and ladder rungs into an existing program.
3.1.1 Controller Tags
The MVI56-HART module is defined in the example as HARTData1 to hold all data
related to the database (type HARTData) and HART1 to hold all status data related to the
module (type HARTModuleDef). The tag name can be set to any valid tag name desired.
3.1.2 Module Status Data and Variables (HARTModuleDef)
All status and variable data related to the MVI56-HART is stored in a user-defined data
type. An instance of the data type is required before the module can be used. This is
accomplished by declaring a variable of the data type in the Controller Tags Edit Tags
dialog box. The following table describes the structure of this object.
Name Data Type Description
GenStat HARTStat General status information
BP HARTBackplane Data to handle backplane logic
Auto_Poll HARTAutoPoll[10] Auto-PollData
ByteData SINT[60]
This object contains objects that define variables for the module and status data related
to the module. Each of these object types is discussed in the following topics of the
document.