OPC-UA Server and Client integration|OPC UA Implementation: Stacks, Tools, and Samples|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
OPC-UA Server and Client integration
Avatar
Giorno Giovanna
New Member
Members
Forum Posts: 1
Member Since:
07/14/2021
sp_UserOfflineSmall Offline
1
08/03/2021 - 04:56
sp_Permalink sp_Print

Hello everyone,

I am trying to implement a kind of aggregation solution with OPC-UA. For that, I need my program to be both a client and a server, so that I can get information from different brands of PLC hosting their own proprietary OPC-UA Server, and to offer that information in a single OPC-UA .Net Server.

However, the complexity of the code coupled with my lack of experience in C# is preventing me to do so, so I would like some help or guidance about how to tackle the issue. I’ve got both the Reference Client and Server working, but I fail to see how to mix them…

If I am not mistaken, the Server holds the node information inside the “MasterNodeManager” that gets populated based on the compiled ModelDesign.xml. Problem is, all that information is protected or private, so acceding from the main program is not the way to go, on top of that, the server runs as a Task, so, on my little C# knowledge, problems may arise when reading and writing at the same time.

As a resume, I would like to know from veterans if what I try to achieve is do-able, if launching another thread and have the client share access to the NodeManager is a proper solution or if I should discard the idea an tackle it differently.

Thanks a lot for your time!

Avatar
Randy Armstrong
Admin
Forum Posts: 1580
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
08/03/2021 - 07:00
sp_Permalink sp_Print

Application developers create one or more CustomNodeManagers which manage their Nodes.

Most developers have no need to alter the MasterNodeManager.

If you are developing an aggregator, you would likely create a new CustomNodeManager subtype from scratch and would not use any of the ModelDesign infrastructure. This code would provide whatever access your server and and client parts need.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 19
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1446
Posts: 4891