Function blocks (FB) for process control and Electronic Device Description Language (EDDL) - Part 4: EDD interpretation (IEC 61804-4:2015)

This part of IEC 61804 specifies EDD interpretation for EDD applications and EDDs to support
EDD interoperability. This document is intended to ensure that field device developers use the
EDDL constructs consistently and that the EDD applications have the same interpretations of
the EDD. It supplements the EDDL specification to promote EDDL application interoperability
and improve EDD portability between EDDL applications.

Funktionsbausteine für die Prozessautomation und elektronische Gerätebeschreibungssprache - Teil 4: Interpretation von Gerätebeschreibungen (IEC 61804-4:2015)

Blocs fonctionnels (FB) pour les procédés industriels et le langage de description électronique de produit (EDDL) - Partie 4: Interprétation EDD (IEC 61804-4:2015)

L'IEC 61804-4:2015 définit l'interprétation EDD pour les applications EDD et les EDD pour assurer l'interopérabilité EDD. Le présent document est destiné à veiller à ce que les développeurs d'appareils de terrain utilisent systématiquement les constructions EDDL et que les applications EDD aient la même interprétation des EDD. Il complète la spécification EDDL pour promouvoir l'interopérabilité de l'application EDDL et améliorer la portabilité EDD entre les applications EDDL. Cette première édition annule et remplace l'IEC TR 61804-4 parue en 2006. Cette édition constitue une révision technique. Cette édition inclut les modifications techniques majeures suivantes par rapport à l'édition précédente: - Alinéas modifiés: Description de données EDDL; - Programmation avec la METHOD EDDL et utilisation de Builtins; - Session d'édition; - Configuration hors ligne et en ligne; - Description de la communication EDDL; - et Améliorations de l'alinéa Description de l'interface utilisateur EDDL.

Funkcijski bloki (FB) za nadzor procesov in opisni jezik za elektronske naprave (EDDL) - 4. del: Interpretacija EDD (IEC 61804-4:2015)

Ta del standarda IEC 61804 določa interpretacijo EDD za aplikacije EDD in EDD-je za podporo
interoperabilnosti EDD. Ta dokument zagotavlja, da razvijalci področnih naprav dosledno uporabljajo
konstrukte EDDL in da imajo aplikacije EDD enake interpretacije
EDD-ja. Dopolnjuje specifikacijo EDDL za spodbujanje interoperabilnosti aplikacije EDDL
in izboljšanje prenosljivosti EDD med aplikacijami EDDL.

General Information

Status
Published
Publication Date
16-Jun-2016
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
27-Jan-2016
Due Date
02-Apr-2016
Completion Date
17-Jun-2016

RELATIONS

Buy Standard

Standard
SIST EN 61804-4:2016 - BARVE
English language
125 pages
sale 10% off
Preview
sale 10% off
Preview

e-Library read for
1 day
Standard
SIST EN 61804-4:2016 - BARVE
English language
125 pages
sale 10% off
Preview
sale 10% off
Preview

e-Library read for
1 day

Standards Content (sample)

SLOVENSKI STANDARD
SIST EN 61804-4:2016
01-julij-2016
Nadomešča:
SIST-TP CLC/TR 61804-4:2007
Funkcijski bloki (FB) za nadzor procesov in opisni jezik za elektronske naprave
(EDDL) - 4. del: Interpretacija EDD (IEC 61804-4:2015)

Function blocks (FB) for process control and Electronic Device Description Language

(EDDL) - Part 4: EDD interpretation (IEC 61804-4:2015)
Funktionsbausteine für die Prozessautomation und elektronische

Gerätebeschreibungssprache - Teil 4: Interpretation von Gerätebeschreibungen (IEC

61804-4:2015)

Blocs fonctionnels (FB) pour les procédés industriels et le langage de description

électronique de produit (EDDL) - Partie 4: Interprétation EDD (IEC 61804-4:2015)
Ta slovenski standard je istoveten z: EN 61804-4:2016
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 61804-4:2016 en,fr,de

2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
SIST EN 61804-4:2016
---------------------- Page: 2 ----------------------
SIST EN 61804-4:2016
EUROPEAN STANDARD EN 61804-4
NORME EUROPÉENNE
EUROPÄISCHE NORM
January 2016
ICS 25.040.40; 35.240.50 Supersedes CLC/TR 61804-4:2007
English Version
Function blocks (FB) for process control and Electronic Device
Description Language (EDDL) - Part 4: EDD interpretation
(IEC 61804-4:2015)

Blocs fonctionnels (FB) pour les procédés industriels et le Funktionsbausteine für die Prozessautomation und

langage de description électronique de produit (EDDL) - elektronische Gerätebeschreibungssprache - Teil 4:

Partie 4: Interprétation EDD Interpretation von Gerätebeschreibungen
(IEC 61804-4:2015) (IEC 61804-4:2015)

This European Standard was approved by CENELEC on 2015-11-11. 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, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia,

Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, 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: Avenue Marnix 17, B-1000 Brussels

© 2016 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.

Ref. No. EN 61804-4:2016 E
---------------------- Page: 3 ----------------------
SIST EN 61804-4:2016
EN 61804-4:2016
European foreword

The text of document 65E/465/FDIS, future edition 1 of IEC 61804-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

61804-4:2016.
The following dates are fixed:
• latest date by which the document has to be (dop) 2016-08-11
implemented at national level by
publication of an identical national
standard or by endorsement
(dow) 2018-11-11
• latest date by which the national
standards conflicting with the
document have to be withdrawn
This document supersedes CLC/TR 61804-4:2007.

Attention is drawn to the possibility that some of the elements of this document may be the subject of

patent rights. CENELEC [and/or CEN] shall not be held responsible for identifying any or all such

patent rights.
Endorsement notice

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

Standard without any modification.
---------------------- Page: 4 ----------------------
SIST EN 61804-4:2016
EN 61804-5:2016
Annex ZA
(normative)
Normative references to international publications
with their corresponding European publications

The following documents, in whole or in part, are normatively referenced in this document and are

indispensable for its application. For dated references, only the edition cited applies. For undated

references, the latest edition of the referenced document (including any amendments) applies.

NOTE 1 When 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 61784-1 - Industrial communication networks - EN 61784-1 -
Profiles -- Part 1: Fieldbus profiles
IEC 61784-2 - Industrial communication networks - EN 61784-2 -
Profiles - Part 2: Additional fieldbus profiles
for real-time networks based on ISO/IEC
8802-3
IEC 61804-2 - Function Blocks (FB) for process control -- EN 61804-2 -
Part 2: Specification of FB concept
IEC 61804-3 - Function blocks (FB) for process control EN 61804-3 -
and EDDL - Part 3: EDDL specification and
communication profiles
IEC 61804-5 - Function blocks (FB) for process control EN 61804-5 -
and EDDL - Part 5: EDDL Builtin library
ISO/IEC 10918 series Information technology_- Digital - series
compression and coding of continuous-
tone still images: JPEG File Interchange
Format (JFIF)
ISO/IEC 15948 - Information technology - Computer - -
graphics and image processing - Portable
Network Graphics (PNG) - Functional
specification
---------------------- Page: 5 ----------------------
SIST EN 61804-4:2016
---------------------- Page: 6 ----------------------
SIST EN 61804-4:2016
IEC 61804-4
Edition 1.0 2015-10
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Function blocks (FB) for process control and electronic device description
language (EDDL) –
Part 4: EDD interpretation
Blocs fonctionnels (FB) pour les procédés industriels et le langage de
description électronique de produit (EDDL) –
Partie 4: Interprétation EDD
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.240.50 ISBN 978-2-8322-2937-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 61804-4:2016
– 2 – IEC 61804-4:2015  IEC 2015
CONTENTS

FOREWORD ........................................................................................................................... 8

INTRODUCTION ................................................................................................................... 10

1 Scope ............................................................................................................................ 11

2 Normative references .................................................................................................... 11

3 Terms, definitions, abbreviated terms, acronyms and conventions ................................. 11

3.1 General terms and definitions ............................................................................... 12

3.2 Terms and definitions related to modular devices .................................................. 12

3.3 Abbreviated terms and acronyms .......................................................................... 13

3.4 Conventions .......................................................................................................... 13

4 EDDL user interface description .................................................................................... 13

4.1 Overview............................................................................................................... 13

4.2 Menu conventions for handheld applications ......................................................... 14

4.3 Menu conventions for PC-based applications ........................................................ 14

4.3.1 Overview ....................................................................................................... 14

4.3.2 Online Root Menus ........................................................................................ 14

4.3.3 Offline Root Menu .......................................................................................... 15

4.3.4 Example of EDD menu structure .................................................................... 15

4.3.5 User interface ................................................................................................ 20

4.4 Containers and contained items ............................................................................ 23

4.4.1 Overview ....................................................................................................... 23

4.4.2 Containers ..................................................................................................... 23

4.4.3 Contained items ............................................................................................. 26

4.5 Layout rules .......................................................................................................... 30

4.5.1 Overview ....................................................................................................... 30

4.5.2 Layout rules for WIDTH and HEIGHT ............................................................. 30

4.5.3 Layout rules for COLUMNBREAK and ROWBREAK ....................................... 31

4.5.4 Layout examples ........................................................................................... 37

4.5.5 Conditional user interface .............................................................................. 45

