The AddNodes Serviceallows specifying the Attributesfor the Nodesto add. The NodeAttributesis an extensible parameter whose structure depends on the type of the NodeClassbeing added. It identifies the NodeClassthat defines the structure of the Attributesthat follow. The parameterTypeIdsare defined in Table 153. The ExtensibleParametertype is defined in 7.17.
Table 153– NodeAttributes parameterTypeIds
Symbolic Id |
Description |
ObjectAttributes |
Defines the Attributesfor the Object NodeClass. |
VariableAttributes |
Defines the Attributesfor the Variable NodeClass. |
MethodAttributes |
Defines the Attributesfor the Method NodeClass. |
ObjectTypeAttributes |
Defines the Attributesfor the ObjectType NodeClass. |
VariableTypeAttributes |
Defines the Attributesfor the VariableType NodeClass. |
ReferenceTypeAttributes |
Defines the Attributesfor the ReferenceType NodeClass. |
DataTypeAttributes |
Defines the Attributesfor the DataType NodeClass. |
ViewAttributes |
Defines the Attributesfor the View NodeClass. |
GenericAttributes |
Defines an id and value list for passing in any number of Attributevalues. It should be used instead of the NodeClassspecific structures since it allows the handling of additional Attributesdefined in future specification versions. |
Table 154defines the bit mask used in the NodeAttributesparameters to specify which Attributesare set by the Client.
Table 154– 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 155defines the ObjectAttributesparameter.
Name |
Type |
Description |
ObjectAttributes |
structure |
Defines the Attributesfor 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 154. |
displayName |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
eventNotifier |
Byte |
See OPC 10000-3for the description of this Attribute. |
Table 156defines the VariableAttributesparameter.
Name |
Type |
Description |
VariableAttributes |
structure |
Defines the Attributesfor 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 154. |
displayName |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
value |
BaseDataType |
See OPC 10000-3for the description of this Attribute. |
dataType |
NodeId |
See OPC 10000-3for the description of this Attribute. |
valueRank |
Int32 |
See OPC 10000-3for the description of this Attribute. |
arrayDimensions |
UInt32 [] |
See OPC 10000-3for the description of this Attribute. |
accessLevel |
Byte |
See OPC 10000-3for the description of this Attribute. |
userAccessLevel |
Byte |
See OPC 10000-3for the description of this Attribute. |
minimumSamplingInterval |
Duration |
See OPC 10000-3for the description of this Attribute. |
historizing |
Boolean |
See OPC 10000-3for the description of this Attribute. |
Table 157defines the MethodAttributesparameter.
Name |
Type |
Description |
MethodAttributes |
structure |
Defines the Attributesfor 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 154. |
displayName |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
executable |
Boolean |
See OPC 10000-3for the description of this Attribute. |
userExecutable |
Boolean |
See OPC 10000-3for the description of this Attribute. |
Table 158defines the ObjectTypeAttributesparameter.
Table 158– ObjectTypeAttributes
Name |
Type |
Description |
ObjectTypeAttributes |
structure |
Defines the Attributesfor 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 154. |
displayName |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
isAbstract |
Boolean |
See OPC 10000-3for the description of this Attribute. |
Table 159defines the VariableTypeAttributesparameter.
Table 159– VariableTypeAttributes
Name |
Type |
Description |
VariableTypeAttributes |
structure |
Defines the Attributesfor 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 154. |
displayName |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
value |
BaseDataType |
See OPC 10000-3for the description of this Attribute. |
dataType |
NodeId |
See OPC 10000-3for the description of this Attribute. |
valueRank |
Int32 |
See OPC 10000-3for the description of this Attribute. |
arrayDimensions |
UInt32 [] |
See OPC 10000-3for the description of this Attribute. |
isAbstract |
Boolean |
See OPC 10000-3for the description of this Attribute. |
Table 160defines the ReferenceTypeAttributesparameter.
Table 160– ReferenceTypeAttributes
Name |
Type |
Description |
ReferenceTypeAttributes |
structure |
Defines the Attributesfor 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 154. |
displayName |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
isAbstract |
Boolean |
See OPC 10000-3for the description of this Attribute. |
symmetric |
Boolean |
See OPC 10000-3for the description of this Attribute. |
inverseName |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
Table 161defines the DataTypeAttributesparameter.
Name |
Type |
Description |
DataTypeAttributes |
structure |
Defines the Attributesfor 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 154. |
displayName |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
isAbstract |
Boolean |
See OPC 10000-3for the description of this Attribute. |
Table 162defines the ViewAttributesparameter.
Name |
Type |
Description |
ViewAttributes |
structure |
Defines the Attributesfor 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 154. |
displayName |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
containsNoLoops |
Boolean |
See OPC 10000-3for the description of this Attribute. |
eventNotifier |
Byte |
See OPC 10000-3for the description of this Attribute. |
This structure should be used instead of the NodeClassspecific structures defined in the other sub sections of 7.24since it allows the handling of additional Attributesdefined in future specification versions.
Table 163defines the GenericAttributesparameter.
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 154. |
displayName |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
description |
LocalizedText |
See OPC 10000-3for the description of this Attribute. |
writeMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
userWriteMask |
UInt32 |
See OPC 10000-3for the description of this Attribute. |
attributeValues |
GenericAttributeValue [] |
Defines one attributeIdand valuecombination. |
attributeId |
IntegerId |
Id of the Attributespecified. AttributeIdsshall be unique in the list and shall not repeat the common Attributesin the structure. |
value |
BaseDataType |
Value of the Attributespecified. |