
How to Send Modbus Alarms via SMS with an IoT Edge Gateway
|
|
Time to read 7 min
|
|
Time to read 7 min
In mission-critical industrial environments, receiving timely alerts is non-negotiable. But what happens when internet connectivity is unreliable?
This guide provides a comprehensive, step-by-step solution on how to send Modbus alarms via SMS using a powerful industrial IoT edge gateway like the Robustel EG5120. We will cover why SMS is a superior channel for critical alerts, explore a real-world case study, and provide a detailed configuration guide.
You will also discover the advanced capabilities of an edge gateway, which can simultaneously send SMS notifications and push rich alarm data to the cloud via MQTT. Learn how to build a truly resilient industrial alerting system.
In the Industrial Internet of Things (IIoT), data is the foundation of modern operations. We rely on a constant stream of information to monitor equipment health, ensure safety, and maintain efficiency. While cloud platforms and IP-based networks are powerful, their reliability is often at the mercy of a stable internet connection. For a remote pumping station, a cellular "dead zone," or a factory with network congestion, a lost internet connection can mean a missed critical alert, leading to costly downtime or even safety hazards.
This is where a proven, universal technology comes back into focus: SMS. By leveraging the core cellular control channel, SMS provides a highly resilient communication path that often remains active even when IP data services fail. The solution is not to abandon modern cloud platforms, but to augment them with a robust fallback. This guide will show you exactly how to build a system that sends Modbus alarms via SMS using an intelligent industrial IoT edge gateway, ensuring your most critical alerts are always delivered.
To achieve this level of reliability, you need a device on-site that can act intelligently. An industrial IoT edge gateway like the Robustel EG5120 is purpose-built for this role. It acts as a powerful SMS Gateway for IoT , capable of:
This local intelligence is the key to creating a truly resilient system that doesn't solely depend on an end-to-end internet connection.
The Robustel EG5120 is an industrial IoT edge gateway designed to bridge OT and IT networks. It combines a quad-core ARM processor with the Debian-based RobustOS Pro for real-time data processing and control in applications like smart manufacturing and smart buildings.
The facility deployed a Robustel EG5120 , transforming it into a smart SMS Gateway .
This solution ensured that critical alerts were always delivered, regardless of internet status, a perfect demonstration of a Modbus alarm via SMS system.
This channel is for data logging, historical analysis, and dashboarding. At the same moment it sends the SMS, the EG5120 can publish a structured MQTT message with rich contextual data to a cloud platform like AWS IoT Core or the Microsoft Azure IoT Hub. This message could look like:
JSON
{ "timestamp": "2025-06-11T10:30:01Z", "device_id": "PUMP_A_EG5120", "alarm_type": "MODBUS_REGISTER_HIGH", "register": "40001", "value": "1", "message": "Pump A has failed" }
This dual-channel capability provides the best of both worlds: the unmatched reliability of SMS for critical alerts and the rich data context of MQTT for advanced analytics .
This section guides you through the step-by-step process on your Robustel EG5120 .
(Note: This section's structure is preserved for easy screenshot insertion.)
Access the EG5120 WEB interface and navigate to System -> APP Center . Load the Modbus Master.rpk APP and install it.
After the reboot, the Modbus Master APP will be visible on the WEBUI under Services -> Modbus Master .
Set serial parameters according to the sensor serial specification.
Set the sensor's Modbus register address, function code, data type accordingly, and data calculation if needed.
Submit parameters, save and apply. The EG5120 communicates with sensors via Modbus, and their readings are displayed on the status page.
Navigate to the SMS Alarm settings. Here, you can define the alarm trigger conditions (e.g., equal, unequal, less than, greater than the setpoint) and set a Hysteresis value if needed to prevent rapid toggling. You can also specify the phone numbers that will receive the SMS alerts.
More than 30 phone numbers can be configured to receive the alarm, and the alarm content itself is fully customizable, allowing you to include specific sensor readings or contextual information.
While this guide focuses on a Modbus alarm via SMS , the capabilities of the EG5120 as an SMS Gateway extend to many other applications:
REBOOT_SYSTEM
) to remotely restart the gateway or trigger a connected device via its digital output.While cloud platforms are central to modern IoT, relying on them alone for critical alerts is a risky strategy. By leveraging the universal reliability of text messaging, an SMS Gateway for IoT provides an essential layer of resilience. The Robustel EG5120 demonstrates how a modern industrial edge gateway can masterfully integrate both old and new technologies—combining direct Modbus communication with reliable SMS alerting and powerful MQTT data integration. For any organization deploying mission-critical systems, implementing a solution for sending Modbus alarms via SMS is not a step backward; it's a smart step forward into building truly robust and reliable operations.
A1: The main advantage is reliability . SMS uses the cellular network's control channel, which is separate from the IP data channel used by email and apps. This means SMS messages can often be delivered even when internet connectivity is down or congested, making it the ideal fallback for mission-critical alerts.
A2: The EG5120 can trigger SMS alarms based on data from any device it can communicate with. This includes sensors connected via its Modbus (RTU/TCP) interface, devices connected to its Digital Inputs (DI) , or even based on internal system events.
A3: The EG5120 provides security features to make SMS control safe. You can create a "whitelist" of authorized phone numbers , so the gateway will only accept commands from pre-approved sources. You can also define a specific list of accepted commands to prevent unauthorized actions.