4.6 Graphical elements ............................................................................................... 46

4.6.1 Overview ....................................................................................................... 46

4.6.2 Graph and chart ............................................................................................. 47

4.6.3 Common attributes ........................................................................................ 47

4.6.4 CHART .......................................................................................................... 48

4.6.5 GRAPH .......................................................................................................... 56

4.6.6 AXIS .............................................................................................................. 65

4.6.7 IMAGE ........................................................................................................... 66

4.6.8 GRID ............................................................................................................. 67

5 EDDL data description ................................................................................................... 69

5.1 Variables .............................................................................................................. 69

5.1.1 VARIABLE TYPEs ......................................................................................... 69

5.1.2 VARIABLE CLASS ......................................................................................... 70

5.1.3 VARIABLE ACTIONS ..................................................................................... 70

5.2 EDDL application stored device data ..................................................................... 70

5.2.1 Overview ....................................................................................................... 70

5.2.2 FILE .............................................................................................................. 71

5.2.3 LIST .............................................................................................................. 73

---------------------- Page: 8 ----------------------
SIST EN 61804-4:2016
IEC 61804-4:2015  IEC 2015 – 3 –

Exposing data items outside the EDD application .................................................. 80

5.3

5.4 Initialization of EDD instances ............................................................................... 80

5.4.1 Overview ....................................................................................................... 80

5.4.2 Initialization support ...................................................................................... 80

5.4.3 TEMPLATE .................................................................................................... 80

5.5 Device model mapping .......................................................................................... 81

5.5.1 BLOCK_A ...................................................................................................... 81

5.5.2 BLOCK_B ...................................................................................................... 82

6 EDDL METHOD programming and usage of Builtins ...................................................... 82

6.1 Builtin MenuDisplay .............................................................................................. 82

6.2 Division by zero and undetermined floating values ................................................ 85

6.2.1 Integer and unsigned integer values .............................................................. 85

6.2.2 Floating-point values ..................................................................................... 85

7 Modular devices ............................................................................................................ 85

7.1 Overview............................................................................................................... 85

7.2 EDD identification ................................................................................................. 86

7.3 Instance object model ........................................................................................... 86

7.4 Offline configuration .............................................................................................. 87

7.5 Online configuration .............................................................................................. 87

7.6 Simple modular device example ............................................................................ 87

7.6.1 General ......................................................................................................... 87

7.6.2 Separate EDD file example with direct EDD referencing ................................ 88

7.6.3 Separate EDD file example with classification EDD referencing and

interfaces ...................................................................................................... 89

7.6.4 One EDD file example ................................................................................... 92

7.6.5 Combination of single and separate modular device example ........................ 93

7.7 COMPONENT_RELATION .................................................................................... 93

7.7.1 General ......................................................................................................... 93

7.7.2 NEXT_COMPONENT usage .......................................................................... 93

7.7.3 REQUIRED_RANGES and ADDRESSING usage ........................................... 93

7.8 Upload and download for modular devices ............................................................ 93

7.9 Diagnostic ............................................................................................................. 94

7.10 Reading modular device topology ......................................................................... 95

7.10.1 SCAN ............................................................................................................ 95

7.10.2 Detect module type ........................................................................................ 96

7.11 Configuration check .............................................................................................. 97

8 Edit session ................................................................................................................... 98

8.1 Data management ................................................................................................. 98

8.1.1 Overview ....................................................................................................... 98

8.1.2 General rules ................................................................................................. 99

8.1.3 Data caching for dialogs and windows ........................................................... 99

8.1.4 Data caching for METHODs ......................................................................... 100

8.2 UI aspects of editing sessions ............................................................................. 102

8.3 User roles ........................................................................................................... 103

9 Offline and online configuration ................................................................................... 103

9.1 Overview............................................................................................................. 103

9.2 Offline dataset .................................................................................................... 104

9.3 Offline configuration ............................................................................................ 104

9.4 Online dataset .................................................................................................... 104

---------------------- Page: 9 ----------------------
SIST EN 61804-4:2016
– 4 – IEC 61804-4:2015  IEC 2015

Online configuration ............................................................................................ 104

9.5

9.6 Upload and download ......................................................................................... 105

9.6.1 Overview ..................................................................................................... 105

9.6.2 Error recovery.............................................................................................. 106

9.6.3 Upload procedure ........................................................................................ 106

9.6.4 Download procedure .................................................................................... 107

10 EDDL communication description ................................................................................ 109

10.1 COMMAND ......................................................................................................... 109

10.1.1 General ....................................................................................................... 109

10.1.2 OPERATION ................................................................................................ 109

10.1.3 TRANSACTION ........................................................................................... 110

10.1.4 Command addressing .................................................................................. 113

