OPCDA.NET-UA
OPCDA.NET-UA
Send comments on this topic.

Glossary Item Box

The OpcDaNet-UA option extends OPCDA.NET with support for accessing OPC UA servers.

Existing OPCDA.NET client application can be upgraded with UA support by simply compiling the application with a reference to the UA option DLLs. No code changes are necessary.

Client applications can support access to OPC DA and OPC UA servers without additional development effort.

 

The OpcDaNet-UA solution has important advantages over solutions with an external UA wrapper.

DCOM is completely eliminated because the UA wrapping happens within the client application process.
External wrappers still use DCOM to communicate between the client application and the UA wrapper.

 

The client application uses only one API, the well established OPCDA.NET API with an extensive set of classes for the efficient development of high quality applications. The different classes such as Visual Studio Designer Components, DataBind and Background Server Access works with OPC DA and OPC UA servers.

 

Requirements:

 

 

 

Upgrade an existing OPCDA.NET based client application to UA support

The client application needs to be recompiled with references to the UA version OPCDA.NET DLLs. Only these DLLs contain the hooks for UA option DLL.

The DLLs that need to be referenced for DA/UA support are:

 

For access to OPC DA servers nothing has changed.
To access UA servers the UA server URL is specified in place of the OPC DA ProgID.
The format is:   UA:[scheme://]host/name       e.g.  UA:tcp://localhost/UAPlus
For details see chapter Communication Configuration.

 

 

Create a New OPC DA / UA Application

For Windows Forms applications use the Advosol/OpcDaNetUA template in the Visual Studio New Project wizard. This creates a solution with the required DLL references.
For other types of applications the references can be added as listed above after the project is created.

Visual Studio 2017 and newer can be used to create UA client applications for .NET4.7.2
 

Copyright © 2020 Advosol Inc. All Rights Reserved.