BS EN IEC 62541-6:2020
$215.11
OPC Unified Architecture – Mappings
Published By | Publication Date | Number of Pages |
BSI | 2020 | 126 |
IEC 62541-6:2020 is available as IEC 62541-6:2020 RLV which contains the International Standard and its Redline version, showing all changes of the technical content compared to the previous edition.
IEC 62541-6:2020 specifies the OPC Unified Architecture (OPC UA) mapping between the security model described in IEC TR 62541-2, the abstract service definitions specified in IEC 62541-4, the data structures defined in IEC 62541-5 and the physical network protocols that can be used to implement the OPC UA specification. This third edition cancels and replaces the second edition published in 2015. This edition constitutes a technical revision. This edition includes the following significant technical changes with respect to the previous edition: a) Encodings: • added JSON encoding for PubSub (non-reversible); • added JSON encoding for Client/Server (reversible); • added support for optional fields in structures; • added support for Unions. b) Transport mappings: • added WebSocket secure connection – WSS; • added support for reverse connectivity; • added support for session-less service invocation in HTTPS. c) Deprecated Transport (missing support on most platforms): • SOAP/HTTP with WS-SecureConversation (all encodings). d) Added mapping for JSON Web Token. e) Added support for Unions to NodeSet Schema. f) Added batch operations to add/delete nodes to/from NodeSet Schema. g) Added support for multi-dimensional arrays outside of Variants. h) Added binary representation for Decimal data types. i) Added mapping for an OAuth2 Authorization Framework.
PDF Catalog
PDF Pages | PDF Title |
---|---|
2 | undefined |
5 | Annex ZA(normative)Normative references to international publicationswith their corresponding European publications |
9 | English CONTENTS |
15 | FOREWORD |
18 | 1 Scope 2 Normative references |
20 | 3 Terms, definitions, abbreviated terms and symbols 3.1 Terms and definitions |
21 | 3.2 Abbreviated terms and symbols 4 Overview |
22 | Figures Figure 1 – The OPC UA Stack Overview |
23 | 5 Data encoding 5.1 General 5.1.1 Overview 5.1.2 Built-in Types Tables Table 1 – Built-in Data Types |
24 | 5.1.3 Guid 5.1.4 ByteString 5.1.5 ExtensionObject Table 2 – Guid structure |
25 | 5.1.6 Variant 5.1.7 Decimal |
26 | 5.2 OPC UA Binary 5.2.1 General 5.2.2 Built-in Types Table 3 – Layout of Decimal |
27 | Figure 2 – Encoding Integers in a binary stream Figure 3 – Encoding Floating Points in a binary stream Table 4 – Supported Floating Point Types |
28 | Figure 4 – Encoding Strings in a binary stream |
29 | Figure 5 – Encoding Guids in a binary stream Figure 6 – Encoding XmlElement in a binary stream Table 5 – NodeId components |
30 | Figure 7 – A String NodeId Table 6 – NodeId DataEncoding values Table 7 – Standard NodeId Binary DataEncoding |
31 | Figure 8 – A Two Byte NodeId Figure 9 – A Four Byte NodeId Table 8 – Two Byte NodeId Binary DataEncoding Table 9 – Four Byte NodeId Binary DataEncoding |
32 | Table 10 – ExpandedNodeId Binary DataEncoding |
33 | Table 11 – DiagnosticInfo Binary DataEncoding Table 12 – QualifiedName Binary DataEncoding |
34 | Table 13 – LocalizedText Binary DataEncoding |
35 | Table 14 – Extension Object Binary DataEncoding |
36 | Table 15 – Variant Binary DataEncoding |
37 | 5.2.3 Decimal 5.2.4 Enumerations 5.2.5 Arrays Table 16 – Data Value Binary DataEncoding |
38 | 5.2.6 Structures |
39 | Table 17 – Sample OPC UA Binary Encoded structure |
40 | 5.2.7 Structures with optional fields |
41 | Table 18 – Sample OPC UA Binary Encoded Structure with optional fields |
42 | 5.2.8 Unions Table 19 – Sample OPC UA Binary Encoded Structure |
43 | 5.2.9 Messages |
44 | 5.3 OPC UA XML 5.3.1 Built-in Types Table 20 – XML Data Type Mappings for Integers Table 21 – XML Data Type Mappings for Floating Points |
46 | Table 22 – Components of NodeId |
47 | Table 23 – Components of ExpandedNodeId |
50 | 5.3.2 Decimal 5.3.3 Enumerations |
51 | 5.3.4 Arrays 5.3.5 Structures Table 24 – Components of Enumeration |
52 | 5.3.6 Structures with optional fields 5.3.7 Unions |
53 | 5.3.8 Messages 5.4 OPC UA JSON 5.4.1 General 5.4.2 Built-in Types |
55 | Table 25 – JSON Object Definition for a NodeId |
56 | Table 26 – JSON Object Definition for an ExpandedNodeId Table 27 – JSON Object Definition for a StatusCode |
57 | Table 28 – JSON Object Definition for a DiagnosticInfo Table 29 – JSON Object Definition for a QualifiedName Table 30 – JSON Object Definition for a LocalizedText |
58 | Table 31 – JSON Object Definition for an ExtensionObject Table 32 – JSON Object Definition for a Variant |
59 | 5.4.3 Decimal 5.4.4 Enumerations 5.4.5 Arrays Table 33 – JSON Object Definition for a DataValue Table 34 – JSON Object Definition for a Decimal |
60 | 5.4.6 Structures 5.4.7 Structures with optional fields Table 35 – JSON Object Definition for a Structure with Optional Fields |
61 | 5.4.8 Unions 5.4.9 Messages Table 36 – JSON Object Definition for a Union |
62 | 6 Message SecurityProtocols 6.1 Security handshake Figure 10 – Security handshake |
63 | 6.2 Certificates 6.2.1 General Table 37 – SecurityPolicy |
64 | 6.2.2 Application Instance Certificate Table 38 – Application Instance Certificate |
65 | 6.2.3 Certificate Chains 6.3 Time synchronization 6.4 UTC and International Atomic Time (TAI) 6.5 Issued User Identity Tokens 6.5.1 Kerberos |
66 | 6.5.2 JSON Web Token (JWT) Table 39 – Kerberos UserTokenPolicy Table 40 – JWT UserTokenPolicy |
67 | 6.5.3 OAuth2 Table 41 – JWT IssuerEndpointUrl Definition |
68 | Table 42 – Access Token Claims |
69 | 6.6 WS Secure Conversation 6.7 OPC UA Secure Conversation 6.7.1 Overview 6.7.2 MessageChunk structure |
70 | Figure 11 – OPC UA Secure Conversation MessageChunk Table 43 – OPC UA Secure Conversation Message header |
71 | Table 44 – Asymmetric algorithm Security header |
72 | Table 45 – Symmetric algorithm Security header Table 46 – Sequence header |
73 | Table 47 – OPC UA Secure Conversation Message footer |
74 | 6.7.3 MessageChunks and error handling 6.7.4 Establishing a SecureChannel Table 48 – OPC UA Secure Conversation Message abort body |
75 | Table 49 – OPC UA Secure Conversation OpenSecureChannel Service |
76 | 6.7.5 Deriving keys |
77 | 6.7.6 Verifying Message security Table 50 – PRF inputs for RSA based SecurityPolicies Table 51 – Cryptography key generation parameters |
78 | 7 TransportProtocols 7.1 OPC UA Connection Protocol 7.1.1 Overview |
79 | 7.1.2 Message structure Figure 12 – OPC UA Connection Protocol Message structure Table 52 – OPC UA Connection Protocol Message header |
80 | Table 53 – OPC UA Connection Protocol Hello Message |
81 | Table 54 – OPC UA Connection Protocol Acknowledge Message Table 55 – OPC UA Connection Protocol Error Message |
82 | 7.1.3 Establishing a connection Table 56 – OPC UA Connection Protocol ReverseHello Message |
83 | Figure 13 – Client initiated OPC UA Connection Protocol connection Figure 14 – Server initiated OPC UA Connection Protocol connection |
84 | 7.1.4 Closing a connection 7.1.5 Error handling Figure 15 – Closing a OPC UA Connection Protocol connection |
85 | Table 57 – OPC UA Connection Protocol error codes |
86 | 7.2 OPC UA TCP 7.3 SOAP/HTTP 7.4 OPC UA HTTPS 7.4.1 Overview |
87 | Figure 16 – Scenarios for the HTTPS Transport |
88 | 7.4.2 Session-less Services 7.4.3 XML Encoding |
89 | 7.4.4 OPC UA Binary Encoding 7.4.5 JSON Encoding |
90 | 7.5 WebSockets 7.5.1 Overview |
91 | 7.5.2 Protocol Mapping 7.5.3 Security Figure 17 – Setting up Communication over a WebSocket Table 58 – WebSocket Protocols Mappings |
92 | 7.6 Well known addresses Table 59 – Well known addresses for Local Discovery Servers |
93 | 8 Normative Contracts 8.1 OPC Binary Schema 8.2 XML Schema and WSDL 8.3 Information Model Schema 8.4 Formal definition of UA Information Model 8.5 Constants 8.6 DataType encoding 8.7 Security configuration |
94 | Annexes Annex A (normative) Constants A.1 Attribute Ids A.2 Status Codes Table A.1 – Identifiers assigned to Attributes |
95 | A.3 Numeric Node Ids |
96 | Annex B (normative) OPC UA Nodeset |
97 | Annex C (normative) Type declarations for the OPC UA native Mapping |
98 | Annex D (normative) WSDL for the XML Mapping D.1 XML Schema D.2 WDSL Port Types D.3 WSDL Bindings |
99 | Annex E (normative) Security settings management E.1 Overview |
100 | E.2 SecuredApplication |
101 | Table E.1 – SecuredApplication |
103 | E.3 CertificateIdentifier |
104 | Table E.2 – CertificateIdentifier |
105 | E.4 CertificateStoreIdentifier Table E.3 – Structured directory store |
106 | E.5 CertificateList E.6 CertificateValidationOptions Table E.4 – CertificateStoreIdentifier Table E.5 – CertificateList |
107 | Table E.6 – CertificateValidationOptions |
108 | Annex F (normative) Information Model XML Schema F.1 Overview F.2 UANodeSet |
109 | Table F.1 – UANodeSet |
110 | F.3 UANode Table F.2 – UANode |
111 | F.4 Reference F.5 RolePermission F.6 UAType Table F.3 – Reference Table F.4 – RolePermission Table F.5 – UANodeSet Type Nodes |
112 | F.7 UAInstance F.8 UAVariable Table F.6 – UANodeSet Instance Nodes Table F.7 – UAInstance |
113 | F.9 UAMethod F.10 TranslationType Table F.8 – UAVariable Table F.9 – UAMethod |
114 | F.11 UADataType Table F.10 – TranslationType |
115 | F.12 DataTypeDefinition F.13 DataTypeField Table F.11 – UADataType Table F.12 – DataTypeDefinition |
116 | F.14 Variant Table F.13 – DataTypeField |
117 | F.15 Example |
119 | F.16 UANodeSetChanges Table F.14 – UANodeSetChanges |
120 | F.17 NodesToAdd F.18 ReferencesToChange Table F.15 – NodesToAdd Table F.16 – ReferencesToChange |
121 | F.19 ReferenceToChange F.20 NodesToDelete F.21 NodeToDelete Table F.17 – ReferencesToChange Table F.18 – NodesToDelete Table F.19 – ReferencesToChange |
122 | F.22 UANodeSetChangesStatus F.23 NodeSetStatusList F.24 NodeSetStatus Table F.20 – UANodeSetChangesStatus Table F.21 – NodeSetStatusList |
123 | Table F.22 – NodeSetStatus |
124 | Bibliography |