Specifications
ProLinx Communication Gateways, Inc. 21
HART Master Protocol Drive Manual
August 17, 2004
5.3 HART Command Entry Formats
Appendix Reference
Refer to the Appendix for a complete discussion of the HART commands
supported by the module and of the structure and content of the data returned for
each command.
An example of a command list section of the CFG file is displayed below:
[HART Port 0 Commands]
# The file contains examples for a pressure transducer.
START
# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# Float DB Poll Word Swap Short Func Int. DB Word Swap Use Enable DB Done DB Write DB Swap Byte Fixed
# Enable Address Interval Count Code Address Code Address Count Code Long Address Address Address Code Count Data
3 0 0 0 2 2 44 0 2 0 1 -1 9 -1 0 1 04
5 0 0 0 2 2 44 10 2 0 1 9 19 -1 0 1 04
5 22 0 6 2 2 110 28 1 0 1 19 29 -1 0 0
5 0 0 0 2 2 44 30 2 0 1 29 39 -1 0 1 05
5 40 0 8 2 2 3 48 1 0 1 39 9 -1 0 0
1 50 0 4 2 3 2 54 2 0 1 -1 59 -1 0 0
1 60 0 0 2 3 12 60 14 0 1 -1 -1 -1 0 0
END
Each parameter is discussed below:
Command
Parameter
Range
Description
Enable 0 ,1,2,3,4,5 This field is used to define whether or not the command is to be executed
and under what conditions.
If the parameter is set to 0, the command is disabled and will not be
executed in the normal polling sequence.
Setting the parameter to a value of 1 for the command causes the
command to be executed each scan of the command list if the Poll Interval
Time is set to zero. If the Poll Interval time is set, the command will be
executed, when the interval timer expires.
If the parameter is set to 2, the command will execute only if the internal
data associated with the command changes. This value is valid only when
there is a specified “Write DB Address” (see below) with a non zero
bytecount for write commands.
If the parameter is set to 3, the command will execute only once on startup
of the ProLinx module after a restart. This is mainly used for configuration
of HART devices on startup.
Setting this parameter to 4, places the command in enabled mode. This
option is valid only if there is a specified “Enabled DB Address” (see
below). If the Virtual Database word specified in “Enabled DB Address”
has “-1” the command will be executed otherwise it will not.
Setting this parameter to 5, places the command in one shot enabled
mode. This option is valid only if there is a specified “Enabled DB Address”
(see below). If the Virtual Database word specified in “Enabled DB
Address” has “-1” the command will be executed otherwise it will not.
When the command has been successful the Virtual Database word
specified in “Enabled DB Address” will be written with “0”, so the command
will be executed only once.
Float DB
Address
0 to 3999 This field specifies the internal database register where the floating point
values returned by the command will be placed.
Register addresses specified for commands must reside in the range