.NET Based OPC UA Client/Server SDK  2.6.1.422
.NET Based OPC UA Client/Server SDK Documentation

Introduction

The UA SDK is a set of .NET libraries that supports you in writing OPC UA servers and clients in the .NET environment.

The UA SDK actually consists of two SDKs, a Server SDK and a Client SDK. Both use the same UA Base Library which provides the communication stack and common functionality used in servers and clients applications.

opcuasdkarchitectureoverview_cs.png
UA SDK Architecture Overview

Server Getting Started

The Unified Automation .NET OPC UA SDK contains several examples on how to build an OPC UA server using the SDK. The corresponding Visual Studio Solutions are included as well and can serve as a basis for your own projects.

The lessons provided in Getting Started describe how to develop a full-featured OPC UA server step by step based on a simple building automation scenario. Lesson 1 starts with an empty OPC UA server, and commonly used features are added step by step in the following lessons. The Unified Automation UaModeler provides a convenient way of building the information model. This is shown by example in Lesson 2.

The Getting Started is using the SDK toolkit functionality for rapid application development. The Server SDK Overview gives an architecture overview and describes the SKD layer and the toolkit functionality

In addition to that, the source code for the Unified Automation .NET based OPC UA demo server is included in the SDK. It contains an example (LargeArrayNodeManager.cs) for implenting information integration without the toolkit functionality.

Client Getting Started

There are different levels of examples provided with the Client SDK to jump start your OPC UA client development.

The first example Basic Client provides initial sample code in a single source file for a simple data access client including connection establishment, read, write and data monitoring. This example is a good starting point to get familiar with the basic functionality of OPC UA.

The Getting Started application provides a rich set of sample code for the different services and features of OPC UA. The examples are designed in a way that they provide self-contained sample code for the different OPC UA services with the following features:

  • Fully functional dialogs to execute single OPC UA services
  • Self-contained sample code that can be copied from the sample code dialogs. Source code can be opened directly from dialogs
  • Detailed documentation for the sample code. Documentation can be opened directly from dialogs

The Full Client is an enhanced example showing several features of OPC UA in a generic user interface.

Content Overview

This manual provides a class reference and general introductions in the following sections: