OPC unified architecture - Part 4: Services

IEC 62541-4:2011 defines the OPC Unified Architecture (OPC UA) Services. The Services described are the collection of abstract Remote Procedure Calls (RPC) that are implemented by OPC UA Servers and called by OPC UA Clients. All interactions between OPC UA Clients and Servers occur via these Services. The defined Services are considered abstract because no particular RPC mechanism for implementation is defined in this part of IEC 62541. IEC 62541-6 specifies one or more concrete mappings supported for implementation. For example, one mapping in IEC 62541-6 is to XML Web Services. In that case the Services described in this part of IEC 62541 appear as the Web service methods in the WSDL contract.

Architecture unifiée OPC - Partie 4: Services

La CEI 62541-4:2011 définit les Services de l'Architecture unifiée OPC (OPC UA). Les Services décrits sont le recueil d'appels de procédures abstraites distantes (RPC Remote Procedure Calls) qui sont mises en oeuvre par les Serveurs OPC UA et qui sont appelées par les Clients OPC UA. Toutes les interactions entre Clients et Serveurs OPC UA ont lieu via ces Services. Les Services définis sont considérés abstraits car pour leur mise en oeuvre aucun mécanisme RPC particulier n'a été spécifié dans cette partie de la CEI 62541. La CEI 62541-6 spécifie les mécanismes de mise en correspondance (mapping). Par exemple, dans la CEI 62541-6 un des mécanismes de mise en correspondance est basé sur l'utilisation des Services Web XML. Dans ce cas, les Services décrits dans la présente partie de la CEI 62541 apparaissent comme les méthodes de service web dans le contrat WSDL.

General Information

Status
Published
Publication Date
19-Oct-2011
Current Stage
DELPUB - Deleted Publication
Completion Date
25-Mar-2015
Ref Project

Relations

Buy Standard

Standard
IEC 62541-4:2011 - OPC unified architecture - Part 4: Services Released:10/20/2011
English and French language
360 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC 62541-4
®

Edition 1.0 2011-10
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside


OPC unified architecture –
Part 4: Services

Architecture unifiée OPC –
Partie 4: Services


IEC 62541-4:2011

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2011 IEC, Geneva, Switzerland

All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by
any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or
IEC's member National Committee in the country of the requester.
If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication,
please contact the address below or your local IEC member National Committee for further information.


Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie
et les microfilms, sans l'accord écrit de la CEI ou du Comité national de la CEI du pays du demandeur.
Si vous avez des questions sur le copyright de la CEI ou si vous désirez obtenir des droits supplémentaires sur cette
publication, utilisez les coordonnées ci-après ou contactez le Comité national de la CEI de votre pays de résidence.

IEC Central Office
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: inmail@iec.ch
Web: www.iec.ch

About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.
 Catalogue of IEC publications: www.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
 IEC Just Published: www.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
 Electropedia: www.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
 Customer Service Centre: www.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00


A propos de la CEI
La Commission Electrotechnique Internationale (CEI) est la première organisation mondiale qui élabore et publie des
normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.

A propos des publications CEI
Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possédez
l’édition la plus récente, un corrigendum ou amendement peut avoir été publié.
 Catalogue des publications de la CEI: www.iec.ch/searchpub/cur_fut-f.htm
Le Catalogue en-ligne de la CEI vous permet d’effectuer des recherches en utilisant différents critères (numéro de référence,
texte, comité d’études,…). Il donne aussi des informations sur les projets et les publications retirées ou remplacées.
 Just Published CEI: www.iec.ch/online_news/justpub
Restez informé sur les nouvelles publications de la CEI. Just Published détaille deux fois par mois les nouvelles
publications parues. Disponible en-ligne et aussi par email.
 Electropedia: www.electropedia.org
Le premier dictionnaire en ligne au monde de termes électroniques et électriques. Il contient plus de 20 000 termes et
définitions en anglais et en français, ainsi que les termes équivalents dans les langues additionnelles. Egalement appelé
Vocabulaire Electrotechnique International en ligne.
 Service Clients: www.iec.ch/webstore/custserv/custserv_entry-f.htm
Si vous désirez nous donner des commentaires sur cette publication ou si vous avez des questions, visitez le FAQ du
Service clients ou contactez-nous:
Email: csc@iec.ch
Tél.: +41 22 919 02 11
Fax: +41 22 919 03 00

---------------------- Page: 2 ----------------------
IEC 62541-4
®

Edition 1.0 2011-10
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside


OPC unified architecture –
Part 4: Services

Architecture unifiée OPC –
Partie 4: Services

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XH
ICS 25.040.40; 25.100.01 ISBN 978-2-88912-730-6

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

