Errata exists for this version of the document.
The AddNodes Service allows specifying the Attributes for the Nodes to add. The NodeAttributes is an extensible parameter whose structure depends on the type of the NodeClass being added. It identifies the NodeClass that defines the structure of the Attributes that follow. The parameterTypeIds are defined in Table 148. The ExtensibleParameter type is defined in 7.12.
Table 148 – NodeAttributes parameterTypeIds
Symbolic Id |
Description |
ObjectAttributes |
Defines the Attributes for the Object NodeClass. |
VariableAttributes |
Defines the Attributes for the Variable NodeClass. |
MethodAttributes |
Defines the Attributes for the Method NodeClass. |
ObjectTypeAttributes |
Defines the Attributes for the ObjectType NodeClass. |
VariableTypeAttributes |
Defines the Attributes for the VariableType NodeClass. |
ReferenceTypeAttributes |
Defines the Attributes for the ReferenceType NodeClass. |
DataTypeAttributes |
Defines the Attributes for the DataType NodeClass. |
ViewAttributes |
Defines the Attributes for the View NodeClass. |
GenericAttributes |
Defines an id and value list for passing in any number of Attribute values. It should be used instead of the NodeClass specific structures since it allows the handling of additional Attributes defined in future specification versions. |
Table 149 defines the bit mask used in the NodeAttributes parameters to specify which Attributes are set by the Client.
Table 149 – Bit mask for specified Attributes
Field |
Bit |
Description |
AccessLevel |
0 |
Indicates if the AccessLevel Attribute is set. |
ArrayDimensions |
1 |
Indicates if the ArrayDimensions Attribute is set. |
Reserved |
2 |
Reserved to be consistent with WriteMask defined in OPC 10000-3. |
ContainsNoLoops |
3 |
Indicates if the ContainsNoLoops Attribute is set. |
DataType |
4 |
Indicates if the DataType Attribute is set. |
Description |
5 |
Indicates if the Description Attribute is set. |
DisplayName |
6 |
Indicates if the DisplayName Attribute is set. |
EventNotifier |
7 |
Indicates if the EventNotifier Attribute is set. |
Executable |
8 |
Indicates if the Executable Attribute is set. |
Historizing |
9 |
Indicates if the Historizing Attribute is set. |
InverseName |
10 |
Indicates if the InverseName Attribute is set. |
IsAbstract |
11 |
Indicates if the IsAbstract Attribute is set. |
MinimumSamplingInterval |
12 |
Indicates if the MinimumSamplingInterval Attribute is set. |
Reserved |
13 |
Reserved to be consistent with WriteMask defined in OPC 10000-3. |
Reserved |
14 |
Reserved to be consistent with WriteMask defined in OPC 10000-3. |
Symmetric |
15 |
Indicates if the Symmetric Attribute is set. |
UserAccessLevel |
16 |
Indicates if the UserAccessLevel Attribute is set. |
UserExecutable |
17 |
Indicates if the UserExecutable Attribute is set. |
UserWriteMask |
18 |
Indicates if the UserWriteMask Attribute is set. |
ValueRank |
19 |
Indicates if the ValueRank Attribute is set. |
WriteMask |
20 |
Indicates if the WriteMask Attribute is set. |
Value |
21 |
Indicates if the Value Attribute is set. |
Reserved |
22:32 |
Reserved for future use. Shall always be zero. |
Table 150 defines the ObjectAttributes parameter.
Name |
Type |
Description |
ObjectAttributes |
structure |
Defines the Attributes for the Object NodeClass. |
specifiedAttributes |
UInt32 |
A bit mask that indicates which fields contain valid values. A field shall be ignored if the corresponding bit is set to 0. The bit values are defined in Table 149. |
displayName |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
eventNotifier |
Byte |
See OPC 10000-3 for the description of this Attribute. |
Table 151 defines the VariableAttributes parameter.
Table 151 – VariableAttributes
Name |
Type |
Description |
VariableAttributes |
structure |
Defines the Attributes for the Variable NodeClass |
specifiedAttributes |
UInt32 |
A bit mask that indicates which fields contain valid values. A field shall be ignored if the corresponding bit is set to 0. The bit values are defined in Table 149. |
displayName |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
value |
BaseDataType |
See OPC 10000-3 for the description of this Attribute. |
dataType |
NodeId |
See OPC 10000-3 for the description of this Attribute. |
valueRank |
Int32 |
See OPC 10000-3 for the description of this Attribute. |
arrayDimensions |
UInt32 [] |
See OPC 10000-3 for the description of this Attribute. |
accessLevel |
Byte |
See OPC 10000-3 for the description of this Attribute. |
userAccessLevel |
Byte |
See OPC 10000-3 for the description of this Attribute. |
minimumSamplingInterval |
Duration |
See OPC 10000-3 for the description of this Attribute. |
historizing |
Boolean |
See OPC 10000-3 for the description of this Attribute. |
Table 152 defines the MethodAttributes parameter.
Name |
Type |
Description |
MethodAttributes |
structure |
Defines the Attributes for the Method NodeClass |
specifiedAttributes |
UInt32 |
A bit mask that indicates which fields contain valid values. A field shall be ignored if the corresponding bit is set to 0. The bit values are defined in Table 149. |
displayName |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
executable |
Boolean |
See OPC 10000-3 for the description of this Attribute. |
userExecutable |
Boolean |
See OPC 10000-3 for the description of this Attribute. |
Table 153 defines the ObjectTypeAttributes parameter.
Table 153 – ObjectTypeAttributes
Name |
Type |
Description |
ObjectTypeAttributes |
structure |
Defines the Attributes for the ObjectType NodeClass. |
specifiedAttributes |
UInt32 |
A bit mask that indicates which fields contain valid values. A field shall be ignored if the corresponding bit is set to 0. The bit values are defined in Table 149. |
displayName |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
isAbstract |
Boolean |
See OPC 10000-3 for the description of this Attribute. |
Table 154 defines the VariableTypeAttributes parameter.
Table 154 – VariableTypeAttributes
Name |
Type |
Description |
VariableTypeAttributes |
structure |
Defines the Attributes for the VariableType NodeClass |
specifiedAttributes |
UInt32 |
A bit mask that indicates which fields contain valid values. A field shall be ignored if the corresponding bit is set to 0. The bit values are defined in Table 149. |
displayName |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
value |
BaseDataType |
See OPC 10000-3 for the description of this Attribute. |
dataType |
NodeId |
See OPC 10000-3 for the description of this Attribute. |
valueRank |
Int32 |
See OPC 10000-3 for the description of this Attribute. |
arrayDimensions |
UInt32 [] |
See OPC 10000-3 for the description of this Attribute. |
isAbstract |
Boolean |
See OPC 10000-3 for the description of this Attribute. |
Table 155 defines the ReferenceTypeAttributes parameter.
Table 155 – ReferenceTypeAttributes
Name |
Type |
Description |
ReferenceTypeAttributes |
structure |
Defines the Attributes for the ReferenceType NodeClass. |
specifiedAttributes |
UInt32 |
A bit mask that indicates which fields contain valid values. A field shall be ignored if the corresponding bit is set to 0. The bit values are defined in Table 149. |
displayName |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
isAbstract |
Boolean |
See OPC 10000-3 for the description of this Attribute. |
symmetric |
Boolean |
See OPC 10000-3 for the description of this Attribute. |
inverseName |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
Table 156 defines the DataTypeAttributes parameter.
Table 156 – DataTypeAttributes
Name |
Type |
Description |
DataTypeAttributes |
structure |
Defines the Attributes for the DataType NodeClass. |
specifiedAttributes |
UInt32 |
A bit mask that indicates which fields contain valid values. A field shall be ignored if the corresponding bit is set to 0. The bit values are defined in Table 149. |
displayName |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
isAbstract |
Boolean |
See OPC 10000-3 for the description of this Attribute. |
Table 157 defines the ViewAttributes parameter.
Name |
Type |
Description |
ViewAttributes |
structure |
Defines the Attributes for the View NodeClass. |
specifiedAttributes |
UInt32 |
A bit mask that indicates which fields contain valid values. A field shall be ignored if the corresponding bit is set to 0. The bit values are defined in Table 149. |
displayName |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
containsNoLoops |
Boolean |
See OPC 10000-3 for the description of this Attribute. |
eventNotifier |
Byte |
See OPC 10000-3 for the description of this Attribute. |
This structure should be used instead of the NodeClass specific structures defined in the other sub sections of 7.19 since it allows the handling of additional Attributes defined in future specification versions.
Table 158 defines the GenericAttributes parameter.
Name |
Type |
Description |
GenericAttributes |
structure |
Defines a generic structure for passing in any number of Attributes. |
specifiedAttributes |
UInt32 |
A bit mask that indicates which fields contain valid values. A field shall be ignored if the corresponding bit is set to 0. The bit values are defined in Table 149. |
displayName |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3 for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3 for the description of this Attribute. |
attributeValues |
GenericAttributeValue [] |
Defines one attributeId and value combination. |
attributeId |
IntegerId |
Id of the Attribute specified. |
value |
BaseDataType |
Value of the Attribute specified. |