OPC Unified Architecture - Part 14: PubSub

This part of IEC 62541 defines the OPC Unified Architecture (OPC UA) PubSub
communication model. It defines an OPC UA publish subscribe pattern which complements
the client server pattern defined by the Services in IEC 62541-4. IEC TR 62541-1 gives an
overview of the two models and their distinct uses.
PubSub allows the distribution of data and events from an OPC UA information source to
interested observers inside a device network as well as in IT and analytics cloud systems.
This document consists of
• a general introduction of the PubSub concepts,
• a definition of the PubSub configuration parameters,
• mapping of PubSub concepts and configuration parameters to messages and transport
protocols, and
• a PubSub configuration model.
Not all OPC UA Applications will need to implement all defined message and transport
protocol mappings. IEC 62541-7 defines the Profile that dictates which mappings need to be
implemented in order to be compliant with a particular Profile.

OPC Unified Architecture - Teil 14: Festlegungen zur Umsetzung des Publisher-Subscriber-Models

Architecture unifiée OPC - Partie 14: PubSub

IEC 62541-14:2020 définit le modèle de communication PubSub de l'architecture unifiée OPC (OPC UA). Elle définit un modèle publication/abonnement OPC UA qui vient compléter le modèle client/serveur défini par les Services dans l'IEC 62541-4.
Une présentation des deux modèles et de leurs utilisations est donnée dans l'IEC TR 62541-1.
PubSub permet de distribuer des données et des événements provenant d'une source d'informations OPC UA aux observateurs d'intérêt à l'intérieur d'un réseau de dispositifs ainsi que dans les systèmes Cloud informatiques et d'analyse.
Le présent document se compose:
• d'une présentation générale des concepts PubSub;
• d'une définition des paramètres de configuration PubSub;
• d'un mapping des concepts et des paramètres de configuration PubSub avec les messages et les protocoles de transport; et
• d'un modèle de configuration PubSub.
Il n'est pas nécessaire que l'ensemble des Applications OPC UA mettent en œuvre tous les mappings avec les messages et les protocoles de transport. L'IEC 62541-7 définit le Profil qui dicte les mappings qu'il est nécessaire de mettre en œuvre afin d'être conforme à un Profil particulier.

Enotna arhitektura OPC - 14. del: Objava

General Information

Status
Published
Public Enquiry End Date
11-Nov-2018
Publication Date
09-Nov-2020
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
09-Sep-2020
Due Date
14-Nov-2020
Completion Date
10-Nov-2020

Buy Standard

Standard
EN IEC 62541-14:2020 - BARVE
English language
192 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day
Draft
prEN IEC 62541-14:2018 - BARVE
English language
165 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

SLOVENSKI STANDARD
SIST EN IEC 62541-14:2020
01-december-2020
Enotna arhitektura OPC - 14. del: Objava
OPC Unified Architecture - Part 14: PubSub
OPC Unified Architecture - Teil 14: Festlegungen zur Umsetzung des Publisher-
Subscriber-Models
Architecture unifiée OPC - Partie 14: PubSub
Ta slovenski standard je istoveten z: EN IEC 62541-14:2020
ICS:
25.040.40 Merjenje in krmiljenje Industrial process
industrijskih postopkov measurement and control
35.240.50 Uporabniške rešitve IT v IT applications in industry
industriji
SIST EN IEC 62541-14:2020 en,fr,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
SIST EN IEC 62541-14:2020

---------------------- Page: 2 ----------------------
SIST EN IEC 62541-14:2020


EUROPEAN STANDARD EN IEC 62541-14

NORME EUROPÉENNE

EUROPÄISCHE NORM
September 2020
ICS 25.040.40; 35.100.05

English Version
OPC unified architecture - Part 14: PubSub
(IEC 62541-14:2020)
Architecture unifiée OPC - Partie 14: PubSub OPC Unified Architecture - Teil 14: Festlegungen zur
(IEC 62541-14:2020) Umsetzung des Publisher-Subscriber-Models
(IEC 62541-14:2020)
This European Standard was approved by CENELEC on 2020-08-12. CENELEC members are bound to comply with the CEN/CENELEC
Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration.
Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC
Management Centre or to any CENELEC member.
This European Standard exists in three official versions (English, French, German). A version in any other language made by translation
under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the
same status as the official versions.
CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic,
Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the
Netherlands, Norway, Poland, Portugal, Republic of North Macedonia, Romania, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland,
Turkey and the United Kingdom.


