Login  •  Register


Registered reading/writing

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

Registered reading/writing

Postby MrIS » 03 Feb 2020, 23:41

Hi there,

I have developed a basic client for the SIMATIC S7-1500 OPC UA Server. We need significantly to increase the performance and according to some guys from Siemens it should be reached by using registered reading and writing. Therefore I'd like to ask you how to do that in best practice.

There is almost nothing regarding this topic in the documentation on this site, I was able to find just a reference to the method
Code: Select all
List<NodeId> UnifiedAutomation.UaClient.Session.RegisterNodes(IList<NodeId> nodesToRegister, RequestSettings settings)

[http://documentation.unified-automation.com/uasdkdotnet/2.0.0/classUnifiedAutomation_1_1UaClient_1_1Session.html#a833a5a22ea62d85d12c389ead7b04cb2]


The method above is working, all NodeIds to register are translated to their handles. Since I got a registered handles I can't access my variables for further reading and writing via their name anymore. Do you think that creating an associative table (implemented as a Dictionary structure within .NET) is good idea how to get proper handle order by variable name a then use it for reading a value from OPC Server?

Maybe I'm absolutely wrong and I didn't understand an idea of using registered reading/writing. Please, could you give me some advice how to do that in a best way? Any example or idea will be strongly appreciated.

Thanks in advance.
MrIS
Full Member
Full Member
 
Posts: 5
Joined: 19 Jul 2018, 10:30
Location: Zvolen, Slovakia

Return to .NET based OPC UA SDK

Who is online

Users browsing this forum: MSN [Bot] and 0 guests

cron