.NET Based OPC UA Client/Server SDK  3.0.10.493
Overview

The following tutorials explain how to develop a full-featured OPC UA server using the toolkit layer of the Unified Automation .NET SDK. The lessons are based on a simple building automation scenario including air conditioning and furnace control.

The source code for the lessons is included in the SDK as a Visual Studio Solution and can be accessed via the Start Menu (Examples → UA Server Getting Started).

In this example the ObjectTypes are created with UaModeler. Lesson 2 shows the alternative way for creating the ObjectTypes in code.

Lesson 1: Setting up a Basic OPC UA Server Console Application

The first lesson starts with an empty OPC UA server describing the code for integration of an OPC UA server component into a .NET application and the different server configuration options.

Lesson 2: Extending the Address Space with Real World Data

This lesson explains how to create an OPC UA Server Address Space in order to describe a real world system with UA. The lesson is based on a simple building automation scenario including air conditioning and furnace control.

Lesson 3: Connecting the Nodes to Real Time Data

In this lesson, it is explained how the address space created in the previous lesson is connected to real time data sources. In addition to that, it is shown how to implement data polling if necessary.

Lesson 4: Adding Support for Methods

Lesson 4 shows how to add methods using a basic example: changing the state of a controller.

Lesson 5: Adding Support for Events

This lesson explains how to extend the address space with a controller event type and add the support for events to the server.

Lesson 6: Adding Support for Alarms & Conditions

In this lesson, a state condition object is added to the UaModeler project and support for Alarms & Conditions is added to the server.

Lesson 7: Adding Support for Historical Access for Data

This lesson explains how to add support for Historical Access for Data.

Lesson 8: Adding Support for Historical Access for Events

Lesson 8 adds support for Historical Access for Events to the server.

Lesson 9: Setting Access Rights Using INodeAccessInfo

This lesson shows how to use INodeAccessInfo to set access rights to nodes and events.