European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung
CEN-CENELEC Management Centre: Rue de la Science 23, B-1040 Brussels
© 2020 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
 Ref. No. EN IEC 62541-14:2020 E

---------------------- Page: 3 ----------------------
SIST EN IEC 62541-14:2020
EN IEC 62541-14:2020 (E)
European foreword
The text of document 65E/720/FDIS, future edition 1 of IEC 62541-14, prepared by SC 65E "Devices
and integration in enterprise systems" of IEC/TC 65 "Industrial-process measurement, control and
automation" was submitted to the IEC-CENELEC parallel vote and approved by CENELEC as
EN IEC 62541-14:2020.
The following dates are fixed:
• latest date by which the document has to be implemented at national (dop) 2021-05-12
level by publication of an identical national standard or by endorsement
• latest date by which the national standards conflicting with the (dow) 2023-08-12
document have to be withdrawn
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. CENELEC shall not be held responsible for identifying any or all such patent rights.

Endorsement notice
The text of the International Standard IEC 62541-14:2020 was approved by CENELEC as a European
Standard without any modification.


2

---------------------- Page: 4 ----------------------
SIST EN IEC 62541-14:2020
EN IEC 62541-14:2020 (E)
Annex ZA
(normative)

Normative references to international publications
with their corresponding European publications
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any amendments)
applies.
NOTE 1  Where an International Publication has been modified by common modifications, indicated by (mod), the relevant
EN/HD applies.
NOTE 2  Up-to-date information on the latest versions of the European Standards listed in this annex is available here:
www.cenelec.eu.
Publication Year Title EN/HD Year
IEC/TR 62541-1 - OPC unified architecture - Part 1: CLC/TR 62541-1 -
Overview and concepts
IEC/TR 62541-2 - OPC unified architecture - Part 2: CLC/TR 62541-2 -
Security model
IEC 62541-3 - OPC Unified Architecture - Part 3: - -
Address Space Model
IEC 62541-4 - OPC Unified Architecture - Part 4: - -
Services
IEC 62541-5 - OPC Unified Architecture - Part 5: - -
Information Model
IEC 62541-6 - OPC Unified Architecture - Part 6: - -
Mappings
IEC 62541-7 - OPC unified architecture - Part 7: EN IEC 62541-7 -
Profiles
IEC 62541-8 - OPC Unified Architecture - Part 8: EN IEC 62541-8 -
Data Access
IEC 62541-12 - OPC unified architecture - Part 12: EN IEC 62541-12 -
Discovery and global services
ISO/IEC 19464 2014 Information technology - Advanced - -
Message Queuing Protocol (AMQP)
v1.0 specification
ISO/IEC 20922 2016 Information technology - Message - -
Queuing Telemetry Transport (MQTT)
v3.1.1
IETF RFC 7159 - The JavaScript Object Notation - -
(JSON) Data Interchange Format

3

---------------------- Page: 5 ----------------------
SIST EN IEC 62541-14:2020

---------------------- Page: 6 ----------------------
SIST EN IEC 62541-14:2020




IEC 62541-14

®


Edition 1.0 2020-07




INTERNATIONAL



STANDARD




NORME


INTERNATIONALE
colour

inside










OPC unified architecture –

Part 14: PubSub



Architecture unifiée OPC –

Partie 14: PubSub
















INTERNATIONAL

ELECTROTECHNICAL

COMMISSION


COMMISSION

ELECTROTECHNIQUE


INTERNATIONALE




ICS 25.040.40; 35.100.05 ISBN 978-2-8322-8577-0




Warning! Make sure that you obtained this publication from an authorized distributor.

Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.

® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale

