What to do with nodes without parent?|OPC UA Standard|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
What to do with nodes without parent?
Avatar
Jürgen Veidt
Member
Members
Forum Posts: 7
Member Since:
05/24/2016
sp_UserOfflineSmall Offline
1
09/13/2019 - 04:11
sp_Permalink sp_Print

Hello,

I assumed the only node without a parent is the Root object.

Unfortunately, in the MDIS companion nodeset, there are several UaMethods that have no parent (and are not used in any UAObjectType)

Example:

<UAMethod BrowseName="1:EnableDisableType" NodeId="ns=1;i=192">
 <DisplayName>EnableDisableType</DisplayName>
 -<References>
  <Reference ReferenceType="HasProperty">ns=1;i=193</Reference>
 </References>
</UAMethod>

It seems, the intention was to have something like a template or prototype, the browse name seems to indicate this.

There is no suited parent in OPC UA Root/Types. Should I ignore these nodes (and their children), or how should I use them?

 

It was probably not intended in the OPC UA specification to use UAMethods this way.

The objects seen in existing MDIS nodeset files duplicate this definition for every object type and object that references this "method type", although a call to the "type definition" giving the correct object id should have the same effect (or at least could have the same effect) if implemented accordingly.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
09/13/2019 - 14:07
sp_Permalink sp_Print

Can you tell me what you are looking at? I don't see that method i the NodeSet.

Avatar
Jürgen Veidt
Member
Members
Forum Posts: 7
Member Since:
05/24/2016
sp_UserOfflineSmall Offline
3
09/15/2019 - 22:39
sp_Permalink sp_Print

Look here, first node directly behind the aliases:

https://opcfoundation.org/UA/s.....deSet2.xml

Regards

Jürgen

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
09/16/2019 - 03:12
sp_Permalink sp_Print

Seems to be fixed here:

https://github.com/OPCFoundati.....deSet2.xml

I need the MDIS group to indicate what should be on the website.

Avatar
Jürgen Veidt
Member
Members
Forum Posts: 7
Member Since:
05/24/2016
sp_UserOfflineSmall Offline
5
09/16/2019 - 03:18
sp_Permalink sp_Print

github seems to have "old" 1.04, while the other one is "improved(?)" 1.2

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
09/16/2019 - 03:32
sp_Permalink sp_Print sp_EditHistory

You can add a Mantis issue here (choose the MDIS project):

https://apps.opcfoundation.org.....n_page.php

That will start the process to get difference resolved.

Avatar
Jürgen Veidt
Member
Members
Forum Posts: 7
Member Since:
05/24/2016
sp_UserOfflineSmall Offline
7
09/16/2019 - 03:36
sp_Permalink sp_Print sp_EditHistory

The github files seems to be newer, in spite of the numbering in the path name

Added Mantis #5048

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
8
09/16/2019 - 05:56
sp_Permalink sp_Print

The 1.04 refers to the UA specification that the NodeSets are built against.

The PublicationDate is supposed to be defined and used to identify which version is newer.

MDIS is missing that field. You can see it here:

https://github.com/OPCFoundati.....deSet2.xml

Avatar
Jürgen Veidt
Member
Members
Forum Posts: 7
Member Since:
05/24/2016
sp_UserOfflineSmall Offline
9
09/16/2019 - 06:05
sp_Permalink sp_Print

Added your remark about the missing publication date to Mantis 5048.

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