10.2 Parsing data received from the device ................................................................ 114

10.2.1 General ....................................................................................................... 114

10.2.2 Parsing complex data items ......................................................................... 114

10.2.3 FOUNDATION Fieldbus ............................................................................... 114

10.2.4 HART .......................................................................................................... 115

10.2.5 PROFIBUS and PROFINET ......................................................................... 115

10.3 FOUNDATION Fieldbus communication model .................................................... 115

11 EDD development ........................................................................................................ 119

11.1 Dictionaries ......................................................................................................... 119

11.2 Reserved ............................................................................................................ 119

Annex A (normative) Device simulation .............................................................................. 120

Annex B (informative) Predefined identifiers ...................................................................... 121

Figure 1 – EDD example of root menus ................................................................................. 20

Figure 2 – Example of an EDD application for diagnostics .................................................... 20

Figure 3 – Example of an EDD application for process variables ........................................... 21

Figure 4 – Example of an EDD application for primary variables ........................................... 21

Figure 5 – Example of an EDD application for process-related device features ..................... 22

Figure 6 – Example of an EDD application for device features .............................................. 22

Figure 7 – Example of an EDD application for maintenance features .................................... 23

Figure 8 – Usage of COLLECTION MEMBERS in MENUs of STYLE GROUP ........................ 26

Figure 9 – Displaying single bits of BIT_ENUMERATED ....................................................... 27

Figure 10 – Displaying multiple bits of BIT_ENUMERATED................................................... 28

Figure 11 – Example of an EDD application for a variable of type BIT_ENUMERATED ......... 28

Figure 12 – EDD source code for layout for protruding elements example ............................. 32

Figure 13 – Layout for protruding elements ........................................................................... 32

Figure 14 – EDD source code for layout for partially filled rows example ............................... 33

Figure 15 – Layout for partially filled rows ............................................................................. 33

Figure 16 – EDD source code for layout for partially filled rows example ............................... 34

Figure 17 – Layout for partially filled rows ............................................................................. 34

Figure 18 – EDD source code for layout for oversized elements example.............................. 35

Figure 19 – Layout for oversized elements ............................................................................ 35

Figure 20 – EDD source code example for a layout for columns in stacked group ................. 36

Figure 21 – Layout for columns in stacked group .................................................................. 36

---------------------- Page: 10 ----------------------
SIST EN 61804-4:2016
IEC 61804-4:2015  IEC 2015 – 5 –
Figure 22 – EDD source code for layout for columns with GRAPHs in stacked group

example ................................................................................................................................ 37

Figure 23 – Layout for columns with GRAPHs in stacked group ............................................ 37

Figure 24 – Example of an EDD for an overview menu .......................................................... 37

Figure 25 – Example of an EDD application for an overview window ..................................... 38

Figure 26 – Example of an EDD using COLUMNBREAK ....................................................... 38

Figure 27 – Example of an EDD application for an overview window ..................................... 39

Figure 28 – EDD example for an overview window ................................................................ 39

Figure 29 – Example of an EDD application for an overview window ..................................... 40

Figure 30 – Example of an EDD for in-line graphs and charts ............................................... 40

Figure 31 – Example of an EDD application for an in-line graph ............................................ 41

Figure 32 – Example of an EDD for full-width graphs and charts ........................................... 41

Figure 33 – Example of an EDD application for a full-width graph ......................................... 42

Figure 34 – Example of an EDD for nested containers .......................................................... 43

Figure 35 – Example of an EDD application for nested containers ........................................ 43

Figure 36 – Example of an EDD for EDIT_DISPLAYS ........................................................... 44

Figure 37 – Example of an EDD application for EDIT_DISPLAYS.......................................... 44

Figure 38 – Example of an EDD for images ........................................................................... 45

Figure 39 – Example of an EDD application for images ......................................................... 45

Figure 40 – HEIGHT and WIDTH attributes for CHART and GRAPH ..................................... 47

Figure 41 – EMPHASIS attribute to differentiate one or more SOURCEs or

WAVEFORMs ....................................................................................................................... 48

Figure 42 – Example of a chart with one curve in a dialog ..................................................... 50

Figure 43 – Example of a chart with two SOURCEs .............................................................. 51

Figure 44 – Displaying example of a chart with two SOURCEs .............................................. 52

Figure 45 – Example of a chart with three horizontal bars ..................................................... 53

Figure 46 – Displaying example of a chart with three horizontal bars .................................... 54

Figure 47 – Example of a chart in a dialog ............................................................................ 56

Figure 48 – A graph and the visual elements ........................................................................ 57

Figure 49 – Example of a graph ............................................................................................ 60

Figure 50 – Multiple used axes ............................................................................................. 61

