OPC Unified Architecture - Part 3: Address Space Model

IEC 62541-3:2020 defines the OPC Unified Architecture (OPC UA) AddressSpace and its Objects. This document is the OPC UA meta model on which OPC UA information models are based. This third edition cancels and replaces the second edition published in 2015. This edition includes the following significant technical changes with respect to the previous edition:
a) Added new improved approach for exposing structure definitions. An Attribute on the DataType Node now simply contains a binary description.
b) Added new flags for Variables to indicate atomicity when reading or writing.
c) Added Roles and Permissions to allow configuration of a role-based authorization.
d) Added new data types: “Union”, “Decimal”, “OptionSet”, “DateString”, “TimeString”, “DurationString”, NormalizedString”, “DecimalString”, and “AudioDataType”.
e) Added definition on how to use the ModellingRules OptionalPlaceHolder and MandatoryPlaceHolder for Methods.
f) Added optional Properties “MaxCharacters” and “MaxByteStringLength” to Variable Nodes.

Architecture unifiée OPC - Partie 3: Modèle d'espace d'adressage

L'IEC 62541-3:2020 définit l'AddressSpace de l'Architecture Unifiée OPC (OPC UA) et ses Objets. Le présent document correspond au métamodèle OPC UA sur lequel se fondent les modèles d'information OPC UA. Cette troisième édition annule et remplace la deuxième édition parue en 2015. Cette édition inclut les modifications techniques majeures suivantes par rapport à l'édition précédente:
a) ajout d'une nouvelle approche améliorée afin de présenter les définitions de la structure (un Attribut sur le Nœud du DataType contient désormais simplement une description binaire);
b) ajout de nouveaux fanions pour les Variables afin d'indiquer l'atomicité à la lecture ou à l'écriture;
c) ajout de Rôles et d'Autorisations afin de permettre la configuration d'une autorisation fondée sur les rôles;
d) ajout de nouveaux types de données: "Union", "Decimal", "OptionSet", "DateString", "TimeString", "DurationString", "NormalizedString", "DecimalString" et "AudioDataType";
e) ajout d'une définition expliquant comment utiliser les OptionalPlaceHolder et MandatoryPlaceHolder de ModellingRules pour les Méthodes;
f) ajout de Propriétés facultatives "MaxCharacters" et "MaxByteStringLength" aux Nœuds de variable.

General Information

Status
Published
Publication Date
07-Jul-2020
Current Stage
PPUB - Publication issued
Start Date
08-Jul-2020
Completion Date
31-Jul-2020
Ref Project

Relations

Standard
IEC 62541-3:2020 RLV - OPC Unified Architecture - Part 3: Address Space Model Released:7/8/2020 Isbn:9782832286456
English language
396 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 62541-3:2020 - OPC Unified Architecture - Part 3: Address Space Model
English and French language
252 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 62541-3 ®
Edition 3.0 2020-07
REDLINE VERSION
INTERNATIONAL
STANDARD
colour
inside
OPC unified architecture –
Part 3: Address Space Model
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.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
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 corrigendum or an amendment might have been published.

IEC publications search - webstore.iec.ch/advsearchform Electropedia - www.electropedia.org
The advanced search enables to find IEC publications by a The world's leading online dictionary on electrotechnology,
variety of criteria (reference number, text, technical containing more than 22 000 terminological entries in English
committee,…). It also gives information on projects, replaced and French, with equivalent terms in 16 additional languages.
and withdrawn publications. Also known as the International Electrotechnical Vocabulary

(IEV) online.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Glossary - std.iec.ch/glossary
details all new publications released. Available online and 67 000 electrotechnical terminology entries in English and
once a month by email. French extracted from the Terms and Definitions clause of
IEC publications issued since 2002. Some entries have been
IEC Customer Service Centre - webstore.iec.ch/csc collected from earlier publications of IEC TC 37, 77, 86 and
If you wish to give us your feedback on this publication or CISPR.

need further assistance, please contact the Customer Service

Centre: sales@iec.ch.
IEC 62541-3 ®
Edition 3.0 2020-07
REDLINE VERSION
INTERNATIONAL
STANDARD
colour
inside
OPC unified architecture –
Part 3: Address Space Model
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.05 ISBN 978-2-8322-8645-6

