Mapping of C# objects to OPCUA|OPC UA Companion Standards|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
Mapping of C# objects to OPCUA
Avatar
Rajesh Kombathula
Member
Members
Forum Posts: 3
Member Since:
01/12/2021
sp_UserOfflineSmall Offline
1
03/12/2021 - 03:56
sp_Permalink sp_Print
I am new to OPC UA,
 
Our requirement is that the OPC UA Client app will do the reads/write data from/to a backend system (which is the system of record) via a OPC UA server. How can we represent the backend system C# objects in an OPC UA Server? So that the data gets directly updated in the backend system rather being on nodes(nodes object), we are more concerned on the duplicate  data in both places (OPC UA server and Backed system) and also the data need to be UPTODATE on both the OPCUA server and backend system
Avatar
Randy Armstrong
Admin
Forum Posts: 1578
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
03/12/2021 - 09:03
sp_Permalink sp_Print

It is important to view the UA Information Model as a window into your system – not a copy of it.

Many simple examples for UA servers simply keep UA nodes in memory which would store copies of data, however, this is not required for real applications. Every UA Server SDK provides a mechanism where Nodes are virtual entities created on the fly by accessing APIs for an underlying system.

A simple example of this with the NETStandard SDK can be found here:

https://github.com/OPCFoundati…..moryBuffer

In this case, the “underlying system” is a array stored in memory but the the example uses the array as the single source for data make available by the UA Server. No copies of the data are stored (other than caches managed by MonitoredItems/Subscriptions).

Avatar
Rajesh Kombathula
Member
Members
Forum Posts: 3
Member Since:
01/12/2021
sp_UserOfflineSmall Offline
3
03/16/2021 - 06:06
sp_Permalink sp_Print

Thanks Randy, We are evaluating MemoyBuffer Example from Github

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: 1444
Posts: 4887