MODBUS device objects

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

MODBUS device objects

The communication device is determined with the Modbus device object.

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

/IF=<DeviceName>  [/<Identifier1>=<ParameterValue>  [/<Identifier2>=<ParameterValue> ... ]]

The /IF parameter is common to all communication devices. All other parameters depend on the communication device being used. Device 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="/IF=MBUSTCP"

Modbus TCP device

The following table shows all parameters which can be defined for the Modbus TCP communication device in the device object's connection description.

Parameter

Value

Settings

Description

/IF

MBUSTCP

None

Value: "/IF=MBUSTCP"

Connection description example:

CD="/IF=MBUSTCP"