OPC Unified Architecture - Part 11: Historical Access (IEC 62541-11:2020)

This part of IEC 62541 is part of the OPC Unified Architecture standard series and defines the
information model associated with Historical Access (HA). It particularly includes additional
and complementary descriptions of the NodeClasses and Attributes needed for Historical
Access, additional standard Properties, and other information and behaviour.
The complete AddressSpace Model including all NodeClasses and Attributes is specified in
IEC 62541-3. The predefined Information Model is defined in IEC 62541-5. The Services to
detect and access historical data and events, and description of the ExtensibleParameter
types are specified in IEC 62541-4.
This document includes functionality to compute and return Aggregates like minimum,
maximum, average etc. The Information Model and the concrete working of Aggregates are
defined in IEC 62541-13.

OPC Unified Architecture - Teil 11: Zugang zu historischen Daten (IEC 62541-11:2020)

Architecture unifiée OPC - Partie 11: Accès à l'Historique (IEC 62541-11:2020)

IEC 62541-11:2020 est disponible sous forme de IEC 62541-11:2020 RLV qui contient la Norme internationale et sa version Redline, illustrant les modifications du contenu technique depuis l'édition précédente.

L'IEC 62541-11:2020 fait partie d'une série de normes d'Architecture Unifiée OPC globale et définit le Modèle d'Information associé à l'Accès à l'Historique (HA). Elle inclut en particulier des descriptions supplémentaires et complémentaires des NodeClasses et des Attributs nécessaires pour l'Accès à l'Historique, des Propriétés normalisées supplémentaires et d'autres informations et comportements. Le Modèle complet de l'AddressSpace comprenant toutes les NodeClasses et tous les Attributs est présenté dans l'IEC 62541-3. Le Modèle d'Information prédéfini est présenté dans l'IEC 62541-5. Les Services permettant de détecter et d'accéder aux données et événements historiques, ainsi qu'une description des types ExtensibleParameter, sont spécifiés dans l'IEC 62541-4. Le présent document inclut une fonctionnalité permettant de calculer et de renvoyer des Agrégats (minimum, maximum, moyenne, etc.). Le Modèle d'information et la fonction concrète des Agrégats sont définis dans l'IEC 62541-13. Cette troisième édition annule et remplace la deuxième édition parue en 2015. Cette édition constitue une révision technique. Cette édition inclut les modifications techniques majeures suivantes par rapport à l'édition précédente:
a) ajout d'une nouvelle procédure de détermination de la première référence historique;
b) ajout d'explications complémentaires sur les procédures d'ajout, d'insertion, de modification et de suppression d'annotations.

Enotna arhitektura OPC - 11. del: Zgodovinski dostop (IEC 62541-11:2020)

General Information

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

Relations

Buy Standard

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

Standards Content (Sample)

SLOVENSKI STANDARD
SIST EN IEC 62541-11:2020
01-december-2020
Nadomešča:
SIST EN 62541-11:2015
Enotna arhitektura OPC - 11. del: Zgodovinski dostop (IEC 62541-11:2020)
OPC Unified Architecture - Part 11: Historical Access (IEC 62541-11:2020)
OPC Unified Architecture - Teil 11: Zugang zu historischen Daten (IEC 62541-11:2020)
Architecture unifiée OPC - Partie 11: Accès à l'Historique (IEC 62541-11:2020)
Ta slovenski standard je istoveten z: EN IEC 62541-11: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-11: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-11:2020

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


EUROPEAN STANDARD EN IEC 62541-11

NORME EUROPÉENNE

EUROPÄISCHE NORM
August 2020
ICS 35.100.05; 25.040.40 Supersedes EN 62541-11:2015 and all of its
amendments and corrigenda (if any)
English Version
OPC Unified Architecture - Part 11: Historical Access
(IEC 62541-11:2020)
Architecture unifiée OPC - Partie 11: Accès à l'Historique OPC Unified Architecture - Teil 11: Zugang zu historischen
(IEC 62541-11:2020) Daten
(IEC 62541-11:2020)
This European Standard was approved by CENELEC on 2020-07-28. 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-11:2020 E

