9.1.9.4 Subscribed DataSet Folder
9.1.9.4.1 SubscribedDataSetFolderType

The SubscribedDataSetFolderType is formally defined in Table 301.

Table 301 – SubscribedDataSetFolderType definition
Attribute Value
BrowseNameSubscribedDataSetFolderType
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of FolderType defined in OPC 10000-5.
OrganizesObject<SubscribedDataSetFolderName>SubscribedDataSetFolderTypeOptionalPlaceholder
HasComponentObject<StandaloneSubscribedDataSetName>StandaloneSubscribedDataSetTypeOptionalPlaceholder
HasComponentMethodAddSubscribedDataSetDefined in 9.1.9.4.2Optional
HasComponentMethodRemoveSubscribedDataSetDefined in 9.1.9.4.3Optional
HasComponentMethodAddDataSetFolderDefined in 9.1.9.4.4.Optional
HasComponentMethodRemoveDataSetFolderDefined in 9.1.9.4.5.Optional
Conformance Units
PubSub Model SubscribedDataSet Standalone

The SubscribedDataSetFolderType ObjectType is a concrete type and can be used directly.

Instances of the SubscribedDataSetFolderType can contain StandaloneSubscribedDataSets or other instances of the SubscribedDataSetFolderType. This can be used to build a tree of Folder Objects used to group the configured StandaloneSubscribedDataSets.

The StandaloneSubscribedDataSetType Objects are added as components to the instance of the SubscribedDataSetFolderType. An instance of a StandaloneSubscribedDataSetType is referenced only from one SubscribedDataSetFolder. If the SubscribedDataSetFolder is deleted, all referenced StandaloneSubscribedDataSetType Objects are deleted with the folder.

StandaloneSubscribedDataSetType Objects may be configured with product-specific configuration tools or added and removed through the Methods AddSubscribedDataSet and RemoveSubscribedDataSet.

9.1.9.4.2 AddSubscribedDataSet Method

This Method is used to add a new standalone subscribed DataSet Object to an instance of the DataSet Folder.

The Client shall be authorized to modify the configuration for the PubSub functionality when invoking this Method on the Server.

Signature

	AddSubscribedDataSet (
		[in]	StandaloneSubscribedDataSetDataType SubscribedDataSet,
		[out]	NodeId				SubscribedDataSetNodeId
		);
	
Argument Description
SubscribedDataSetThe standalone subscribed DataSet to add.
SubscribedDataSetNodeIdThe NodeId of the new standalone subscribed DataSet Object.

Method Result Codes

ResultCode Description
Bad_InvalidArgumentThe Server is not able to apply the name. The name may be too long or may contain invalid characters.
Bad_BrowseNameDuplicatedAn Object with the name already exists in the folder.
Bad_ResourceUnavailableThe Server does not have enough resources to add the subscribed DataSet.
Bad_UserAccessDeniedThe Session user does not have rights to create the subscribed DataSet.

Table 302 specifies the AddressSpace representation for the AddSubscribedDataSet Method.

Table 302 – AddSubscribedDataSet Method AddressSpace definition
Attribute Value
BrowseNameAddSubscribedDataSet
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[] PropertyTypeMandatory
HasPropertyVariableOutputArgumentsArgument[] PropertyTypeMandatory
ConformanceUnits
PubSub Model SubscribedDataSet Standalone
9.1.9.4.3 RemoveSubscribedDataSet Method

This Method is used to remove a standalone subscribed DataSet Object from a subscribed DataSet Folder. If a DataSetReader is connected, the DataSetReader is removed too.

The Client shall be authorized to modify the configuration for the PubSub functionality when invoking this Method on the Server.

Signature

	RemoveSubscribedDataSet (
		[in]	NodeId	SubscribedDataSetNodeId
		);
	
Argument Description
SubscribedDataSetNodeId NodeId of the standalone subscribed DataSet to remove from the folder.

Method Result Codes

ResultCode Description
Bad_NodeIdUnknownThe SubscribedDataSetNodeId is unknown.
Bad_NodeIdInvalidThe SubscribedDataSetNodeId is not a NodeId of a standalone subscribed DataSet.
Bad_UserAccessDeniedThe Session user does not have rights to delete the Object.

Table 303 specifies the AddressSpace representation for the RemoveSubscribedDataSet Method.

Table 303 – RemoveSubscribedDataSet Method AddressSpace definition
Attribute Value
BrowseNameRemoveSubscribedDataSet
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[] PropertyTypeMandatory
ConformanceUnits
PubSub Model SubscribedDataSet Standalone
9.1.9.4.4 AddDataSetFolder Method

This Method is used to add a SubscribedDataSetFolderType Object to a SubscribedDataSetFolderType Object.

The Client shall be authorized to modify the configuration for the PubSub functionality when invoking this Method on the Server.

Signature

	AddDataSetFolder (
		[in]	String	Name,
		[out]	NodeId	DataSetFolderNodeId
		);
	
Argument Description
NameName of the Object to create.
DataSetFolderNodeId NodeId of the created SubscribedDataSetFolderType Object.

Method Result Codes

ResultCode Description
Bad_BrowseNameDuplicatedA folder Object with the name already exists.
Bad_InvalidArgumentThe Server is not able to apply the Name. The Name may be too long or may contain invalid characters.
Bad_UserAccessDeniedThe Session user is not allowed to add a folder.

Table 304 specifies the AddressSpace representation for the AddDataSetFolder Method.

Table 304 – AddDataSetFolder Method AddressSpace definition
Attribute Value
BrowseNameAddDataSetFolder
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[] PropertyTypeMandatory
HasPropertyVariableOutputArgumentsArgument[] PropertyTypeMandatory
ConformanceUnits
PubSub Model SubscribedDataSet Standalone
9.1.9.4.5 RemoveDataSetFolder Method

This Method is used to remove a SubscribedDataSetFolderType Object from the parent SubscribedDataSetFolderType Object.

A successful removal of the SubscribedDataSetFolderType Object removes all associated StandaloneSubscribedDataSetType Objects and their associated DataSetReader Objects. Before the Objects are removed, their state is changed to Disabled.

The Client shall be authorized to modify the configuration for the PubSub functionality when invoking this Method on the Server.

Signature

	RemoveDataSetFolder (
		[in]	NodeId	DataSetFolderNodeId
		);
	
Argument Description
DataSetFolderNodeId NodeId of the SubscribedDataSetFolderType Object to remove from the Server.

Method Result Codes

ResultCode Description
Bad_NodeIdUnknownThe DataSetFolderNodeId is unknown.
Bad_UserAccessDeniedThe Session user is not allowed to delete the folder.

Table 305 specifies the AddressSpace representation for the RemoveDataSetFolder Method.

Table 305 – RemoveDataSetFolder Method AddressSpace definition
Attribute Value
BrowseNameRemoveDataSetFolder
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[] PropertyTypeMandatory
ConformanceUnits
PubSub Model SubscribedDataSet Standalone