Figure 51 – EDD with device-supported zooming and scrolling ............................................. 65

Figure 52 – EDD example of an IMAGE ................................................................................ 66

Figure 53 – EDD example of an IMAGE with the LINK attribute ............................................. 66

Figure 54 – EDD example of a GRID ..................................................................................... 68

Figure 55 – Result of the EDD example ................................................................................ 68

Figure 56 – Wrong usage of a BIT_ENUMERATED variable .................................................. 69

Figure 57 – Usage of ENUMERATED instead of BIT_ENUMERATED ................................... 69

Figure 58 – Example of a file declaration .............................................................................. 72

Figure 59 – Example of comparing valve signatures.............................................................. 73

Figure 60 – Example of more complex file declaration .......................................................... 74

Figure 61 – Example of reviewing the stored radar signals .................................................... 75

Figure 62 – Example of an EDD that inserts, replaces, or compares radar signals ................ 80

Figure 63 – Example of TEMPLATE usage ........................................................................... 81

---------------------- Page: 11 ----------------------
SIST EN 61804-4:2016
– 6 – IEC 61804-4:2015  IEC 2015

Figure 64 – Example of a BLOCK_A ..................................................................................... 82

Figure 65 – Example of a wizard ........................................................................................... 84

Figure 66 – The different relations of a module ..................................................

...

2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.Funkcijski bloki (FB) za nadzor procesov in opisni jezik za elektronske naprave (EDDL) - 4. del: Interpretacija EDD (IEC 61804-4:2015)Funktionsbausteine für die Prozessautomation und elektronische Gerätebeschreibungssprache - Teil 4: Interpretation von Gerätebeschreibungen (IEC 61804-4:2015)Blocs fonctionnels (FB) pour les procédés industriels et le langage de description électronique de produit (EDDL) - Partie 4: Interprétation EDD (IEC 61804-4:2015)Function blocks (FB) for process control and Electronic Device Description Language (EDDL) - Part 4: EDD interpretation (IEC 61804-4:2015)35.060Jeziki, ki se uporabljajo v informacijski tehniki in tehnologijiLanguages used in information technology25.040.40Merjenje in krmiljenje industrijskih postopkovIndustrial process measurement and controlICS:Ta slovenski standard je istoveten z:EN 61804-4:2016SIST EN 61804-4:2016en,fr,de01-julij-2016SIST EN 61804-4:2016SLOVENSKI

STANDARDSIST-TP CLC/TR 61804-4:20071DGRPHãþD
SIST EN 61804-4:2016
EUROPEAN STANDARD NORME EUROPÉENNE EUROPÄISCHE NORM
EN 61804-4
January 2016 ICS 25.040.40; 35.240.50
Supersedes
CLC/TR 61804-4:2007
English Version

Function blocks (FB) for process control and Electronic Device Description Language (EDDL) - Part 4: EDD interpretation (IEC 61804-4:2015)

Blocs fonctionnels (FB) pour les procédés industriels et le langage de description électronique de produit (EDDL) - Partie 4: Interprétation EDD (IEC 61804-4:2015)

Funktionsbausteine für die Prozessautomation und elektronische Gerätebeschreibungssprache - Teil 4: Interpretation von Gerätebeschreibungen (IEC 61804-4:2015) This European Standard was approved by CENELEC on 2015-11-11. 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, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, 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: Avenue Marnix 17,

B-1000 Brussels © 2016 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.

Ref. No. EN 61804-4:2016 E SIST EN 61804-4:2016

EN 61804-4:2016 2 European foreword The text of document 65E/465/FDIS, future edition 1 of IEC 61804-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 61804-4:2016.

The following dates are fixed: • latest date by which the document has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2016-08-11 • latest date by which the national standards conflicting with the document have to be withdrawn (dow) 2018-11-11

This document supersedes CLC/TR 61804-4:2007.

Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. CENELEC [and/or CEN] shall not be held responsible for identifying any or all such patent rights. Endorsement notice The text of the International Standard IEC 61804-4:2015 was approved by CENELEC as a European Standard without any modification. SIST EN 61804-4:2016

EN 61804-5:2016 3
Annex ZA (normative)

Normative references to international publications with their corresponding European publications

The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.

NOTE 1 When 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 61784-1 -

Industrial communication networks - Profiles -- Part 1: Fieldbus profiles EN 61784-1 -

IEC 61784-2 -

Industrial communication networks - Profiles - Part 2: Additional fieldbus profiles for real-time networks based on ISO/IEC 8802-3 EN 61784-2 -

IEC 61804-2 -

Function Blocks (FB) for process control -- Part 2: Specification of FB concept EN 61804-2 -

IEC 61804-3 -