– 2 – IEC 62541-3:2020 RLV © IEC 2020
CONTENTS
FOREWORD . 11
1 Scope . 14
2 Normative references . 14
3 Terms, definitions, abbreviated terms and conventions . 15
3.1 Terms and definitions . 15
3.2 Abbreviated terms . 16
3.3 Conventions . 16
3.3.1 Conventions for AddressSpace figures . 16
3.3.2 Conventions for defining NodeClasses. 17
4 AddressSpace concepts . 18
4.1 Overview. 18
4.2 Object Model . 18
4.3 Node Model . 19
4.3.1 General . 19
4.3.2 NodeClasses . 19
4.3.3 Attributes . 20
4.3.4 References . 20
4.4 Variables . 21
4.4.1 General . 21
4.4.2 Properties . 21
4.4.3 DataVariables . 21
4.5 TypeDefinitionNodes . 21
4.5.1 General . 21
4.5.2 Complex TypeDefinitionNodes and their InstanceDeclarations . 22
4.5.3 Subtyping . 23
4.5.4 Instantiation of complex TypeDefinitionNodes . 23
4.6 Event Model . 24
4.6.1 General . 24
4.6.2 EventTypes . 25
4.6.3 Event Categorization . 25
4.7 Methods . 26
4.8 Roles . 26
4.8.1 Overview . 26
4.8.2 Well-known Roles . 27
4.8.3 Evaluating Permissions with Roles . 27
5 Standard NodeClasses . 29
5.1 Overview. 29
5.2 Base NodeClass . 30
5.2.1 General . 30
5.2.2 NodeId. 30
5.2.3 NodeClass . 30
5.2.4 BrowseName . 30
5.2.5 DisplayName . 31
5.2.6 Description . 31
5.2.7 WriteMask . 31
5.2.8 UserWriteMask . 32

5.2.9 RolePermissions . 32
5.2.10 UserRolePermissions . 33
5.2.11 AccessRestrictions . 34
5.3 ReferenceType NodeClass . 34
5.3.1 General . 34
5.3.2 Attributes . 35
5.3.3 References . 37
5.4 View NodeClass . 37
5.5 Objects . 40
5.5.1 Object NodeClass . 40
5.5.2 ObjectType NodeClass . 42
5.5.3 Standard ObjectType FolderType . 44
5.5.4 Client-side creation of Objects of an ObjectType . 44
5.6 Variables . 44
5.6.1 General . 44
5.6.2 Variable NodeClass . 45
5.6.3 Properties . 51
5.6.4 DataVariable . 51
5.6.5 VariableType NodeClass . 52
5.6.6 Client-side creation of Variables of an VariableType . 55
5.7 Method NodeClass . 55
5.8 DataTypes . 57
5.8.1 DataType Model . 57
5.8.2 Encoding rules for different kinds of DataTypes . 59
5.8.3 DataType NodeClass . 60
5.8.4 DataTypeDictionary, DataTypeDescription, DataTypeEncoding and
DataTypeSystem encoding information . 63
5.9 Summary of Attributes of the NodeClasses . 66
6 Type Model for ObjectTypes and VariableTypes . 67
6.1 Overview. 67
6.2 Definitions. 67
6.2.1 InstanceDeclaration . 67
6.2.2 Instances without ModellingRules . 68
6.2.3 InstanceDeclarationHierarchy . 68
6.2.4 Similar Node of InstanceDeclaration . 68
6.2.5 BrowsePath . 68
6.2.6 Attribute Handling of InstanceDeclarations . 68
6.2.7 Attribute Handling of Variable and VariableTypes . 68
6.2.8 NodeIds of InstanceDeclarations . 69
6.3 Subtyping of ObjectTypes and VariableTypes . 69
6.3.1 Overview . 69
6.3.2 Attributes . 69
6.3.3 InstanceDeclarations . 69
6.4 Instances of ObjectTypes and VariableTypes . 73
6.4.1 Overview . 73
6.4.2 Creating an Instance . 73
6.4.3 Constraints on an Instance . 74
6.4.4 ModellingRules . 75
6.5 Changing type definitions that are already used . 82

