ConnectMQ Edge · IEC 60870-5-104

Substation telecontrol data, live in the cloud

RTU and substation data usually stays locked inside a local SCADA. ConnectMQ Edge acts as the IEC 60870-5-104 controlling station, receives spontaneous data and general interrogation responses, and sends every signal to your ConnectMQ broker as clean ISA-95 JSON — ready for dashboards, alerts and the Digital Twin, right next to your plant data.

  • TCP · port 2404
  • Controlling station
  • Commands & setpoints, SBO

No card required

Why connect IEC 60870-5-104 to ConnectMQ

Every IOA, no hand mapping

Add a channel from the IEC 104 template and let AutoCreateTags create a tag for every IOA the RTU sends. No code and no service restart.

Commands with select-before-operate

Mark a tag Writable to send single, double or setpoint commands, with select-before-operate where the RTU requires it.

Nothing lost when the link drops

Edge buffers the data on disk while the internet is down and sends it over MQTT/TLS as soon as the connection is back.

What it reads and does

  • Controlling station for RTUs and substation gateways (port 2404)
  • Spontaneous data and general interrogation, repeated on an interval
  • Single, double and setpoint_float commands, with select-before-operate
  • Automatic tag creation for every IOA the RTU sends
  • Backup RTU addresses and adjustable CotSize / IoaSize for older RTUs
What arrives in ConnectMQ Cloudconnectmq/site1/substation/feeder1/Feeder1/ActivePower
{ "value": 12.84, "quality": "good", "unit": "MW", "dataType": "Float64", "tag": "ActivePower", "device": "Feeder1", "channel": "Substation" }

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 IEC 60870-5-104 channel

    Pick the IEC 60870-5-104 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

Substation monitoring

Breaker states, active power and alarms from every substation on one ConnectMQ dashboard, with alerts when a breaker changes state.

Remote feeders in one view

Bring RTU data from distributed feeders and sites into one ISA-95 topic tree instead of separate local screens.

Setpoints from an approved system

Let your own approved application write power setpoints through Edge, using select-before-operate where the RTU expects it.

IEC 60870-5-104: frequently asked questions

How do I connect an IEC 60870-5-104 RTU to MQTT?

Install ConnectMQ Edge on a Windows PC that can reach the RTU on port 2404, add an IEC 60870-5-104 channel, enter the IP address, common address and IOAs, and press Save and apply. Edge publishes every signal to your ConnectMQ broker over MQTT/TLS as ISA-95 topics with JSON payloads.

Can ConnectMQ Edge send IEC 104 commands and setpoints?

Yes. Mark the tag Writable and set Command (single, double, setpoint_float…) and, if needed, CommandAddress. Edge acts as the controlling station and uses select-before-operate where the RTU requires it.

Do I have to configure every IOA by hand?

No. With "AutoCreateTags": true Edge creates a tag for every IOA the RTU sends. Otherwise each tag in the configuration is one IOA.

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

Set it up step by step

  1. 1

    Get the RTU IP address (port 2404), the common address (ASDU address) and the IOA list of the signals.

  2. 2

    In ConnectMQ Edge open Connectors in the left menu, click + Add channel and pick the IEC 60870-5-104 template.

  3. 3

    The channel is added with sample addresses. In the editor on the right, change the IP address, device settings and tags to match your equipment — the example configuration shows the format. Validate project checks it.

  4. 4

    Press Save and apply. The channel starts right away without restarting the service. Add as many channels as you need, including several of the same type.

  5. 5

    Each device is one common address and each tag is one IOA (for example 4001). Use "AutoCreateTags": true to create a tag for every IOA the RTU sends.

  6. 6

    For commands, mark the tag Writable and set Command (single, double, setpoint_float…) and, if it differs, CommandAddress.

  7. 7

    Check the result: on Overview the devices show Reading data under Field devices, and problems (wrong address, timeout, rejected login) appear in the Last problem column. The values are in Local OPC UA Server › Live tag values; details are in Windows Service Settings › Logs.

  8. 8

    Open the ConnectMQ portal: the tags appear in the topic tree as <enterprise>/<site>/<area>/<line>/<cell>/<device>/<tag> with a JSON payload (value, quality, unit, timestamp), ready for dashboards, alerts and the Digital Twin.

Example configuration
{
  "Name": "Substation",
  "Driver": "Iec104",
  "Settings": { "Host": "10.0.10.21", "Port": 2404, "BackupHosts": ["10.0.10.22"], "GiIntervalSeconds": 900 },
  "Devices": [{
    "Name": "Feeder1",
    "Isa95": { "Area": "substation", "Line": "feeder1" },
    "Settings": { "CommonAddress": 1 },
    "Tags": [
      { "Name": "BreakerState", "Address": "1001", "DataType": "Boolean" },
      { "Name": "ActivePower", "Address": "4001", "DataType": "Float64", "Unit": "MW" },
      { "Name": "PowerSetpoint", "Address": "8001", "DataType": "Float32", "Writable": true,
        "Settings": { "Command": "setpoint_float" } }
    ]
  }]
}

Good to know

  • Old RTUs may need different CotSize / IoaSize settings — change them if the RTU rejects or misreads the messages.
  • With "AutoCreateTags": true you do not have to type the IOA list by hand: a tag is created for every IOA the RTU sends.
  • The example configuration lists a second RTU address under BackupHosts and repeats the general interrogation every 900 seconds with GiIntervalSeconds.

Connect your first PLC this week

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