|
IEC 62541-10
Edition 3.0 2020-07
REDLINE VERSION
INTERNATIONAL
STANDARD
colour
inside
OPC unified architecture –
Part 10: Programs
your local IEC member National Committee for further information.
IEC Central Office Tel.: +41 22 919 02 11
3, rue de
CH-1211 Geneva 20
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
.
IEC 62541-10
Edition 3.0 2020-07
REDLINE VERSION
INTERNATIONAL
STANDARD
colour
inside
OPC unified architecture –
Part 10: Programs
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.05 ISBN 978-2-8322-8638-8
– 2 – IEC 62541-10:2020 RLV © IEC 2020
CONTENTS
FOREWORD . 4
1 Scope . 7
2 Normative references . 7
3 Terms, definitions and conventions abbreviated terms . 7
3.1 Terms and definitions . 7
3.2 Abbreviated terms . 8
4 Concepts . 8
4.1 General . 8
4.2 Programs . 9
4.2.1 Overview . 9
4.2.2 Security considerations . 10
4.2.3 Program Finite State Machine . 10
4.2.4 Program states . 11
4.2.5 State transitions . 12
4.2.6 Program state transition stimuli . 12
4.2.7 Program Control Methods . 12
4.2.8 Program state transition effects . 13
4.2.9 Program result data . 13
4.2.10 Program lifetime . 14
5 Model . 15
5.1 General . 15
5.2 ProgramType ProgramStateMachineType . 15
5.2.1 Overview . 15
5.2.2 ProgramType ProgramStateMachineType Properties . 16
5.2.3 ProgramType ProgramStateMachineType components . 17
5.2.4 ProgramType ProgramStateMachineType causes (Methods) . 22
5.2.5 ProgramType ProgramStateMachineType effects (Events) . 24
5.2.6 AuditProgramTransitionEventType . 26
5.2.7 FinalResultData . 27
5.2.8 ProgramDiagnostic2 DataType . 27
5.2.9 ProgramDiagnostic2Type VariableType . 28
Annex A (informative) Program example . 30
A.1 Overview. 30
A.2 DomainDownload Program . 30
A.2.1 General . 30
A.2.2 DomainDownload states . 31
A.2.3 DomainDownload transitions. 31
A.2.4 DomainDownload Methods . 32
A.2.5 DomainDownload Events . 33
A.2.6 DomainDownload model . 33
Figure 1 – Automation facility control . 9
Figure 2 – Program illustration . 10
Figure 3 – Program states and transitions . 11
Figure 4 – Program Type . 15
Figure 5 – Program FSM References . 18
Figure 6 – ProgramType ProgramStateMachineType causes and effects . 22
Figure A.1 – Program example . 30
Figure A.2 – DomainDownload state diagram . 31
Figure A.3 – DomainDownloadType partial state model . 38
Figure A.4 – Ready To Running model . 41
Figure A.5 – Opening To Sending To Closing model . 43
Figure A.6 – Running To Suspended model . 44
Figure A.7 – Suspended To Running model . 45
Figure A.8 – Running To Halted – Aborted model . 45
Figure A.9 – Suspended To Aborted model . 46
Figure A.10 – Running To Completed model . 47
Figure A.11 – Sequence of operations . 48
Table 1 – Program Finite State Machine . 11
Table 2 – Program states . 12
Table 3 – Program state transitions . 12
Table 4 – Program Control Methods . 13
Table 5 – ProgramType ProgramStateMachineType . 16
Table 6 – Program states . 19
Table 7 – Program transitions . 20
Table 8 – ProgramType ProgramStateMachineType causes. 23
Table 9 – ProgramTransitionEventType . 24
Table 10 – ProgramTransitionEvents . 25
Table 11 – AuditProgramTransitionEventType . 26
Table 12 – ProgramDiagnostic2DataType structure . 28
Table 13 – ProgramDiagnostic2DataType definition . 28
Table 14 – ProgramDiagnostic2Type VariableType . 29
Table A.1 – DomainDownload states . 32
Table A.2 – DomainDownload Type . 34
Table A.3 – Transfer State Machine Type . 35
Table A.4 – Transfer State Machine – states . 36
Table A.5 – Finish State Machine Type . 36
Table A.6 – Finish State Machine – states . 37
Table A.7 – DomainDownload Type Property Attributes variable values . 37
Table A.8 – Additional DomainDownload transition types . 39
Table A.9 – Start Method additions . 41
Table A.10 – StartArguments . 42
Table A.11 – IntermediateResults Object . 43
Table A.12 – Intermediate result data Variables . 44
Table A.13 – FinalResultData . 46
Table A.14 – Final result Variables .
– 4 – IEC 62541-10:2020 RLV © IEC 2020
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
OPC UNIFIED ARCHITECTURE –
Part 10: Programs
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
c
...