OPC Unified Architecture - Part 9: Alarms and Conditions

IEC 62541-9:2020 specifies the representation of Alarms and Conditions in the OPC Unified Architecture. Included is the Information Model representation of Alarms and Conditions in the OPC UA address space. Other aspects of alarm systems such as alarm philosophy, life cycle, alarm response times, alarm types and many other details are captured in documents such as IEC 62682 and ISA 18.2. The Alarms and Conditions Information Model in this specification is designed in accordance with IEC 62682 and ISA 18.2.
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) added optional engineering units to the definition of RateOfChange alarms;
b) to fulfill the IEC 62682 model, the following elements have been added:
- AlarmConditionType States: Suppression, Silence, OutOfService, Latched;
- AlarmConditionType Properties: OnDelay, OffDelay, FirstInGroup, ReAlarmTime;
- New alarm types: DiscrepencyAlarm, DeviationAlarm, InstrumentDiagnosticAlarm, SystemDiagnosticAlarm.
c) added Annex that specifies how the concepts of this OPC UA part maps to IEC 62682 and ISA 18.2;
d) added new ConditionClasses: Safety, HighlyManaged, Statistical, Testing, Training;
e) added CertificateExpiration AlarmType;
f) added Alarm Metrics model.

Architecture unifiée OPC - Partie 9: Alarmes et Conditions

L'IEC 62541-9:2020 spécifie la représentation des Alarmes et des Conditions dans l'Architecture unifiée OPC. Il comprend la représentation par le Modèle d'information des Alarmes et des Conditions dans l'espace d'adressage OPC UA. Les autres aspects des systèmes d'alarme tels que la philosophie d'alarme, le cycle de vie, le temps de réponse de l'alarme, les types d'alarmes et de nombreux autres détails figurent dans des documents tels que l'IEC 62682 et l'ISA 18.2. Le Modèle d'information sur les Alarmes et les Conditions de la présente spécification est conçu conformément à l'IEC 62682 et à l'ISA 18.2. 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) des unités techniques facultatives ont été ajoutées à la définition des alarmes RateOfChange;
b) afin de respecter le modèle IEC 62682, les éléments suivants ont été ajoutés:
- états d'AlarmConditionType: Suppression, Silence, OutOfService, Latched;
- Propriétés d'AlarmConditionType: OnDelay, OffDelay, FirstInGroup, ReAlarmTime;
- nouveaux types d'alarmes: DiscrepencyAlarm, DeviationAlarm, InstrumentDiagnosticAlarm, SystemDiagnosticAlarm;
c) ajout d'une annexe qui spécifie la manière dont les concepts de cette partie d'OPC UA assurent la correspondance avec l'IEC 62682 et l'ISA 18.2;
d) nouvelles ConditionClasses ajoutées: Safety, HighlyManaged, Statistical, Testing, Training;
e) ajout de l'AlarmType CertificateExpiration;
f) ajout d'un modèle de Mesures d'Alarme.

General Information

Status
Published
Publication Date
17-Jun-2020
Current Stage
PPUB - Publication issued
Start Date
18-Jun-2020
Completion Date
03-Jul-2020
Ref Project

Relations

Standard
IEC 62541-9:2020 RLV - OPC Unified Architecture - Part 9: Alarms and Conditions Released:6/18/2020 Isbn:9782832285541
English language
399 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 62541-9:2020 - OPC Unified Architecture - Part 9: Alarms and Conditions
English and French language
267 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 62541-9 ®
Edition 3.0 2020-06
REDLINE VERSION
INTERNATIONAL
STANDARD
colour
inside
OPC unified architecture –
Part 9: Alarms and Conditions
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-9 ®
Edition 3.0 2020-06
REDLINE VERSION
INTERNATIONAL
STANDARD
colour
inside
OPC unified architecture –
Part 9: Alarms and Conditions
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.05 ISBN 978-2-8322-8554-1