---------------------- Page: 7 ----------------------
SIST EN IEC 62541-14:2020
– 2 – IEC 62541-14:2020 © IEC 2020
CONTENTS
FOREWORD . 10
1 Scope . 12
2 Normative references . 12
3 Terms, definitions and abbreviated terms . 13
3.1 Terms and definitions . 13
3.2 Abbreviated terms . 14
4 Overview . 14
4.1 Fields of application . 14
4.2 Abstraction layers . 15
4.3 Decoupling by use of middleware . 15
4.4 Synergy of models . 16
5 PubSub Concepts . 16
5.1 General . 16
5.2 DataSet . 17
5.2.1 General . 17
5.2.2 DataSetClass . 18
5.2.3 DataSetMetaData . 18
5.3 Messages . 19
5.3.1 General . 19
5.3.2 DataSetMessage field . 20
5.3.3 DataSetMessage . 20
5.3.4 NetworkMessage . 21
5.3.5 Message security . 21
5.3.6 Transport security . 22
5.3.7 SecurityGroup . 22
5.4 Entities . 22
5.4.1 Publisher . 22
5.4.2 Subscriber . 25
5.4.3 Security Key Service . 26
5.4.4 Message Oriented Middleware . 29
6 PubSub communication parameters . 33
6.1 Overview. 33
6.2 Common Configuration Parameters. 34
6.2.1 PubSubState State Machine . 34
6.2.2 PublishedDataSet parameters . 36
6.2.3 DataSetWriter Parameters . 44
6.2.4 Shared PubSubGroup Parameters . 48
6.2.5 WriterGroup parameters . 50
6.2.6 PubSubConnection Parameters . 52
6.2.7 ReaderGroup parameters . 55
6.2.8 DataSetReader Parameters . 56
6.2.9 SubscribedDataSet Parameters . 60
6.2.10 Information flow and status handling . 63
6.2.11 PubSubConfigurationDataType . 65
6.3 Message mapping configuration parameters . 66
6.3.1 UADP message mapping . 66

---------------------- Page: 8 ----------------------
SIST EN IEC 62541-14:2020
IEC 62541-14:2020 © IEC 2020 – 3 –
6.3.2 JSON message mapping . 74
6.4 Transport Protocol mapping configuration parameters . 77
6.4.1 Datagram Transport Protocol . 77
6.4.2 Broker Transport Protocol . 78
7 PubSub mappings . 83
7.1 General . 83
7.2 Message mappings . 83
7.2.1 General . 83
7.2.2 UADP message mapping . 83
7.2.3 JSON message mapping . 99
7.3 Transport Protocol Mappings . 102
7.3.1 General . 102
7.3.2 OPC UA UDP . 102
7.3.3 OPC UA Ethernet . 103
7.3.4 AMQP . 104
7.3.5 MQTT . 109
8 PubSub security key service model . 111
8.1 Overview. 111
8.2 PublishSubscribe Object . 111
8.3 PubSubKeyServiceType . 112
8.4 GetSecurityKeys method . 112
8.5 GetSecurityGroup method . 114
8.6 SecurityGroupType . 115
8.7 SecurityGroupFolderType . 116
8.8 AddSecurityGroup Method . 116
8.9 RemoveSecurityGroup Method . 117
9 PubSub configuration model . 117
9.1 Common configuration model . 117
9.1.1 General . 117
9.1.2 Configuration behaviours . 120
9.1.3 Types for the PublishSubscribe Object . 120
9.1.4 Published DataSet Model. 125
9.1.5 Connection Model . 141
9.1.6 Group Model . 145
9.1.7 DataSetWriter Model . 153
9.1.8 DataSetReader Model . 155
9.1.9 Subscribed DataSet Model . 160
9.1.10 PubSub Status Object. 163
9.1.11 PubSub Diagnostics Objects . 164
9.1.12 PubSub Status Events . 173
9.2 Message Mapping Configuration Model . 175
9.2.1 UADP Message Mapping . 175
9.2.2 JSON Message Mapping . 177
9.3 Transport Protocol Mapping Configuration Model . 178
9.3.1 Datagram Transport Protocol Mapping . 178
9.3.2 Broker Transport Protocol Mapping. 179
Annex A (normative) Common types . 182
A.1 DataType Schema Header structures . 182

