System Overview
This setup demonstrates a multi-site architecture:- Site A: Process running with Siemens S7-1500 PLC
- Site B: Process running with Allen-Bradley Micro850 PLC
- Both sites send local PLC data to HiveMQ Edge
- Site A: Siemens S7-1500 PLC via OPC UA
- Site B: Allen-Bradley Micro850 PLC via Modbus TCP
- A secure MQTT Bridge on HiveMQ Edge transfers data from the Edge devices to the HiveMQ Cloud
Step 1 – Connect PLCs to HiveMQ Edge and assign a local MQTT Topic

LIVE data in the S7-1500 PLC

LIVE data in the Micro850 PLC
a) Siemens S7-1500 (OPC UA)
Install HiveMQ in the edge device. In this case, we are using Revolution Pi as an edge device where HiveMQ Edge has been installed.To learn more about how to install HiveMQ Edge on the edge device, check out this page.
Configure the connection details of your S7-1500 using the OPC UA endpoint, and select the OPC UA tag.


b) Allen-Bradley Micro850 (Modbus TCP/IP)
Similarly, install HiveMQ in another edge device. In this case, we are using a reComputer from Seeed Studio as an edge device where HiveMQ Edge has been installed.To learn more about how to install HiveMQ Edge on the edge device, check out this page.

Current_Temp and map it to the following topic:

Step 2 – Creating the MQTT Bridge
In both HiveMQ Edge → MQTT Bridges, create a bridge to your HiveMQ Cloud Cluster.Once connected, data from both sites is securely forwarded to the cloud broker.

MQTT bridge in Revolution Pi

MQTT bridge in reComputer
Step 4 – Visualizing Data on HiveMQ Cloud
Log in to your HiveMQ Cloud Web Client, subscribe to your topic (e.g.,#), and you’ll start receiving live messages as shown below:

Step 5 – Understanding the Data Flow
From each PLC:- Data is read using OPC UA or Modbus TCP
- HiveMQ Edge maps the tags to MQTT topics
- The MQTT Bridge sends this data securely to HiveMQ Cloud
- Supports multiple sites
- Secure TLS connection
- Cloud-ready and scalable
Why HiveMQ Cloud?
- Secure MQTT Bridge
- Multi-site scalability
- Cloud-ready architecture
- Perfect bridge between OT and IT