– 2 – IEC 62541-9:2020 RLV © IEC 2020
CONTENTS
FOREWORD . 10
1 Scope . 13
2 Normative references . 13
3 Terms, definitions, abbreviated terms and data types used . 13
3.1 Terms and definitions . 13
3.2 Abbreviated terms . 16
3.3 Data types used . 16
4 Concepts . 16
4.1 General . 16
4.2 Conditions . 17
4.3 Acknowledgeable Conditions . 18
4.4 Previous states of Conditions . 20
4.5 Condition state synchronization . 20
4.6 Severity, quality, and comment . 21
4.7 Dialogs . 21
4.8 Alarms . 21
4.9 Multiple active states . 23
4.10 Condition instances in the AddressSpace . 24
4.11 Alarm and Condition auditing . 25
5 Model . 25
5.1 General . 25
5.2 Two-state state machines . 26
5.3 ConditionVariable . 28
5.4 Substate ReferenceTypes . 28
5.4.1 General . 28
5.4.2 HasTrueSubState ReferenceType . 28
5.4.3 HasFalseSubState ReferenceType . 29
5.4.4 HasAlarmSuppressionGroup ReferenceType . 29
5.4.5 AlarmGroupMember ReferenceType . 30
5.5 Condition Model . 30
5.5.1 General . 30
5.5.2 ConditionType . 31
5.5.3 Condition and branch instances . 35
5.5.4 Disable Method . 35
5.5.5 Enable Method . 36
5.5.6 AddComment Method . 36
5.5.7 ConditionRefresh Method . 38
5.5.8 ConditionRefresh2 Method . 39
5.6 Dialog Model . 41
5.6.1 General . 41
5.6.2 DialogConditionType . 41
5.6.3 Respond Method . 43
5.7 Acknowledgeable Condition Model . 44
5.7.1 General . 44
5.7.2 AcknowledgeableConditionType . 44
5.7.3 Acknowledge Method . 45

5.7.4 Confirm Method . 46
5.8 Alarm model. 48
5.8.1 General . 48
5.8.2 AlarmConditionType . 48
5.8.3 AlarmGroupType . 53
5.8.4 Reset Method . 53
5.8.5 Silence Method . 54
5.8.6 Suppress Method . 55
5.8.7 Unsuppress Method . 56
5.8.8 RemoveFromService Method . 57
5.8.9 PlaceInService Method . 57
5.8.10 ShelvedStateMachineType . 58
5.8.11 LimitAlarmType . 63
5.8.12 Exclusive limit types . 65
5.8.13 NonExclusiveLimitAlarmType . 68
5.8.14 Level Alarm . 69
5.8.15 Deviation Alarm . 70
5.8.16 Rate of change Alarms . 71
5.8.17 Discrete Alarms . 73
5.8.18 DiscrepancyAlarmType . 76
5.9 ConditionClasses . 77
5.9.1 Overview . 77
5.9.2 BaseConditionClassType . 77
5.9.3 ProcessConditionClassType . 78
5.9.4 MaintenanceConditionClassType . 78
5.9.5 SystemConditionClassType . 78
5.9.6 SafetyConditionClassType . 79
5.9.7 HighlyManagedAlarmConditionClassType . 79
5.9.8 TrainingConditionClassType . 79
5.9.9 StatisticalConditionClassType. 80
5.9.10 TestingConditionSubClassType . 80
5.10 Audit Events . 80
5.10.1 Overview . 80
5.10.2 AuditConditionEventType. 81
5.10.3 AuditConditionEnableEventType . 82
5.10.4 AuditConditionCommentEventType . 82
5.10.5 AuditConditionRespondEventType . 82
5.10.6 AuditConditionAcknowledgeEventType . 83
5.10.7 AuditConditionConfirmEventType . 83
5.10.8 AuditConditionShelvingEventType . 84
5.10.9 AuditConditionSuppressionEventType . 84
5.10.10 AuditConditionSilenceEventType . 84
5.10.11 AuditConditionResetEventType . 85
5.10.12 AuditConditionOutOfServiceEventType . 85
5.11 Condition Refresh related Events . 85
5.11.1 Overview . 85
5.11.2 RefreshStartEventType . 86
5.11.3 RefreshEndEventType . 86
5.11.4 RefreshRequiredEventType . 86

– 4 – IEC 62541-9:2020 RLV © IEC 2020
5.12 HasCondition Reference type . 87
5.13 Alarm and Condition status codes . 87
5.14 Expected A&C server behaviours . 88
5.14.1 General . 88
5.14.2 Communication problems . 88
5.14.3 Redundant A&C servers . 88
6 AddressSpace organisation . 89
6.1 General . 89
6.2 EventNotifier and source hierarchy . 89
6.3 Adding Conditions to the hierarchy. 90
6.4 Conditions in InstanceDeclarations . 90
6.5 Conditions in a VariableType . 91
7 System State and alarms . 91
7.1 Overview. 91
7.2 HasEffectDisable . 92
7.3 HasEffectEnable . 92
7.4 HasEffectSuppress . 93
7.5 HasEffectUnsuppressed . 93
8 Alarm metrics . 94
8.1 Overview. 94
8.2 AlarmMetricsType . 94
8.3 AlarmRateVariableType . 95
8.4 Reset Method . 96
Annex A (informative) Recommended localized names . 97
A.1 Recommended state names for TwoState variables . 97
A.1.1 LocaleId "en" . 97
A.1.2 LocaleId "de" . 97
A.1.3 LocaleId "fr" . 98
A.2 Recommended dialog response options . 99
Annex B (informative) Examples . 100
B.1 Examples for Event sequences from Condition instances . 100
B.1.1 Overview . 100
B.1.2 Server maintains current state only . 100
B.1.3 Server maintains previous states . 101
B.2 AddressSpace examples . 102
Annex C (informative) Mapping to EEMUA . 105
Annex D (informative) Mapping from OPC A&E to OPC UA A&C . 106
D.1 Overview. 106
D.2 Alarms and Events COM UA wrapper . 106
D.2.1 Event Areas . 106
D.2.2 Event sources . 107
D.2.3 Event categories . 107
D.2.4 Event attributes . 108
D.2.5 Event subscriptions . 108
D.2.6 Condition instances . 110
D.2.7 Condition Refresh . 111
D.3 Alarms and Events COM UA proxy . 111
D.3.1 General . 111

