---
title: "Local OPC UA Server for MQTT Data — ConnectMQ Edge | ConnectMQ"
description: "ConnectMQ Edge serves every tag from S7, Modbus, IEC 104, IEC 61850 and more on one OPC UA endpoint (:48010), next to MQTT, so SCADA and MES read one server."
url: "https://connectmq.com/connectmq-edge/opc-ua-server/"
language: "en"
---

ConnectMQ Edge · Local OPC UA server

# Every tag on one OPC UA endpoint

SCADA, MES and historians shouldn’t need a separate driver for every PLC, meter and relay. ConnectMQ Edge serves everything it collects — from any connector — on its own OPC UA server, while the same tags go to your ConnectMQ broker over MQTT. One gateway feeds both your local systems and the cloud.

-   opc.tcp://<edge-pc>:48010/ConnectMQ
-   Every connector’s tags
-   Writable tags

[Try it free](https://app.connectmq.com/signup) [See pricing](https://connectmq.com/pricing/)

No card required

-   Siemens S7 PLCs
-   OMRON PLCs
-   Modbus meters
-   IEC 104 RTUs
-   IEC 61850 IEDs
-   OPC UA servers

**ConnectMQ Edge**Windows service`ISA-95 · JSON``offline buffer`SCADA / HMI · OPC UA :48010 · MQTT :1883

**ConnectMQ Cloud**`broker.connectmq.com`Dashboards · Alerts · Digital Twin · API

## Why connect Local OPC UA server to ConnectMQ

### One endpoint instead of many

S7, Modbus, OMRON, IEC 104, IEC 61850 and OPC UA sources all appear on opc.tcp://<edge-pc>:48010/ConnectMQ.

### Same structure as the cloud

The address space follows the ISA-95 path of the MQTT topics, so a tag has the same path in SCADA and in the ConnectMQ portal.

### Write back to the device

Tags marked Writable can be written from the OPC UA client; Edge passes the value to the device through its driver.

## What it reads and does

-   Endpoint opc.tcp://<edge-pc>:48010/ConnectMQ
-   Tags of every connector under Objects/ConnectMQ/<enterprise>/<site>/…
-   Writes to tags marked Writable, passed on through the device driver
-   User accounts or anonymous access, set in connectmq-edge.json
-   Sessions and live tag values on the Local OPC UA Server page

What arrives in ConnectMQ Cloud`connectmq/site1/production/line1/press/Press1/PartCount`

```
{ "value": 12904, "quality": "good", "dataType": "UInt32", "tag": "PartCount", "device": "Press1", "channel": "PressLine" }
```

## Up and running in three steps

1.  1
    
    ### Install ConnectMQ Edge
    
    Download Edge from your ConnectMQ account and sign in — the Windows service and desktop app come in one installer.
    
2.  2
    
    ### Add the Local OPC UA server channel
    
    Pick the Local OPC UA server template, enter the address of your device and the tags you need, and press Save and apply.
    
3.  3
    
    ### Use the data
    
    The tags appear in your ConnectMQ broker as ISA-95 topics, ready for dashboards, alerts and the Digital Twin.
    

## Where teams use it

### One source for local SCADA

Connect the SCADA or HMI to Edge once instead of configuring a driver for every PLC, meter and relay.

### MES and historian feed

Give MES and historians every tag through one OPC UA connection, with the same paths as in the cloud.

### Setpoints from SCADA

Let SCADA write setpoints to Writable tags, while ConnectMQ dashboards show the same values to remote teams.

## Local OPC UA server: frequently asked questions

How do I connect SCADA to the ConnectMQ Edge OPC UA server?

Turn on Start the OPC UA server in Windows Service Settings and connect your SCADA, MES or historian to opc.tcp://<edge-pc>:48010/ConnectMQ. The tags of every connector are under Objects/ConnectMQ/<enterprise>/<site>/…/<device>/<tag>.

Can OPC UA clients write values back to the PLC?

Yes, for tags marked Writable. The OPC UA client writes the tag and Edge passes the value to the device through its driver, for example the Siemens S7 or Modbus connector.

How do I secure the local OPC UA server?

Anonymous access is on by default. Before production, change the default admin password or turn anonymous access off by editing OpcUaServer.Users / AllowAnonymous in connectmq-edge.json, then click Reload configuration.

Technical details: step-by-step setup and example configuration

### Set it up step by step

1.  1
    
    Turn on Windows Service Settings › Start with the service › Start the OPC UA server.
    
2.  2
    
    Anonymous access is on by default. Before production, change the password of the default OPC UA user (admin) or turn anonymous access off: edit OpcUaServer.Users / AllowAnonymous in connectmq-edge.json (Windows Service Settings › Project file › Open folder), then click Reload configuration.
    
3.  3
    
    Connect your client to opc.tcp://<edge-pc>:48010/ConnectMQ. Tags are under Objects/ConnectMQ/<enterprise>/<site>/…/<device>/<tag>.
    
4.  4
    
    Tags marked Writable can be written from the OPC UA client; the value is passed to the device through its driver.
    
5.  5
    
    Watch sessions and Live tag values on the Local OPC UA Server page.
    

Example configuration

```
opc.tcp://edge-pc:48010/ConnectMQ
  Objects
    ConnectMQ
      connectmq / site1 / production / line1 / press
        Press1
          Running     true      Boolean
          Speed       1493.2    Float     rpm
          PartCount   12904     UInt32
          _State      online    String
```

### Good to know

-   Anonymous access is on by default — change the default admin password or set AllowAnonymous to off before production.
-   The OPC UA address space follows the same ISA-95 structure as the MQTT topics, so a tag has the same path in SCADA and in the ConnectMQ portal.
-   Only tags marked Writable accept writes; the value goes to the device through the driver of its connector.

## Other connectors

[**Siemens S7**S7-1200/1500, S7-300/400, S7-200 SMART and LOGO! over ISO-on-TCPLearn more](https://connectmq.com/connectmq-edge/siemens-s7/) [**Modbus TCP / RTU**Energy meters, drives and PLCs over Modbus TCP, UDP or RS-485 RTULearn more](https://connectmq.com/connectmq-edge/modbus/) [**OMRON FINS / NJ-NX**CJ/CP/CS memory areas over FINS and NJ/NX variables by nameLearn more](https://connectmq.com/connectmq-edge/omron/) [**OPC UA Client**Subscribe to any OPC UA server: S7-1500, Beckhoff, B&R, KEPServerEXLearn more](https://connectmq.com/connectmq-edge/opc-ua-client/) [**IEC 60870-5-104**RTUs and substation gateways as controlling station, port 2404Learn more](https://connectmq.com/connectmq-edge/iec-104/) [**IEC 61850 (MMS)**Protection relays, bay controllers and IEDs over MMS with SCL importLearn more](https://connectmq.com/connectmq-edge/iec-61850/) [**Sparkplug B**Ignition, Node-RED and Sparkplug gateways via the local brokerLearn more](https://connectmq.com/connectmq-edge/sparkplug-b/)

[ConnectMQ Edge](https://connectmq.com/connectmq-edge/)

## Connect your first PLC this week

Create your ConnectMQ account, download ConnectMQ Edge from the portal and add your first connector in minutes.

[Get started](https://app.connectmq.com/signup) [See pricing](https://connectmq.com/pricing/)

## Articles

[All articles](https://connectmq.com/blog/)

Industrial IoT

### [Sparkplug B and the Unified Namespace: Structuring Industrial IoT Data on MQTT](https://connectmq.com/blog/mqtt-sparkplug-b-unified-namespace/)

Sparkplug B gives industrial MQTT a strict session and payload model, while a Unified Namespace gives your plant data a single, readable home. Here is how they fit together, with topic design tips and live examples.

August 26, 20269 min read

Managed MQTT Cloud

### [How to Choose an IoT MQTT Broker: 12 Criteria and the Questions to Ask Your Vendor](https://connectmq.com/blog/how-to-choose-an-iot-mqtt-broker/)

A practical 12-point checklist for choosing an IoT MQTT broker, a table of questions to ask every vendor, and a five-minute hands-on test you can run against broker.connectmq.com.

September 21, 20269 min read

MQTT Security

### [MQTT Security Best Practices: A 12-Point Checklist for IoT Teams](https://connectmq.com/blog/mqtt-security-best-practices/)

A hands-on MQTT security checklist covering TLS, credentials, client IDs, topic design, payload validation, rate limits and certificate checks, plus how ConnectMQ handles each point.

September 28, 202611 min read
