QuickStart Guide
...
Modbus
Gen 2 Drivers

Modbus RTU over TCP

5min

Review the following information for setting up and configuring the Modbus RTU over TCP driver.

Litmus Edge Compatible Series

Compatibility parameter

Compatible items

Driver type

Ethernet

When to use

TCP connection to a Modbus server which has one or more Modbus RTU connections

To set up and configure this device in Litmus Edge, you will need to do the following:

  • Step 1: Set up and Configure the PLC Device
  • Step 2: Set up the PLC Device in Litmus Edge DeviceHub
  • Step 3: Configure the List of Registers

Step 1: Set up and Configure the PLC Device

If the device is configured for Ethernet access, find its network parameters. Otherwise, use PLC software on your computer to configure the device for Ethernet access.

Step 2: Set up the PLC Device in Litmus Edge DeviceHub



Parameter

Value

Type

Modbus

Driver

Modbus RTU over TCP

Network Address

The device address you defined in Step 1

Network Port

502

Override Station ID

Select Enable or Disable

Zero-Based Addressing

Select Enable or Disable

Request Timeout

Time in milliseconds for the driver to wait for a response from the Modbus server.

Retry Request Count

Number of times for the driver to retry a request if the Modbus server did not respond to a request.

Pause Between Retries

Time is milliseconds for the driver to wait before retrying a request. This setting is ignored if Retry Request Count is set to 0.



Name

Value Types

Address Format

Min Address

Max Address

Description

D

bit

DDDDD

0

65535

Discrete Input Contacts

C

bit

DDDDD

0

65535

Discrete Output Coils

H

word, int16, int32, uint32, float32, float64

DDDDD

0

65535

Analog Output Holding Registers

I

word, int16, int32, uint32, float32, float64

DDDDD

0

65535

Analog Input Registers

H_bit

bit

DDDDDdd

0

6553515

Analog Output Holding Registers

I_bit

bit

DDDDDdd

0

6553515

Analog Input Re