D.3.2 Server status mapping . 111
D.3.3 Event Type mapping . 111
D.3.4 Event category mapping . 112
D.3.5 Event Category attribute mapping . 113
D.3.6 Event Condition mapping . 116
D.3.7 Browse mapping . 116
D.3.8 Qualified names . 117
D.3.9 Subscription filters . 118
Annex E (informative) IEC 62682 Mapping . 120
E.1 Overview. 120
E.2 Terms . 120
E.3 Alarm records and State indications . 126
Annex F (informative) System State . 127
F.1 Overview. 127
F.2 SystemStateStateMachineType . 128
Bibliography . 132

Figure 1 – Base Condition state model . 18
Figure 2 – AcknowledgeableConditions state model . 18
Figure 3 – Acknowledge state model . 19
Figure 4 – Confirmed Acknowledge state model . 19
Figure 5 – Alarm state machine model . 22
Figure 6 – Typical Alarm Timeline example . 23
Figure 7 – Multiple active states example . 24
Figure 8 – ConditionType hierarchy . 26
Figure 9 – Condition model . 31
Figure 10 – DialogConditionType overview . 42
Figure 11 – AcknowledgeableConditionType overview . 44
Figure 12 – AlarmConditionType Hierarchy Model . 48
Figure 13 – Alarm Model . 49
Figure 14 – Shelve state transitions . 59
Figure 15 – Shelved State Machine ShelvedStateMachineType model . 59
Figure 16 – LimitAlarmType . 64
Figure 17 – ExclusiveLimitStateMachine ExclusiveLimitStateMachineType . 65
Figure 18 – ExclusiveLimitAlarmType . 67
Figure 19 – NonExclusiveLimitAlarmType . 68
Figure 20 – DiscreteAlarmType Hierarchy . 73
Figure 21 – ConditionClass type hierarchy . 77
Figure 22 – AuditEvent hierarchy . 81
Figure 23 – Refresh Related Event Hierarchy . 86
Figure 24 – Typical Event HasNotifier Hierarchy . 89
Figure 25 – Use of HasCondition in an Event a HasNotifier hierarchy . 90
Figure 26 – Use of HasCondition in an InstanceDeclaration . 91
Figure 27 – Use of HasCondition in a VariableType . 91
Figure B.1 – Single state example. 100

– 6 – IEC 62541-9:2020 RLV © IEC 2020
Figure B.2 – Previous state example . 101
Figure B.3 – HasCondition used with Condition instances . 103
Figure B.4 – HasCondition reference to a Condition type . 104
Figure B.5 – HasCondition used with an instance declaration . 104
Figure D.1 – The type model of a wrapped COM A&E server . 108
Figure D.2 – Mapping UA Event Types to COM A&E Event Types . 112
Figure D.3 – Example mapping of UA Event Types to COM A&E categories . 113
Figure D.4 – Example mapping of UA Event Types to A&E categories with attributes . 116
Figure F.1 – SystemState transitions . 128
Figure F.2 – SystemStateStateMachineType Model . 129

Table 1 – Parameter types defined in IEC 62541-3 . 16
Table 2 – Parameter types defined in IEC 62541-4 . 16
Table 3 – TwoStateVariableType definition . 27
Table 4 – ConditionVariableType definition . 28
Table 5 – HasTrueSubState ReferenceType . 29
Table 6 – HasFalseSubState ReferenceType . 29
Table 7 – HasAlarmSuppressionGroup ReferenceType . 30
Table 8 – AlarmGroupMember ReferenceType . 30
Table 9 – ConditionType definition . 32
Table 10 – SimpleAttributeOperand . 35
Table 11 – Disable result codes . 35
Table 12 – Disable Method AddressSpace definition . 36
Table 13 – Enable result codes . 36
Table 14 – Enable Method AddressSpace definition . 36
Table 15 – AddComment arguments . 37
Table 16 – AddComment result codes . 37
Table 17 – AddComment Method AddressSpace definition . 38
Table 18 – ConditionRefresh parameters . 38
Table 19 – ConditionRefresh ReturnCodes result codes . 38
Table 20 – ConditionRefresh Method AddressSpace definition. 39
Table 21 – ConditionRefresh2 parameters . 40
Table 22 – ConditionRefresh2 result codes . 40
Table 23 – ConditionRefresh2 Method AddressSpace definition . 41
Table 24 – DialogConditionType definition . 42
Table 25 – Respond parameters . 43
Table 26 – Respond Result Codes . 43
Table 27 – Respond Method AddressSpace definition . 44
Table 28 – AcknowledgeableConditionType definition . 45
Table 29 – Acknowledge parameters . 46
Table 30 – Acknowledge result codes . 46
Table 31 – Acknowledge Method AddressSpace definition . 46
Table 32 – Confirm Method parameters . 47

