Software Toolbox Technical Blog

Video Tutorial: Using DataHub Advanced MQTT Parsing

4 min read

By Win Worrall on Aug 25, 2022 2:00:00 PM


Cogent DataHub® is a gateway that enables a wide range of connectivity interfaces for different data sources such as OPC UA, OPC DA, ODBC, DDE and so much more.  Included in those available interfaces is the ability to act as both an MQTT client and broker even including Sparkplug B support for enabling MQTT integration with many other types of systems that don't natively support MQTT.

A key facet of the MQTT specification that can sometimes be complex for our users and cause issues with compatibility between DataHub and other MQTT clients and brokers is how to handle the formatting of MQTT messages. As you may or may not know, while MQTT does specify how to construct a message header for routing by an MQTT broker, it does NOT specify the actual message content. This tends to be a challenge when MQTT clients from different developers need to work together, since they need to be using the same format for the message content.

In this video blog, I'll show you how to use DataHub V10's Advanced MQTT Parser capability to specify flexible formats that will work with virtually any other vendor's MQTT clients and brokers.

Continue Reading

Enabling Rapid Interoperability Between OPC UA & MQTT Sparkplug B

5 min read

By John Weber on Jul 21, 2022 2:00:00 PM


Ongoing digital transformation and operational visibility initiatives continue to demand the integration of different systems using different technologies. With increased adoption of secure OPC UA and MQTT Sparkplug B, it’s only to be expected that users will have systems that support one or the other technology but need to communicate with each other.

Although OPC UA supports a publish-subscribe mechanism with OPC UA PubSub, and adoption of OPC UA is strong and growing, the reality is there will be situations where the user is already using MQTT Sparkplug B and needs to integrate it with OPC UA or vice-versa, without writing custom code or going through complex configuration.

Software Toolbox was founded in 1996 on the principal of making data and device integration easy by using configurable off-the-shelf software to avoiding writing custom solutions and knowing the pros and cons of and ins and outs of many technologies. That mission remains strong, as you’ll see, as we discuss interoperating between OPC UA and MQTT in this blog post.

Continue Reading

Video Tutorial: Using DataHub to Convert OPC Classic A&E to OPC UA A&C

2 min read

By Win Worrall on Mar 3, 2022 2:00:00 PM


Cogent DataHub enables a wide range of connectivity interfaces for different data sources such as OPC UA, OPC DA, ODBC, DDE and so much more.  This makes DataHub a flexible gateway commonly used for data integration by external software such as HMI, SCADA, MES, historians and other client applications.

In this video blog, I'll show you how to use DataHub V10's support for OPC UA Alarms & Conditions to enable OPC Classic Alarms & Events servers to work with newer OPC UA clients supporting Alarms & Conditions.

Continue Reading

Five Ways OPC Router Bridges the Gap Between ERP and Plant Floor

11 min read

By Kevin Rutherford on Feb 3, 2022 2:00:00 PM


For various reasons, many organizations still have one or more disconnects between the PLCs and other control devices closest to the ultimate process and the upstream systems responsible for coordinating efforts across the enterprise. In an ideal world, all data exchange between all systems in an enterprise would be automated for the greatest efficiency.

In this post (based on the article "Removing five critical media gaps" by our partner company, inray Industriesoftware GmbH), we will discuss five of the most common gaps where an organization's ERP system may still be disconnected from underlying processes and data sources. And we'll discuss how OPC Router provides the ability to eliminate those unnecessary gaps.

Continue Reading

Integrating Fluctuating Energy Prices using OPC For Process Decisions

4 min read

By Win Worrall on Mar 11, 2021 2:00:00 PM


While the recent winter storm in Texas and its rolling energy shortages has brought the subject of the availability of affordable energy and deregulation of power markets to the forefront of the conversation, this has been a problem in many areas of the world for a long time. This is mainly because of the large fluctuations in the price of energy that both residents and businesses have to endure.

It's ultimately the law of supply and demand driving such issues - when energy supply is eclipsed by extraordinary demand for it, an inconvenience during the best of times becomes a crisis in the case of extreme situations such as unexpected winter weather, devastating storms, hotter than normal summers and other unpredictable situations.

In the case of manufacturing and other industries that rely on energy as an input for operations, the cost of energy can literally determine whether a production run is profitable or not. This post discusses methods for monitoring energy costs in real-time from your HMI, SCADA or MES system using OPC UA or OPC DA, for decision support to prevent avoidable losses. 

Continue Reading

How to Convert MQTT Client Data to OPC

2 min read

By Win Worrall on Sep 24, 2020 2:00:00 PM


As you may already be aware, the Cogent DataHub has a wide range of flexible connectivity options between different data sources such as MQTT, OPC UA, OPC DA, ODBC, DDE and so much more.  MQTT client and broker functionality in particular allow DataHub to integrate MQTT data sources with HMI, SCADA, MES, historian and other systems that don't natively support MQTT.

In this next installment of our Cogent DataHub Virtual Training series, we will cover step-by-step how to easily connect 3rd party MQTT clients to the DataHub MQTT broker and convert their data for access by your own systems with OPC UA or OPC DA client capabilities.

Continue Reading

Using MQTT to Stream OPC data to Digital Twins in Azure IoT Hub

3 min read

By Win Worrall on Sep 3, 2020 2:00:00 PM


Cogent DataHub is always expanding its wide range of flexible connectivity options between different data sources such as MQTT, OPC UA, OPC DA, ODBC, DDE and so much more.  With the advent of IIoT and its increasing adoption across industries, connectivity to various traditionally non-IIOT data sources via MQTT is key.

If you're not familiar with the concept of a virtual or digital twin, it's the idea of virtual modeling a physical asset or system.  Ultimately, the key motivators for creating digital twins is having the ability to accurately model and predict what will happen with the real-world physical equivalent of that digital twin.  Digital twins are extremely beneficial towards predictive analytics used for pro-active maintenance and process optimization across industries.

In this next installment of our Cogent DataHub Virtual Training series, we will cover step-by-step how to easily connect and push data from OPC data sources to digital twins in the Azure IoT Hub including how to optionally do so through a network DMZ (DeMilitarized Zone) using an additional DataHub as a proxy server for even greater security.

Continue Reading

Converting an OPC DA Server to OPC UA with DataHub OPC Gateway

2 min read

By Win Worrall on Aug 20, 2020 2:00:00 PM


Cogent DataHub enables a wide range of flexible connectivity options between interfaces for different data sources such as OPC UA, MQTT, OPC DA, ODBC, DDE and so much more.  This is why we commonly refer to DataHub as a "gateway", as it is frequently utilized for data integration by external software such as HMI, SCADA, MES, historians and other client applications, including for IIoT integration.

In Part 1 of our Cogent DataHub Virtual Training series, we will cover step-by-step how to easily connect OPC UA (Data Access Profile) client applications to your OPC DA Classic server data sources.

Continue Reading

About this Blog

We're engineers like you, so this blog focuses on "How to" appnotes, videos, tech team tips, product update announcements, user case studies, and other technical updates.  Subscribe to updates below. Your feedback and questions on posts are always welcomed - just use the area at the bottom of any post.

Subscribe to our Blog

Recent Posts

Posts by Topic

See all