– 4 – IEC 62541-3:2020 RLV © IEC 2020
7 Standard ReferenceTypes . 83
7.1 General . 83
7.2 References ReferenceType . 83
7.3 HierarchicalReferences ReferenceType . 84
7.4 NonHierarchicalReferences ReferenceType . 84
7.5 HasChild ReferenceType . 84
7.6 Aggregates ReferenceType . 84
7.7 HasComponent ReferenceType. 84
7.8 HasProperty ReferenceType . 85
7.9 HasOrderedComponent ReferenceType . 85
7.10 HasSubtype ReferenceType . 85
7.11 Organizes ReferenceType. 86
7.12 HasModellingRule ReferenceType . 86
7.13 HasTypeDefinition ReferenceType . 86
7.14 HasEncoding ReferenceType . 86
7.15 HasDescription ReferenceType .
7.15 GeneratesEvent . 87
7.16 AlwaysGeneratesEvent . 87
7.17 HasEventSource . 87
7.18 HasNotifier . 88
8 Standard DataTypes . 89
8.1 General . 89
8.2 NodeId . 89
8.2.1 General . 89
8.2.2 NamespaceIndex . 89
8.2.3 IdentifierType . 90
8.2.4 Identifier value . 90
8.3 QualifiedName . 91
8.4 LocaleId . 91
8.5 LocalizedText . 92
8.6 Argument . 92
8.7 BaseDataType . 93
8.8 Boolean . 93
8.9 Byte . 93
8.10 ByteString . 93
8.11 DateTime . 93
8.12 Double . 94
8.13 Duration . 94
8.14 Enumeration . 94
8.15 Float . 94
8.16 Guid . 94
8.17 SByte . 94
8.18 IdType . 94
8.19 Image . 94
8.20 ImageBMP . 94
8.21 ImageGIF . 94
8.22 ImageJPG . 95
8.23 ImagePNG . 95
8.24 Integer . 95

8.25 Int16 . 95
8.26 Int32 . 95
8.27 Int64 . 95
8.28 TimeZoneDataType. 95
8.29 NamingRuleType . 95
8.30 NodeClass . 96
8.31 Number . 96
8.32 String . 96
8.33 Structure . 96
8.34 UInteger . 96
8.35 UInt16 . 96
8.36 UInt32 . 96
8.37 UInt64 . 96
8.38 UtcTime . 97
8.39 XmlElement . 97
8.40 EnumValueType . 97
8.41 OptionSet . 98
8.42 Union . 98
8.43 DateString . 98
8.44 DecimalString . 98
8.45 DurationString . 98
8.46 NormalizedString . 99
8.47 TimeString . 99
8.48 DataTypeDefinition . 99
8.49 StructureDefinition . 99
8.50 EnumDefinition . 100
8.51 StructureField . 100
8.52 EnumField . 101
8.53 AudioDataType . 101
8.54 Decimal . 101
8.55 PermissionType . 102
8.56 AccessRestrictionsType . 103
8.57 AccessLevelType . 103
8.58 AccessLevelExType . 104
8.59 EventNotifierType . 105
8.60 AttributeWriteMask. 105
9 Standard EventTypes . 106
9.1 General . 106
9.2 BaseEventType . 107
9.3 SystemEventType . 107
9.4 ProgressEventType . 107
9.5 AuditEventType . 108
9.6 AuditSecurityEventType . 109
9.7 AuditChannelEventType . 109
9.8 AuditOpenSecureChannelEventType . 109
9.9 AuditSessionEventType . 109
9.10 AuditCreateSessionEventType . 109
9.11 AuditUrlMismatchEventType . 110
9.12 AuditActivateSessionEventType . 110

– 6 – IEC 62541-3:2020 RLV © IEC 2020
9.13 AuditCancelEventType . 110
9.14 AuditCertificateEventType . 110
9.15 AuditCertificateDataMismatchEventType . 110
9.16 AuditCertificateExpiredEventType . 110
9.17 AuditCertificateInvalidEventType . 110
9.18 AuditCertificateUntrustedEventType . 110
9.19 AuditCertificateRevokedEventType . 110
9.20 AuditCertificateMismatchEventType . 111
9.21 AuditNodeManagementEventType . 111
9.22 AuditAddNodesEventType . 111
9.23 AuditDeleteNodesEventType . 111
9.24 AuditAddReferencesEventType . 111
9.25 AuditDeleteReferencesEventType . 111
9.26 AuditUpdateEventType . 111
9.27 AuditWriteUpdateEventType . 111
9.28 AuditHistoryUpdateEventType . 111
9.29 AuditUpdateMethodEventType . 111
9.30 DeviceFailureEventType . 111
9.31 SystemStatusChangeEventType . 112
9.32 ModelChangeEvents . 112
9.32.1 General . 112
9.32.2 NodeVersion Property. 112
9.32.3 Views . 112
9.32.4 Event compression . 112
9.32.5 BaseModelChangeEventType . 112
9.32.6 GeneralModelChangeEventType. 113
9.32.7 Guidelines for ModelChangeEvents . 113
9.33 SemanticChangeEventType . 113
9.33.1 General . 113
9.33.2 ViewVersion and NodeVersion Properties . 113
9.33.3 Views . 114
9.33.4 Event compression . 114
Annex A (informative) How to use the Address Space Model . 115
A.1 Overview. 115
A.2 Type definitions . 115
A.3 ObjectTypes. 115
A.4 VariableTypes . 115
A.4.1 General . 115
A.4.2 Properties or DataVariables . 116
A.4.3 Many Variables and/or structured DataTypes . 116
A.5 Views . 117
A.6 Methods . 117
A.7 Defining ReferenceTypes . 117
A.8 Defining ModellingRules . 117
Annex B (informative) OPC UA Meta Model in UML . 118
B.1 Background. 118
B.2 Notation . 118
B.3 Meta Model . 120
B.3.1 Base . 120