Table 33 – Confirm result codes . 47
Table 34 – Confirm Method AddressSpace definition . 48
Table 35 – AlarmConditionType definition . 50
Table 36 – AlarmGroupType definition . 53
Table 37 – Silence result codes . 54
Table 38 – Reset Method AddressSpace definition . 54
Table 39 – Silence result codes . 54
Table 40 – Silence Method AddressSpace definition . 55
Table 41 – Suppress result codes . 55
Table 42 – Suppress Method AddressSpace definition . 56
Table 43 – Unsuppress result codes . 56
Table 44 – Unsuppress Method AddressSpace definition . 56
Table 45 – RemoveFromService result codes . 57
Table 46 – RemoveFromService Method AddressSpace definition . 57
Table 47 – PlaceInService result codes . 58
Table 48 – PlaceInService Method AddressSpace definition . 58
Table 49 – ShelvedStateMachine ShelvedStateMachineType definition . 60
Table 50 – ShelvedStateMachine ShelvedStateMachineType transitions . 61
Table 51 – Unshelve result codes . 61
Table 52 – Unshelve Method AddressSpace definition . 62
Table 53 – TimedShelve parameters . 62
Table 54 – TimedShelve result codes . 62
Table 55 – TimedShelve Method AddressSpace definition . 63
Table 56 – OneShotShelve result codes . 63
Table 57 – OneShotShelve Method AddressSpace definition . 63
Table 58 – LimitAlarmType definition . 64
Table 59 – ExclusiveLimitStateMachineType definition . 66
Table 60 – ExclusiveLimitStateMachineType transitions . 66
Table 61 – ExclusiveLimitAlarmType definition . 67
Table 62 – NonExclusiveLimitAlarmType definition . 69
Table 63 – NonExclusiveLevelAlarmType definition . 69
Table 64 – ExclusiveLevelAlarmType definition . 70
Table 65 – NonExclusiveDeviationAlarmType definition . 71
Table 66 – ExclusiveDeviationAlarmType definition . 71
Table 67 – NonExclusiveRateOfChangeAlarmType definition . 72
Table 68 – ExclusiveRateOfChangeAlarmType definition . 72
Table 69 – DiscreteAlarmType definition . 73
Table 70 – OffNormalAlarmType Definition . 74
Table 71 – SystemOffNormalAlarmType definition . 74
Table 72 – TripAlarmType definition . 74
Table 73 – InstrumentDiagnosticAlarmType definition . 75
Table 74 – SystemDiagnosticAlarmType definition . 75
Table 75 – CertificateExpirationAlarmType definition . 76

– 8 – IEC 62541-9:2020 RLV © IEC 2020
Table 76 – DiscrepancyAlarmType definition . 76
Table 77 – BaseConditionClassType definition . 77
Table 78 – ProcessConditionClassType definition . 78
Table 79 – MaintenanceConditionClassType definition . 78
Table 80 – SystemConditionClassType definition . 78
Table 81 – SafetyConditionClassType definition . 79
Table 82 – HighlyManagedAlarmConditionClassType definition . 79
Table 83 – TrainingConditionClassType definition . 79
Table 84 – StatisticalConditionClassType definition . 80
Table 85 – TestingConditionSubClassType definition . 80
Table 86 – AuditConditionEventType definition . 81
Table 87 – AuditConditionEnableEventType definition . 82
Table 88 – AuditConditionCommentEventType definition . 82
Table 89 – AuditConditionRespondEventType definition . 83
Table 90 – AuditConditionAcknowledgeEventType definition . 83
Table 91 – AuditConditionConfirmEventType definition . 83
Table 92 – AuditConditionShelvingEventType definition . 84
Table 93 – AuditConditionSuppressionEventType definition . 84
Table 94 – AuditConditionSilenceEventType definition . 84
Table 95 – AuditConditionResetEventType definition . 85
Table 96 – AuditConditionOutOfServiceEventType definition . 85
Table 97 – RefreshStartEventType definition . 86
Table 98 – RefreshEndEventType definition . 86
Table 99 – RefreshRequiredEventType definition . 87
Table 100 – HasCondition ReferenceType . 87
Table 101 – Alarm & Condition result codes . 88
Table 102 – HasEffectDisable ReferenceType . 92
Table 103 – HasEffectEnable ReferenceType . 93
Table 104 – HasEffectSuppress ReferenceType . 93
Table 105 – HasEffectUnsuppress ReferenceType . 94
Table 106 – AlarmMetricsType Definition . 95
Table 107 – AlarmRateVariableType definition . 96
Table 108 – Suppress result codes . 96
Table 109 – Reset Method AddressSpace definition . 96
Table A.1 – Recommended state names for LocaleId "en" . 97
Table A.2 – Recommended display names for LocaleId "en" . 97
Table A.3 – Recommended state names for LocaleId "de" . 98
Table A.4 – Recommended display names for LocaleId "de" . 98
Table A.5 – Recommended state names for LocaleId "fr" . 99
Table A.6 – Recommended display names for LocaleId "fr" . 99
Table A.7 – Recommended dialog response options . 99
Table B.1 – Example of a Condition that only keeps the latest state . 100
Table B.2 – Example of a Condition that maintains previous states via branches . 102

