Is it allowed to Create Instance with Abstract References|OPC UA Companion Standards|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
Is it allowed to Create Instance with Abstract References
Avatar
Shubhi Gogna Shubhi Gogna
Member
Members
Forum Posts: 27
Member Since:
04/01/2014
sp_UserOfflineSmall Offline
1
04/25/2022 - 02:35
sp_Permalink sp_Print sp_EditHistory

Hi Team,

I wanted to check if it allowed to create an Instance of some type with Abstract Reference?

For Example, I want to create Object of FolderType. Can I create it with 'HasChild' Reference which is Abstract Type?

Similarly, Should we allow to create Variables with Datatypes which are Abstract. For Example, UInteger is Abstract DataType. Can I create a variable for this DataType?

Regards,

Shubhi Gogna

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
04/26/2022 - 15:54
sp_Permalink sp_Print

You cannot create abstract references between Nodes in the AddressSpace. They are only used as filter criteria in Browse and Translate.

An instance of a type can replace a concrete supertype with a concrete subtype for any reference.

Values of the DataType Attribute may be abstract, however, the value of the Value Attribute is always concrete.

The type definition of any child (a.k.a. InstanceDeclaration) of the a type must be concrete.

An instance of a type can replace the type definition of a child with a concrete subtype of the type definition for the InstanceDeclaration.

Avatar
Shubhi Gogna Shubhi Gogna
Member
Members
Forum Posts: 27
Member Since:
04/01/2014
sp_UserOfflineSmall Offline
3
04/28/2022 - 03:57
sp_Permalink sp_Print

Thanks for your reply Randy.

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