B.3.2 ReferenceType . 120
B.3.3 Predefined ReferenceTypes. 121
B.3.4 Attributes . 121
B.3.5 Object and ObjectType . 122
B.3.6 EventNotifier . 123
B.3.7 Variable and VariableType . 123
B.3.8 Method . 124
B.3.9 DataType . 125
B.3.10 View . 126
Annex C (normative) OPC Binary Type Description System .
C.1 Concepts .
C.2 Schema Description .
C.2.1 TypeDictionary .
C.2.2 TypeDescription .
C.2.3 OpaqueType .
C.2.4 EnumeratedType .
C.2.5 StructuredType .
C.2.6 FieldType .
C.2.7 EnumeratedValue .
C.2.8 ByteOrder .
C.2.9 ImportDirective .
C.3 Standard Type Descriptions .
C.4 Type Description Examples .
C.5 OPC Binary XML Schema .
C.6 OPC Binary Standard TypeDictionary .
Annex C (normative) Graphical notation . 139
C.1 General . 139
C.2 Notation . 139
C.2.1 Overview . 139
C.2.2 Simple notation . 139
C.2.3 Extended notation . 141
Bibliography . 144

Figure 1 – AddressSpace Node diagrams . 17
Figure 2 – OPC UA Object Model . 19
Figure 3 – AddressSpace Node Model . 19
Figure 4 – Reference Model . 20
Figure 5 – Example of a Variable defined by a VariableType . 22
Figure 6 – Example of a Complex TypeDefinition . 23
Figure 7 – Object and its Components defined by an ObjectType . 24
Figure 8 – Permissions in the Address Space . 33
Figure 9 – Symmetric and Non-Symmetric References . 36
Figure 10 – Variables, VariableTypes and their DataTypes . 58
Figure 11 – DataType Model . 58
Figure 12 – Example of DataType Modelling . 66
Figure 13 – Subtyping TypeDefinitionNodes . 70
Figure 14 – The Fully-Inherited InstanceDeclarationHierarchy for BetaType . 72

– 8 – IEC 62541-3:2020 RLV © IEC 2020
Figure 15 – An Instance and its TypeDefinitionNode . 73
Figure 16 – Example of several References between InstanceDeclarations . 74
Figure 17 – Example of changing instances based on InstanceDeclarations . 76
Figure 18 – Example of changing InstanceDeclarations based on an
InstanceDeclaration . 77
Figure 19 – Use of the Standard ModellingRule New Mandatory . 78
Figure 20 – Example using the Standard ModellingRules Optional and Mandatory . 79
Figure 21 – Example of using ExposesItsArray . 80
Figure 22 – Complex example of using ExposesItsArray . 80
Figure 23 – Example on using OptionalPlaceholder with an Object and Variable . 80
Figure 24 – Example using OptionalPlaceholder with a Method . 81
Figure 25 – Example of using MandatoryPlaceholder for Object and Variable . 82
Figure 26 – Standard ReferenceType Hierarchy . 83
Figure 27 – Event Reference Example . 88
Figure 28 – Complex Event Reference Example . 89
Figure 29 – Standard EventType Hierarchy . 107
Figure 30 – Audit Behaviour of a Server. 108
Figure 31 – Audit Behaviour of an Aggregating Server . 109
Figure B.1 – Background of OPC UA Meta Model . 118
Figure B.2 – Notation (I) . 119
Figure B.3 – Notation (II) . 119
Figure B.4 – Base . 120
Figure B.5 – Reference and ReferenceType. 120
Figure B.6 – Predefined ReferenceTypes . 121
Figure B.7 – Attributes . 122
Figure B.8 – Object and ObjectType . 123
Figure B.9 – EventNotifier . 123
Figure B.10 – Variable and VariableType . 124
Figure B.11 – Method . 125
Figure B.12 – DataType . 125
Figure B.13 – View . 126
Figure C.1 – OPC Binary Dictionary Structure .
Figure C.1 – Example of a Reference connecting two Nodes . 140
Figure C.2 – Example of using a TypeDefinition inside a Node . 142
Figure C.3 – Example of exposing Attributes . 142
Figure C.4 – Example of exposing Properties inline . 143

