Home / Tespro Industrial Gateway Protocol Conversion in Action: Seamlessly Converting Modbus to MQTT
#Product Blog · May 18, 2026 · About 4 minutes
views

Tespro Industrial Gateway Protocol Conversion in Action: Seamlessly Converting Modbus to MQTT

Written By

Tespro

Industrial sites are often filled with devices from different vendors speaking different protocols: PLCs using Modbus, sensors using BACnet, inverters using IEC 104… To make these heterogeneous devices work together and connect to the cloud, you need a powerful “translator.” The Tespro industrial gateway comes with a rich protocol conversion engine supporting over 30 industrial protocols, including Modbus RTU/TCP, IEC 60870-5-104, DL/T645, BACnet, OPC UA, PROFINET, and DNP3. More importantly, the entire configuration process requires no programming—everything is done through a web-based graphical interface.

Take a real case: a hydropower station needed to upload Modbus RTU data from an old water meter to the Alibaba Cloud IoT platform, with the data format required to be MQTT JSON. Using a Tespro industrial gateway, the configuration flow is as follows: First, enter the serial port settings page to configure the RS-485 parameters. Second, add Modbus polling points by specifying the device address and register address, and set the polling interval to 5 seconds. Third, configure the MQTT client with the broker address, port, and device credentials. Finally, establish data mapping rules that map Modbus register values to MQTT publish topics and JSON payload format. The entire configuration takes less than 15 minutes, after which the gateway automatically runs and pushes water meter data to the cloud as standard MQTT messages.

Beyond protocol conversion, the Tespro industrial gateway excels at edge data pre-processing. For example, the raw value from a Modbus register might be an integer from 0 to 65535, corresponding to an actual water flow of 0–200 m³/h. Users can configure a linear scaling formula in the gateway to automatically convert raw values to engineering units before uploading. In addition, threshold alarm rules can be set: when flow exceeds 150 m³/h for 30 consecutive seconds, the gateway immediately sends an alarm message to a dedicated high-priority topic and can simultaneously trigger a local relay output.

Can non-standard Modbus devices be connected to the Tespro gateway?
A: Yes. Even if a device uses custom function codes or address offsets, the Tespro gateway supports custom parsing logic via Lua scripts, providing flexibility for various non-standard devices.

How do I debug whether protocol conversion is successful?
A: The Tespro gateway provides a real-time data monitor and MQTT publish log, allowing you to view current register readings and sent message content directly on the web interface. A serial port sniffer mode is also available to help troubleshoot communication issues.

With a Tespro industrial gateway, legacy devices can easily connect to modern IoT platforms for low-cost digital transformation. Contact Tespro for protocol conversion support or remote debugging assistance.

Recent Articles

Request Your OEM/ODM Solution

Share your requirements, and our hardware and software experts will design a solution optimized for accuracy, reliability, and efficiency.