MVI71-HART ♦ PLC Platform
Module Configuration
HART Multi-drop Master Communication Module
User Manual
Page 18 of 146
ProSoft Technology, Inc.
2.3
Configuration File
In order for the module to operate, a configuration file (HART.CFG) is required. This
configuration file contains all the information required to configure the module's master
drivers and establish a command list for each port. Each parameter in the file must be
set carefully in order for the application to be implemented successfully.
The configuration file is separated into sections, with topic header names enclosed in the
[ ]
characters. The configuration file consists of the following sections:
Section
Description
[MODULE]
General module level parameters
[HART PORT 0]
HART port configuration parameters
[HART PORT 1]
HART port configuration parameters
[HART PORT 2]
HART port configuration parameters
[HART PORT 3]
HART port configuration parameters
[HART PORT 0 COMMANDS]
HART command list for port
[HART PORT 1 COMMANDS]
HART command list for port
[HART PORT 2 COMMANDS]
HART command list for port
[HART PORT 3 COMMANDS]
HART command list for port
After each section header, the file contains a set of parameters. Unique labels are used
under each section to specify a parameter. Each label in the file must be entered exactly
as shown in the file for the parameter to be identified by the program. If the module is not
considering a parameter, look at the label for the data item. Each parameter's value is
separated from the label with the "
:
" character. This character is used by the program to
delimit the position in the data record where to start reading data. All data for a
parameter must be placed after the "
:
" character. For numeric parameter values, any
text located after the value will not be used. There must be at least one space character
between the end of the parameter value and the following text. An example of a
parameter entry is given below:
Preambles: 5 #Set preamble character count for each frame
The parameter label is "Preambles" and the parameter value is 5. The characters after
the parameter value are ignored and are used for internal documentation of the
configuration file.
Any record that begins with the "
#
" character is considered to be a comment record.
These records can be placed anywhere in the file as long as the "
#" character
is found
in the first column of the line. These lines are ignored in the file and can be used to
provide documentation within the configuration file. Liberal use of comments within the
file can ease the use and interpretation of the data in the file.
Use any text editor to alter the supplied HART.CFG file for the specific application. You
must enter each parameter correctly for successful application of the module. The
following topics contain a complete listing of all parameters utilized by the module with a
definition of each parameter.