Table 1 – NodeClass Table Conventions. 17
Table 2 – Well-known Roles . 27
Table 3 – Example Roles . 28
Table 4 – Example Nodes . 28
Table 5 – Example Role assignment . 29
Table 6 – Examples of evaluating access . 29

Table 7 – Base NodeClass . 30
Table  – Bit mask for WriteMask and UserWriteMask .
Table 8 – RolePermissionType . 32
Table 9 – ReferenceType NodeClass . 35
Table 10 – View NodeClass . 39
Table 11 – Object NodeClass . 41
Table 12 – ObjectType NodeClass . 43
Table 13 – Variable NodeClass . 46
Table 14 – VariableType NodeClass . 53
Table 15 – Method NodeClass .
...


IEC 62541-3 ®
Edition 3.0 2020-07
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
OPC unified architecture –
Part 3: Address Space Model
Architecture unifiée OPC –
Partie 3: Modèle d'espace d'adressage

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 l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
questions sur le copyright de l'IEC 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 l'IEC de votre pays de résidence.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
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 corrigendum or an amendment might have been published.

IEC publications search - webstore.iec.ch/advsearchform Electropedia - www.electropedia.org
The advanced search enables to find IEC publications by a The world's leading online dictionary on electrotechnology,
variety of criteria (reference number, text, technical containing more than 22 000 terminological entries in English
committee,…). It also gives information on projects, replaced and French, with equivalent terms in 16 additional languages.
and withdrawn publications. Also known as the International Electrotechnical Vocabulary

(IEV) online.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Glossary - std.iec.ch/glossary
details all new publications released. Available online and 67 000 electrotechnical terminology entries in English and
once a month by email. French extracted from the Terms and Definitions clause of
IEC publications issued since 2002. Some entries have been
IEC Customer Service Centre - webstore.iec.ch/csc collected from earlier publications of IEC TC 37, 77, 86 and
If you wish to give us your feedback on this publication or CISPR.

need further assistance, please contact the Customer Service

Centre: sales@iec.ch.
A propos de l'IEC
La Commission Electrotechnique Internationale (IEC) 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 IEC
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la
plus récente, un corrigendum ou amendement peut avoir été publié.

Recherche de publications IEC - Electropedia - www.electropedia.org
webstore.iec.ch/advsearchform Le premier dictionnaire d'électrotechnologie en ligne au
La recherche avancée permet de trouver des publications IEC monde, avec plus de 22 000 articles terminologiques en
en utilisant différents critères (numéro de référence, texte, anglais et en français, ainsi que les termes équivalents dans
comité d’études,…). Elle donne aussi des informations sur les 16 langues additionnelles. Egalement appelé Vocabulaire
projets et les publications remplacées ou retirées. Electrotechnique International (IEV) en ligne.

IEC Just Published - webstore.iec.ch/justpublished Glossaire IEC - std.iec.ch/glossary
Restez informé sur les nouvelles publications IEC. Just 67 000 entrées terminologiques électrotechniques, en anglais
Published détaille les nouvelles publications parues. et en français, extraites des articles Termes et Définitions des
Disponible en ligne et une fois par mois par email. publications IEC parues depuis 2002. Plus certaines entrées
antérieures extraites des publications des CE 37, 77, 86 et
Service Clients - webstore.iec.ch/csc CISPR de l'IEC.

Si vous désirez nous donner des commentaires sur cette
publication ou si vous avez des questions contactez-nous:
sales@iec.ch.
IEC 62541-3 ®
Edition 3.0 2020-07
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
OPC unified architecture –
Part 3: Address Space Model
Architecture unifiée OPC –
Partie 3: Modèle d'espace d'adressage

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.05 ISBN 978-2-8322-8580-0