---------------------- Page: 3 ----------------------
SIST EN IEC 62541-11:2020
EN IEC 62541-11:2020 (E)
European foreword
The text of document 65E/710/FDIS, future edition 3 of IEC 62541-11, 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-11:2020.
The following dates are fixed:
• latest date by which the document has to be implemented at national (dop) 2021-04-28
level by publication of an identical national standard or by endorsement
• latest date by which the national standards conflicting with the (dow) 2023-07-28
document have to be withdrawn
This document supersedes EN 62541-11:2015 and all of its amendments and corrigenda (if any).
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.
This document has been prepared under a mandate given to CENELEC by the European Commission
and the European Free Trade Association.
Endorsement notice
The text of the International Standard IEC 62541-11:2020 was approved by CENELEC as a European
Standard without any modification.
In the official version, for Bibliography, the following notes have to be added for the standards
indicated:
IEC 62541-6 NOTE Harmonized as EN 62541-6
IEC 62541-7 NOTE Harmonized as EN 62541-7

2

---------------------- Page: 4 ----------------------
SIST EN IEC 62541-11:2020
EN IEC 62541-11:2020 (E)
Annex A
(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 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-8 - OPC Unified Architecture - Part 8: Data EN IEC 62541-8 -
Access
IEC 62541-13 - OPC Unified Architecture - Part 13: EN IEC 62541-13 -
Aggregates

3

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

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




IEC 62541-11

®


Edition 2.0 2020-06




INTERNATIONAL



STANDARD




NORME


INTERNATIONALE
colour

inside










OPC unified architecture –

Part 11: Historical Access



Architecture unifiée OPC –

Partie 11: Accès à l'Historique
















INTERNATIONAL

ELECTROTECHNICAL

COMMISSION


COMMISSION

ELECTROTECHNIQUE


INTERNATIONALE




ICS 25.040.40; 35.100.05 ISBN 978-2-8322-8454-4



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-11:2020
– 2 – IEC 62541-11:2020 © IEC 2020
CONTENTS
FOREWORD . 5
1 Scope . 7
2 Normative references . 7
3 Terms, definitions, and abbreviated terms . 7
3.1 Terms and definitions . 7
3.2 Abbreviated terms . 9
4 Concepts . 9
4.1 General . 9
4.2 Data architecture . 10
4.3 Timestamps . 10
4.4 Bounding Values and time domain . 11
4.5 Changes in AddressSpace over time . 13
5 Historical Information Model . 13
5.1 HistoricalNodes. 13
5.1.1 General . 13
5.1.2 Annotations Property . 13
5.2 HistoricalDataNodes . 14
5.2.1 General . 14
5.2.2 HistoricalDataConfigurationType. 14
5.2.3 HasHistoricalConfiguration ReferenceType . 15
5.2.4 Historical Data Configuration Object . 16
5.2.5 HistoricalDataNodes Address Space Model . 17
5.2.6 Attributes . 17
5.3 HistoricalEventNodes . 18
5.3.1 General . 18
5.3.2 HistoricalEventFilter Property . 18
5.3.3 HistoricalEventNodes Address Space Model . 18
5.3.4 HistoricalEventNodes Attributes . 19
5.4 Exposing supported functions and capabilities . 19
5.4.1 General . 19
5.4.2 HistoryServerCapabilitiesType . 20
5.5 Annotation DataType . 22
5.6 Historical Audit Events . 23
5.6.1 General . 23
5.6.2 AuditHistoryEventUpdateEventType . 23
5.6.3 AuditHistoryValueUpdateEventType . 24
5.6.4 AuditHistoryAnnotationUpdateEventType . 25
5.6.5 AuditHistoryDeleteEventType . 25
5.6.6 AuditHistoryRawModifyDeleteEventType . 26
5.6.7 AuditHistoryAtTimeDeleteEventType . 27
5.6.8 AuditHistoryEventDeleteEventType . 27
6 Historical Access specific usage of Services . 28
6.1 General . 28
6.2 Historical Nodes StatusCodes . 28
6.2.1 Overview . 28
6.2.2 Operation level result codes . 28

---------------------- Page: 8 ----------------------
SIST EN IEC 62541-11:2020
IEC 62541-11:2020 © IEC 2020 – 3 –
6.2.3 Semantics changed . 30
6.3 Continuation Points . 30
6.4 HistoryReadDetails parameters . 31
6.4.1 Overview . 31
6.4.2 ReadEventDetails structure . 31
6.4.3 ReadRawModifiedDetails structure . 33
6.4.4 ReadProcessedDetails structure . 35
6.4.5 ReadAtTimeDetails structure . 37
6.4.6 ReadAnnotationDataDetails structure . 38
6.5 HistoryData parameters returned . 39
6.5.1 Overview . 39
6.5.2 HistoryData type . 39
6.5.3 HistoryModifiedData type . 39
6.5.4 HistoryEvent type . 39
6.5.5 HistoryAnnotationData type . 40
6.6 HistoryUpdateType Enumeration . 40
6.7 PerformUpdateType Enumeration . 40
6.8 HistoryUpdateDetails parameter . 40
6.8.1 Overview . 40
6.8.2 UpdateDataDetails structure . 42
6.8.3 UpdateStructureDataDetails structure . 43
6.8.4 UpdateEventDetails structure . 44
6.8.5 DeleteRawModifiedDetails structure . 46
6.8.6 DeleteAtTimeDetails structure . 47
6.8.7 DeleteEventDetails structure . 48
Annex A (informative) Client conventions . 49
A.1 How clients may request timestamps . 49
A.2 Determining the first historical data point . 50
Bibliography . 52

Figure 1 – Possible OPC UA Server supporting Historical Access . 10
Figure 2 – ReferenceType hierarchy . 16
Figure 3 – Historical Variable with Historical Data Configuration and Annotations . 17
Figure 4 – Representation of an Event with History in the AddressSpace . 19
Figure 5 – Server and HistoryServer Capabilities . 20

Table 1 – Bounding Value examples . 12
Table 2 – Annotations Property . 13
Table 3 – HistoricalDataConfigurationType definition . 14
Table 4 – ExceptionDeviationFormat Values . 15
Table 5 – HasHistoricalConfiguration ReferenceType . 16
Table 6 – Historical Access configuration definition. 16
Table 7 – Historical Events Properties . 18
Table 8 – HistoryServerCapabilitiesType Definition . 21
Table 9 – Annotation Structure . 23
Table 10 – AuditHistoryEventUpdateEventType definition . 23

---------------------- Page: 9 ----------------------
SIST EN IEC 62541-11:2020
– 4 – IEC 62541-11:2020 © IEC 2020
Table 11 – AuditHistoryValueUpdateEventType definition . 24
Table 12 – AuditHistoryAnnotationUpdateEventType definition . 25
Table 13 – AuditHistoryDeleteEventType definition . 26
Table 14 – AuditHistoryRawModifyDeleteEventType definition . 26
Table 15 – AuditHistoryAtTimeDeleteEventType definition . 27
Table 16 – AuditHistoryEventDeleteEventType definition . 27
Table 17 – Bad operation level result codes . 29
Table 18 – Good operation level result codes . 29
Table 19 – HistoryReadDetails parameterTypeIds . 31
Table 20 – ReadEventDetails . 32
Table 21 – ReadRawModifiedDetails . 33
Table 22 – ReadProcessedDetails . 36
Table 23 – NodesToRead and aggregateType parameters . 37
Table 24 – ReadAtTimeDetails . 37
Table 25 – ReadAnnotaionDataDetails . 38
Table 26 – HistoryData Details . 39
Table 27 – HistoryModifiedData Details . 39
Table 28 – HistoryEvent Details . 39
Table 29 – HistoryUpdateType Enumeration . 40
Table 30 – PerformUpdateType Enumeration . 40
Table 31 – HistoryUpdateDetails parameter TypeIds . 41
Table 32 – UpdateDataDetails . 42
Table 33 – UpdateStructureDataDetails . 43
Table 34 – UpdateEventDetails . 45
Table 35 – DeleteRawModifiedDetails . 47
Table 36 – DeleteAtTimeDetails . 47
Table 37 – DeleteEventDetails . 48
Table A.1 – Time keyword definitions . 50
Table A.2 –Time offset definitions . 50

---------------------- Page: 10 ----------------------
SIST EN IEC 62541-11:2020
IEC 62541-11:2020 © IEC 2020 – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________

OPC UNIFIED ARCHITECTURE –

Part 11: Historical Access

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as "IEC
Publication(s)"). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
IEC 62541-11 has been prepared by subcommittee 65E: Devices and integration in enterprise
systems, of IEC technical committee 65: Industrial-process measurement, control and
automation.
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) a new method for determining the first historical point has been added;
b) added clarifications on how to add, insert, modify, and delete annotations.

