Engineering data exchange format for use in industrial automation systems engineering - Automation markup language - Part 4: Logic (IEC 62714-4:2020)

This part of IEC 62714 specifies the integration of logic information as part of an AML model
for the data exchange in a heterogenous engineering tool landscape of production systems.
This document specifies three types of logic information: sequencing, behaviour, and
interlocking information.
This document deals with the six following sequencing and behaviour logic models (covering
the different phases of the engineering process of production systems) and how they are
integrated in AML: Gantt chart, activity-on-node network, timing diagram, Sequential Function
Chart (SFC), Function Block Diagram (FBD), and mathematical expression.
This document specifies how to model Gantt chart, activity-on-node network, and timing
diagram and how they are stored in Intermediate Modelling Layer (IML).
NOTE 1 With this, it is possible to transform one logic model into another one. A forward transformation supports
the information enrichment process and reduces or avoids a re-entry of information between the exchanging
engineering tools.
NOTE 2 Mapping of other logic models, e.g. event-driven logic models like state charts, onto IML is possible.
This document specifies how interlocking information is modelled (as interlocking source and
target groups) in AML. The interlocking logic model is stored in Function Block Diagram (FBD).
This document specifies the AML logic XML schema that stores the logic models by using
IEC 61131-10.
This document specifies how to reference PLC programs stored in PLCopen XML documents.
This document does not define details of the data exchange procedure or implementation
requirements for the import/export tools.

Datenaustauschformat für Planungsdaten industrieller Automatisierungssysteme - Automation Markup Language (AML) - Teil 4: Logik (IEC 62714-4:2020)

Format d'échange de données pour une utilisation dans l'ingénierie des systèmes d'automatisation industrielle - Automation markup language - Partie 4: Logique (IEC 62714-4:2020)

IEC 62714-4:2020 spécifie l'intégration des informations concernant la logique dans le cadre d'un modèle AML pour l'échange de données dans un environnement d'outils techniques hétérogène des systèmes de production. Le présent document spécifie trois types d'informations concernant la logique: les informations relatives au séquencement, au comportement et au verrouillage. Le présent document porte sur les six modèles logiques de séquencement et de comportement suivants (couvrant les différentes phases du processus d'ingénierie des systèmes de production) et sur la manière de les intégrer dans AML: diagramme de Gantt, réseau de représentation nodale, chronogramme, diagramme fonctionnel en séquence (SFC - sequential function chart), diagramme de bloc fonctionnel (FBD - function block diagram) et expression mathématique. Le présent document spécifie la manière de modéliser le diagramme de Gantt, le réseau de représentation nodale et le chronogramme et de les archiver dans la couche de modélisation intermédiaire (IML - intermediate modelling layer). Le présent document spécifie la manière de modéliser les informations concernant le verrouillage (source de verrouillage et groupes cibles, par exemple) dans AML. Le modèle logique de verrouillage est archivé dans le diagramme de bloc fonctionnel (FBD). Le présent document spécifie le schéma XML de logique AML qui archive les modèles logiques selon l'IEC 61131-10. Le présent document spécifie la manière de référencer les programmes PLC archivés dans les documents XML PLCopen. Le présent document ne précise pas la procédure d'échange de données ni les exigences de mise en œuvre pour les outils d'importation/exportation.

Oblika izmenjave tehničnih podatkov za uporabo v industrijskem inženiringu avtomatizacije sistemov - Označevalni jezik za avtomatizacijo - 4. del: Logika (IEC 62714-4:2020)

General Information

Status
Published
Public Enquiry End Date
30-Jul-2019
Publication Date
05-Nov-2020
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
24-Aug-2020
Due Date
29-Oct-2020
Completion Date
06-Nov-2020

RELATIONS

Buy Standard

Standard
SIST EN IEC 62714-4:2020 - BARVE
English language
113 pages
sale 10% off
Preview
sale 10% off
Preview

e-Library read for
1 day

Standards Content (sample)

SLOVENSKI STANDARD
SIST EN IEC 62714-4:2020
01-december-2020
Oblika izmenjave tehničnih podatkov za uporabo v industrijskem inženiringu

