{"id":8598,"date":"2025-12-22T17:02:33","date_gmt":"2025-12-22T17:02:33","guid":{"rendered":"https:\/\/sensor-online.se\/?post_type=funktions&#038;p=8598"},"modified":"2026-10-11T11:39:14","modified_gmt":"2026-10-11T11:39:14","slug":"plc-datalogger-integration-mqtt-modbus-opc-ua","status":"publish","type":"funktions","link":"https:\/\/sensor-online.se\/sv\/funktions\/plc-datalogger-integration-mqtt-modbus-opc-ua\/","title":{"rendered":"PLC &amp; Datalogger Integration via MQTT, Modbus &amp; OPC UA"},"content":{"rendered":"\n<div class=\"so-dp\">\n<section class=\"c\">\n<p class=\"kick\">PLC and datalogger integration<\/p>\n<h1 class=\"t1\">PLC and datalogger integration over MQTT, Modbus and OPC UA<\/h1>\n<p class=\"lead\">Collect process data from the equipment you already have, store it, visualise it and act on it, without replacing your PLCs or dataloggers.<\/p>\n<div class=\"acts\"><a class=\"btn btn--p\" href=\"https:\/\/sensor-online.se\/contact\/\">Book a demo<\/a><a class=\"btn btn--s\" href=\"tel:+46500600022\">Call +46 (0)500 6000 22<\/a><\/div>\n<p class=\"trust\"><b>500+ customers<\/b> \u00b7 <b>100,000+ active sensors<\/b> \u00b7 Trusted by Akademiska Hus, Vattenfall, LKAB and HSB<\/p>\n<\/section>\n<section class=\"c\"><h2 class=\"t2\">How the data flows<\/h2><p class=\"lead\">From the shop floor to your decisions.<\/p><div class=\"steps\"><div class=\"step\"><h3>Equipment<\/h3><p>PLCs, SCADA systems and dataloggers in the field or on the shop floor.<\/p><\/div><div class=\"step\"><h3>Connect<\/h3><p>MQTT, Modbus TCP or OPC UA, whichever the device speaks.<\/p><\/div><div class=\"step\"><h3>Sensor-Online<\/h3><p>Stores, visualises, alarms and reports on every value.<\/p><\/div><div class=\"step\"><h3>Your systems<\/h3><p>Dashboards, alerts, the API and tools such as ERP, BI and maintenance systems.<\/p><\/div><\/div><\/section>\n<section class=\"c\"><h2 class=\"t2\">Three ways to connect<\/h2><p class=\"lead\">Use the protocol that fits each device.<\/p><div class=\"grid3\"><div class=\"tile\"><h3>MQTT for dataloggers<\/h3><p>Dataloggers on 4G, 5G, NB-IoT or Wi-Fi publish to the built-in MQTT broker, and Sensor-Online subscribes to the topics. MQTT is lightweight and suits unreliable, low-bandwidth networks.<\/p><\/div><div class=\"tile\"><h3>Modbus TCP for PLCs<\/h3><p>Read process values from existing control systems, and write setpoints back.<\/p><\/div><div class=\"tile\"><h3>OPC UA for SCADA and industrial IT<\/h3><p>Connect OPC UA servers and clients in both directions and bridge OT and IT in one data layer.<\/p><\/div><\/div><\/section>\n<section class=\"c\"><h2 class=\"t2\">Which protocol for which job?<\/h2><p class=\"lead\">A quick guide.<\/p><div class=\"tw\"><table><thead><tr><th><\/th><th>MQTT<\/th><th>Modbus TCP<\/th><th>OPC UA<\/th><\/tr><\/thead><tbody><tr><th scope=\"row\">Typical source<\/th><td>Dataloggers and remote devices<\/td><td>PLCs and meters<\/td><td>SCADA and industrial servers<\/td><\/tr><tr><th scope=\"row\">Direction<\/th><td>Device publishes, platform subscribes<\/td><td>Read and write<\/td><td>Read and write<\/td><\/tr><tr><th scope=\"row\">Network<\/th><td>Mobile data, Wi-Fi, low bandwidth<\/td><td>Local network<\/td><td>Local network<\/td><\/tr><tr><th scope=\"row\">Good for<\/th><td>Remote sites and many small devices<\/td><td>Process values and setpoints<\/td><td>Structured industrial data<\/td><\/tr><\/tbody><\/table><\/div><\/section>\n<section class=\"c\"><h2 class=\"t2\">What you get once the data is in<\/h2><p class=\"lead\">Everything you need to run the operation, built in.<\/p><div class=\"grid3\"><div class=\"tile\"><h3>Time-series storage<\/h3><p>Keep years of history and query it instantly.<\/p><\/div><div class=\"tile\"><h3>Dashboards<\/h3><p>Real-time charts, gauges, maps and tables for operators and managers.<\/p><\/div><div class=\"tile\"><h3>Alarms<\/h3><p>Rule-based alerts by e-mail, SMS, webhook and MQTT.<\/p><\/div><div class=\"tile\"><h3>Reports<\/h3><p>Scheduled reports in PDF, Excel or CSV.<\/p><\/div><div class=\"tile\"><h3>Protocol transformation<\/h3><p>Receive on one protocol and deliver on another.<\/p><\/div><div class=\"tile\"><h3>Automation<\/h3><p>Build flows with the rule engine, Node-RED and n8n.<\/p><\/div><\/div><\/section>\n<section class=\"c\"><h2 class=\"t2\">Need a datalogger?<\/h2><p class=\"lead\">Connect any sensor over any network.<\/p><p class=\"note\">The yDoc ML-525 is a universal multipurpose IoT datalogger that connects any sensor and any network, and works with Sensor-Online out of the box.<\/p><a class=\"more\" href=\"https:\/\/sensor-online.se\/ydoc-ml-525-datalogger\/\">See the yDoc ML-525 datalogger \u2192<\/a><\/section>\n<section class=\"c\"><h2 class=\"t2\">Related features<\/h2><div class=\"grid2\"><div class=\"tile\"><h3>Connect LoRaWAN sensors to PLC and SCADA<\/h3><a class=\"more\" href=\"https:\/\/sensor-online.se\/funktions\/iot-protocol-conversion-lorawan-plc-scada\/\">Read more \u2192<\/a><\/div><div class=\"tile\"><h3>JavaScript rule engine<\/h3><a class=\"more\" href=\"https:\/\/sensor-online.se\/funktions\/javascript-automation-rule-engine-io\/\">Read more \u2192<\/a><\/div><div class=\"tile\"><h3>Node-RED and n8n automation<\/h3><a class=\"more\" href=\"https:\/\/sensor-online.se\/funktions\/node-red-integration-for-flexible-and-powerful-iot-automation\/\">Read more \u2192<\/a><\/div><div class=\"tile\"><h3>Secure IoT platform with REST API<\/h3><a class=\"more\" href=\"https:\/\/sensor-online.se\/funktions\/iot-platform-secure-api\/\">Read more \u2192<\/a><\/div><\/div><\/section>\n<section><h2 class=\"t2 c\">Frequently asked questions<\/h2><div class=\"faq\"><details><summary>Can Sensor-Online collect data from a PLC?<\/summary><p>Yes, over Modbus TCP and OPC UA, with both read and write.<\/p><\/details><details><summary>Does Sensor-Online include an MQTT broker?<\/summary><p>Yes. Dataloggers and devices can publish directly to the built-in MQTT broker.<\/p><\/details><details><summary>Do I need to replace my existing equipment?<\/summary><p>No. Sensor-Online connects to the PLCs, SCADA systems and dataloggers you already have.<\/p><\/details><details><summary>Can I forward the data to other systems?<\/summary><p>Yes. Use the REST API, MQTT, webhooks, Node-RED or n8n.<\/p><\/details><details><summary>Can it run on-premise?<\/summary><p>Yes, behind your firewall, with your data staying on your own network.<\/p><\/details><\/div><\/section>\n<div class=\"band\"><h2>Connecting PLCs or dataloggers? Talk to an engineer.<\/h2><p>Tell us what equipment you have, and we will recommend how to connect it.<\/p><div class=\"acts\"><a class=\"btn btn--p\" href=\"https:\/\/sensor-online.se\/contact\/\">Book a demo<\/a><a class=\"btn btn--s\" href=\"tel:+46500600022\">Call +46 (0)500 6000 22<\/a><\/div><\/div>\n<p class=\"legal\"> All trademarks belong to their respective owners.<\/p>\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"Can Sensor-Online collect data from a PLC?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes, over Modbus TCP and OPC UA, with both read and write.\"}}, {\"@type\": \"Question\", \"name\": \"Does Sensor-Online include an MQTT broker?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes. Dataloggers and devices can publish directly to the built-in MQTT broker.\"}}, {\"@type\": \"Question\", \"name\": \"Do I need to replace my existing equipment?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. Sensor-Online connects to the PLCs, SCADA systems and dataloggers you already have.\"}}, {\"@type\": \"Question\", \"name\": \"Can I forward the data to other systems?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes. Use the REST API, MQTT, webhooks, Node-RED or n8n.\"}}, {\"@type\": \"Question\", \"name\": \"Can it run on-premise?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes, behind your firewall, with your data staying on your own network.\"}}]}<\/script>\n<\/div>\n","protected":false},"featured_media":0,"template":"","class_list":["post-8598","funktions","type-funktions","status-publish","hentry","description-off"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PLC and Datalogger Integration: MQTT, OPC UA | Sensor-Online<\/title>\n<meta name=\"description\" content=\"Collect data from PLCs and dataloggers over MQTT, Modbus TCP and OPC UA. Built-in MQTT broker, dashboards, alarms and history. Book a demo.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sensor-online.se\/sv\/funktioner\/plc-datalogger-integration-mqtt-modbus-opc-ua\/\" \/>\n<meta property=\"og:locale\" content=\"sv_SE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PLC and Datalogger Integration: MQTT, OPC UA | Sensor-Online\" \/>\n<meta property=\"og:description\" content=\"Collect data from PLCs and dataloggers over MQTT, Modbus TCP and OPC UA. Built-in MQTT broker, dashboards, alarms and history. Book a demo.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sensor-online.se\/sv\/funktioner\/plc-datalogger-integration-mqtt-modbus-opc-ua\/\" \/>\n<meta property=\"og:site_name\" content=\"Sensor-Online\u2122 - Versatile IOT-Platform, for all applications\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/profile.php?id=100064148077079\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-11T11:39:14+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Ber\u00e4knad l\u00e4stid\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minuter\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sensor-online.se\\\/funktions\\\/plc-datalogger-integration-mqtt-modbus-opc-ua\\\/\",\"url\":\"https:\\\/\\\/sensor-online.se\\\/funktions\\\/plc-datalogger-integration-mqtt-modbus-opc-ua\\\/\",\"name\":\"PLC and Datalogger Integration: MQTT, OPC UA | Sensor-Online\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sensor-online.se\\\/#website\"},\"datePublished\":\"2025-12-22T17:02:33+00:00\",\"dateModified\":\"2026-10-11T11:39:14+00:00\",\"description\":\"Collect data from PLCs and dataloggers over MQTT, Modbus TCP and OPC UA. Built-in MQTT broker, dashboards, alarms and history. Book a demo.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sensor-online.se\\\/funktions\\\/plc-datalogger-integration-mqtt-modbus-opc-ua\\\/#breadcrumb\"},\"inLanguage\":\"sv-SE\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sensor-online.se\\\/funktions\\\/plc-datalogger-integration-mqtt-modbus-opc-ua\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sensor-online.se\\\/funktions\\\/plc-datalogger-integration-mqtt-modbus-opc-ua\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sensor-online.se\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PLC &amp; Datalogger Integration via MQTT, Modbus &amp; OPC UA\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sensor-online.se\\\/#website\",\"url\":\"https:\\\/\\\/sensor-online.se\\\/\",\"name\":\"Sensor-Online a versatile low code IOT-Platform, for all applications\",\"description\":\"Hardware and network agnostic IOT platform\",\"publisher\":{\"@id\":\"https:\\\/\\\/sensor-online.se\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sensor-online.se\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"sv-SE\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/sensor-online.se\\\/#organization\",\"name\":\"Sensor-Online\",\"url\":\"https:\\\/\\\/sensor-online.se\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"sv-SE\",\"@id\":\"https:\\\/\\\/sensor-online.se\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/sensor-online.se\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/SO_loggo.jpg\",\"contentUrl\":\"https:\\\/\\\/sensor-online.se\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/SO_loggo.jpg\",\"width\":753,\"height\":258,\"caption\":\"Sensor-Online\"},\"image\":{\"@id\":\"https:\\\/\\\/sensor-online.se\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/profile.php?id=100064148077079\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/sensor-online\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PLC and Datalogger Integration: MQTT, OPC UA | Sensor-Online","description":"Collect data from PLCs and dataloggers over MQTT, Modbus TCP and OPC UA. Built-in MQTT broker, dashboards, alarms and history. Book a demo.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sensor-online.se\/sv\/funktioner\/plc-datalogger-integration-mqtt-modbus-opc-ua\/","og_locale":"sv_SE","og_type":"article","og_title":"PLC and Datalogger Integration: MQTT, OPC UA | Sensor-Online","og_description":"Collect data from PLCs and dataloggers over MQTT, Modbus TCP and OPC UA. Built-in MQTT broker, dashboards, alarms and history. Book a demo.","og_url":"https:\/\/sensor-online.se\/sv\/funktioner\/plc-datalogger-integration-mqtt-modbus-opc-ua\/","og_site_name":"Sensor-Online\u2122 - Versatile IOT-Platform, for all applications","article_publisher":"https:\/\/www.facebook.com\/profile.php?id=100064148077079","article_modified_time":"2026-10-11T11:39:14+00:00","twitter_card":"summary_large_image","twitter_misc":{"Ber\u00e4knad l\u00e4stid":"3 minuter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/sensor-online.se\/funktions\/plc-datalogger-integration-mqtt-modbus-opc-ua\/","url":"https:\/\/sensor-online.se\/funktions\/plc-datalogger-integration-mqtt-modbus-opc-ua\/","name":"PLC and Datalogger Integration: MQTT, OPC UA | Sensor-Online","isPartOf":{"@id":"https:\/\/sensor-online.se\/#website"},"datePublished":"2025-12-22T17:02:33+00:00","dateModified":"2026-10-11T11:39:14+00:00","description":"Collect data from PLCs and dataloggers over MQTT, Modbus TCP and OPC UA. Built-in MQTT broker, dashboards, alarms and history. Book a demo.","breadcrumb":{"@id":"https:\/\/sensor-online.se\/funktions\/plc-datalogger-integration-mqtt-modbus-opc-ua\/#breadcrumb"},"inLanguage":"sv-SE","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sensor-online.se\/funktions\/plc-datalogger-integration-mqtt-modbus-opc-ua\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sensor-online.se\/funktions\/plc-datalogger-integration-mqtt-modbus-opc-ua\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sensor-online.se\/"},{"@type":"ListItem","position":2,"name":"PLC &amp; Datalogger Integration via MQTT, Modbus &amp; OPC UA"}]},{"@type":"WebSite","@id":"https:\/\/sensor-online.se\/#website","url":"https:\/\/sensor-online.se\/","name":"Sensor-Online - en m\u00e5ngsidig IOT-plattform med l\u00e5g kod f\u00f6r alla till\u00e4mpningar","description":"H\u00e5rdvaru- och n\u00e4tverksagnostisk IOT-plattform","publisher":{"@id":"https:\/\/sensor-online.se\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sensor-online.se\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"sv-SE"},{"@type":"Organization","@id":"https:\/\/sensor-online.se\/#organization","name":"Sensor-Online","url":"https:\/\/sensor-online.se\/","logo":{"@type":"ImageObject","inLanguage":"sv-SE","@id":"https:\/\/sensor-online.se\/#\/schema\/logo\/image\/","url":"https:\/\/sensor-online.se\/wp-content\/uploads\/2023\/03\/SO_loggo.jpg","contentUrl":"https:\/\/sensor-online.se\/wp-content\/uploads\/2023\/03\/SO_loggo.jpg","width":753,"height":258,"caption":"Sensor-Online"},"image":{"@id":"https:\/\/sensor-online.se\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/profile.php?id=100064148077079","https:\/\/www.linkedin.com\/company\/sensor-online\/"]}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sensor-online.se\/sv\/wp-json\/wp\/v2\/funktions\/8598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sensor-online.se\/sv\/wp-json\/wp\/v2\/funktions"}],"about":[{"href":"https:\/\/sensor-online.se\/sv\/wp-json\/wp\/v2\/types\/funktions"}],"wp:attachment":[{"href":"https:\/\/sensor-online.se\/sv\/wp-json\/wp\/v2\/media?parent=8598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}