Function blocks (FB) for process control and EDDL - Part 3: EDDL specification and communication profiles EN 61804-3 -

IEC 61804-5 -

Function blocks (FB) for process control and EDDL - Part 5: EDDL Builtin library EN 61804-5 -

ISO/IEC 10918 series

Information technology_- Digital compression and coding of continuous-tone still images: JPEG File Interchange Format (JFIF) - series

ISO/IEC 15948 -

Information technology - Computer graphics and image processing - Portable Network Graphics (PNG) - Functional specification - -

SIST EN 61804-4:2016
SIST EN 61804-4:2016

IEC 61804-4 Edition 1.0 2015-10 INTERNATIONAL STANDARD NORME INTERNATIONALE Function blocks (FB) for process control and electronic device description language (EDDL) –

Part 4: EDD interpretation

Blocs fonctionnels (FB) pour les procédés industriels et le langage de description électronique de produit (EDDL) –

Partie 4: Interprétation EDD

INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE

ICS 25.040.40; 35.240.50
ISBN 978-2-8322-2937-8
® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale ®

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éé. SIST EN 61804-4:2016 colourinside

– 2 – IEC 61804-4:2015  IEC 2015 CONTENTS FOREWORD ........................................................................................................................... 8 INTRODUCTION ................................................................................................................... 10 1 Scope ............................................................................................................................ 11 2 Normative references .................................................................................................... 11 3 Terms, definitions, abbreviated terms, acronyms and conventions ................................. 11 3.1 General terms and definitions ............................................................................... 12 3.2 Terms and definitions related to modular devices .................................................. 12 3.3 Abbreviated terms and acronyms .......................................................................... 13 3.4 Conventions .......................................................................................................... 13 4 EDDL user interface description .................................................................................... 13 4.1 Overview............................................................................................................... 13 4.2 Menu conventions for handheld applications ......................................................... 14 4.3 Menu conventions for PC-based applications ........................................................ 14 4.3.1 Overview ....................................................................................................... 14 4.3.2 Online Root Menus ........................................................................................ 14 4.3.3 Offline Root Menu .......................................................................................... 15 4.3.4 Example of EDD menu structure .................................................................... 15 4.3.5 User interface ................................................................................................ 20 4.4 Containers and contained items ............................................................................ 23 4.4.1 Overview ....................................................................................................... 23 4.4.2 Containers ..................................................................................................... 23 4.4.3 Contained items ............................................................................................. 26 4.5 Layout rules .......................................................................................................... 30 4.5.1 Overview ....................................................................................................... 30 4.5.2 Layout rules for WIDTH and HEIGHT ............................................................. 30 4.5.3 Layout rules for COLUMNBREAK and ROWBREAK ....................................... 31 4.5.4 Layout examples ........................................................................................... 37 4.5.5 Conditional user interface .............................................................................. 45 4.6 Graphical elements ............................................................................................... 46 4.6.1 Overview ....................................................................................................... 46 4.6.2 Graph and chart ............................................................................................. 47 4.6.3 Common attributes ........................................................................................ 47 4.6.4 CHART .......................................................................................................... 48 4.6.5 GRAPH .......................................................................................................... 56 4.6.6 AXIS .............................................................................................................. 65 4.6.7 IMAGE ........................................................................................................... 66 4.6.8 GRID ............................................................................................................. 67 5 EDDL data description ................................................................................................... 69 5.1 Variables .............................................................................................................. 69 5.1.1 VARIABLE TYPEs ......................................................................................... 69 5.1.2 VARIABLE CLASS ......................................................................................... 70 5.1.3 VARIABLE ACTIONS ..................................................................................... 70 5.2 EDDL application stored device data ..................................................................... 70 5.2.1 Overview ....................................................................................................... 70 5.2.2 FILE .............................................................................................................. 71 5.2.3 LIST .............................................................................................................. 73 SIST EN 61804-4:2016

IEC 61804-4:2015  IEC 2015 – 3 –