Table C.1 – EEMUA Terms . 105
Table D.1 – Mapping from standard Event categories to OPC UA Event types . 107
Table D.2 – Mapping from ONEVENTSTRUCT fields to UA BaseEventType Variables . 109
Table D.3 – Mapping from ONEVENTSTRUCT fields to UA AuditEventType Variables . 109
Table D.4 – Mapping from ONEVENTSTRUCT fields to UA AlarmType Variables . 110
Table D.5 – Event category attribute mapping table . 114
Table E.1 – IEC 62682 Mapping. 120
Table F.1 – SystemStateStateMachineType definition . 130
Table F.2 – SystemStateStateMachineType transitions . 131

– 10 – IEC 62541-9:2020 RLV © IEC 2020
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
OPC UNIFIED ARCHITECTURE –
Part 9: Alarms and Conditions
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 wha
...


IEC 62541-9 ®
Edition 3.0 2020-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
OPC unified architecture –
Part 9: Alarms and Conditions
Architecture unifiée OPC –
Partie 9: Alarmes et Conditions

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-9 ®
Edition 3.0 2020-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
OPC unified architecture –
Part 9: Alarms and Conditions
Architecture unifiée OPC –
Partie 9: Alarmes et Conditions

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

– 2 – IEC 62541-9:2020 © IEC 2020
CONTENTS
FOREWORD . 10
1 Scope . 12
2 Normative references . 12
3 Terms, definitions, abbreviated terms and data types used . 12
3.1 Terms and definitions . 12
3.2 Abbreviated terms . 15
3.3 Data types used . 15
4 Concepts . 15
4.1 General . 15
4.2 Conditions . 15
4.3 Acknowledgeable Conditions . 17
4.4 Previous states of Conditions . 18
4.5 Condition state synchronization . 19
4.6 Severity, quality, and comment . 19
4.7 Dialogs . 20
4.8 Alarms . 20
4.9 Multiple active states . 22
4.10 Condition instances in the AddressSpace . 23
4.11 Alarm and Condition auditing . 24
5 Model . 24
5.1 General . 24
5.2 Two-state state machines . 25
5.3 ConditionVariable . 27
5.4 ReferenceTypes . 27
5.4.1 General . 27
5.4.2 HasTrueSubState ReferenceType . 27
5.4.3 HasFalseSubState ReferenceType . 28
5.4.4 HasAlarmSuppressionGroup ReferenceType . 28
5.4.5 AlarmGroupMember ReferenceType . 29
5.5 Condition Model . 29
5.5.1 General . 29
5.5.2 ConditionType . 30
5.5.3 Condition and branch instances . 34
5.5.4 Disable Method . 34
5.5.5 Enable Method . 35
5.5.6 AddComment Method . 35
5.5.7 ConditionRefresh Method . 36
5.5.8 ConditionRefresh2 Method . 38
5.6 Dialog Model . 40
5.6.1 General . 40
5.6.2 DialogConditionType . 40
5.6.3 Respond Method . 42
5.7 Acknowledgeable Condition Model . 42
5.7.1 General . 42
5.7.2 AcknowledgeableConditionType . 43
5.7.3 Acknowledge Method . 44