---------------------- Page: 3 ----------------------
– 2 – 62541-4 © IEC:2011
CONTENTS

FOREWORD . 12
INTRODUCTION . 14
1 Scope . 15
2 Normative references . 15
3 Terms, definitions and conventions . 16
3.1 Terms and definitions . 16
3.2 Abbreviations . 16
3.3 Conventions for Service definitions . 17
4 Overview . 18
4.1 Service Set model . 18
4.2 Request/response Service procedures . 21
5 Service Sets . 21
5.1 General . 21
5.2 Service request and response header . 22
5.3 Service results . 22
5.4 Discovery Service Set . 23
5.4.1 Overview . 23
5.4.2 FindServers . 24
5.4.3 GetEndpoints . 26
5.4.4 RegisterServer . 29
5.5 SecureChannel Service Set . 31
5.5.1 Overview . 31
5.5.2 OpenSecureChannel . 33
5.5.3 CloseSecureChannel . 35
5.6 Session Service Set . 35
5.6.1 Overview . 35
5.6.2 CreateSession . 36
5.6.3 ActivateSession . 39
5.6.4 CloseSession . 42
5.6.5 Cancel . 42
5.7 NodeManagement Service Set . 43
5.7.1 Overview . 43
5.7.2 AddNodes. 43
5.7.3 AddReferences . 45
5.7.4 DeleteNodes . 47
5.7.5 DeleteReferences . 48
5.8 View Service Set . 49
5.8.1 Overview . 49
5.8.2 Browse . 49
5.8.3 BrowseNext . 51
5.8.4 TranslateBrowsePathsToNodeIds . 53
5.8.5 RegisterNodes . 55
5.8.6 UnregisterNodes . 56
5.9 Query Service Set . 56

---------------------- Page: 4 ----------------------
62541-4 © IEC:2011 – 3 –
5.9.1 Overview . 56
5.9.2 Querying Views . 57
5.9.3 QueryFirst . 57
5.9.4 QueryNext . 60
5.10 Attribute Service Set . 61
5.10.1 Overview . 61
5.10.2 Read . 61
5.10.3 HistoryRead . 63
5.10.4 Write . 65
5.10.5 HistoryUpdate . 67
5.11 Method Service Set . 68
5.11.1 Overview . 68
5.11.2 Call . 68
5.12 MonitoredItem Service Set . 70
5.12.1 MonitoredItem model . 70
5.12.2 CreateMonitoredItems . 74
5.12.3 ModifyMonitoredItems . 76
5.12.4 SetMonitoringMode . 78
5.12.5 SetTriggering . 79
5.12.6 DeleteMonitoredItems . 80
5.13 Subscription Service Set . 81
5.13.1 Subscription model . 81
5.13.2 CreateSubscription . 88
5.13.3 ModifySubscription . 89
5.13.4 SetPublishingMode . 90
5.13.5 Publish . 91
5.13.6 Republish . 93
5.13.7 TransferSubscriptions . 93
5.13.8 DeleteSubscriptions . 95
6 Service behaviours . 96
6.1 Security . 96
6.1.1 Overview . 96
6.1.2 Obtaining and Installing an Application Instance Certificate . 96
6.1.3 Obtaining and installing a Software Certificate . 97
6.1.4 Determining if a Certificate is Trusted . 99
6.1.5 Validating a Software Certificate . 101
6.1.6 Creating a SecureChannel . 101
6.1.7 Creating a Session . 103
6.1.8 Impersonating a User . 104
6.2 Auditing . 104
6.2.1 Overview . 104
6.2.2 General audit logs . 104
6.2.3 General audit Events . 105
6.2.4 Auditing for Discovery Service Set . 105
6.2.5 Auditing for SecureChannel Service Set . 105
6.2.6 Auditing for Session Service Set . 105
6.2.7 Auditing for NodeManagement Service Set . 106
6.2.8 Auditing for Attribute Service Set . 106
6.2.9 Auditing for Method Service Set . 106

