Table of Contents
Qt OPC UA

OPC UA Reverse Connect for open62541

Qt OPC UA

“OPC UA Reverse Connect” is a special connection mode in which the traditional roles of clients and servers during connection establishment are reversed – the server is responsible for initiating the connection to a client. This mode is intended for critical network environments (e.g. shop floor, production) where no inbound connections are allowed at all. basysKom has added support for “OPC UA Reverse Connect” to the open62541 stack. This article provides you with some entry points on how to use this new open62541 feature.

Using "Reverse Connect"

Reverse Connect is specified here: https://reference.opcfoundation.org/Core/Part2/v104/docs/6.14. Documentation on the open62541 server API can be found here: https://www.open62541.org/doc/master/server.html#id10. The client side is documented here: https://www.open62541.org/doc/master/client.html#connect-to-a-server. The open62541 code base also contains a ready to go example for a server implementing “Reverse Connect” here https://github.com/open62541/open62541/blob/master/examples/tutorial_server_reverseconnect.c.

OSADL

The Reverse Connect support was sponsored by the OSADL “PubSub over TSN Project – Phase #4”. It will become part of the upcoming 1.4 release of open62541, but is meanwhile already available from the master branch.

basysKom and OPC UA

basysKom is an official commercial support partner for the open62541 project and the maintainer of the Qt OPC UA module. basysKom is umati partner since May 2021. We have worked with customers from various industries to help with OPC UA efforts, offering technical consulting (system-/software-architecture, OPC UA modelling, feasibility studies and prototyping), training and coaching (OPC UA, open62541, Qt OPC UA) as well as development services focused on these areas. Please, get in contact to discuss how we can support you.

Leave a Reply

Your email address will not be published. Required fields are marked *

Frank Meerkötter

Frank Meerkötter

Frank Meerkoetter is the Development Lead for basysKom GmbH, where he is consulting customers on industrial and embedded applications, often in combination with Qt. He is responsible for the technical consulting, system- and software-architecture within basysKom. He is the maintainer of Qt OPC UA and a contributor to the Qt project. He has a strong background in Embedded Linux, systems programming, distributed systems and application development. He holds a Master of Computer Science from the University of Applied Sciences in Darmstadt.

Read more

OPC UA open62541
OPC UA
Jannis Völker
Generic Struct Handling is Coming to Qt OPC UA

OPC UA servers often use structured data types, for example when they are implementing a companion specification or exposing custom structured data types from a PLC program. Up to now, Qt OPC UA was just returning a binary blob when reading such a value and the decoding was left entirely to the user. Since OPC UA 1.04, there is a standardized way for a server to expose the data type description for custom data types. We have extended Qt OPC UA to use this information to make it much easier to encode and decode custom data types. The following article introduces the new API.

Read More »
Qt OPC UA
open62541
Frank Meerkötter
Qt OPC UA updates

The Qt OPC UA module has been ported to CMake and will be part of Qt 6 right from the first release.
In addition to numerous bug fixes and improved test coverage, the open62541 plugin has been updated to open62541 v1.1 and uses OpenSSL for security support, thus removing the dependency on mbedTLS.

Read More »