– 2 – IEC 62541-3:2020 © IEC 2020
CONTENTS
FOREWORD . 10
1 Scope . 12
2 Normative references . 12
3 Terms, definitions, abbreviated terms and conventions . 13
3.1 Terms and definitions . 13
3.2 Abbreviated terms . 14
3.3 Conventions . 14
3.3.1 Conventions for AddressSpace figures . 14
3.3.2 Conventions for defining NodeClasses. 15
4 AddressSpace concepts . 16
4.1 Overview. 16
4.2 Object Model . 16
4.3 Node Model . 16
4.3.1 General . 16
4.3.2 NodeClasses . 17
4.3.3 Attributes . 17
4.3.4 References . 17
4.4 Variables . 18
4.4.1 General . 18
4.4.2 Properties . 18
4.4.3 DataVariables . 18
4.5 TypeDefinitionNodes . 19
4.5.1 General . 19
4.5.2 Complex TypeDefinitionNodes and their InstanceDeclarations . 20
4.5.3 Subtyping . 21
4.5.4 Instantiation of complex TypeDefinitionNodes . 21
4.6 Event Model . 22
4.6.1 General . 22
4.6.2 EventTypes . 22
4.6.3 Event Categorization . 23
4.7 Methods . 23
4.8 Roles . 24
4.8.1 Overview . 24
4.8.2 Well-known Roles . 24
4.8.3 Evaluating Permissions with Roles . 25
5 Standard NodeClasses . 27
5.1 Overview. 27
5.2 Base NodeClass . 28
5.2.1 General . 28
5.2.2 NodeId. 28
5.2.3 NodeClass . 28
5.2.4 BrowseName . 28
5.2.5 DisplayName . 29
5.2.6 Description . 29
5.2.7 WriteMask . 29
5.2.8 UserWriteMask . 29

5.2.9 RolePermissions . 30
5.2.10 UserRolePermissions . 31
5.2.11 AccessRestrictions . 31
5.3 ReferenceType NodeClass . 31
5.3.1 General . 31
5.3.2 Attributes . 32
5.3.3 References . 34
5.4 View NodeClass . 34
5.5 Objects . 36
5.5.1 Object NodeClass . 36
5.5.2 ObjectType NodeClass . 38
5.5.3 Standard ObjectType FolderType . 40
5.5.4 Client-side creation of Objects of an ObjectType . 40
5.6 Variables . 40
5.6.1 General . 40
5.6.2 Variable NodeClass . 41
5.6.3 Properties . 45
5.6.4 DataVariable . 45
5.6.5 VariableType NodeClass . 46
5.6.6 Client-side creation of Variables of an VariableType . 49
5.7 Method NodeClass . 49
5.8 DataTypes . 51
5.8.1 DataType Model . 51
5.8.2 Encoding rules for different kinds of DataTypes . 52
5.8.3 DataType NodeClass . 53
5.8.4 DataTypeEncoding and encoding information . 56
5.9 Summary of Attributes of the NodeClasses . 56
6 Type Model for ObjectTypes and VariableTypes . 57
6.1 Overview. 57
6.2 Definitions. 57
6.2.1 InstanceDeclaration . 57
6.2.2 Instances without ModellingRules . 58
6.2.3 InstanceDeclarationHierarchy . 58
6.2.4 Similar Node of InstanceDeclaration . 58
6.2.5 BrowsePath . 58
6.2.6 Attribute Handling of InstanceDeclarations . 58
6.2.7 Attribute Handling of Variable and VariableTypes . 58
6.2.8 NodeIds of InstanceDeclarations . 59
6.3 Subtyping of ObjectTypes and VariableTypes . 59
6.3.1 Overview . 59
6.3.2 Attributes . 59
6.3.3 InstanceDeclarations . 59
6.4 Instances of ObjectTypes and VariableTypes . 63
6.4.1 Overview . 63
6.4.2 Creating an Instance . 63
6.4.3 Constraints on an Instance . 64
6.4.4 ModellingRules . 65
6.5 Changing type definitions that are already used . 72
7 Standard ReferenceTypes . 73

