MODBUS line object

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

MODBUS line object

The line is defined in the connection description of the line object including the required line parameters. Within the connection description, individual parameters are differentiated between using parameter identifiers. These parameter identifiers always begin with the "/" character.

Syntax of connection description:

/LN=<LineName>  [/<Identifier1>=<ParameterValue>  [/<Identifier2>=<ParameterValue> ... ]]

The /LN parameter is common to all line objects. All other parameters are dependent on the line being used. Line names are not case-sensitive. At least one empty space is to be entered between the individual parameter specifications.

The connection description must always be specified in quotation marks ("...") in the object description.

Connection description example:

CD="/LN=LNMODBUS"

The following table shows all parameters that can be defined for the Modbus line in the connection description of the line object.

Parameter

Settings

Description

/CFG

None

Optional specification of the path to the configuration file. The corresponding file absolutely must exist once this parameter has been specified, otherwise the setup of the line will be aborted with the corresponding error. If this parameter has not been specified, then a file with the name "ModusConfig.xml" is expected in certain directories. For a more detailed explanation, see Line configuration.

Connection description example:

CD="/LN=LNMODBUS"
CD="/LN=LNMODBUS /CFG=C:\Config\Modbus.cfg"