Configuration file – ProSoft Technology MVI71-DFNT User Manual
Page 24
Installing and Configuring the Module
MVI71-DFNT ♦ PLC 5
User Manual
EtherNet/IP Client/Server Communication Module
Page 24 of 175
ProSoft Technology, Inc.
February 3, 2011
2.2 Configuration File
In order for the module to operate, a configuration file (DFNT.CFG) is required.
This configuration file contains information to set the data transfer characteristics
between the module and the processor, to configure the module's client and
command list, and to configure the pass-through features. 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 configuration information
[DFNT Client 0]
Configuration for the DFNT client
[DFNT Client 0 Commands]
Command list for the DFNT client
[DF1 Pass-Through Server Port 1]
Parameters for the pass-through port of the second port
on the module
[DF1 Pass-Through Port]
Parameters for the DF1 port emulated on the third port of
the module
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.
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.
The client command list section is formatted differently than the other sections.
These sections contain lists of parameters to be used. Each list begins with the
label
START and when the END label is reached. When entering the records into
the list, make certain that the first character in each line is left blank.
The
[DFNT CLIENT 0 COMMANDS] section defines the Ethernet/IP commands
to be issued from the module to server devices on the network. These
commands can be used for data collection and/or control of devices on the
TCP/IP network.