5.7.4 Confirm Method . 45
5.8 Alarm model. 46
5.8.1 General . 46
5.8.2 AlarmConditionType . 47
5.8.3 AlarmGroupType . 52
5.8.4 Reset Method . 52
5.8.5 Silence Method . 53
5.8.6 Suppress Method . 54
5.8.7 Unsuppress Method . 55
5.8.8 RemoveFromService Method . 56
5.8.9 PlaceInService Method . 56
5.8.10 ShelvedStateMachineType . 57
5.8.11 LimitAlarmType . 62
5.8.12 Exclusive limit types . 64
5.8.13 NonExclusiveLimitAlarmType . 67
5.8.14 Level Alarm . 68
5.8.15 Deviation Alarm . 69
5.8.16 Rate of change Alarms . 70
5.8.17 Discrete Alarms . 71
5.8.18 DiscrepancyAlarmType . 75
5.9 ConditionClasses . 75
5.9.1 Overview . 75
5.9.2 BaseConditionClassType . 76
5.9.3 ProcessConditionClassType . 76
5.9.4 MaintenanceConditionClassType . 77
5.9.5 SystemConditionClassType . 77
5.9.6 SafetyConditionClassType . 77
5.9.7 HighlyManagedAlarmConditionClassType . 78
5.9.8 TrainingConditionClassType . 78
5.9.9 StatisticalConditionClassType. 78
5.9.10 TestingConditionSubClassType . 79
5.10 Audit Events . 79
5.10.1 Overview . 79
5.10.2 AuditConditionEventType. 80
5.10.3 AuditConditionEnableEventType . 80
5.10.4 AuditConditionCommentEventType . 80
5.10.5 AuditConditionRespondEventType . 81
5.10.6 AuditConditionAcknowledgeEventType . 81
5.10.7 AuditConditionConfirmEventType . 82
5.10.8 AuditConditionShelvingEventType . 82
5.10.9 AuditConditionSuppressionEventType . 82
5.10.10 AuditConditionSilenceEventType . 83
5.10.11 AuditConditionResetEventType . 83
5.10.12 AuditConditionOutOfServiceEventType . 83
5.11 Condition Refresh related Events . 84
5.11.1 Overview . 84
5.11.2 RefreshStartEventType . 84
5.11.3 RefreshEndEventType . 84
5.11.4 RefreshRequiredEventType . 85

– 4 – IEC 62541-9:2020 © IEC 2020
5.12 HasCondition Reference type . 85
5.13 Alarm and Condition status codes . 86
5.14 Expected A&C server behaviours . 86
5.14.1 General . 86
5.14.2 Communication problems . 86
5.14.3 Redundant A&C servers . 87
6 AddressSpace organisation . 87
6.1 General . 87
6.2 EventNotifier and source hierarchy . 87
6.3 Adding Conditions to the hierarchy. 88
6.4 Conditions in InstanceDeclarations . 89
6.5 Conditions in a VariableType . 90
7 System State and alarms . 90
7.1 Overview. 90
7.2 HasEffectDisable . 90
7.3 HasEffectEnable . 91
7.4 HasEffectSuppress . 91
7.5 HasEffectUnsuppressed . 92
8 Alarm metrics . 93
8.1 Overview. 93
8.2 AlarmMetricsType . 93
8.3 AlarmRateVariableType . 94
8.4 Reset Method . 94
Annex A (informative) Recommended localized names . 96
A.1 Recommended state names for TwoState variables . 96
A.1.1 LocaleId "en" . 96
A.1.2 LocaleId "de" . 96
A.1.3 LocaleId "fr" . 97
A.2 Recommended dialog response options . 98
Annex B (informative) Examples . 99
B.1 Examples for Event sequences from Condition instances . 99
B.1.1 Overview . 99
B.1.2 Server maintains current state only . 99
B.1.3 Server maintains previous states . 100
B.2 AddressSpace examples . 101
Annex C (informative) Mapping to EEMUA . 104
Annex D (informative) Mapping from OPC A&E to OPC UA A&C . 105
D.1 Overview. 105
D.2 Alarms and Events COM UA wrapper . 105
D.2.1 Event Areas . 105
D.2.2 Event sources . 106
D.2.3 Event categories . 106
D.2.4 Event attributes . 107
D.2.5 Event subscriptions . 107
D.2.6 Condition instances . 109
D.2.7 Condition Refresh . 110
D.3 Alarms and Events COM UA proxy . 110
D.3.1 General . 110

D.3.2 Server status mapping . 110
D.3.3 Event Type mapping . 110
D.3.4 Event category mapping . 111
D.3.5 Event Category attribute mapping . 112
D.3.6 Event Condition mapping . 115
D.3.7 Browse mapping . 115
D.3.8 Qualified names . 116
D.3.9 Subscription filters . 117
Annex E (informative) IEC 62682 Mapping . 119
E.1 Overview. 119
E.2 Terms . 119
E.3 Alarm records and State indications . 125
Annex F (informative) System State . 126
F.1 Overview. 126
F.2 SystemStateStateMachineType . 127
Bibliography . 131