---------------------- Page: 11 ----------------------
SIST EN IEC 62541-11:2020
– 6 – IEC 62541-11:2020 © IEC 2020
The text of this standard is based on the following documents:
FDIS Report on voting
65E/710/FDIS 65E/728/RVD

Full information on the voting for the approval of this International Standard can be found in
the report on voting indicated in the above table.
This document has been drafted in accordance with the ISO/IEC Directives, Part 2.
Throughout this document and the other parts of the IEC 62541 series, certain document
conventions are used:
Italics are used to denote a defined term or definition that appears in the "Terms and
definition" clause in one of the parts of the IEC 62541 series.
Italics are also used to denote the name of a service input or output parameter or the name of
a structure or element of a structure that are usually defined in tables.
The italicized terms and names are, with a few exceptions, also written in camel-case (the
practice of writing compound words or phrases in which the elements are joined without
spaces, with each element's initial letter capitalized within the compound). For example the
defined term is AddressSpace instead of Address Space. This makes it easier to understand
that there is a single definition for AddressSpace, not separate definitions for Address and
Space.
A list of all parts of the IEC 62541 series, published under the general title OPC Unified
Architecture, can be found on the IEC website.
The committee has decided that the contents of this document will remain unchanged until the
stability date indicated on the IEC website under "http://webstore.iec.ch" in the data related to
the specific document. At this date, the document will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.

IMPORTANT – The 'colour inside' logo on the cover page of this publication indicates
that it contains colours which are considered to be useful for the correct
understanding of its contents. Users should therefore print this document using a
colour printer.

---------------------- Page: 12 ----------------------
SIST EN IEC 62541-11:2020
IEC 62541-11:2020 © IEC 2020 – 7 –
OPC UNIFIED ARCHITECTURE –

Part 11: Historical Access



1 Scope
This part of IEC 62541 is part of the OPC Unified Architecture standard series and defines the
information model associated with Historical Access (HA). It particularly includes additional
and complementary descriptions of the NodeClasses and Attributes needed for Historical
Access, additional standard Properties, and other information and behaviour.
The complete AddressSpace Model including all NodeClasses and Attributes is specified in
IEC 62541-3. The predefined Information Model is defined in IEC 62541-5. The Services to
detect and access historical data and events, and description of the ExtensibleParameter
types are specified in IEC 62541-4.
This document includes functionality to compute and return Aggregates like minimum,
maximum, average etc. The Information Model and the concrete working of Aggregates are
defined in IEC 62541-13.
2 Normative references
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.
IEC TR 62541-1, OPC Unified Architecture – Part 1: Overview and Concepts
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-8, OPC Unified Architecture – Part 8: Data Access
IEC 62541-13, OPC Unified Architecture – Part 13: Aggregates
3 Terms, definitions, and abbreviated terms
3.1 Terms and definitions
For the purposes of this document, the terms and definitions given in IEC TR 62541-1,
IEC 62541-3, IEC 62541-4, and IEC 62541-13 as well as the following apply.
ISO and IEC maintain terminological databases for use in standardization at the following
addresses:
• IEC Electropedia: available at http://www.electropedia.org/
• ISO Online browsing platform: available at http://www.iso.org/obp

---------------------- Page: 13 ----------------------
SIST EN IEC 62541-11:2020
– 8 – IEC 62541-11:2020 © IEC 2020
3.1.1
annotation
metadata associated with an item at a given instance in time
Note 1 to entry: An Annotation is metadata that is associated with an item at a given instance in time.
...

SLOVENSKI STANDARD
oSIST prEN IEC 62541-11:2018
01-november-2018
Enotna arhitektura OPC - 11. del: Zgodovinski dostop
OPC Unified Architecture - Part 11: Historical Access
Architecture unifiée OPC - Partie 11: Accès à l'Historique
Ta slovenski standard je istoveten z: prEN IEC 62541-11: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-11: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-11:2018

---------------------- Page: 2 ----------------------
oSIST prEN IEC 62541-11:2018
65E/612/CDV

COMMITTEE DRAFT FOR VOTE (CDV)
PROJECT NUMBER:
IEC 62541-11 ED2
DATE OF CIRCULATION: CLOSING DATE FOR VOTING:
2018-08-17 2018-11-09
SUPERSEDES DOCUMENTS:
65E/560/RR

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
Attention IEC-CENELEC parallel voting
The attention of IEC National Committees, members of
CENELEC, is drawn to the fact that this Committee Draft for
Vote (CDV) is submitted for parallel voting.
The CENELEC members are invited to vote through the
CENELEC online voting system.

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 11: Historical Access

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-11:2018
IEC CDV 62541-11 © IEC 2017 - 2 - 65E/612/CDV
CONTENTS

FIGURES . 3
TABLES . 3
FOREWORD . 5
1 Scope . 7
2 Normative references . 7
3 Terms, definitions, and abbreviations . 7
3.1 Terms and definitions . 7
3.2 Abbreviations . 9
4 Concepts . 9
4.1 General . 9
4.2 Data architecture . 9
4.3 Timestamps . 10
4.4 Bounding Values and time domain . 11
4.5 Changes in AddressSpace over time . 12
5 Historical Information Model . 12
5.1 HistoricalNodes . 12
5.1.1 General . 12
5.1.2 Annotations Property. 13
5.2 HistoricalDataNodes . 13
5.2.1 General . 13
5.2.2 HistoricalDataConfigurationType . 13
5.2.3 HasHistoricalConfiguration ReferenceType . 15
5.2.4 Historical Data Configuration Object . 15
5.2.5 HistoricalDataNodes Address Space Model . 16
5.2.6 Attributes . 17
5.3 HistoricalEventNodes . 17
5.3.1 General . 17
5.3.2 HistoricalEventFilter Property . 17
5.3.3 HistoricalEventNodes Address Space Model . 17
5.3.4 HistoricalEventNodes Attributes . 18
5.4 Exposing supported functions and capabilities . 18
5.4.1 General . 18
5.4.2 HistoryServerCapabilitiesType . 19
5.5 Annotation DataType . 21
5.6 Historical Audit Events . 22
5.6.1 General . 22
5.6.2 AuditHistoryEventUpdateEventType . 22
5.6.3 AuditHistoryValueUpdateEventType . 23
5.6.4 AuditHistoryAnnotationUpdateEventType . 23
5.6.5 AuditHistoryDeleteEventType . 24
5.6.6 AuditHistoryRawModifyDeleteEventType . 24
5.6.7 AuditHistoryAtTimeDeleteEventType . 25
5.6.8 AuditHistoryEventDeleteEventType . 26
6 Historical Access specific usage of Services . 26
6.1 General . 26
6.2 Historical Nodes StatusCodes . 26

---------------------- Page: 4 ----------------------
oSIST prEN IEC 62541-11:2018
65E/612/CDV - 3 - IEC CDV 62541-11 © IEC 2017
6.2.1 Overview . 26
6.2.2 Operation level result codes . 26
6.2.3 Semantics changed . 28
6.3 Continuation Points . 28
6.4 HistoryReadDetails parameters . 28
6.4.1 Overview . 28
6.4.2 ReadEventDetails structure . 29
6.4.3 ReadRawModifiedDetails structure . 30
6.4.4 ReadProcessedDetails structure . 33
6.4.5 ReadAtTimeDetails structure . 34
6.4.6 ReadAnnotationDataDetails structure . 35
6.5 HistoryData parameters returned . 35
6.5.1 Overview . 35
6.5.2 HistoryData type . 35
6.5.3 HistoryModifiedData type . 36
6.5.4 HistoryEvent type . 36
6.5.5 HistoryAnnotationData type . 36
6.6 HistoryUpdateType Enumeration . 36
6.7 PerformUpdateType Enumeration . 37
6.8 HistoryUpdateDetails parameter . 37
6.8.1 Overview . 37
6.8.2 UpdateDataDetails structure . 39
6.8.3 UpdateStructureDataDetails structure . 40
6.8.4 UpdateEventDetails structure . 41
6.8.5 DeleteRawModifiedDetails structure . 43
6.8.6 DeleteAtTimeDetails structure . 43
6.8.7 DeleteEventDetails structure . 44
Annex A (informative) Client conventions . 45
A.1 How clients may request timestamps . 45
A.2 Determining the first historical data point . 46
Bibliography . 47

FIGURES

Figure 1 – Possible OPC UA Server supporting Historical Access . 10
Figure 2 – ReferenceType hierarchy . 15
Figure 3 – Historical Variable with Historical Data Configuration and Annotations . 16
Figure 4 – Representation of an Event with History in the AddressSpace . 18
Figure 5 – Server and HistoryServer Capabilities . 19

TABLES

Table 1 – Bounding Value examples . 11
Table 2 – Annotations Property . 13
Table 3 – HistoricalDataConfigurationType definition . 13
Table 4 – ExceptionDeviationFormat Values . 14
Table 5 – HasHistoricalConfiguration ReferenceType . 15

---------------------- Page: 5 ----------------------
oSIST prEN IEC 62541-11:2018
IEC CDV 62541-11 © IEC 2017 - 4 - 65E/612/CDV
Table 6 – Historical Access configuration definition . 16
Table 7 – Historical Events Properties . 17
Table 8 – HistoryServerCapabilitiesType Ddefinition . 20
Table 9 – Annotation Structure . 22
Table 10 – AuditHistoryEventUpdateEventType definition . 22
Table 11 – AuditHistoryValueUpdateEventType definition . 23
Table 12 – AuditHistoryAnnotationUpdateEventType definition . 23
Table 12 – AuditHistoryDeleteEventType definition . 24
Table 13 – AuditHistoryRawModifyDeleteEventType definition . 25
Table 14 – AuditHistoryAtTimeDeleteEventType definition . 25
Table 15 – AuditHistoryEventDeleteEventType definition . 26
Table 16 – Bad operation level result codes . 27
Table 17 – Good operation level result codes . 27
Table 18 – HistoryReadDetails parameterTypeIds . 29
Table 19 – ReadEventDetails . 29
Table 20 – ReadRawModifiedDetails . 30
Table 21 – ReadProcessedDetails . 33
Table 22 – ReadAtTimeDetails . 34
Table 24 – ReadAnnotaionDataDetails . 35
Table 23 – HistoryData Details . 35
Table 24 – HistoryModifiedData Details . 36
Table 27 – HistoryEvent Details . 36
Table 28 – HistoryData Details . 36
Table 26 – HistoryUpdateType Enumeration . 36
Table 27 – PerformUpdateType Enumeration . 37
Table 28 – HistoryUpdateDetails parameter TypeIds . 38
Table 29 – UpdateDataDetails . 39
Table 30 – UpdateStructureDataDetails. 40
Table 31 – UpdateEventDetails . 41
Table 32 – DeleteRawModifiedDetails . 43
Table 33 – DeleteAtTimeDetails . 43
Table 34 – DeleteEventDetails . 44
Table A.1 – Time keyword definitions . 46
Table A.2 –Time offset definitions . 46

---------------------- Page: 6 ----------------------
oSIST prEN IEC 62541-11:2018
65E/612/CDV - 5 - IEC CDV 62541-11 © IEC 2017
1 INTERNATIONAL ELECTROTECHNICAL COMMISSION
2 ____________
3
4 OPC UNIFIED ARCHITECTURE –
5
6 Part 11: Historical Access
7
8 FOREWORD
9 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all
10 national electrotechnical committees (IEC National Committees). The object of IEC is to promote international co-
11 operation on all questions concerning standardization in the electrical and electronic fields. To this end and in addition
12 to other activities, IEC publishes International Standards, Technical Specifications, Technical Reports, Publicly
13 Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their preparation is entrusted
14 to technical committees; any IEC National Committee interested in the subject dealt with may participate in this
15 preparatory work. International, governmental and non-governmental organizations liaising with the IEC also participate
16 in this preparation. IEC collaborates closely with the International Organization for Standardization (ISO) in accordance
17 with conditions determined by agreement between the two organizations.
18 2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
19 consensus of opinion on the relevant subjects since each technical committee has representation from all interested
20 IEC National Committees.
21 3) IEC Publications have the form of recommendations for international use and are accepted by IEC National Committees
22 in that sense. While all reasonable efforts are made to ensure that the technical content of IEC Publications is accurate,
23 IEC cannot be held responsible for the way in which they are used or for any misinterpretation by any end user.
24 4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications transparently
25 to the maximum extent possible in their national and regional publications. Any divergence between any IEC Publication
26 and the corresponding national or regional publication shall be clearly indicated in the latter.
27 5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
28 assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any services
29 carried out by independent certification bodies.
30 6) All users should ensure that they have the latest edition of this publication.
31 7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and members
32 of its technical committees and IEC National Committees for any personal injury, property damage or other damage of
33 any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out of the
34 publication, use of, or reliance upon, this IEC Publication or any other IEC Publications.
35 8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
36 indispensable for the correct application of this publication.
37 9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of patent
38 rights. IEC shall not be held responsible for identifying any or all such patent rights.
39 The main task of IEC technical committees is to prepare International Standards. However, a
40 technical committee may propose the publication of a technical report when it has collected data of a
41 different kind from that which is normally published as an International Standard, for example "state
42 of the art".
43 IEC 62541-11 has been prepared by subcommittee 65E: Devices and integration in enterprise
44 systems, of IEC technical committee 65: Industrial-process measurement, control and automation.
45 The text of this technical report is based on the following documents:
Enquiry draft Report on voting
65E/XX/DTR 65E/XX/RVC
46
47 Full information on the voting for the approval of this technical report can be found in the report on
48 voting indicated in the above table.
49 This third edition cancels and replaces the second edition of IEC 62541, published in 2015 and
50 includes the following significant technical changes with respect to the previous edition:
51 a) UpdateEventDetails has been changed to allow more than one event message.

