Clinet connects multiple opc servers with one session?

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

Moderator: uasdknet

Post Reply
ggokka
Sr. Member
Sr. Member
Posts: 17
Joined: 03 Jul 2015, 02:34

Clinet connects multiple opc servers with one session?

Post by ggokka »

I have a mission.
Clients connect multiple opc servers. However clients act as if opc server is just one.
client ---- virtual opc session ----- opc server #1
----- opc server #2
----- opc server #n

How can I implement this?
Any idea?

Thanks a lot.

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

Re: Clinet connects multiple opc servers with one session?

Post by Support Team »

Hello,

First of all you need one session per server to connect. You cannot use one session to connect different servers.

Maybe you want to create an aggergating server, that means a server that connects to several (other) OPC UA servers. In this case another clients needs only to create a session to the aggreagting sever and gets the whole addressspace of all servers.
If you want to do this, you will have to da a lot of work, since you have to map all incoming OPC UA Requests (Read, Write, StartDataMonitoring, ...) to the connected servers. Additionally you will have to map the namespaces of the connected servers to the namespaces of the aggregating server.
Please have a look at the UaGateway (https://www.unified-automation.com/down ... rvers.html). Maybe this product is a solution for your mission.

Best regards
Support Team

Post Reply