6.2.12.1 PubSubConfigurationDataType

This Structure DataType is used to represent the PubSub configuration of an OPC UA Application. The PubSubConfigurationDataType is formally defined in Table 86.

Table 86 – PubSubConfigurationDataType structure
Name Type Description
PubSubConfigurationDataTypeStructure

PublishedDataSets

PublishedDataSetDataType[]The PublishedDataSets contained in the configuration. The PublishedDataSetDataType is defined in 6.2.3.5.

Connections

PubSubConnectionDataType[]

The PubSubConnections contained in the configuration. The PubSubConnectionDataType is defined in 6.2.7.

The connection includes WriterGroups and ReaderGroups.

Enabled

BooleanThe enabled state of the PubSub configuration. This Enable state corresponds to the PubSub Status of the PublishSubscribe Object.

Its representation in the AddressSpace is defined in Table 87.

Table 87 – PubSubConfigurationDataType definition
Attributes Value
BrowseNamePubSubConfigurationDataType
IsAbstractFalse
Subtype of Structure defined in OPC 10000-5.
Conformance Units
PubSub Parameters Configuration

If the PubSub configuration is stored in a file, the UABinaryFileDataType and the related definitions in OPC 10000-5 shall be used to encode the file content. The structure of the UABinaryFileDataType file with typical values for a PubSub configuration is described in Table 88.

Table 88 – PubSubConfiguration file content
Field Type Typical Values
NamespacesString[]

Namespace URIs for namespace indices used in the body. Examples are NodeIds contained in PublishedDataSets.

The OPC UA namespace is skipped.

The DataTypes used for configuration are defined in the OPC UA namespace.

structureDataTypesStructureDescription[]

Null or empty

DataTypes used for configuration are defined by OPC UA.

The DataTypes used in DataSetMetaData are described in the DataTypeSchemaHeader of the associated DataSetMetaData.

This field is only used if KeyValuePairs for configuration properties contain Structure DataTypes not defined by OPC UA.

enumDataTypesEnumDescription[]

Null or empty

DataTypes used for configuration are defined by OPC UA.

The DataTypes used in DataSetMetaData are described in the DataTypeSchemaHeader of the associated DataSetMetaData.

This field is only used if KeyValuePairs for configuration properties contain Structure DataTypes not defined by OPC UA.

simpleDataTypesSimpleTypeDescription[]

Null or empty

DataTypes used for configuration are defined by OPC UA.

The DataTypes used in DataSetMetaData are described in the DataTypeSchemaHeader of the associated DataSetMetaData.

This field is only used if KeyValuePairs for configuration properties contain Structure DataTypes not defined by OPC UA.

schemaLocationStringNull or empty
fileHeaderKeyValuePair[]Null or empty
BodyBaseDataType

PubSubConfigurationDataType Structure

The PubSub configuration represented by the PubSubConfigurationDataType.