---------------------- Page: 5 ----------------------
– 4 – 62541-4 © IEC:2011
6.2.10 Auditing for View, Query, MonitoredItem and Subscription Service
Set . 107
6.3 Redundancy . 107
6.3.1 Redundancy overview . 107
6.3.2 Server redundancy overview . 107
6.3.3 Client redundancy. 109
7 Common parameter type definitions . 110
7.1 ApplicationDescription . 110
7.2 ApplicationInstanceCertificate . 110
7.3 BrowseResult . 111
7.4 ContentFilter . 111
7.4.1 ContentFilter structure . 111
7.4.2 ContentFilterResult . 112
7.4.3 FilterOperator . 113
7.4.4 FilterOperand parameters . 119
7.5 Counter . 120
7.6 ContinuationPoint . 121
7.7 DataValue . 121
7.7.1 General . 121
7.7.2 PicoSeconds . 121
7.7.3 SourceTimestamp . 122
7.7.4 ServerTimestamp . 122
7.7.5 StatusCode assigned to a value . 123
7.8 DiagnosticInfo . 123
7.9 EndpointDescription . 124
7.10 ExpandedNodeId . 124
7.11 ExtensibleParameter . 125
7.12 Index . 125
7.13 IntegerId. 125
7.14 MessageSecurityMode . 125
7.15 MonitoringParameters . 125
7.16 MonitoringFilter parameters . 126
7.16.1 Overview . 126
7.16.2 DataChangeFilter . 126
7.16.3 EventFilter . 127
7.16.4 AggregateFilter . 129
7.17 MonitoringMode . 131
7.18 NodeAttributes parameters . 131
7.18.1 Overview . 131
7.18.2 ObjectAttributes parameter . 132
7.18.3 VariableAttributes parameter . 132
7.18.4 MethodAttributes parameter . 133
7.18.5 ObjectTypeAttributes parameter . 133
7.18.6 VariableTypeAttributes parameter . 133
7.18.7 ReferenceTypeAttributes parameter . 134
7.18.8 DataTypeAttributes parameter . 134
7.18.9 ViewAttributes parameter . 134
7.19 NotificationData parameters . 135
7.19.1 Overview . 135

---------------------- Page: 6 ----------------------
62541-4 © IEC:2011 – 5 –
7.19.2 DataChangeNotification parameter . 135
7.19.3 EventNotificationList parameter . 136
7.19.4 StatusChangeNotification parameter. 136
7.20 NotificationMessage . 136
7.21 NumericRange . 137
7.22 QueryDataSet . 138
7.23 ReadValueId . 138
7.24 ReferenceDescription . 139
7.25 RelativePath . 139
7.26 RequestHeader . 140
7.27 ResponseHeader . 141
7.28 ServiceFault . 141
7.29 SessionAuthenticationToken . 141
7.30 SignatureData . 143
7.31 SignedSoftwareCertificate . 143
7.32 SoftwareCertificate . 143
7.33 StatusCode . 144
7.33.1 General . 144
7.33.2 Common StatusCodes . 146
7.34 TimestampsToReturn . 148
7.35 UserIdentityToken parameters . 148
7.35.1 Overview . 148
7.35.2 AnonymousIdentityToken. 149
7.35.3 UserNameIdentityToken . 149
7.35.4 X509IdentityTokens . 150
7.35.5 IssuedIdentityToken . 150
7.36 UserTokenPolicy . 151
7.37 ViewDescription . 151
Annex A (informative) BNF definitions . 152
Annex B (informative) Content Filter and Query Examples . 154
Bibliography . 172

Figure 1 – Discovery Service Set . 18
Figure 2 – SecureChannel Service Set . 18
Figure 3 – Session Service Set . 19
Figure 4 – NodeManagement Service Set . 19
Figure 5 – View Service Set . 19
Figure 6 – Attribute Service Set . 20
Figure 7 – Method Service Set . 20
Figure 8 – MonitoredItem and Subscription Service Sets . 21
Figure 9 – Discovery process . 24
Figure 10 – Using a Gateway Server . 28
Figure 11 – Registration process – Manually launched servers . 29
Figure 12 – Registration process – Automatically Launched Servers . 30
Figure 13 – SecureChannel and Session Services . 32
Figure 14 – Multiplexing Users on a Session . 37

---------------------- Page: 7 ----------------------
– 6 – 62541-4 © IEC:2011
Figure 15 – MonitoredItem Model . 70
Figure 16 – Typical delay in change detection. 72
Figure 17 – Triggering Model . 74
Figure 18 – Obtaining and installing an Application Instance Certificate . 97
Figure 19 – Obtaining and Installing a Software Certificate . 98
Figure 20 – Determining if a Application Instance Certificate is Trusted . 101
Figure 21 – Establishing a SecureChannel . 102
Figure 22 – Establishing a Session . 103
Figure 23 – Impersonating a User . 104
Figure 24 – Transparent Redundancy setup . 108
Figure 25 – Non-Transparent Redundancy setup . 108
Figure 26 – Redundancy mode . 109
Figure 27 – Logical layers of a Server . 142
Figure 28 – Obtaining a SessionAuthenticationToken . 142
Figure B.1 – Filter Logic Tree Example . 154
Figure B.2 – Filter Logic Tree Example . 155
Figure B.3 – Example Type Nodes . 157
Figure B.4 – Example Instance Nodes . 158
Figure B.5 – Example
...

Questions, Comments and Discussion

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