5.3 Exposing data items outside the EDD application .................................................. 80 5.4 Initialization of EDD instances ............................................................................... 80 5.4.1 Overview ....................................................................................................... 80 5.4.2 Initialization support ...................................................................................... 80 5.4.3 TEMPLATE .................................................................................................... 80 5.5 Device model mapping .......................................................................................... 81 5.5.1 BLOCK_A ...................................................................................................... 81 5.5.2 BLOCK_B ...................................................................................................... 82 6 EDDL METHOD programming and usage of Builtins ...................................................... 82 6.1 Builtin MenuDisplay .............................................................................................. 82 6.2 Division by zero and undetermined floating values ................................................ 85 6.2.1 Integer and unsigned integer values .............................................................. 85 6.2.2 Floating-point values ..................................................................................... 85 7 Modular devices ............................................................................................................ 85 7.1 Overview............................................................................................................... 85 7.2 EDD identification ................................................................................................. 86 7.3 Instance object model ........................................................................................... 86 7.4 Offline configuration .............................................................................................. 87 7.5 Online configuration .............................................................................................. 87 7.6 Simple modular device example ............................................................................ 87 7.6.1 General ......................................................................................................... 87 7.6.2 Separate EDD file example with direct EDD referencing ................................ 88 7.6.3 Separate EDD file example with classification EDD referencing and interfaces ...................................................................................................... 89 7.6.4 One EDD file example ................................................................................... 92 7.6.5 Combination of single and separate modular device example ........................ 93 7.7 COMPONENT_RELATION .................................................................................... 93 7.7.1 General ......................................................................................................... 93 7.7.2 NEXT_COMPONENT usage .......................................................................... 93 7.7.3 REQUIRED_RANGES and ADDRESSING usage ........................................... 93 7.8 Upload and download for modular devices ............................................................ 93 7.9 Diagnostic ............................................................................................................. 94 7.10 Reading modular device topology ......................................................................... 95 7.10.1 SCAN ............................................................................................................ 95 7.10.2 Detect module type ........................................................................................ 96 7.11 Configuration check .............................................................................................. 97 8 Edit session ................................................................................................................... 98 8.1 Data management ................................................................................................. 98 8.1.1 Overview ....................................................................................................... 98 8.1.2 General rules ................................................................................................. 99 8.1.3 Data caching for dialogs and windows ........................................................... 99 8.1.4 Data caching for METHODs ......................................................................... 100 8.2 UI aspects of editing sessions ............................................................................. 102 8.3 User roles ........................................................................................................... 103 9 Offline and online configuration ................................................................................... 103 9.1 Overview............................................................................................................. 103 9.2 Offline dataset .................................................................................................... 104 9.3 Offline configuration ............................................................................................ 104 9.4 Online dataset .................................................................................................... 104 SIST EN 61804-4:2016

– 4 – IEC 61804-4:2015  IEC 2015 9.5 Online configuration ............................................................................................ 104 9.6 Upload and download ......................................................................................... 105 9.6.1 Overview ..................................................................................................... 105 9.6.2 Error recovery.............................................................................................. 106 9.6.3 Upload procedure ........................................................................................ 106 9.6.4 Download procedure .................................................................................... 107 10 EDDL communication description ................................................................................ 109 10.1 COMMAND ......................................................................................................... 109 10.1.1 General ....................................................................................................... 109 10.1.2 OPERATION ................................................................................................ 109 10.1.3 TRANSACTION ........................................................................................... 110 10.1.4 Command addressing .................................................................................. 113 10.2 Parsing data received from the device ................................................................ 114 10.2.1 General ....................................................................................................... 114 10.2.2 Parsing complex data items ......................................................................... 114 10.2.3 FOUNDATION Fieldbus ............................................................................... 114 10.2.4 HART .......................................................................................................... 115 10.2.5 PROFIBUS and PROFINET ......................................................................... 115 10.3 FOUNDATION Fieldbus communication model .................................................... 115 11 EDD development ........................................................................................................ 119 11.1 Dictionaries ......................................................................................................... 119 11.2 Reserved ............................................................................................................ 119 Annex A (normative)

Device simulation .............................................................................. 120 Annex B (informative)

Predefined identifiers ...................................................................... 121

Figure 1 – EDD example of root menus ................................................................................. 20 Figure 2 – Example of an EDD application for diagnostics .................................................... 20 Figure 3 – Example of an EDD application for process variables ........................................... 21 Figure 4 – Example of an EDD application for primary variables ........................................... 21 Figure 5 – Example of an EDD application for process-related device features ..................... 22 Figure 6 – Example of an EDD application for device features .............................................. 22 Figure 7 – Example of an EDD application for maintenance features .................................... 23 Figure 8 – Usage of COLLECTION MEMBERS in MENUs of STYLE GROUP ........................ 26 Figure 9 – Displaying single bits of BIT_ENUMERATED ....................................................... 27 Figure 10 – Displaying multiple bits of BIT_ENUMERATED................................................... 28 Figure 11 – Example of an EDD application for a variable of type BIT_ENUMERATED ......... 28 Figure 12 – EDD source code for layout for protruding elements example ............................. 32 Figure 13 – Layout for protruding elements ........................................................................... 32 Figure 14 – EDD source code for layout for partially filled rows example ............................... 33 Figure 15 – Layout for partially filled rows ............................................................................. 33 Figure 16 – EDD source code for layout for partially filled rows example ............................... 34 Figure 17 – Layout for partially filled rows ............................................................................. 34 Figure 18 – EDD source code for layout for oversized elements example.............................. 35 Figure 19 – Layout for oversized elements ............................................................................ 35 Figure 20 – EDD source code example for a layout for columns in stacked group ................. 36 Figure 21 – Layout for columns in stacked group .................................................................. 36 SIST EN 61804-4:2016

