Server and devices

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
Xnoop
Jr. Member
Jr. Member
Posts: 1
Joined: 24 Sep 2025, 14:18

Server and devices

Post by Xnoop »

Hello,
I am currently testing the Unified Automation OPC UA Server SDK.
I want to create an OPC UA gateway that exchanges data with two devices (reader device and writer device).
During initialization, the server nodes must be created based on the data from the devices.
During operation, the server must respond to various OPC UA clients and, periodically:
- write the data from the device reader to the server,
- write the data from the server to the device writer

I have reviewed the sample files but haven't found any solutions that meet my needs. Do you have any other sample code you could recommend?
Thank you
Best regards

User avatar
Support Team
Hero Member
Hero Member
Posts: 3325
Joined: 18 Mar 2011, 15:09

Re: Server and devices

Post by Support Team »

Hi,

in OPC UA we typically assume that we capsulate one source/device (maybe multiple devices). However the nodes of these devivces are readable or writeable or both. In your case you could put data into different namespaces and handle differently, alternatively use same nodes but overwrite data integration for write and handle differently. This depends on the data integration you use to attach your source (external push, internal poll).

There is no example for your use case, because the SDK was designed for diferent use cases.
Best regards
Unified Automation Support Team

Post Reply