---------------------- Page: 7 ----------------------
oSIST prEN IEC 62541-11:2018
IEC CDV 62541-11 © IEC 2017 - 6 - 65E/612/CDV
52 b) Added an instance of AggregateConfigurationType to the HistoricalServerCapabilities
53 c) Added clarifications on how to add, insert, modify, and delete annotations.
54 d) A new method for determining the first historical point has been added
55
56 This publication has been drafted in accordance with the ISO/IEC Directives, Part 2.
57 Throughout this document and the referenced other Parts of the series, certain document
58 conventions are used:
59 Italics are used to denote a defined term or definition that appears in the “Terms and definition”
60 clause in one of the parts of the series.
61 Italics are also used to denote the name of a service input or output parameter or the name of a
62 structure or element of a structure that are usually defined in tables.
63 The italicized terms and names are also often written in camel-case (the practice of writing
64 compound words or phrases in which the elements are joined without spaces, with each element's
65 initial letter capitalized within the compound). For example the defined term is AddressSpace instead
66 of Address Space. This makes it easier to understand that there is a single definition for
67 AddressSpace, not separate definitions for Address and Space.
68 A list of all parts of the IEC 62541 series, published under the general title OPC Unified Architecture,
69 can be found on the IEC website.
70 The committee has decided that the contents of this publication will remain unchanged until the
71 stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data related to the
72 specific publication. At this date, the publication will be
73 • reconfirmed,
74 • withdrawn,
75 • replaced by a revised edition, or
76 • amended.
77
78 The National Committees are requested to note that for this publication the stability date is 2021.
79 THIS TEXT IS INCLUDED FOR THE INFORMATION OF THE NATIONAL COMMITTEES AND WILL BE DELETED AT
80 THE PUBLICATION STAGE.
81 A bilingual version of this publication may be issued at a later date.
82
IMPORTANT – The 'colour inside' logo on the cover page of this publication indicates
that it contains colours which are considered to be useful for the correct
understanding of its contents. Users should therefore print this document using a
colour printer.

