OPC UA .NET SDK for Client and Server

OPC UA .NET SDK for Client and Server

Member: Traeger Industry Components GmbH

Product website: opcua.traeger.de

 

OPC UA
Client & Server
in C# / VB.NET
quick and easy

Info and Evaluationpackage here:
https://opcua.traeger.de
Info the NuGet Package here:

https://www.nuget.org/packages/Opc.UaFx.Advanced/

Description

The OPC UA .NET SDK allows rapid and easy development of Client and / or Server Applications in .NET. With a few lines of code you can realize your application in minutes.

The SDK is developed for  .NET Standard 2.0 and .NET Framework. So it works with all platforms supported by Microsoft. E.g. Windows, Android, Linux, macOs, iOS.
We provide the SDK as Zip Package oder NuGet.

Features

  • Security Policies
    None, Sign, SignAndEncrypt
  • SecurityAlgorithm
    Auto, Custom, None, Basic128Ras15, Basic256, BasicSha256, Https
  • DataAccess
    DA, HDA, Alarm, Conditions, Events, Methods, Subscriptions, Custom Datatype, Filetype
  • Nodemanger
    Browse, Read, Write, Add, Delete
  • more see here https://opcua.traeger.de

Code Examples

C# OPC UA Client - Code Example

This OPC UA client establishes a connection to a local server, reads periodically the value of a node and outputs it to console.

using System;
using System.Threading;
 
using Opc.UaFx.Client;
 
public class Program {
  public static void Main()
  {
    using (var client = new OpcClient("opc.tcp://localhost:4840"))
    {
      client.Connect();

      while (true) {
        var temperature = client.ReadNode("ns=2;s=Temperature");
        Console.WriteLine("Current Temperature is {0} °C", temperature);
 
        Thread.Sleep(1000);
      }
    }
  }
}

C# OPC UA Server - Code Example

This OPC UA server provides a node locally whose value is changed periodically.

using System.Threading;

using Opc.UaFx;
using Opc.UaFx.Server;

class Program
{
  public static void Main()
  {
    var temperatureNode = new OpcDataVariableNode<double>("Temperature", 100.0);

    using (var server = new OpcServer("opc.tcp://localhost:4840/", temperatureNode)) 
    {
      server.Start();

      while (true)
      {
        if (temperatureNode.Value == 110)
            temperatureNode.Value = 100;
        else
            temperatureNode.Value++;

        temperatureNode.ApplyChanges(server.SystemContext);
        Thread.Sleep(1000);
      }
    }
  }
}

API-Design with Microsoft Standards
We are guided by the Microsoft Standard designing frameworks. This gives you an easy way to get familiar with our SDK in a short time. We provide you a modern API and in-depth debugging capabilities.

Royalty Free License
Our licensing models allow you to develop and distribute as many applications as you like based on the OPC UA SDK – without any additional license fee.

 


 


Back