ProSoft Technology MVI69-HART User Manual
Page 49
![background image](https://www.manualsdir.com/files/866096/content/doc049.png)
MVI69-HART ♦ CompactLogix Platform
Ladder Logic
HART Multi-drop Master Communication Module
User Manual
ProSoft Technology, Inc.
Page 49 of 169
March 29, 2012
3.1.2 Module Status Data and Variables (HARTModuleDef)
All status and variable data related to the MVI69-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[1000]
BlockTransferSize
INT
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.
Status Object (HARTStat)
This object stores the status data of the module. The HARTStat object (shown in
the following example) is updated each time a read block is received by the
processor. Use this data to monitor the state of the module at a "real-time" rate.
Name
Data Type
Description
Scan_Cnt
INT
Program Scan Counter
Product_Name
SINT[4]
Product Code
Rev_Level
SINT[4]
Revision
Op_Sys
SINT[4]
Operating system revision
Run_Number
SINT[4]
Run number
Blk_Rd_Count
INT
Number of block read transfers
Blk_Wr_Count
INT
Number of block write transfers
Blk_Parse_Cnt
INT
Number of blocks parsed by module
Blk_Resv
INT
Reserved
Blk_Cmd
INT
Number of command enable/disable blocks
Blk_Err
INT
Number of block errors
ChStat
HARTCHStat[2]
Channel Status Data
Within the HARTStat objects are objects containing the status information for
each application port (HARTCHStat). Refer to Status Data Definition (page 109)
for a complete listing of the data stored in this object.