7.24 NodeAttributes parameters

7.24.1 Overview

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 149. The ExtensibleParameter type is defined in 7.17.

Table 149 – NodeAttributes parameterTypeIds
Symbolic IdDescription
ObjectAttributesDefines the Attributes for the Object NodeClass.
VariableAttributesDefines the Attributes for the Variable NodeClass.
MethodAttributesDefines the Attributes for the Method NodeClass.
ObjectTypeAttributesDefines the Attributes for the ObjectType NodeClass.
VariableTypeAttributesDefines the Attributes for the VariableType NodeClass.
ReferenceTypeAttributesDefines the Attributes for the ReferenceType NodeClass.
DataTypeAttributesDefines the Attributes for the DataType NodeClass.
ViewAttributesDefines the Attributes for the View NodeClass.
GenericAttributesDefines 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 150 defines the bit mask used in the NodeAttributes parameters to specify which Attributes are set by the Client.

Table 150 – Bit mask for specified Attributes
FieldBitDescription
AccessLevel0Indicates if the AccessLevel Attribute is set.
ArrayDimensions1Indicates if the ArrayDimensions Attribute is set.
Reserved2Reserved to be consistent with WriteMask defined in OPC 10000-3.
ContainsNoLoops3Indicates if the ContainsNoLoops Attribute is set.
DataType4Indicates if the DataType Attribute is set.
Description5Indicates if the Description Attribute is set.
DisplayName6Indicates if the DisplayName Attribute is set.
EventNotifier7Indicates if the EventNotifier Attribute is set.
Executable8Indicates if the Executable Attribute is set.
Historizing9Indicates if the Historizing Attribute is set.
InverseName10Indicates if the InverseName Attribute is set.
IsAbstract11Indicates if the IsAbstract Attribute is set.
MinimumSamplingInterval12Indicates if the MinimumSamplingInterval Attribute is set.
Reserved13Reserved to be consistent with WriteMask defined in OPC 10000-3.
Reserved14Reserved to be consistent with WriteMask defined in OPC 10000-3.
Symmetric15Indicates if the Symmetric Attribute is set.
UserAccessLevel16Indicates if the UserAccessLevel Attribute is set.
UserExecutable17Indicates if the UserExecutable Attribute is set.
UserWriteMask18Indicates if the UserWriteMask Attribute is set.
ValueRank19Indicates if the ValueRank Attribute is set.
WriteMask20Indicates if the WriteMask Attribute is set.
Value21Indicates if the Value Attribute is set.
Reserved22:32Reserved for future use. Shall always be zero.

7.24.2 ObjectAttributes parameter

Table 151 defines the ObjectAttributes parameter.

Table 151 – ObjectAttributes
NameTypeDescription
ObjectAttributesstructureDefines 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 150.

displayName

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

description

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

writeMask

UInt32See OPC 10000-3 for the description of this Attribute.

userWriteMask

UInt32See OPC 10000-3 for the description of this Attribute.

eventNotifier

ByteSee OPC 10000-3 for the description of this Attribute.

7.24.3 VariableAttributes parameter

Table 152 defines the VariableAttributes parameter.

Table 152 – VariableAttributes
NameTypeDescription
VariableAttributesstructureDefines 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 150.

displayName

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

description

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

writeMask

UInt32See OPC 10000-3 for the description of this Attribute.

userWriteMask

UInt32See OPC 10000-3 for the description of this Attribute.

value

BaseDataTypeSee OPC 10000-3 for the description of this Attribute.

dataType

NodeIdSee OPC 10000-3 for the description of this Attribute.

valueRank

Int32See OPC 10000-3 for the description of this Attribute.

arrayDimensions

UInt32 []See OPC 10000-3 for the description of this Attribute.

accessLevel

ByteSee OPC 10000-3 for the description of this Attribute.

userAccessLevel

ByteSee OPC 10000-3 for the description of this Attribute.

minimumSamplingInterval

DurationSee OPC 10000-3 for the description of this Attribute.

historizing

BooleanSee OPC 10000-3 for the description of this Attribute.

7.24.4 MethodAttributes parameter

Table 153 defines the MethodAttributes parameter.