– 4 – IEC 62541-3:2020 © IEC 2020
7.1 General . 73
7.2 References ReferenceType . 73
7.3 HierarchicalReferences ReferenceType . 74
7.4 NonHierarchicalReferences ReferenceType . 74
7.5 HasChild ReferenceType . 74
7.6 Aggregates ReferenceType . 74
7.7 HasComponent ReferenceType. 74
7.8 HasProperty ReferenceType . 75
7.9 HasOrderedComponent ReferenceType . 75
7.10 HasSubtype ReferenceType . 75
7.11 Organizes ReferenceType. 76
7.12 HasModellingRule ReferenceType . 76
7.13 HasTypeDefinition ReferenceType . 76
7.14 HasEncoding ReferenceType . 76
7.15 GeneratesEvent . 77
7.16 AlwaysGeneratesEvent . 77
7.17 HasEventSource . 77
7.18 HasNotifier . 77
8 Standard DataTypes . 79
8.1 General . 79
8.2 NodeId . 79
8.2.1 General . 79
8.2.2 NamespaceIndex . 79
8.2.3 IdentifierType . 80
8.2.4 Identifier value . 80
8.3 QualifiedName . 81
8.4 LocaleId . 81
8.5 LocalizedText . 82
8.6 Argument . 82
8.7 BaseDataType . 83
8.8 Boolean . 83
8.9 Byte . 83
8.10 ByteString . 83
8.11 DateTime . 83
8.12 Double . 83
8.13 Duration . 84
8.14 Enumeration . 84
8.15 Float . 84
8.16 Guid . 84
8.17 SByte . 84
8.18 IdType . 84
8.19 Image . 84
8.20 ImageBMP . 84
8.21 ImageGIF . 84
8.22 ImageJPG . 84
8.23 ImagePNG . 84
8.24 Integer . 85
8.25 Int16 . 85
8.26 Int32 . 85

8.27 Int64 . 85
8.28 TimeZoneDataType. 85
8.29 NamingRuleType . 85
8.30 NodeClass . 85
8.31 Number . 86
8.32 String . 86
8.33 Structure . 86
8.34 UInteger . 86
8.35 UInt16 . 86
8.36 UInt32 . 86
8.37 UInt64 . 86
8.38 UtcTime . 86
8.39 XmlElement . 87
8.40 EnumValueType . 87
8.41 OptionSet . 87
8.42 Union . 88
8.43 DateString . 88
8.44 DecimalString . 88
8.45 DurationString . 88
8.46 NormalizedString . 89
8.47 TimeString . 89
8.48 DataTypeDefinition . 89
8.49 StructureDefinition . 89
8.50 EnumDefinition . 90
8.51 StructureField . 90
8.52 EnumField . 91
8.53 AudioDataType . 91
8.54 Decimal . 91
8.55 PermissionType . 92
8.56 AccessRestrictionsType . 93
8.57 AccessLevelType . 93
8.58 AccessLevelExType . 94
8.59 EventNotifierType . 95
8.60 AttributeWriteMask. 95
9 Standard EventTypes . 96
9.1 General . 96
9.2 BaseEventType . 97
9.3 SystemEventType . 97
9.4 ProgressEventType . 97
9.5 AuditEventType . 98
9.6 AuditSecurityEventType . 99
9.7 AuditChannelEventType . 99
9.8 AuditOpenSecureChannelEventType . 99
9.9 AuditSessionEventType . 99
9.10 AuditCreateSessionEventType . 99
9.11 AuditUrlMismatchEventType . 100
9.12 AuditActivateSessionEventType . 100
9.13 AuditCancelEventType . 100
9.14 AuditCertificateEventType . 100

– 6 – IEC 62541-3:2020 © IEC 2020
9.15 AuditCertificateDataMismatchEventType . 100
9.16 AuditCertificateExpiredEventType . 100
9.17 AuditCertificateInvalidEventType . 100
9.18 AuditCertificateUntrustedEventType . 100
9.19 AuditCertificateRevokedEventType . 100
9.20 AuditCertificateMismatchEventType . 101
9.21 AuditNodeManagementEventType . 101
9.22 AuditAddNodesEventType . 101
9.23 AuditDeleteNodesEventType . 101
9.24 AuditAddReferencesEventType . 101
9.25 AuditDeleteReferencesEventType . 101
9.26 AuditUpdateEventType . 101
9.27 AuditWriteUpdateEventType . 101
9.28 AuditHistoryUpdateEventType . 101
9.29 AuditUpdateMethodEventType . 101
9.30 DeviceFailureEventType . 101
9.31 SystemStatusChangeEventType . 102
9.32 ModelChangeEvents . 102
9.32.1 General . 102
9.32.2 NodeVersion Property. 102
9.32.3 Views . 102
9.32.4 Event compression . 102
9.32.5 BaseModelChangeEventType . 102
9.32.6 GeneralModelChangeEventType. 103
9.32.7 Guidelines for ModelChangeEvents . 103
9.33 SemanticChangeEventType . 103
9.33.1 General . 103
9.33.2 ViewVersion and NodeVersion Properties . 103
9.33.3 Views . 103
9.33.4 Event compression . 104
Annex A (informative) How to use the Address Space Model . 105
A.1 Overview. 105
A.2 Type definitions . 105
A.3 ObjectTypes. 105
A.4 VariableTypes . 106
A.4.1 General . 106
A.4.2 Properties or DataVariables . 106
A.4.3 Many Variables and/or structured DataTypes . 106
A.5 Views . 107
A.6 Methods . 107
A.7 Defining ReferenceTypes . 107
A.8 Defining ModellingRules . 107
Annex B (informative) OPC UA Meta Model in UML . 108
B.1 Background. 108
B.2 Notation . 108
B.3 Meta Model . 110
B.3.1 Base . 110
B.3.2 ReferenceType . 110
B.3.3 Predefined ReferenceTypes. 111

