What Access Level Permissions to consider if the AccessLevel Attribute is not present in NodeSet?|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
What Access Level Permissions to consider if the AccessLevel Attribute is not present in NodeSet?
Avatar
Shubhi Gogna Shubhi Gogna
Member
Members
Forum Posts: 27
Member Since:
04/01/2014
sp_UserOfflineSmall Offline
1
05/16/2022 - 01:29
sp_Permalink sp_Print

Hi Randy,

I have a question here on AccessLevel. If a UAVariable present in my NodeSet does not define any AccessLevel, shall we consider the node's access Level as "Readable" while Importing the NodeSet?

Example:

<UAVariable NodeId="ns=1;i=6445" BrowseName="1:FilterClassDataType" ParentNodeId="ns=1;i=6023" DataType="String">
.........
</UAVariable>

Also, if I have the UAVariableType whose Access Level is not defined, then while creating instance for that Type, shall we consider AccessLevel as "Readable" by default.

I cant find this information anywhere in UASpecs, can you please refer me the Spec. where this information is present.

Regards,

Shubhi Gogna

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
05/17/2022 - 05:39
sp_Permalink sp_Print

The AccessLevel in the NodeSet on a component of a type specifies the access rights for the instance declaration Node.

It controls whether the default value in  the instance declaration is readable or writable.

It is also the default AccessLevel for a new instances, however, new instances can override the default.

Some CS authors use the AccessLevel as a hint to indicate what the access rights on new instances should be, however, any requirement stronger than a hint must be in text describing the type.

Avatar
Shubhi Gogna Shubhi Gogna
Member
Members
Forum Posts: 27
Member Since:
04/01/2014
sp_UserOfflineSmall Offline
3
06/08/2022 - 02:11
sp_Permalink sp_Print

Thanks Randy.

So, if the CS does not specify AccessLevel Attribute then in this case what should be considered as the default Access Level to create Instance?

Example:

<UAVariable NodeId="ns=1;i=6445" BrowseName="1:FilterClassDataType" ParentNodeId="ns=1;i=6023" DataType="String">
.........
</UAVariable>

Regards,

Shubhi Gogna

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
06/08/2022 - 18:22
sp_Permalink sp_Print

The default AccessLevel in the NodeSet schema is ReadOnly.

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