Table 153 – MethodAttributes
NameTypeDescription
MethodAttributesstructureDefines 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 150.

displayName

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

description

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

writeMask

UInt32See OPC 10000-3 for the description of this Attribute.

userWriteMask

UInt32See OPC 10000-3 for the description of this Attribute.

executable

BooleanSee OPC 10000-3 for the description of this Attribute.

userExecutable

BooleanSee OPC 10000-3 for the description of this Attribute.

7.24.5 ObjectTypeAttributes parameter

Table 154 defines the ObjectTypeAttributes parameter.

Table 154 – ObjectTypeAttributes
NameTypeDescription
ObjectTypeAttributesstructureDefines 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 150.

displayName

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

description

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

writeMask

UInt32See OPC 10000-3 for the description of this Attribute.

userWriteMask

UInt32See OPC 10000-3 for the description of this Attribute.

isAbstract

BooleanSee OPC 10000-3 for the description of this Attribute.

7.24.6 VariableTypeAttributes parameter

Table 155 defines the VariableTypeAttributes parameter.

Table 155 – VariableTypeAttributes
NameTypeDescription
VariableTypeAttributesstructureDefines 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 150.

displayName

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

description

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

writeMask

UInt32See OPC 10000-3 for the description of this Attribute.

userWriteMask

UInt32See OPC 10000-3 for the description of this Attribute.

value

BaseDataTypeSee OPC 10000-3 for the description of this Attribute.

dataType

NodeIdSee OPC 10000-3 for the description of this Attribute.

valueRank

Int32See OPC 10000-3 for the description of this Attribute.

arrayDimensions

UInt32 []See OPC 10000-3 for the description of this Attribute.

isAbstract

BooleanSee OPC 10000-3 for the description of this Attribute.

7.24.7 ReferenceTypeAttributes parameter

Table 156 defines the ReferenceTypeAttributes parameter.

Table 156 – ReferenceTypeAttributes
NameTypeDescription
ReferenceTypeAttributesstructureDefines 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 150.

displayName

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

description

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

writeMask

UInt32See OPC 10000-3 for the description of this Attribute.

userWriteMask

UInt32See OPC 10000-3 for the description of this Attribute.

isAbstract

BooleanSee OPC 10000-3 for the description of this Attribute.

symmetric

BooleanSee OPC 10000-3 for the description of this Attribute.

inverseName

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

7.24.8 DataTypeAttributes parameter

Table 157 defines the DataTypeAttributes parameter.

Table 157 – DataTypeAttributes
NameTypeDescription
DataTypeAttributesstructureDefines 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 150.

displayName

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

description

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

writeMask

UInt32See OPC 10000-3 for the description of this Attribute.

userWriteMask

UInt32See OPC 10000-3 for the description of this Attribute.

isAbstract

BooleanSee OPC 10000-3 for the description of this Attribute.

7.24.9 ViewAttributes parameter

Table 158 defines the ViewAttributes parameter.

Table 158 – ViewAttributes
NameTypeDescription
ViewAttributesstructureDefines 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 150.

displayName

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

description

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

writeMask

UInt32See OPC 10000-3 for the description of this Attribute.

userWriteMask

UInt32See OPC 10000-3 for the description of this Attribute.

containsNoLoops

BooleanSee OPC 10000-3 for the description of this Attribute.

eventNotifier

ByteSee OPC 10000-3 for the description of this Attribute.

7.24.10 GenericAttributes parameter

This structure should be used instead of the NodeClass specific structures defined in the other sub sections of 7.24 since it allows the handling of additional Attributes defined in future specification versions.

Table 159 defines the GenericAttributes parameter.

Table 159 – GenericAttributes
NameTypeDescription
GenericAttributesstructureDefines 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 150.

displayName

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

description

LocalizedTextSee OPC 10000-3 for the description of this Attribute.

writeMask

UInt32See OPC 10000-3 for the description of this Attribute.

userWriteMask

UInt32See OPC 10000-3 for the description of this Attribute.

attributeValues

GenericAttributeValue []Defines one attributeId and value combination.

attributeId

IntegerIdId of the Attribute specified. AttributeIds shall be unique in the list and shall not repeat the common Attributes in the structure.

value

BaseDataTypeValue of the Attribute specified.