---------------------- Page: 9 ----------------------
SIST EN IEC 62541-14:2020
– 4 – IEC 62541-14:2020 © IEC 2020
A.1.1 DataTypeSchemaHeader . 182
A.1.2 DataTypeDescription . 183
A.1.3 StructureDescription . 183
A.1.4 EnumDescription . 184
A.1.5 SimpleTypeDescription . 184
A.2 UABinaryFileDataType . 184
A.3 NetworkAddress Model . 185
A.3.1 NetworkAddressType . 185
A.3.2 NetworkAddressUrlType . 186
Annex B (informative) Client Server vs. Publish Subscribe . 187
B.1 Overview. 187
B.2 Client Server Subscriptions . 187
B.3 Publish-Subscribe . 188
B.4 Synergy of models . 189

Figure 1 – Publish Subscribe Model overview . 15
Figure 2 – Publisher and Subscriber entities . 17
Figure 3 – DataSet in the process of publishing . 18
Figure 4 – OPC UA PubSub message layers . 20
Figure 5 – Publisher details . 23
Figure 6 – Publisher message sending sequence . 24
Figure 7 – Subscriber details . 25
Figure 8 – Subscriber message reception sequence . 26
Figure 9 – SecurityGroup management sequence . 27
Figure 10 – Handshake used to pull keys from SKS . 28
Figure 11 – Handshake used to push keys to Publishers and Subscribers . 28
Figure 12 – Handshake with a Security Key Service . 29
Figure 13 – PubSub using network infrastructure . 30
Figure 14 – UDP Multicast overview . 30
Figure 15 – PubSub using broker . 31
Figure 16 – Broker overview . 32
Figure 17 – PubSub component overview . 33
Figure 18 – PubSub mapping specific parameters overview . 34
Figure 19 – PubSub component state dependencies . 35
Figure 20 – PubSubState state machine . 35
Figure 21 – PubSub Information Flow dependency to field representation . 45
Figure 22 – PubSub information flow . 64
Figure 23 – Start of the periodic publisher execution . 67
Figure 24 – Timing offsets in a PublishingInterval . 67
Figure 25 – DataSetOrdering and MaxNetworkMessageSize . 68
Figure 26 – PublishingOffset options for multiple NetworkMessages . 70
Figure 27 – UADP NetworkMessage . 84
Figure 28 – UADP DataSet payload . 90
Figure 29 – DataSetMessage header structure . 91
Figure 30 – Data Key Frame DataSetMessage data . 93

---------------------- Page: 10 ----------------------
SIST EN IEC 62541-14:2020
IEC 62541-14:2020 © IEC 2020 – 5 –
Figure 31 – Data Delta Frame DataSetMessage . 94
Figure 32 – Event DataSetMessage . 95
Figure 33 – KeepAlive message . 95
Figure 34 – PublishSubscribe Object Types overview . 111
Figure 35 – PubSub configuration model overview . 118
Figure 36 – PubSub example Objects . 119
Figure 37 – PubSub information flow . 119
Figure 38 – PublishSubscribe Object Types overview . 121
Figure 39 – Published DataSet overview . 125
Figure 40 – PubSubConnectionType overview . 142
Figure 41 – PubSubGroupType overview . 145
Figure 42 – DataSet Writer Model Overview . 153
Figure 43 – DataSet Reader Model overview . 155
Figure 44 – PubSub Diagnostics overview . 165
Figure 45 – PubSubDiagnosticsCounterType . 165
Figure B.1 – Subscriptions in OPC UA Client Server Model . 188
Figure B.2 – Publish Subscribe Model Overview . 189

Table 1 – PubSubState values . 35
Table 2 – PubSubState state machine . 36
Table 3 – DataSetMetaDataType structure . 36
Table 4 – DataSetMetaDataType definition . 37
Table 5 – FieldMetaData structure . 37
Table 6 – DataSetFieldFlags values . 39
Table 7 – DataSetFieldFlags definition . 39
Table 8 – ConfigurationVersionDataType structure . 40
Table 9 – PublishedDataSetDataType structure . 41
Table 10 – PublishedDataSetSourceDataType definition . 41
Table 11 – PublishedVariableDataType structure . 42
Table 12 – PublishedDataItemsDataType structure . 43
Table 13 – PublishedEventsDataType structure . 43
Table 14 – DataSetFieldContentMask values . 44
Table 15 – DataSetFieldContentMask definition . 45
Table 16 – DataSetMessage field representation options . 46
Table 17 – DataSetWriterDataType structure . 47
Table 18 – DataSetWriterTransportDataType definition . 47
Table 19 – DataSetWriterMessageDataType structure . 48
Table 20 – PubSubGroupDataType structure . 49
Table 21 – PubSubGroupDataType definition . 49
Table 22 – WriterGroupDataType structure . 51
Table 23 – WriterGroupDataType definition . 51
Table 24 – WriterGroupTransportDataType definition . 52
Table 25 – WriterGroupMessageDataType structure . 52

