Create model design from NodeSet2.xml|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
Create model design from NodeSet2.xml
Avatar
At Hırsızı
New Member
Members
Forum Posts: 2
Member Since:
08/18/2022
sp_UserOfflineSmall Offline
1
08/18/2022 - 07:27
sp_Permalink sp_Print

Hello there! 

I am trying to create an information model for plastic injection machine.
I have found Opc.Ua.PlasticsRubber.IMM2MES.NodeSet2.xml in UA_Nodeset repository of OPC Foundation and I selected important nodes for me to read. Also I cloned OPCFoundation/UA-.NETStandard and spent few hours with ConsoleReferenceServer. 

While I am exploring OPC, with UAModeler I have created a test model and with UAModelCompiler created required classes and also nodemanager(derived from samplenodemanager).

I am not happy so far because the model file I've created with UAModeler has different NodeIds than Opc.Ua.PlasticsRubber.IMM2MES.NodeSet2.xml.

So my question is; how can I create model design file which nodeIds already known from Opc.Ua.PlasticsRubber.IMM2MES.NodeSet2.xml file? Or it is even the correct thing to do?

In general, I'd like to create an OPC server in order to push data to client which I already know the required nodeIds to read.

Thank you for your patience.

Avatar
Randy Armstrong
Admin
Forum Posts: 1438
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
08/18/2022 - 12:56
sp_Permalink sp_Print

This has been an open work item for some time.

FWIW: the ModelDesign schema has been designed so a human can plausibly edit it by hand. A NodeSet is only useful to a machine.

A very initial implementation is here:

https://github.com/OPCFoundati.....lDesign.cs

I can provide guidance if you are interested in contributing to the community.

Avatar
At Hırsızı
New Member
Members
Forum Posts: 2
Member Since:
08/18/2022
sp_UserOfflineSmall Offline
3
08/22/2022 - 22:41
sp_Permalink sp_Print

Sorry for the late response. I tried to find a quick fix to my problem but I guess there's no solution at all. I did spent some time on the NodeSetToModelDesign, had a few exceptions but managed to run import method but no further improvements.

In any way,  I would love to contribute to the community and of course I need your guidance.

Thank you.

Avatar
Randy Armstrong
Admin
Forum Posts: 1438
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
10/14/2022 - 08:28
sp_Permalink sp_Print

The member-only repo has a beta:

https://github.com/OPCF-Member...../README.md

Hope to make it public in a couple weeks.

Avatar
Adnan Mahinic
New Member
Members
Forum Posts: 1
Member Since:
12/22/2023
sp_UserOfflineSmall Offline
5
12/29/2023 - 05:12
sp_Permalink sp_Print

Hi! I also need something similar. I want to go from NodeSet2.xml to ModelDesign.xml, but I am unsure which compiler options to use. Has this been published?

Avatar
Randy Armstrong
Admin
Forum Posts: 1438
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
12/29/2023 - 21:34
sp_Permalink sp_Print

The current public release supports NodeSet2 as input files.

See the README for examples:

https://github.com/OPCFoundati.....elCompiler

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