QuickStart Guide
...
Modbus
Gen 2 Drivers

Modbus UDP

6min

Review the following information for setting up and configuring the Modbus UDP driver.

Litmus Edge Compatible Series

Compatibility parameter

Compatible items

Driver type

Ethernet

When to use

UDP connection to a Modbus device

Replaces Gen 1 driver(s)

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 UDP

Network Address

The device IP address defined in Step 1

Network Port

502

Station ID

0

Zero-Based Addressing

Select Enable or Disable



Note: The address format in this Gen 2 driver is different from the Gen 1 driver (Modbus UDP (Gen1)) for the same device. Learn more about Gen1 and Gen2 Driver Differences.

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

uint16, int16, int32, uint32, float32, float64

DDDDD

0

65535

Analog Output Holding Registers

I

uint16, 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 Registers