Inconsistency between NodeId (NSIndex) and BrowseName

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
acorbin
Full Member
Full Member
Posts: 6
Joined: 15 Jan 2016, 12:04

Inconsistency between NodeId (NSIndex) and BrowseName

Post by acorbin »

Hello,

I use UaModeler(1.4.2) to create a little XML model.

I created a RoomType derived from CtrlResourceType (which comes from PLCOPEN).

Then I created an object Room1 which is a RoomType one, and i see some inconsistencies between NodeIds (NamespaceIndex) and Browsenames of the children of Room1.
This can also be seen in the export XML file model.

for example, DeviceClass has got its NamespaceIndex = 3 and the Browsename = "1;DeviceClass".

This can generate problem with the browsing function.

Would you mind helping me on this topic ?

Thank you in advance for your answer.
Regards.

A. CORBIN.

User avatar
Support Team
Hero Member
Hero Member
Posts: 3070
Joined: 18 Mar 2011, 15:09

Re: Inconsistency between NodeId (NSIndex) and BrowseName

Post by Support Team »

Hello,

If nodes are based on instance declaration the browse name of the instance declaration is copied.
In your case:
The Variable DeviceClass is defined at DeviceType having the BrowseName 1:DeviceClass. If an instance of DeviceType (or a subtype) is created, all children of DeviceType with ModellingRule Mandatoty are created with the same BrowseName.
Please see also http://forum.unified-automation.com/topic1674.html

Best regards
Support Team

Post Reply