Table of Contents

Modbus Integration Guide: Handling Complex Data

Modbus is a very common “language” for industrial machines. However, it is an old language that prefers to speak in small, simple numbers (16-bit). Modern systems (like Mervis) often use large, precise numbers (32-bit).

Connecting the two can be like trying to fit a large box into a small mailbox.

1. Setting Up the Connection (The Channel)

Before you can read any data, you must configure the communication line.

 Modbus Channel Properties

2. Adding a Generic Device

If your device isn't in the library, you can add it manually using the “Generic” template.

 Adding a Generic Modbus Device

3. The "Two Box" Solution (Split Registers)

To send a large number (32-bit) over Modbus, we have to cut it in half and send it as two smaller numbers (16-bit).

4. The "Scaling" Solution (Easier)

A simpler way to handle decimals (like “24.5 degrees”) is to get rid of the decimal point before you send it.

5. Who is in Charge? (Server vs. Client)