Modbus Configuration Guide for Volison and Wellpro Devices

After spending several weeks experimenting with Modbus devices, I wanted to share my configuration journey with the community. My setup includes a Volison ADM-5850G Modbus gateway and a Wellpro WP8028ADAM 8DI/8DO module. Here’s how I got everything working smoothly with OpenHab:

Volison ADM-5850G Setup

The gateway serves as the bridge between Modbus TCP and RTU/ASCII. While it requires Internet Explorer for configuration (a minor inconvenience), it’s reliable once set up. Key settings include:

  • Network Configuration: Set your IP, subnet mask, and gateway. I recommend using a static IP for consistency.
  • Serial Settings: Configure baud rate, data bits, and parity. Ensure these match your connected devices.
  • Modbus Operating Settings: Adjust the operation mode, max connections, and local TCP port. I found setting the ID mapping and fixed ID value as default worked best for my setup.

Wellpro WP8028ADAM Configuration

This module adds 8 digital inputs and 8 outputs to my system. Here’s how I integrated it:

  1. Initial Configuration: Use the Wellpro software to set the device address and baud rate. I used a USB-to-RS485 dongle for this step.
  2. Modbus Binding in OpenHab: I created two pollers—one for inputs and one for outputs. The inputs poller runs every second, while the outputs refresh every 350ms. This balance ensures responsiveness without overloading the system.

Here’s a snippet of my modbus.things configuration:
plaintext
Bridge modbus:tcp:wellPro8028DiDo [ host=“192.168.1.2”, port=502, id=1 ] {
Bridge poller coils [ start=0, length=8, refresh=350, type=“coil” ] {
// Digital Output configurations
}
Bridge poller discreteInputs [ start=0, length=8, refresh=1000, type=“discrete” ] {
// Digital Input configurations
}
}

Tips for Success

  • Consistency in Baud Rate: Ensure all devices on the Modbus network share the same baud rate.
  • Testing with Simple Programs: Use software like the Wellpro module to test inputs and outputs before integrating with OpenHab.
  • Regular Firmware Checks: Keep your gateway and modules updated to avoid unexpected issues.

My Experience

While the learning curve was steep, especially with Modbus configurations, the end result is a reliable system that integrates seamlessly with my smart home setup. I’m now confident enough to expand my Modbus network with more devices!

If anyone has questions or needs help with similar setups, feel free to reach out. Happy configuring! :rocket: