ProSoft Technology MVI69-HART User Manual
Page 43
MVI69-HART ♦ CompactLogix Platform
Module Configuration
HART Multi-drop Master Communication Module
User Manual
ProSoft Technology, Inc.
Page 43 of 169
March 29, 2012
The user can configure the command parameters as described in the following
table in order to correctly read the command 3 results to the module database:
Index
Parameter
Value
Observation
1
Enable
1
The command is sent continuously
2
Float DB
Address
240
The floating point results will be copied to the internal
database starting at word-address 240 (from 240 to
249)
3
Poll Interval
0
The command is sent without any delay
4
Word Count
10
The command returns 10 words of floating point data
5
Swap Code
3
The bytes in each returned floating point word are
swapped
6
Short
Address
0
This command is sent to the Hart slave device
using short address 0
7
Function
Code
3
The command function 3 (READ DYNAMIC
VARIABLES) is used in this example
8
Int. DB
Address
290
The integer data will copied to the database starting at
word-address 290 (from 290 to 292)
9
Word Count
3
The command returns 3 words of integer data
10
Swap Code
3
The bytes in each returned integer data will be
swapped
11
Use Long
1
This command executes using Long Address
12
Enable
Address
-1
This command does not use this feature
13
DB Done
Address
-1
This command does not use this feature
14
DB Write
Address
-1
This parameter is ignored since no data is sent to the
HART device (this is a read command)
15
DB Swap
Code
3
This parameter is ignored since no data is sent to the
HART device (this is a read command)
16
Byte Count
0
This parameter is ignored since no data is sent to the
HART device (this is a read command)
17
Fixed Data
This command does not use this feature
So these values could be entered in the configuration file as described below:
In this example, the user should verify that the command result is located inside
the Read Data area, in order to have the data copied to the PLC processor
(through the backplane). The following backplane configuration could be used for
this example:
Read Register Start : 0 #Starting DB address where read by processor
Read Register Count : 300 #Number of regs for processor to read
Write Register Start: 300 #Starting DB address where write data placed
Write Register Count: 300 #Number of regs to write to module from processor