avtomatizacije sistemov - Označevalni jezik za avtomatizacijo - 4. del: Logika (IEC

62714-4:2020)

Engineering data exchange format for use in industrial automation systems engineering -

Automation markup language - Part 4: Logic (IEC 62714-4:2020)
Datenaustauschformat für Planungsdaten industrieller Automatisierungssysteme -
Automation Markup Language (AML) - Teil 4: Logik (IEC 62714-4:2020)
Format d'échange de données pour une utilisation dans l'ingénierie des systèmes

d'automatisation industrielle - Automation markup language - Partie 4: Logique (IEC

62714-4:2020)
Ta slovenski standard je istoveten z: EN IEC 62714-4:2020
ICS:
25.040.40 Merjenje in krmiljenje Industrial process
industrijskih postopkov measurement and control
35.060 Jeziki, ki se uporabljajo v Languages used in
informacijski tehniki in information technology
tehnologiji
35.240.50 Uporabniške rešitve IT v IT applications in industry
industriji
SIST EN IEC 62714-4: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 62714-4:2020
---------------------- Page: 2 ----------------------
SIST EN IEC 62714-4:2020
EUROPEAN STANDARD EN IEC 62714-4
NORME EUROPÉENNE
EUROPÄISCHE NORM
August 2020
ICS 25.040.40
English Version
Engineering data exchange format for use in industrial
automation systems engineering - Automation markup language
- Part 4: Logic
(IEC 62714-4:2020)

Format d'échange de données pour une utilisation dans Datenaustauschformat für Planungsdaten industrieller

l'ingénierie des systèmes d'automatisation industrielle - Automatisierungssysteme - Automation Markup Language

Automation markup language - Partie 4: Logique (AML) - Teil 4: Logik
(IEC 62714-4:2020) (IEC 62714-4:2020)

This European Standard was approved by CENELEC on 2020-07-21. 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 62714-4:2020 E
---------------------- Page: 3 ----------------------
SIST EN IEC 62714-4:2020
EN IEC 62714-4:2020 (E)
European foreword

The text of document 65E/654/CDV, future edition 1 of IEC 62714-4, 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 62714-4:2020.
The following dates are fixed:

• latest date by which the document has to be implemented at national (dop) 2021-04-21

level by publication of an identical national standard or by endorsement

• latest date by which the national standards conflicting with the (dow) 2023-07-21

document have to be withdrawn

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.

Endorsement notice

The text of the International Standard IEC 62714-4:2020 was approved by CENELEC as a European

Standard without any modification.

In the official version, for Bibliography, the following note has to be added for the standard indicated:

IEC 62881:2018 NOTE Harmonized as EN IEC 62881:2018 (not modified)
---------------------- Page: 4 ----------------------
SIST EN IEC 62714-4:2020
EN IEC 62714-4:2020 (E)
Annex ZA
(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 61131-3 - Programmable controllers - Part 3: EN 61131-3 -
Programming languages
IEC 61131-10 - Programmable controllers - Part 10: PLC EN IEC 61131-10 -
open XML exchange format
IEC 62714-1 2014 Engineering data exchange format for use EN 62714-1 -
in industrial automation systems
engineering - Automation markup
language - Part 1: Architecture and
general requirements
W3C 2004 Extensible Markup Language (XML) 1.0 - -
(Third Edition), W3C Recommendation 04
February 2004
W3C 2003 Mathematical Markup Language (MathML) - -
Version 2.0 (Second Edition), W3C
Recommendation 21 October 2003
IETF RFC 5646 - Tags for Identifying Languages - -
IETF RFC 4122 - A Universally Unique IDentifier (UUID) - -
URN Namespace
PLCopen - XML 2.01: XML formats for IEC 61131-3 - -
---------------------- Page: 5 ----------------------
SIST EN IEC 62714-4:2020
---------------------- Page: 6 ----------------------
SIST EN IEC 62714-4:2020
IEC 62714-4
Edition 1.0 2020-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Engineering data exchange format for use in industrial automation systems
engineering – Automation markup language –
Part 4: Logic
Format d'échange de données pour une utilisation dans l'ingénierie des
systèmes d'automatisation industrielle – Automation markup language –
Partie 4: Logique
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40 ISBN 978-2-8322-8399-8

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 62714-4:2020
– 2 – IEC 62714-4:2020 © IEC 2020
CONTENTS

FOREWORD ........................................................................................................................... 9

INTRODUCTION ................................................................................................................... 11

1 Scope ............................................................................................................................ 13

2 Normative references .................................................................................................... 13

3 Terms, definitions and abbreviated terms ...................................................................... 14

3.1 Terms and definitions ............................................................................................ 14

3.2 Abbreviated terms ................................................................................................. 15

4 Conformity ..................................................................................................................... 16

5 Overview ....................................................................................................................... 16

5.1 Logic information in production system engineering .............................................. 16

5.2 Logic models in production system engineering .................................................... 17

5.3 Storing logic models in AML logic XML ................................................................. 18

5.4 Referencing logic information ................................................................................ 20

6 Logic models ................................................................................................................. 21

6.1 General ................................................................................................................. 21

6.2 Gantt charts .......................................................................................................... 21

6.2.1 General ......................................................................................................... 21

6.2.2 Graphical elements ........................................................................................ 21

6.2.3 Chart structure............................................................................................... 21

6.2.4 Logic information ........................................................................................... 22

6.2.5 Logic information within Gantt chart ............................................................... 22

6.3 Activity-on-node networks ..................................................................................... 22

6.3.1 General ......................................................................................................... 22

6.3.2 Graphical elements ........................................................................................ 22

6.3.3 Node structure ............................................................................................... 23

6.3.4 Network structure .......................................................................................... 23

6.3.5 Logic information ........................................................................................... 23

6.3.6 Logic information within activity-on-node networks......................................... 23

6.4 Timing diagrams ................................................................................................... 24

6.4.1 General ......................................................................................................... 24

6.4.2 Graphical elements ........................................................................................ 24

6.4.3 Diagram structure .......................................................................................... 25

6.4.4 Logic information ........................................................................................... 25

6.4.5 Logic information within timing diagrams ....................................................... 26

6.5 Sequential function charts ..................................................................................... 26

6.6 Function block diagrams ....................................................................................... 27

6.7 Mathematical expression....................................................................................... 27

7 AML logic XML schema description ............................................................................... 27

7.1 Schema overview .................................................................................................. 27

7.1.1 Use of IEC 61131-10 schema ........................................................................ 27

7.1.2 Schema versioning ........................................................................................ 28

7.2 Root element "AMLLogic" ..................................................................................... 29

7.2.1 General ......................................................................................................... 29

7.2.2 Attributes ....................................................................................................... 29

7.2.3 Sub-element "WriterHeader" .......................................................................... 29

7.2.4 Sub-element "Types" ..................................................................................... 29

---------------------- Page: 8 ----------------------
SIST EN IEC 62714-4:2020
IEC 62714-4:2020 © IEC 2020 – 3 –

7.2.5 Sub-element "Documentation" ....................................................................... 30

7.3 Complex type "FunctionBlock" .............................................................................. 30

7.3.1 General ......................................................................................................... 30

7.3.2 Attributes ....................................................................................................... 30

7.3.3 Sub-element "Parameters" ............................................................................. 30

7.3.4 Sub-element "Vars ......................................................................................... 30

7.3.5 Sub-element "MainBody" ............................................................................... 30

7.3.6 Complex type "ParameterSet" ........................................................................ 31

7.3.7 Complex type "VariableDecl" ......................................................................... 31

7.4 Complex Type "IML" ............................................................................................. 32

7.4.1 General ......................................................................................................... 32

7.4.2 Attributes ....................................................................................................... 33

7.4.3 Sub-element "Resource" ................................................................................ 33

7.4.4 Sub-element "TimeInformation" ..................................................................... 33

7.4.5 Choice of "IML***" element ............................................................................ 33

7.4.6 Complex type "IMLStep" ................................................................................ 33

7.4.7 Complex type "IMLTransition" ........................................................................ 34

7.4.8 Complex type "IMLSimultaneousDivergence" ................................................. 35

7.4.9 Complex type "IMLSimultaneousConvergence" .............................................. 35

7.5 Complex Type "MathematicalExpression" ............................................................. 35

7.5.1 General ......................................................................................................... 35

7.5.2 Attributes ....................................................................................................... 36

7.5.3 Sub-element "VariableMapping" ..................................................................... 36

7.5.4 Sub-element "MathML" .................................................................................. 36

7.6 Simple type "LogicModelTypeEnum" ..................................................................... 36

7.7 Simple type "TimeUnion" ....................................................................................... 36

7.8 Simple type "TimeFormatEnum" ............................................................................ 36

7.9 Simple type "UuidString" ....................................................................................... 37

8 Storing logic models ...................................................................................................... 37

8.1 General ................................................................................................................. 37

8.2 Storing Gantt charts in AML logic XML .................................................................. 37

8.2.1 Common rules ............................................................................................... 37

8.2.2 Storing the start of a Gantt chart .................................................................... 37

8.2.3 Storing bars ................................................................................................... 38

8.2.4 Storing arrows ............................................................................................... 38

8.2.5 Storing successor bars .................................................................................. 39

8.2.6 Storing predecessor bars ............................................................................... 41

8.3 Storing activity-on-node networks in AML logic XML ............................................. 42

8.3.1 Common rules ............................................................................................... 42

8.3.2 Storing the start of an activity-on-node network ............................................. 42

8.3.3 Storing nodes ................................................................................................ 43

8.3.4 Storing arrows ............................................................................................... 43

8.3.5 Storing successor nodes ................................................................................ 44

8.3.6 Storing predecessor nodes ............................................................................ 45

8.4 Storing timing diagrams in AML logic XML ............................................................ 46

8.4.1 Common rules ............................................................................................... 46

8.4.2 Storing the timeline of a timing diagram ......................................................... 47

8.4.3 Storing resources and resource states ........................................................... 48

8.4.4 Storing lifelines .............................................................................................. 48

---------------------- Page: 9 ----------------------
SIST EN IEC 62714-4:2020
– 4 – IEC 62714-4:2020 © IEC 2020

8.4.5 Storing the time signal and the resource signal .............................................. 50

8.5 Storing sequential function charts in AML logic XML ............................................. 52

8.5.1 Common rules ............................................................................................... 52

8.5.2 Storing variables ............................................................................................ 52

8.6 Storing function block diagrams in AML logic XML ................................................ 53

8.6.1 Common rules ............................................................................................... 53

8.6.2 Storing variables ............................................................................................ 53

8.7 Storing mathematical expressions in AML logic XML ............................................. 54

8.7.1 Common rules ............................................................................................... 54

8.7.2 Storing variables ............................................................................................ 55

8.7.3 Storing variable mappings ............................................................................. 55

8.7.4 Storing mathematical expressions ................................................................. 56

9 Meta information about AML logic XML writer tools ........................................................ 56

10 Extensions of AML classes for logic ............................................................................... 57

10.1 General ................................................................................................................. 57

10.2 AutomationMLLogicRoleClassLib .......................................................................... 57

10.2.1 General ......................................................................................................... 57

10.2.2 RoleClass InterlockingTargetGroup ............................................................... 58

10.2.3 RoleClass InterlockingSourceGroup .............................................................. 58

10.2.4 RoleClass LogicModelObject ......................................................................... 59

10.3 AutomationMLLogicInterfaceClassLib ................................................................... 60

10.3.1 General ......................................................................................................... 60

10.3.2 InterfaceClass LogicModelInterface ............................................................... 60

10.3.3 InterfaceClass SequencingLogicModelInterface ............................................. 60

10.3.4 InterfaceClass BehaviourLogicModelInterface ............................................... 61

10.3.5 InterfaceClass InterlockingLogicModelInterface ............................................. 61

10.3.6 InterfaceClass LogicModelElementInterface .................................................. 61

10.3.7 InterfaceClass VariableInterface .................................................................... 62

10.3.8 InterfaceClass InterlockingVariableInterface .................................................. 62

10.4 AutomationMLPLCopenXMLInterfaceClassLib....................................................... 63

10.4.1 General ......................................................................................................... 63

10.4.2 InterfaceClass VariableInterface .................................................................... 63

10.5 AutomationMLInterfaceClassLib ............................................................................ 64

10.5.1 General ......................................................................................................... 64

10.5.2 InterfaceClass InterlockingConnector ............................................................ 64

10.5.3 InterfaceClass PLCopenXMLInterface ........................................................... 64

11 Referencing AML logic XML documents ......................................................................... 64

11.1 General ................................................................................................................. 64

11.2 Referencing logic information ................................................................................ 64

12 Linking AML objects with interlocking information .......................................................... 65

12.1 General ................................................................................................................. 65

12.2 Referencing interlocking information ..................................................................... 65

Annex A (informative) Examples for storing logic models in AML logic XML ......................... 67

A.1 Example for storing Gantt charts ........................................................................... 67

A.1.1 General ......................................................................................................... 67

A.1.2 Storing of activities without predecessor and successor relation .................... 67

A.1.3 Storing of an activity sequence ...................................................................... 68

A.1.4 Storing of an activity sequence with divergences ........................................... 70

---------------------- Page: 10 ----------------------
SIST EN IEC 62714-4:2020
IEC 62714-4:2020 © IEC 2020 – 5 –

A.1.5 Storing of an activity sequence with convergences ........................................ 71

A.2 Example for storing activity-on-node networks ...................................................... 72

A.2.1 General ......................................................................................................... 72

A.2.2 Storing of activities without predecessor and successor relation .................... 72

A.2.3 Storing of an activity sequence ...................................................................... 73

A.2.4 Storing of an activity sequence with divergences ........................................... 74

A.2.5 Storing of an activity sequence with convergences ........................................ 75

A.3 Example for storing timing diagrams ..................................................................... 76

A.3.1 General ......................................................................................................... 76

A.3.2 Example of storing internal signal .................................................................. 77

A.3.3 Example of storing external signal ................................................................. 78

A.3.4 Example of storing signal between two resource states flows ........................ 79

A.4 Example for storing sequential function charts ...................................................... 81

A.5 Example for storing function block diagrams ......................................................... 83

A.6 Example for storing mathematical expressions ...................................................... 85

Annex B (informative) Examples for referencing logic information ........................................ 89

B.1 General ................................................................................................................. 89

B.2 Referencing logic information expressed as logic models ...................................... 89

B.2.1 General ......................................................................................................... 89

B.2.2 Referencing logic information stored in one FunctionBlock ............................ 89

B.2.3 Referencing logic information, which is composed of several

FunctionBlocks .............................................................................................. 90

B.2.4 Referencing logic information, which is composed of several AML logic

XML documents ............................................................................................. 90

B.3 Referencing logic information as a part of logic models ......................................... 92

B.3.1 General ......................................................................................................... 92

B.3.2 Referencing a variable ................................................................................... 92

B.3.3 Referencing a logic element .......................................................................... 93

B.4 Referencing logic information as a part of already referenced logic models ........... 93

Annex C (informative) Examples for referencing interlocking information ............................. 96

C.1 General ................................................................................................................. 96

C.2 Interlocking information ......................................................................................... 97

C.3 Referencing interlocking information without interlocking condition ....................... 97

C.4 Referencing interlocking information with interlocking condition ............................ 99

Annex D (normative) XML representation of AML standard libraries ................................... 103

D.1 General ............................................................................................................... 103

D.2 AutomationMLLogicRoleClassLib ........................................................................ 103

D.3 AutomationMLLogicInterfaceClassLib ................................................................. 104

D.4 AutomationMLPLCopenXMLInterfaceClassLib..................................................... 105

Annex E (normative) XML representation of AML logic XML schema .................................. 106

Bibliography ........................................................................................................................ 110

Figure 1 – Overview of the engineering data exchange format AML ...................................... 11

Figure 2 – Example of system representation with roles of information in AML ...................... 17

Figure 3 – Logic models in AML ............................................................................................ 18

Figure 4 – Storing logic models in AML logic XML ................................................................. 19

Figure 5 – Modelling elements of the AML logic XML ............................................................ 20

Figure 6 – Model elements of Gantt charts .......................................................................

...

Questions, Comments and Discussion

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