MODBUS station objects

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

MODBUS station objects

A Modbus station object configures the connection to a station.

A station object represents a Modbus TCP bus controller.

The station object is defined in the station's connection description with the necessary station 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:

/DAIP=<IPAddress>  [/<Identifer1>=<ParameterValue>  [/<Identifier2>=<ParameterValue> ... ]]

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

Connection description example:

CD="192.168.100.1"

The following table shows all parameters which can be defined in a station object's connection description.

Parameter

Value

Settings

Description

/DAIP

IP address

None

Value: "/DAIP=192.168.100.1"

/PN

Port number

502

Value: "/PN=502"

Connection description example:

CD="/DAIP=192.168.100.1 /PN=502"

If the station with the specified IP address should be defined in the Modbus configuration file, the PN parameter is loaded from this file and does not need to be specified. If a parameter is specified, it will be ignored.