---------------------- Page: 11 ----------------------
SIST EN IEC 62541-14:2020
– 6 – IEC 62541-14:2020 © IEC 2020
Table 26 – PubSubConnectionDataType structure . 53
Table 27 – ConnectionTransportDataType definition . 54
Table 28 – NetworkAddressDataType structure . 54
Table 29 – NetworkAddressDataType definition . 54
Table 30 – NetworkAddressUrlDataType structure . 54
Table 31 – NetworkAddressUrlDataType definition. 55
Table 32 – ReaderGroupDataType structure . 55
Table 33 – ReaderGroupDataType definition. 55
Table 34 – ReaderGroupTransportDataType definition . 56
Table 35 – ReaderGroupMessageDataType structure . 56
Table 36 – DataSetReaderDataType structure . 59
Table 37 – DataSetReaderTransportDataType structure . 5
...

SLOVENSKI STANDARD
oSIST prEN IEC 62541-14:2018
01-november-2018
Enotna arhitektura OPC - 14. del: PubSub
OPC Unified Architecture - Part 14: PubSub
Ta slovenski standard je istoveten z: prEN IEC 62541-14:2018
ICS:
25.040.40 Merjenje in krmiljenje Industrial process
industrijskih postopkov measurement and control
35.240.50 Uporabniške rešitve IT v IT applications in industry
industriji
oSIST prEN IEC 62541-14:2018 en,fr,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
oSIST prEN IEC 62541-14:2018

---------------------- Page: 2 ----------------------
oSIST prEN IEC 62541-14:2018
65E/617/CDV

COMMITTEE DRAFT FOR VOTE (CDV)
PROJECT NUMBER:
IEC 62541-14 ED1
DATE OF CIRCULATION: CLOSING DATE FOR VOTING:
2018-08-24 2018-11-16
SUPERSEDES DOCUMENTS:
65E/549/NP,65E/572A/RVN

IEC SC 65E : DEVICES AND INTEGRATION IN ENTERPRISE SYSTEMS
SECRETARIAT: SECRETARY:
United States of America Mr Donald (Bob) Lattimer
OF INTEREST TO THE FOLLOWING COMMITTEES: PROPOSED HORIZONTAL STANDARD:



Other TC/SCs are requested to indicate their interest, if
any, in this CDV to the secretary.
FUNCTIONS CONCERNED:
EMC ENVIRONMENT QUALITY ASSURANCE SAFETY
SUBMITTED FOR CENELEC PARALLEL VOTING NOT SUBMITTED FOR CENELEC PARALLEL VOTING


This document is still under study and subject to change. It should not be used for reference purposes.
Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights of which
they are aware and to provide supporting documentation.

TITLE:
OPC Unified Architecture – Part 14: PubSub

PROPOSED STABILITY DATE: 2021

NOTE FROM TC/SC OFFICERS:


Copyright © 2018 International Electrotechnical Commission, IEC. All rights reserved. It is permitted to download this
electronic file, to make a copy and to print out the content for the sole purpose of preparing National Committee positions.
You may not copy or "mirror" the file or printed version of the document, or any part of it, for any other purpose without
permission in writing from IEC.

---------------------- Page: 3 ----------------------
oSIST prEN IEC 62541-14:2018

---------------------- Page: 4 ----------------------
oSIST prEN IEC 62541-14:2018
65E/617/CDV - 3 - IEC CD 62541-14 © IEC 2017