B.3.4 Attributes . 111
B.3.5 Object and ObjectType . 112
B.3.6 EventNotifier . 113
B.3.7 Variable and VariableType . 113
B.3.8 Method . 114
B.3.9 DataType . 115
B.3.10 View . 116
Annex C (normative) Graphical notation . 117
C.1 General . 117
C.2 Notation . 117
C.2.1 Overview . 117
C.2.2 Simple notation . 117
C.2.3 Extended notation . 119
Bibliography . 122

Figure 1 – AddressSpace Node diagrams . 14
Figure 2 – OPC UA Object Model . 16
Figure 3 – AddressSpace Node Model . 17
Figure 4 – Reference Model . 18
Figure 5 – Example of a Variable defined by a VariableType . 20
Figure 6 – Example of a Complex TypeDefinition . 20
Figure 7 – Object and its Components defined by an ObjectType . 21
Figure 8 – Permissions in the Address Space . 31
Figure 9 – Symmetric and Non-Symmetric References . 33
Figure 10 – Variables, VariableTypes and their DataTypes . 52
Figure 11 – DataType Model . 52
Figure 12 – Example of DataType Modelling . 56
Figure 13 – Subtyping TypeDefinitionNodes . 60
Figure 14 – The Fully-Inherited InstanceDeclarationHierarchy for BetaType . 62
Figure 15 – An Instance and its TypeDefinitionNode . 63
Figure 16 – Example of several References between InstanceDeclarations . 64
Figure 17 – Example of changing instances based on InstanceDeclarations . 66
Figure 18 – Example of changing InstanceDeclarations based on an
InstanceDeclaration . 67
Figure 19 – Use of the Standard ModellingRule Mandatory . 68
Figure 20 – Example using the Standard ModellingRules Optional and Mandatory . 69
Figure 21 – Example of using ExposesItsArray . 70
Figure 22 – Complex example of using ExposesItsArray . 70
Figure 23 – Example using OptionalPlaceholder with an Object and Variable. 70
Figure 24 – Example using OptionalPlaceholder with a Method . 71
Figure 25 – Example of using MandatoryPlaceholder for Object and Variable . 72
Figure 26 – Standard ReferenceType Hierarchy . 73
Figure 27 – Event Reference Example . 78
Figure 28 – Complex Event Reference Example . 79
Figure 29 – Standard EventType Hierarchy . 97

– 8 – IEC 62541-3:2020 © IEC 2020
Figure 30 – Audit Behaviour of a Server. 98
Figure 31 – Audit Behaviour of an Aggregating Server . 99
Figure B.1 – Background of OPC UA Meta Model . 108
Figure B.2 – Notation (I) . 109
Figure B.3 – Notation (II) . 109
Figure B.4 – Base . 110
Figure B.5 – Reference and ReferenceType. 110
Figure B.6 – Predefined ReferenceTypes . 111
Figure B.7 – Attributes . 112
Figure B.8 – Object and ObjectType . 113
Figure B.9 – EventNotifier . 113
Figure B.10 – Variable and VariableType . 114
Figure B.11 – Method . 115
Figure B.12 – DataType . 115
Figure B.13 – View . 116
Figure C.1 – Example of a Reference connecting two Nodes . 118
Figure C.2 – Example of using a TypeDefinition inside a Node . 120
Figure C.3 – Example of exposing Attributes . 120
Figure C.4 – Example of exposing Properties inline . 121

Table 1 – NodeClass Table Conventions. 15
Table 2 – Well-known Roles . 25
Table 3 – Example Roles . 26
Table 4 – Example Nodes . 26
Table 5 – Example Role assignment . 27
Table 6 – Examples of evaluating access . 27
Table 7 – Base NodeClass . 28
Table 8 – RolePermissionType . 30
Table 9 – ReferenceType NodeClass . 32
Table 10 – View NodeClass . 35
Table 11 – Object NodeClass . 37
Table 12 – ObjectType NodeClass . 39
Table 13 – Variable NodeC
...

Questions, Comments and Discussion

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

Loading comments...