Create model design from NodeSet2.xml | OPC UA Implementation: Stacks, Tools, and Samples | Forum

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: 1080
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.

Forum Timezone: America/Phoenix
Most Users Ever Online: 202
Currently Online:
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1137
Posts: 3706