CONTENTS
FIGURES . 5
TABLES . 6
FOREWORD . 11
1 Scope . 13
2 Normative references . 13
3 Terms, definitions and conventions . 14
3.1 Terms and definitions . 14
3.2 Abbreviations and symbols . 14
4 Overview . 15
4.1 Fields of application . 15
4.2 Abstraction layers. 15
4.3 Decoupling by use of middleware . 16
4.4 Synergy of models . 16
5 PubSub Concepts . 18
5.1 Introduction . 18
5.2 DataSet . 19
5.2.1 General . 19
5.2.2 DataSetClass . 20
5.2.3 DataSetMetaData . 20
5.3 Messages . 21
5.3.1 General . 21
5.3.2 DataSetMessage field . 21
5.3.3 DataSetMessage . 22
5.3.4 NetworkMessage . 22
5.3.5 Message Security . 22
5.3.6 Transport Security. 23
5.3.7 SecurityGroup . 23
5.4 Entities . 23
5.4.1 Publisher. 23
5.4.2 Subscriber . 26
5.4.3 Security Key Service . 27
5.4.4 Message Oriented Middleware . 30
6 PubSub Communication Parameters . 34
6.1 Overview . 34
6.2 Common Configuration Parameters . 35
6.2.1 PubSubState State Machine . 35
6.2.2 PublishedDataSet Parameters . 36
6.2.3 DataSetWriter Parameters . 42
6.2.4 Shared PubSubGroup Parameters . 46
6.2.5 WriterGroup Parameters . 47
6.2.6 PubSubConnection Parameters . 49
6.2.7 ReaderGroup Parameters . 51
6.2.8 DataSetReader Parameters . 52

---------------------- Page: 5 ----------------------
oSIST prEN IEC 62541-14:2018
IEC CD 62541-14 © IEC 2017 - 4 - 65E/617/CDV

6.2.9 SubscribedDataSet Parameters . 55
6.2.10 Information flow and status handling . 57
6.2.11 PubSubConfigurationDataType . 58
6.3 Message Mapping Configuration Parameters . 59
6.3.1 UADP Message Mapping . 59
6.3.2 JSON Message Mapping . 66
6.4 Transport Protocol Mapping Configuration Parameters . 68
6.4.1 Datagram Transport Protocol . 68
6.4.2 Broker Transport Protocol . 69
7 PubSub Mappings . 74
7.1 General . 74
7.2 Message Mappings . 74
7.2.1 General . 74
7.2.2 UADP Message Mapping . 75
7.2.3 JSON Message Mapping . 88
7.3 Transport Protocol Mappings . 91
7.3.1 General . 91
7.3.2 OPC UA UDP . 91
7.3.3 OPC UA Ethernet . 92
7.3.4 AMQP . 93
7.3.5 MQTT . 97
8 PubSub Security Key Service Model . 99
8.1 Overview . 99
8.2 PublishSubscribe Object . 100
8.3 PubSubKeyServiceType . 100
8.4 GetSecurityKeys Method . 100
8.5 GetSecurityGroup Method . 102
8.6 SecurityGroupType . 102
8.7 SecurityGroupFolderType . 103
8.8 AddSecurityGroup Method . 103
8.9 RemoveSecurityGroup Method . 104
9 PubSub Configuration Model . 105
9.1 Common Configuration Model . 105
9.1.1 General . 105
9.1.2 Configuration behaviours . 107
9.1.3 Types for the PublishSubscribe Object . 108
9.1.4 Published DataSet Model . 112
9.1.5 Connection Model . 125
9.1.6 Group Model . 128
9.1.7 DataSetWriter Model . 134
9.1.8 DataSetReader Model . 136
9.1.9 Subscribed DataSet Model . 140
9.1.10 PubSub Status Object . 142
9.1.11 PubSub Diagnostics Objects . 143
9.1.12 PubSub Status Events . 150
9.2 Message Mapping Configuration Model . 151
9.2.1 UADP Message Mapping . 151
9.2.2 JSON Message Mapping . 153
9.3 Transport Protocol Mapping Configuration Model . 154