---------------------- Page: 8 ----------------------
oSIST prEN IEC 62541-11:2018
IEC CDV 62541-11 © IEC 2017 - 7 - 65E/612/CDV


83 OPC Unified Architecture
84
85 Part 11: Historical Access
86
87
88
89
90 1 Scope
91 This part of the OPC Unified Architecture standard series and defines the information model
92 associated with Historical Access (HA). It particularly includes additional and complementary
93 descriptions of the NodeClasses and Attributes needed for Historical Access, additional
94 standard Properties, and other information and behaviour.
95 The complete AddressSpace Model including all NodeClasses and Attributes is specified in
96 IEC 62541-3. The predefined Information Model is defined in IEC 62541-5. The Services to
97 detect and access historical data and events, and description of the ExtensibleParameter
98 types are specified in IEC 62541-4.
99 This standard includes functionality to compute and return Aggregates like minimum,
100 maximum, average etc. The Information Model and the concrete working of Aggregates are
101 defined inIEC 62541-13.
102 2 Normative references
103 The following documents, in whole or in part, are normatively referenced in this document and
104 are indispensable for its application. For dated references, only the edition cited applies. For
105 undated references, the latest edition of the referenced document (including any
106 amendments) applies.
107 IEC TR 62541-1, OPC Unified Architecture – Part 1: Overview and Concepts
108 IEC 62541-3, OPC Unified Architecture – Part 3: Address Space Model
109 IEC 62541-4, OPC Unified Architecture – Part 4: Services
110 IEC 62541-5, OPC Unified Architecture – Part 5: Information Model
111 IEC 62541-8, OPC Unified Architecture – Part 8: Data Access
112 IEC 62541-13, OPC Unified Architecture – Part 13: Aggregates
113 3 Terms, definitions, and abbreviations
114 3.1 Terms and definitions
115 For the purposes of this document, the terms and definitions given in IEC TR 62541-1,
116 IEC 62541-3, IEC 62541-4, andIEC 62541-13 as well as the following apply.
117 3.1.1
118 Annotation
119 metadata associated with an item at a given instance in time
120 Note 1 to entry: An Annotation is metadata that is associated with an item at a given instance in time.
121 3.1.2
122 BoundingValues
123 values associated with the starting and ending time
124 Note 1 to entry: BoundingValues are the values that are associated with the starting and ending time of a
125 ProcessingInterval specified when reading from the historian. BoundingValues may be required by Clients to
126 determine the starting and ending values when requesting raw data over a time range. If a raw data value exists at
127 the start or end point, it is considered the bounding value even though it is part of the data request. If no raw data

