Modbus TCP
- Last UpdatedJun 24, 2026
- 2 minute read
Configure the Modbus data source to let the adapter connect to your Modbus device, read register data, and collect measurements from selected addresses.

Required parameters
The following parameters are required to configure the Modbus TCP data source:
|
Required parameters |
Description |
|---|---|
|
Id |
The ID of the device that is used in data selection to associate a register with a device. |
|
Ip Address |
The IP address or hostname of the device from which the data is collected using the Modbus TCP protocol. |
Optional parameters
The following parameters are optional to configure the Modbus TCP data source:
|
Parameter |
Description |
|---|---|
|
Port |
The TCP port of the target device that listens for and responds to Modbus TCP requests. The value ranges from 0 to 65535. |
|
Stream Id Prefix |
Specifies what prefix is used for Stream IDs. The naming convention is {StreamIdPrefix}{StreamId}. An empty string means no prefix will be added to the Stream IDs and names. A null value defaults to ComponentID followed by a period. For example: Modbus1.{DeviceId}.{UnitId}.{RegisterType}.{RegisterOffset} |
|
Default Stream Id Pattern |
Specifies the default stream Id pattern to use. |
|
Max Response Data Length |
Set the maximum amount of response data, in bytes, that the adapter can receive from a Modbus TCP device. The maximum value is 250 bytes. |
|
Reconnect Interval |
Parameter to specify the TimeSpan to wait before trying to reconnect to the data source when the data source is offline. Minimum value: 00:00:00.1 |
|
Request Timeout |
Parameter to specify the TimeSpan that the adapter waits for a pending request before marking it as timed out and dropping the request. Minimum value: must be positive |
|
Delay Between Requests |
Parameter to specify the minimum TimeSpan between two successive requests sent to the data source. Minimum value: 00:00:00 |