---------------------- Page: 6 ----------------------
oSIST prEN IEC 62541-14:2018
65E/617/CDV - 5 - IEC CD 62541-14 © IEC 2017
9.3.1 Datagram Transport Protocol Mapping . 154
9.3.2 Broker Transport Protocol Mapping . 155
Annex A (normative) Common Types . 158
A.1 DataType Schema Header Structures . 158
A.1.1 DataTypeSchemaHeader . 158
A.1.2 DataTypeDescription . 158
A.1.3 StructureDescription . 159
A.1.4 EnumDescription . 159
A.1.5 SimpleTypeDescription . 160
A.2 UABinaryFileDataType . 161
A.3 NetworkAddress Model . 161
A.3.1 NetworkAddressType . 161
A.3.2 NetworkAddressUrlType . 162
Annex B (informative) Client Server vs. Publish Subscribe . 163
B.1 Overview . 163
B.2 Client Server Subscriptions . 163
B.3 Publish-Subscribe . 164
B.4 Synergy of models . 165

FIGURES

Figure 1 – Publish Subscribe Model Overview . 16
Figure 2 – Publisher and Subscriber entities . 18
Figure 3 – DataSet in the process of publishing . 19
Figure 4 – OPC UA PubSub Message Layers . 21
Figure 5 – Publisher details . 24
Figure 6 – Publisher message sending sequence . 25
Figure 7 – Subscriber details . 26
Figure 8 – Subscriber message reception sequence . 27
Figure 9 – SecurityGroup Management Sequence . 28
Figure 10 – Handshake used to pull keys from SKS . 29
Figure 11 – Handshake used to push keys to Publishers and Subscribers . 29
Figure 12 – Handshake with a Security Key Service . 30
Figure 13 – PubSub using network infrastructure . 31
Figure 14 – UDP Multicast Overview . 31
Figure 15 – PubSub using broker . 32
Figure 16 – Broker Overview . 33
Figure 17 – PubSub Component Overview . 34
Figure 18 – PubSub Mapping Specific Parameters Overview . 35
Figure 19 – PubSub Component State Dependencies . 36
Figure 20 – PubSubState State Machine . 36
Figure 21 – PubSub Information Flow dependency to field representation . 44
Figure 22 – PubSub Information Flow . 57
Figure 23 – Start of the periodic publisher execution . 59
Figure 24 – Timing offsets in a PublishingInterval . 60

---------------------- Page: 7 ----------------------
oSIST prEN IEC 62541-14:2018
IEC CD 62541-14 © IEC 2017 - 6 - 65E/617/CDV

Figure 25 – DataSetOrdering and MaxNetworkMessageSize . 61
Figure 26 – PublishingOffset options for multiple NetworkMessages . 63
Figure 27 – UADP NetworkMessage . 75
Figure 28 – UADP DataSet Payload . 80
Figure 29 – DataSetMessage Header Structure . 81
Figure 30 – Data Key Frame DataSetMessage Data . 83
Figure 31 – Data Delta Frame DataSetMessage . 84
Figure 32 – Event DataSetMessage . 85
Figure 33 – KeepAlive Message . 86
Figure 34 – PublishSubscribe Object Types Overview . 99
Figure 35 – PubSub Configuration Model Overview . 105
Figure 36 – PubSub Example Objects . 106
Figure 37 – PubSub Information Flow . 106
Figure 38 – PublishSubscribe Object Types Overview . 108
Figure 39 – Published DataSet Overview . 112
Figure 40 – PubSubConnectionType Overview . 126
Figure 41 – PubSubGroupType Overview . 129
Figure 42 – DataSet Writer Model Overview . 135
Figure 43 – DataSet Reader Model Overview . 137
Figure 44 – PubSub Diagnostics Overview . 144
Figure 45 – PubSubDiagnosticsCounterType . 144
Figure B.46 – Subscriptions in OPC UA Client Server Model . 164
Figure B.47 – Publish Subscribe Model Overview . 165

TABLES

Table 1 – PubSubState Values . 35
Table 2 – PubSubState State Machine . 36
Table 3 – DataSetMetaDataType Structure . 37
Table 4 – DataSetMetaDataType Definition . 37
Table 5 – FieldMetaData Structure . 37
Table 6 – DataSetFieldFlags Values. 38
Table 7 – DataSetFieldFlags Definition . 39
Table 8 – ConfigurationVersionDataType Structure . 39
Table 9 – PublishedDataSetDataType Structure . 40
Table 10 – PublishedDataSetSourceDataType Definition . 40
Table 11 – PublishedVariableDataType Structure . 41
Table 12 – PublishedDataItemsDataType Structure . 41
Table 13 – PublishedEventsDataType Structure . 42
Table 14 – DataSetFieldContentMask Values . 43
Table 15 – DataSetFieldContentMask Definition . 43
Table 16 – DataSetMessage field representation options . 44
Table 17 – DataSetWriterDataType Structure . 45