Figure 1 – Base Condition state model . 16
Figure 2 – AcknowledgeableConditions state model . 17
Figure 3 – Acknowledge state model . 18
Figure 4 – Confirmed Acknowledge state model . 18
Figure 5 – Alarm state machine model . 21
Figure 6 – Typical Alarm Timeline example . 22
Figure 7 – Multiple active states example . 23
Figure 8 – ConditionType hierarchy . 25
Figure 9 – Condition model . 30
Figure 10 – DialogConditionType overview . 40
Figure 11 – AcknowledgeableConditionType overview . 43
Figure 12 – AlarmConditionType Hierarchy Model . 47
Figure 13 – Alarm Model . 48
Figure 14 – Shelve state transitions . 58
Figure 15 – ShelvedStateMachineType model . 58
Figure 16 – LimitAlarmType . 63
Figure 17 – ExclusiveLimitStateMachineType . 64
Figure 18 – ExclusiveLimitAlarmType . 66
Figure 19 – NonExclusiveLimitAlarmType . 67
Figure 20 – DiscreteAlarmType Hierarchy . 72
Figure 21 – ConditionClass type hierarchy . 76
Figure 22 – AuditEvent hierarchy . 79
Figure 23 – Refresh Related Event Hierarchy . 84
Figure 24 – Typical HasNotifier Hierarchy . 88
Figure 25 – Use of HasCondition in a HasNotifier hierarchy . 89
Figure 26 – Use of HasCondition in an InstanceDeclaration . 89
Figure 27 – Use of HasCondition in a VariableType . 90
Figure B.1 – Single state example. 99

– 6 – IEC 62541-9:2020 © IEC 2020
Figure B.2 – Previous state example . 100
Figure B.3 – HasCondition used with Condition instances . 102
Figure B.4 – HasCondition reference to a Condition type . 103
Figure B.5 – HasCondition used with an instance declaration . 103
Figure D.1 – The type model of a wrapped COM A&E server . 107
Figure D.2 – Mapping UA Event Types to COM A&E Event Types . 111
Figure D.3 – Example mapping of UA Event Types to COM A&E categories . 112
Figure D.4 – Example mapping of UA Event Types to A&E categories with attributes . 115
Figure F.1 – SystemState transitions . 127
Figure F.2 – SystemStateStateMachineType Model . 128

Table 1 – Parameter types defined in IEC 62541-3 . 15
Table 2 – Parameter types defined in IEC 62541-4 . 15
Table 3 – TwoStateVariableType definition . 26
Table 4 – ConditionVariableType definition . 27
Table 5 – HasTrueSubState ReferenceType . 28
Table 6 – HasFalseSubState ReferenceType . 28
Table 7 – HasAlarmSuppressionGroup ReferenceType . 29
Table 8 – AlarmGroupMember ReferenceType . 29
Table 9 – ConditionType definition . 31
Table 10 – SimpleAttributeOperand . 34
Table 11 – Disable result codes . 34
Table 12 – Disable Method AddressSpace definition . 35
Table 13 – Enable result codes . 35
Table 14 – Enable Method AddressSpace definition . 35
Table 15 – AddComment arguments . 36
Table 16 – AddComment result codes . 36
Table 17 – AddComment Method AddressSpace definition . 36
Table 18 – ConditionRefresh parameters . 37
Table 19 – ConditionRefresh result codes . 37
Table 20 – ConditionRefresh Method AddressSpace definition. 38
Table 21 – ConditionRefresh2 parameters . 38
Table 22 – ConditionRefresh2 result codes . 39
Table 23 – ConditionRefresh2 Method AddressSpace definition . 40
Table 24 – DialogConditionType definition . 41
Table 25 – Respond parameters . 42
Table 26 – Respond Result Codes . 42
Table 27 – Respond Method AddressSpace definition . 42
Table 28 – AcknowledgeableConditionType definition . 43
Table 29 – Acknowledge parameters . 44
Table 30 – Acknowledge result codes . 44
Table 31 – Acknowledge Method AddressSpace definition . 45
Table 32 – Confirm Method parameters . 45