---------------------- Page: 9 ----------------------
oSIST prEN IEC 62541-11:2018
65E/612/CDV - 8 - IEC CDV 62541-11 © IEC 2017
128 value exists at the start or end point, then the Server will determine the boundary value, which may require data
129 from a data point outside of the requested range. See 4.4 for details on using BoundingValues.
130 3.1.3
131 HistoricalNode
132 Object, Variable, Property or View in the AddressSpace where a Client can access historical
133 data or Events
134 Note 1 to entry: A HistoricalNode is a term used in this document to represent any Object, Variable, Property or
135 View in the AddressSpace for which a Client may read and/or update historical data or Events. The terms
136 “HistoricalNode’s history” or “history of a HistoricalNode” will refer to the time series data or Events stored for this
137 HistoricalNode. The term HistoricalNode refers to both HistoricalDataNodes and HistoricalEventNodes.
138 3.1.4
139 HistoricalDataNode
140 Variable or Property in the AddressSpace where a Client can access historical data
141 Note 1 to entry: A HistoricalDataNode represents any Variable or Property in the AddressSpace for which a Client
142 may read and/or update historical data. “HistoricalDataNode’s history” or “history of a HistoricalDataNode” refers to
143 the time series data stored for this HistoricalNode. Examples of such data are:
144 • device data (like temperature sensors)
145 • calculated data
146 • status information (open/closed, moving)
147 • dynamically changing system data (like stock quotes)
148 • diagnostic data
149 The term HistoricalDataNodes is used when referencing aspects of the standard that apply to accessing historical
150 data only.
151 3.1.5
152 HistoricalEventNode
153 Object or View in the AddressSpace for which a Client can access historical Events
154 Note 1 to entry: “HistoricalEventNode’s history” or “history of a HistoricalEventNode” refers to the time series
155 Events stored in some historical system. Examples of such data are:
156 • Notifications
157 • system Alarms
158 • operator action Events
159 • system triggers (such as new orders to be processed)
160 The term HistoricalEventNode is used when referencing aspects of the standard that apply to accessing historical
161 Events only.
162 3.1.6
163 modified values
164 HistoricalDataNode’s value that has been changed (or manually inserted or deleted) after it
165 was stored in the historian
166 Note 1 to entry: For some Servers, a lab data entry value is not a modified value, but if a user corrects a lab
167 value, the original value would be considered a modified value, and would be r
...

Questions, Comments and Discussion

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