---------------------- Page: 8 ----------------------
oSIST prEN IEC 62541-14:2018
65E/617/CDV - 7 - IEC CD 62541-14 © IEC 2017
Table 18 – DataSetWriterTransportDataType Definition. 45
Table 19 – DataSetWriterMessageDataType Structure . 45
Table 20 – PubSubGroupDataType Structure . 47
Table 21 – PubSubGroupDataType Definition . 47
Table 22 – WriterGroupDataType Structure . 48
Table 23 – WriterGroupDataType Definition . 48
Table 24 – WriterGroupTransportDataType Definition . 49
Table 25 – WriterGroupMessageDataType Structure . 49
Table 26 – PubSubConnectionDataType Structure . 50
Table 27 – ConnectionTransportDataType Definition . 50
Table 28 – NetworkAddressDataType Structure . 50
Table 29 – NetworkAddressDataType Definition . 51
Table 30 – NetworkAddressUrlDataType Structure . 51
Table 31 – NetworkAddressUrlDataType Definition . 51
Table 32 – ReaderGroupDataType Structure . 51
Table 33 – ReaderGroupDataType Definition . 52
Table 34 – ReaderGroupTransportDataType Definition . 52
Table 35 – ReaderGroupMessageDataType Structure . 52
Table 36 – DataSetReaderDataType Structure . 54
Table 37 – DataSetReaderTransportDataType Structure . 54
Table 38 – DataSetReaderTransportDataType Definition. 54
Table 39 – DataSetReaderMessageDataType Structure . 54
Table 40 – DataSetReaderMessageDataType Definition. 55
Table 41 – SubscribedDataSetDataType Structure . 55
Table 42 – SubscribedDataSetDataType Definition . 55
Table 43 – TargetVariablesDataType Structure . 55
Table 44 – FieldTargetDataType Structure . 56
Table 45 – OverrideValueHandling Values . 56
Table 46 – SubscribedDataSetMirrorDataType Structure . 57
Table 47 – Source to message input mapping . 58
Table 48 – Message output to target mapping . 58
Table 49 – PubSubConfigurationDataType Structure . 58
Table 50 – PubSubConfiguration File Content . 59
Table 51 – DataSetOrderingType Values . 61
Table 52 – UadpNetworkMessageContentMask Values . 62
Table 53 – UadpNetworkMessageContentMask Definition . 62
Table 54 – UadpWriterGroupMessageDataType Structure . 63
Table 55 – UadpDataSetMessageContentMask Values . 64
Table 56 – UadpDataSetMessageContentMask Definition . 64
Table 57 – UadpDataSetWriterMessageDataType Structure . 65
Table 58 – UadpDataSetReaderMessageDataType Structure . 66
Table 59 – JsonNetworkMessageContentMask Values . 66
Table 60 – JsonNetworkMessageContentMask Definition . 67

---------------------- Page: 9 ----------------------
oSIST prEN IEC 62541-14:2018
IEC CD 62541-14 © IEC 2017 - 8 - 65E/617/CDV

Table 61 – JsonWriterGroupMessageDataType Structure . 67
Table 62 – JsonDataSetMessageContentMask Values . 67
Table 63 – JsonDataSetMessageContentMask Definition . 67
Table 64 – JsonDataSetWriterMessageDataType Structure . 68
Table 65 – JsonDataSetReaderMessageDataType Structure . 68
Table 66 – DatagramConnectionTransportDataType Structure . 68
Table 67 – DatagramWriterGroupTransportDataType Structure . 69
Table 68 – BrokerConnectionTransportDataType Structure . 70
Table 69 – BrokerTransportQualityOfService Values . 70
Table 70 – BrokerWriterGroupTransportDataType Structure . 71
Table 71 – BrokerDataSetWriterTransportDataType Structure . 72
Table 72 – BrokerDataSetReaderTransportDataType Structure . 73
Table 73 – UADP NetworkMessage . 76
Table 74 – Layout of the key data for UADP message security .
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.