Configuration components
Figure from OPC Foundation - Part 14
The PublishSubscribe component can contain several PubSubConnections, on which any number of publishers and subscribers can be configured.
A Publisher includes the components WriterGroup, DataSetWriter and PublishedDataSet.
PublishedDataSet contain the metadata (DataSetMetaData) that define the content and data retrieval for a DataSet.
DataSetWriter are grouped into WriterGroups and the DataSetMessages of the DataSetWriters in a WriterGroup are written together into a NetworkMessage.
Groups are used to set common parameters, such as parameters for creating DataSet messages that are identical within a NetworkMessage.
A DataSetMessage in turn contains header information and the encoded data for a DataSet.
A Subscriber analogously comprises the components ReaderGroup, DataSetReader and SubscribedDataSet.
DataSetReader define filters to pick out from received messages those that are of importance to the subscriber.