Difference between ReferenceType Organizes and HasComponent|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
Difference between ReferenceType Organizes and HasComponent
Avatar
Andre de Buhr
Member
Members
Forum Posts: 9
Member Since:
01/17/2017
sp_UserOfflineSmall Offline
1
01/27/2017 - 02:08
sp_Permalink sp_Print

Hello,

i have a problem two understand the use of HasComponent and Organizes. 

Have someone a good description or a short example for me?

Thanks for your help.

Avatar
Guest
Guests
2
01/30/2017 - 00:37
sp_Permalink sp_Print

An example could be the model of a city.

The city has several homes. Each home would be part of the city and therefore referenced with HasComponent.

Each home - among many other tings - has a front door. Again referenced with HasComponent.

 

"Organizes" is mostly used to group related things. For the city, for instance, I could imagine a folder that groups all green front doors - i.e. this folder would contain "Organizes" References to several front doors which are also referenced via "HasComponent" from homes.

Avatar
Andre de Buhr
Member
Members
Forum Posts: 9
Member Since:
01/17/2017
sp_UserOfflineSmall Offline
3
01/30/2017 - 02:13
sp_Permalink sp_Print sp_EditHistory

Hello Karl-Heinz,

first thanks for your example:

 

Is this a correct interpretation of your example?

 

Graph:

https://ibb.co/gpqEMF

Avatar
Guest
Guests
4
01/30/2017 - 05:59
sp_Permalink sp_Print

Almost 🙂

The arrow of the "Organizes" References should point from the "Homes with green doors" folder to the homes.

Avatar
Andre de Buhr
Member
Members
Forum Posts: 9
Member Since:
01/17/2017
sp_UserOfflineSmall Offline
5
01/30/2017 - 07:08
sp_Permalink sp_Print

Thanks for your help again 😉

Then let me try to apply the example to a real server.

I have the following structure on a Server

https://ibb.co/ftY7aa

The Server has the ReferenceType "Organizes".

When i understand the example correctly it means that is "Server" not created in the Folder Objects. Server is only a Reference on a another Object on the Server.

Avatar
Guest
Guests
6
01/31/2017 - 02:17
sp_Permalink sp_Print

Not sure I understand the question. The basic organization of an AddressSpace which includes "Objects" and "Server" and how they reference each other is defined in UA Part 5.

The "Server" object in some way is a standalone object. I.e. it isn't a component of another object. To make it discoverable, however, the UA standard requires an "Organizes" Reference from the "Objects" folder to this "Server" object.

Avatar
Andre de Buhr
Member
Members
Forum Posts: 9
Member Since:
01/17/2017
sp_UserOfflineSmall Offline
7
01/31/2017 - 02:53
sp_Permalink sp_Print

Ah, okay.

Without the organize Reference i have no chance to find the Server Object.

And why should i not use "has component" for the Server-Object?

 

Thank for your help 🙂

Avatar
Guest
Guests
8
01/31/2017 - 10:32
sp_Permalink sp_Print

Sometimes you have to decide one or the other way.

The OPC UA working group decided for "Organizes" and this is written in the standard. If you use a different reference you are not compliant to the standard.

Avatar
Andre de Buhr
Member
Members
Forum Posts: 9
Member Since:
01/17/2017
sp_UserOfflineSmall Offline
9
02/01/2017 - 00:56
sp_Permalink sp_Print

Now i get the point!

Thanks for your help 🙂

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