IEC 61804-4:2015  IEC 2015 – 5 –

Figure 22 – EDD source code for layout for columns with GRAPHs in stacked group example ................................................................................................................................ 37 Figure 23 – Layout for columns with GRAPHs in stacked group ............................................ 37 Figure 24 – Example of an EDD for an overview menu .......................................................... 37 Figure 25 – Example of an EDD application for an overview window ..................................... 38 Figure 26 – Example of an EDD using COLUMNBREAK ....................................................... 38 Figure 27 – Example of an EDD application for an overview window ..................................... 39 Figure 28 – EDD example for an overview window ................................................................ 39 Figure 29 – Example of an EDD application for an overview window ..................................... 40 Figure 30 – Example of an EDD for in-line graphs and charts ............................................... 40 Figure 31 – Example of an EDD application for an in-line graph ............................................ 41 Figure 32 – Example of an EDD for full-width graphs and charts ........................................... 41 Figure 33 – Example of an EDD application for a full-width graph ......................................... 42 Figure 34 – Example of an EDD for nested containers .......................................................... 43 Figure 35 – Example of an EDD application for nested containers ........................................ 43 Figure 36 – Example of an EDD for EDIT_DISPLAYS ........................................................... 44 Figure 37 – Example of an EDD application for EDIT_DISPLAYS.......................................... 44 Figure 38 – Example of an EDD for images ........................................................................... 45 Figure 39 – Example of an EDD application for images ......................................................... 45 Figure 40 – HEIGHT and WIDTH attributes for CHART and GRAPH ..................................... 47 Figure 41 – EMPHASIS attribute to differentiate one or more SOURCEs or WAVEFORMs ....................................................................................................................... 48 Figure 42 – Example of a chart with one curve in a dialog ..................................................... 50 Figure 43 – Example of a chart with two SOURCEs .............................................................. 51 Figure 44 – Displaying example of a chart with two SOURCEs .............................................. 52 Figure 45 – Example of a chart with three horizontal bars ..................................................... 53 Figure 46 – Displaying example of a chart with three horizontal bars .................................... 54 Figure 47 – Example of a chart in a dialog ............................................................................ 56 Figure 48 – A graph and the visual elements ........................................................................ 57 Figure 49 – Example of a graph ............................................................................................ 60 Figure 50 – Multiple used axes ............................................................................................. 61 Figure 51 – EDD with device-supported zooming and scrolling ............................................. 65 Figure 52 – EDD example of an IMAGE ................................................................................ 66 Figure 53 – EDD example of an IMAGE with the LINK attribute ............................................. 66 Figure 54 – EDD example of a GRID ..................................................................................... 68 Figure 55 – Result of the EDD example ................................................................................ 68 Figure 56 – Wrong usage of a BIT_ENUMERATED variable .................................................. 69 Figure 57 – Usage of ENUMERATED instead of BIT_ENUMERATED ................................... 69 Figure 58 – Example of a file declaration .............................................................................. 72 Figure 59 – Example of comparing valve signatures.............................................................. 73 Figure 60 – Example of more complex file declaration .......................................................... 74 Figure 61 – Example of reviewing the stored radar signals .................................................... 75 Figure 62 – Example of an EDD that inserts, replaces, or compares radar signals ................ 80 Figure 63 – Example of TEMPLATE usage ........................................................................... 81 SIST EN 61804-4:2016

– 6 – IEC 61804-4:2015  IEC 2015 Figure 64 – Example of a BLOCK_A ..................................................................................... 82 Figure 65 – Example of a wizard ........................................................................................... 84 Figure 66 – The different relations of a module ..................................................................... 87 Figure 67 – Components and possible configuration of the modular devices ......................... 87 Figure 68 – Separate EDD file example with direct EDD referencing ..................................... 88 Figure 69 – EDD example for module1 .................................................................................. 89 Figure 70 – EDD example for module2 .................................................................................. 89 Figure 71 – EDD example for modular device ....................................................................... 90 Figure 72 – EDD example for module1 .................................................................................. 91 Figure 73 – EDD example for module2 .................................................................................. 91 Figure 74 – EDD example for module2 .................................................................................. 93 Figure 75 – NEXT_COMPONENT usage ............................................................................... 93 Figure 76 – REQUIRED_RANGES usage .............................................................................. 93 Figure 77 – Upload/download order of a modular device .....................

...

Questions, Comments and Discussion

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