Table 33 – Confirm result codes . 45
Table 34 – Confirm Method AddressSpace definition . 46
Table 35 – AlarmConditionType definition . 49
Table 36 – AlarmGroupType definition . 52
Table 37 – Silence result codes . 53
Table 38 – Reset Method AddressSpace definition . 53
Table 39 – Silence result codes . 53
Table 40 – Silence Method AddressSpace definition . 54
Table 41 – Suppress result codes . 54
Table 42 – Suppress Method AddressSpace definition . 55
Table 43 – Unsuppress result codes . 55
Table 44 – Unsuppress Method AddressSpace definition . 55
Table 45 – RemoveFromService result codes . 56
Table 46 – RemoveFromService Method AddressSpace definition . 56
Table 47 – PlaceInService result codes . 57
Table 48 – PlaceInService Method AddressSpace definition . 57
Table 49 –ShelvedStateMachineType definition . 59
Table 50 – ShelvedStateMachineType transitions . 60
Table 51 – Unshelve result codes . 60
Table 52 – Unshelve Method AddressSpace definition . 61
Table 53 – TimedShelve parameters . 61
Table 54 – TimedShelve result codes . 61
Table 55 – TimedShelve Method AddressSpace definition . 62
Table 56 – OneShotShelve result codes . 62
Table 57 – OneShotShelve Method AddressSpace definition . 62
Table 58 – LimitAlarmType definition . 63
Table 59 – ExclusiveLimitStateMachineType definition . 65
Table 60 – ExclusiveLimitStateMachineType transitions . 65
Table 61 – ExclusiveLimitAlarmType definition . 66
Table 62 – NonExclusiveLimitAlarmType definition . 68
Table 63 – NonExclusiveLevelAlarmType definition . 68
Table 64 – ExclusiveLevelAlarmType definition . 69
Table 65 – NonExclusiveDeviationAlarmType definition . 69
Table 66 – ExclusiveDeviationAlarmType definition . 70
Table 67 – NonExclusiveRateOfChangeAlarmType definition . 71
Table 68 – ExclusiveRateOfChangeAlarmType definition . 71
Table 69 – DiscreteAlarmType definition . 72
Table 70 – OffNormalAlarmType Definition . 72
Table 71 – SystemOffNormalAlarmType definition . 73
Table 72 – TripAlarmType definition . 73
Table 73 – InstrumentDiagnosticAlarmType definition . 74
Table 74 – SystemDiagnosticAlarmType definition . 74
Table 75 – CertificateExpirationAlarmType definition . 74

– 8 – IEC 62541-9:2020 © IEC 2020
Table 76 – DiscrepancyAlarmType definition . 75
Table 77 – BaseConditionClassType definition . 76
Table 78 – ProcessConditionClassType definition . 76
Table 79 – MaintenanceConditionClassType definition . 77
Table 80 – SystemConditionClassType definition . 77
Table 81 – SafetyConditionClassType definition . 77
Table 82 – HighlyManagedAlarmConditionClassType definition . 78
Table 83 – TrainingConditionClassType definition . 78
Table 84 – StatisticalConditionClassType definition . 78
Table 85 – TestingConditionSubClassType definition . 79
Table 86 – AuditConditionEventType definition . 80
Table 87 – AuditConditionEnableEventType definition . 80
Table 88 – AuditConditionCommentEventType definition . 81
Table 89 – AuditConditionRespondEventType definition . 81
Table 90 – AuditConditionAcknowledgeEventType definition . 81
Table 91 – AuditConditionConfirmEventType definition . 82
Table 92 – AuditConditionShelvingEventType definition . 82
Table 93 – AuditConditionSuppressionEventType definition . 82
Table 94 – AuditConditionSilenceEventType definition . 83
Table 95 – AuditConditionResetEventType definition . 83
Table 96 – AuditConditionOutOfServiceEventType definition . 83
Table 97 – RefreshStartEventType definition . 84
Table 98 – RefreshEndEventType definition . 84
Table 99 – RefreshRequiredEventType definition . 85
Table 100 – HasCondition ReferenceType . 85
Table 101 – Alarm & Condition result codes . 86
Table 102 – HasEffectDisable ReferenceType . 91
Table 103 – HasEffectEnable ReferenceType . 91
Table 104 – HasEffectSuppress ReferenceType . 92
Table 105 – HasEffectUnsuppress ReferenceType . 92
Table 106 – AlarmMetricsType Definition . 93
Table 107 – AlarmRateVariableType definition . 94
Table 108 – Suppress result codes . 94
Table 109 – Reset Method AddressSpace definition . 95
Table A.1 – Recommended state names for LocaleId "en" . 96
Table A.2 – Recommended display names for LocaleId "en" . 96
Table A.3 – Recommended state names for LocaleId "de" . 97
Table A.4 – Recommended display names for LocaleId "de" . 97
Table A.5 – Recommended state names for LocaleId "fr" . 98
Table A.6 – Recommended display names for LocaleId "fr" . 98
Table A.7 – Recommended dialog response options . 98
Table B.1 – Example of a Condition that only keeps the latest state . 99
Table B.2 – Example of a Condition that maintains previous states via branches . 101

Table C.1 – EEMUA Terms . 104
Table D.1 – Mapping from standard Event categories to OPC UA Event types . 106
Table D.2 – Mapping from ONEVENTSTRUCT fields to UA BaseEventType Variables . 108
Table D.3 – Mapping from ONEVENTSTRUCT fields to UA AuditEventType Variables . 108
Table D.4 – Mapping from ONEVENTSTRUCT fields to UA AlarmType Variables . 109
Table D.5 – Event category attribute mapping table . 113
Table E.1 – IEC 62682 Mapping. 119
Table F.1 – SystemStateStateMachineType definition . 129
Table F.2 – SystemStateStateMachineType transitions . 130

– 10 – IEC 62541
...

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...