prEN IEC 62541-16:2024
(Main)OPC unified architecture - Part 16: State machines
OPC unified architecture - Part 16: State machines
OPC Unified Architecture – Teil 16: Zustandsmaschinen
Architecture unifiée OPC - Partie 16: Diagrammes d'états
Enotna arhitektura OPC - 16. del: Stroji stanj
General Information
Standards Content (Sample)
SLOVENSKI STANDARD
01-marec-2024
Enotna arhitektura OPC - 16. del: Stroji stanj
OPC unified architecture - Part 16: State machines
Ta slovenski standard je istoveten z: prEN IEC 62541-16:2024
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
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
65E/1041/CDV
COMMITTEE DRAFT FOR VOTE (CDV)
PROJECT NUMBER:
IEC 62541-16 ED1
DATE OF CIRCULATION: CLOSING DATE FOR VOTING:
2024-01-26 2024-04-19
SUPERSEDES DOCUMENTS:
65E/951/NP, 65E/1011/RVN
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.
Recipients of this document are invited to submit, with their comments, notification of any relevant “In Some Countries”
clauses to be included should this proposal proceed. Recipients are reminded that the CDV stage is the final stage for
submitting ISC clauses. (SEE AC/22/2007 OR NEW GUIDANCE DOC).
TITLE:
OPC Unified Architecture – Part 16: State Machines
PROPOSED STABILITY DATE: 2026
NOTE FROM TC/SC OFFICERS:
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.
IEC CDV 62541-16 © IEC 2023
1 CONTENTS
3 FIGURES . ii
4 TABLES . iii
5 1 Scope . 1
6 2 Normative references . 1
7 3 Terms, definitions, abbreviated terms, and conventions . 1
8 3.1 Terms and definitions . 1
9 4 State Machine Model . 1
10 4.1 General . 1
11 4.2 Examples of finite state machines . 2
12 4.2.1 Simple state machine . 2
13 4.2.2 State machine containing substates . 2
14 4.3 Definition of state machine . 3
15 4.4 Representation of state machines in the AddressSpace . 4
16 4.4.1 Overview . 4
17 4.4.2 StateMachineType . 5
18 4.4.3 StateVariableType . 5
19 4.4.4 TransitionVariableType . 6
20 4.4.5 FiniteStateMachineType . 7
21 4.4.6 FiniteStateVariableType . 9
22 4.4.7 FiniteTransitionVariableType . 10
23 4.4.8 StateType . 10
24 4.4.9 InitialStateType . 11
25 4.4.10 TransitionType . 12
26 4.4.11 FromState . 12
27 4.4.12 ToState . 13
28 4.4.13 HasCause . 13
29 4.4.14 HasEffect . 14
30 4.4.15 HasSubStateMachine . 14
31 4.4.16 TransitionEventType . 15
32 4.4.17 AuditUpdateStateEventType. 15
33 4.4.18 Special Restrictions on subtyping StateMachines . 16
34 4.4.19 Specific StatusCodes for StateMachines . 16
35 4.5 Examples of StateMachines in the AddressSpace . 17
36 4.5.1 StateMachineType using inheritance . 17
37 4.5.2 StateMachineType with a SubStateMachine using inheritance . 18
38 4.5.3 StateMachineType using containment . 19
39 4.5.4 Example of a StateMachine having Transition to SubStateMachine . 20
40 4.5.5 Example of a StateMachine adding a SubStateMachine on a Subtype . 21
41 4.6 StateMachine Extensions for ChoiceStates and Guards. 23
42 4.6.1 Overview . 23
43 4.6.2 ChoiceStateType . 24
44 4.6.3 HasGuard . 24
45 4.6.4 GuardVariableType . 25
46 4.6.5 ExpressionGuardVariableType . 25
47 4.6.6 ElseGuardVariableType . 26
48 4.7 Example of a StateMachine using a ChoiceState and Guards . 26
IEC CDV 62541-16 © IEC 2023 ii
50 FIGURES
52 Figure 1 – Example of a simple state machine . 2
53 Figure 2 – Example of a state machine having a sub-machine . 3
54 Figure 3 – The StateMachine Information Model . 4
55 Figure 4 – Example of a FiniteStateMachine type . 9
56 Figure 5 – Example of a FiniteStateMachine instance . 9
57 Figure 6 – Example of an initial State in a sub-machine . 11
58 Figure 7 – Example of a StateMachineType using inheritance . 17
59 Figure 8 – Example of a StateMachineType with a SubStateMachine using inheritance . 18
60 Figure 9 – Example of a StateMachineType using containment . 19
61 Figure 10 – Example of a StateMachine with Transitions from sub-states . 20
62 Figure 11 – Example of a StateMachineType having Transition to SubStateMachine . 21
63 Figure 12 – Example of a StateMachine with two States . 22
64 Figure 13 – Example of a StateMachine extended with two Substates . 22
65 Figure 14 – Example of a StateMachine extended with another two Substates . 22
66 Figure 15 – Example of a StateMachineType adding SubStateMachines in Subtypes . 23
67 Figure 16 – Example of a ChoiceState . 24
68 Figure 17 – Example of a StateMachine using ChoiceState and Guards . 27
iii IEC CDV 62541-16 © IEC 2023
70 TABLES
72 Table 1 – StateMachineType definition . 5
73 Table 2 – StateVariableType definition . 6
74 Table 3 – TransitionVariableType definition . 7
75 Table 4 – FiniteStateMachineType definition . 8
76 Table 5 – FiniteStateVariableType definition. 10
77 Table 6 – FiniteTransitionVariableType definition . 10
78 Table 7 – StateType definition . 11
79 Table 8 – InitialStateType definition . 12
80 Table 9 – TransitionType definition . 12
81 Table 10 – FromState ReferenceType . 13
82 Table 11 – ToState ReferenceType . 13
83 Table 12 – HasCause ReferenceType . 14
84 Table 13 – HasEffect ReferenceType . 14
85 Table 14 – HasSubStateMachine ReferenceType . 15
86 Table 15 – TransitionEventType . 15
87 Table 16 – AuditUpdateStateEventType . 15
88 Table 17 – Specific StatusCodes for StateMachines . 16
89 Table 18 – ChoiceStateType . 24
90 Table 19 – HasGuard ReferenceType . 25
91 Table 20 – GuardVariableType definition . 25
92 Table 21 – ExpressionGuardVariableType definition . 26
93 Table 22 – ElseGuardVariableType definition . 26
IEC CDV 62541-16 © IEC 2023 iv
95 INTERNATIONAL ELECTROTECHNICAL COMMISSION
96 ____________
98 OPC UNIFIED ARCHITECTURE –
100 Part 16: State Machines
102 FOREWORD
103 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national
104 electrotechnical committees (IEC National Committees). The object of IEC is to promote international co-operation on all
105 questions concerning standardization in the electrical and electronic fields. To this end and in addition to other activities,
106 IEC publishes International Standards, Technical Specifications, Technical Reports, Publicly Available Specifications (PAS)
107 and Guides (hereafter referred to as “IEC Publication(s)”). Their preparation is entrusted to technical committees; any IEC
108 National Committee interested in the subject dealt with may participate in this preparatory work. International, governmental
109 and non-governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with
110 the International Organization for Standardization (ISO) in accordance with conditions determined by agreement between
111 the two organizations.
112 2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international consensus
113 of opinion on the relevant subjects since each technical committee has representation from all interested IEC National
114 Committees.
115 3) IEC Publications have the form
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.