Function blocks (FB) for process control and electronic device description language (EDDL) - Part 2: Specification of FB concept

IEC 61804-2:2018 specifies FB (function blocks) by using the result of a harmonization work as regards several elements. a) The device model which defines the components of an IEC 61804-2 conformant device. b) Conceptual specifications of FBs for measurement, actuation and processing. This includes general rules for the essential features to support control, whilst avoiding details which stop innovation as well as specialization for different industrial sectors. c) The electronic device description (EDD) technology, which enables the integration of real product details using the tools of the engineering life cycle. This third edition cancels and replaces the second edition published in 2006 and integrates parts of IEC 61804-1 which was withdrawn in January 2013. This edition constitutes a technical revision. This edition includes the following significant technical changes with respect to the previous edition: a) added command communication mapping in Clause 8; b) moved and reword compatibility level definition from IEC 62804-1 to new Annex B and terms and definitions; c) added proxy concept in new Annex C.

Funktionsbausteine für die Prozessautomation und elektronische Gerätebeschreibungssprache - Teil 2: Festlegung des Funktionsbausteinkonzepts

Blocs fonctionnels (FB) pour les procédés industriels et le langage de description électronique du produit (EDDL) - Partie 2: Spécification du concept de FB

L'IEC 61804-2:2018 spécifie les blocs fonctionnels sur la base des résultats d'un travail d'harmonisation concernant plusieurs éléments. a) Le modèle pour un appareil qui définit les composants d'un appareil conforme à l'IEC 61804-2. b) Les spécifications conceptuelles des blocs fonctionnels pour le mesurage, l'activation et le traitement. Ceci inclut des règles générales applicables aux caractéristiques essentielles à l'appui du processus de commande, tout en évitant les informations détaillées qui mettent un terme tant à l'innovation qu'à la spécialisation pour différents secteurs industriels. c) La technologie de description électronique de produit (EDD - electronic device description), qui permet, en utilisant les outils d’ingénierie, l’intégration de produits réels dans les systèmes tout au long du cycle de vie. Cette troisième édition annule et remplace la deuxième édition parue en 2006 et comprend des parties de l’IEC 61804-1, qui a été supprimée en janvier 2013. Cette édition constitue une révision technique. Cette édition inclut les modifications techniques majeures suivantes par rapport à l'édition précédente: a) ajout de la commande mapping avec la communication à l'Article 8; b) déplacement et reformulation de la définition du niveau de compatibilité de l’IEC 62804-1 dans la nouvelle Annexe B et dans les termes et définitions; c) ajout du concept de mandataire dans la nouvelle Annexe C.

Funkcijski bloki (FB) za nadzor procesov in opisni jezik za elektronske naprave (EDDL) - 2. del: Specifikacija koncepta FB (IEC 61804-2:2018)

Ta del standarda IEC 61804 se uporablja za funkcijske bloke (FB) za nadzor procesov.
Ta dokument določa funkcijske bloke, pri čemer so uporabljeni rezultati usklajevalnega dela, ki obravnava več elementov.
a) Model naprave, ki opredeljuje komponente naprave, skladne s standardom IEC 61804-2.
b) Konceptualne specifikacije funkcijskih blokov za merjenje, proženje in obdelavo. To vključuje splošna pravila za osnovne značilnosti z namenom zagotavljanja podpore za nadzor in hkratnega izogibanja podrobnostim, ki preprečujejo inovacije in specializiranje za različne industrijske sektorje.
c) Tehnologija opisa za elektronske naprave (EDD), ki omogoča integracijo dejanskih podrobnosti izdelka z uporabo orodij življenjskega cikla inženiringa.
Standardizacijska dela za funkcijske bloke so bila izvedena z usklajevanjem opisov konceptov obstoječih tehnologij. Rezultat je abstraktna raven, ki je omogočila opredelitev skupnih značilnosti na edinstven način. Ta abstraktna vizija je v tem dokumentu označena kot »konceptualna specifikacija funkcijskih blokov« in je preslikana v specifične komunikacijske sisteme ter njihove opredelitve, ki so jih oblikovale industrijske skupine.
OPOMBA: Ta dokument je mogoče preslikati v EN ISO 15745-1.
Na trgu že obstajajo rešitve, ki izpolnjujejo zahteve tega dokumenta in prikazujejo, kako so konceptualne specifikacije implementirane v posamezni tehnologiji. Nove tehnologije bodo morale najti ustrezne rešitve (glej sliko 4).

General Information

Status
Published
Publication Date
22-Mar-2018
Withdrawal Date
13-Feb-2021
Current Stage
6060 - Document made available - Publishing
Start Date
23-Mar-2018
Completion Date
23-Mar-2018

Relations

Standard
EN 61804-2:2018 - BARVE na PDF-str 13,26,28,30,33,50,54,65,66,79
English language
78 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day
Standard
EN IEC 61804-2:2018 - BARVE
English language
78 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)


SLOVENSKI STANDARD
SIST EN 61804-2:2018
01-junij-2018
Nadomešča:
SIST EN 61804-2:2007
Funkcijski bloki (FB) za nadzor procesov in opisni jezik za elektronske naprave
(EDDL) - 2. del: Specifikacija koncepta FB (IEC 61804-2:2018)
Function blocks (FB) for process control and electronic device description language
(EDDL) - Part 2: Specification of FB concept (IEC 61804-2:2018)
Funktionsbausteine für die Prozessautomation und elektronische
Gerätebeschreibungssprache - Teil 2: Festlegung des Funktionsbausteinkonzepts (IEC
61804-2:2018)
Blocs fonctionnels (FB) pour les procédés industriels et le langage de description
électronique du produit (EDDL) - Partie 2: Spécification du concept de FB (IEC 61804-
2:2018)
Ta slovenski standard je istoveten z: EN IEC 61804-2:2018
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-2:2018 en,fr,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

SIST EN 61804-2:2018
SIST EN 61804-2:2018
EUROPEAN STANDARD EN IEC 61804-2

NORME EUROPÉENNE
EUROPÄISCHE NORM
March 2018
ICS 25.040.40; 35.240.50 Supersedes EN 61804-2:2007
English Version
Function blocks (FB) for process control and electronic device
description language (EDDL) - Part 2: Specification of FB
concept
(IEC 61804-2:2018)
Blocs fonctionnels (FB) pour les procédés industriels et le Funktionsbausteine für die Prozessautomation und
langage de description électronique du produit (EDDL) - elektronische Gerätebeschreibungssprache - Teil 2:
Partie 2: Spécification du concept de FB Festlegung des Funktionsbausteinkonzepts
(IEC 61804-2:2018) (IEC 61804-2:2018)
This European Standard was approved by CENELEC on 2018-02-14. 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, 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
© 2018 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
Ref. No. EN IEC 61804-2:2018 E

SIST EN 61804-2:2018
European foreword
The text of document 65E/567/FDIS, future edition 3 of IEC 61804-2, prepared by IEC/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 61804-2:2018.

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

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 61804-2:2018 was approved by CENELEC as a European
Standard without any modification.
In the official version, for Bibliography, the following notes have to be added for the standards indicated:

IEC 60854-1 NOTE Harmonized as EN 60854-1.
IEC 61131-3 NOTE Harmonized as EN 61131-3.
IEC 61804 series NOTE Harmonized as EN 61804 series.
IEC 61804-3 NOTE Harmonized as EN 61804-3.
IEC 61804-5 NOTE Harmonized as EN 61804-5.

SIST EN 61804-2:2018
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 61158 series Industrial communication networks - EN 61158 series
Fieldbus specifications - Part 1: Overview
and guidance for the IEC 61158 and IEC
61784 series
IEC 61499-1 2012 Function blocks -- Part 1: Architecture EN 61499-1 2013
ISO/IEC 7498-1 -  Information technology - Open Systems - -
Interconnection - Basic Reference Model:
The Basic Model
SIST EN 61804-2:2018
SIST EN 61804-2:2018
IEC 61804-2 ®
Edition 3.0 2018-01
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Function blocks (FB) for process control and electronic device description

language (EDDL) –
Part 2: Specification of FB concept

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

electronique de produit (EDDL) –

Partie 2: Spécification du concept de FB

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.240.50 ISBN 978-2-8322-5128-7

SIST EN 61804-2:2018
– 2 – IEC 61804-2:2018  IEC 2018
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 9
2 Normative references . 9
3 Terms, definitions, abbreviated terms and conventions . 9
3.1 Terms and definitions . 9
3.2 Abbreviated terms . 18
3.3 Conventions for lexical structures . 19
4 General function block (FB) definition and EDD model . 20
4.1 Device structure (device model) . 20
4.1.1 Device model description . 20
4.1.2 FB type . 23
4.1.3 FB execution . 25
4.1.4 Reference between IEC 61499 and IEC 61804 models . 26
4.1.5 UML specification of the device model . 26
4.1.6 Classification of the algorithms . 28
4.1.7 Algorithm description . 29
4.1.8 Input and output variables and parameter definition . 29
4.1.9 Choice of variables and parameters . 30
4.1.10 Mode, Status and Diagnosis . 30
4.2 Block combinations . 30
4.2.1 Measurement channel . 30
4.2.2 Actuation channel . 31
4.2.3 Application . 32
4.3 EDD and EDDL model. 32
4.3.1 Overview of EDD and EDDL . 32
4.3.2 EDD architecture . 33
4.3.3 Concepts of EDD . 33
4.3.4 Principles of the EDD development process . 33
4.3.5 Interrelations between the lexical structure and formal definitions . 34
4.3.6 Builtins . 35
4.3.7 Profiles . 35
5 Detailed block definition . 35
5.1 General . 35
5.2 Application FBs . 35
5.2.1 Analog Input FB . 35
5.2.2 Analog Output FB . 37
5.2.3 Discrete Input FB . 38
5.2.4 On/Off Actuation FB Discrete Output FB . 40
5.2.5 Calculation FB . 41
5.2.6 Control FB . 42
5.3 Component FBs . 44
5.4 Technology Block . 44
5.4.1 Temperature Technology Block . 44
5.4.2 Pressure Technology Block . 47
5.4.3 Modulating Actuation Technology Block . 49

SIST EN 61804-2:2018
IEC 61804-2:2018 © IEC 2018 – 3 –
5.4.4 On/Off Actuation Technology Block . 51
5.5 Device (Resource) Block . 54
5.5.1 Identification . 54
5.5.2 Device state . 54
5.5.3 Message . 56
5.5.4 Initialisation . 56
5.6 Algorithms common to all blocks . 56
5.6.1 Data Input/Data Output status . 56
5.6.2 Validity . 57
5.6.3 Restart Initialisation . 57
5.6.4 Fail-safe . 57
5.6.5 Remote Cascade Initialisation . 58
6 FB Environment . 58
7 Mapping to System Management . 58
8 Mapping to Communication . 59
Annex A (informative) Parameter description . 62
Annex B (informative) Compatibility levels . 68
B.1 General . 68
B.2 Compatibility . 69
B.3 Incompatibility . 69
B.4 Coexistence . 70
B.5 Interconnectability . 70
B.6 Interworkability . 70
B.7 Interoperability . 70
B.8 Interchangeability . 71
Annex C (informative) Proxy concept and its use in FB applications . 72
C.1 General proxy concept . 72
C.2 Use of the proxy concept in FB applications . 73
Bibliography . 75

Figure 1 – Position of IEC 61804-2 related to other standards and products . 7
Figure 2 – FB structure is derived out of the process (P&ID view) . 20
Figure 3 – FB structure may be distributed between devices (according to IEC 61499-
1) . 21
Figure 4 – IEC 61804 FBs can be implemented in different devices . 22
Figure 5 – General components of devices . 22
Figure 6 – Block types of IEC 61804 (all parts) . 23
Figure 7 – IEC 61804 block overview (graphical representation not normative) . 24
Figure 8 – UML class diagram of the device model . 27
Figure 9 – Measurement process signal flow . 31
Figure 10 – Actuation process signal flow . 31
Figure 11 – Application process signal flow . 32
Figure 12 – EDD generation process . 34
Figure 13 – Analog Input FB . 36
Figure 14 – Analog Output FB . 37
Figure 15 – Discrete input FB . 39

SIST EN 61804-2:2018
– 4 – IEC 61804-2:2018  IEC 2018
Figure 16 – Discrete Output FB . 40
Figure 17 – Calculation FB . 42
Figure 18 – Control FB . 43
Figure 19 – Temperature Technology Block . 44
Figure 20 – Pressure Technology Block . 48
Figure 21 – Modulating Actuation Technology Block . 50
Figure 22 – On/Off Actuation Technology Block . 52
Figure 23 – Harel state chart . 55
Figure 24 – Application structure of ISO OSI Reference Model . 59
Figure 25 – Client/Server relationship in terms of OSI Reference Model . 60
Figure 26 – Mapping of IEC 61804 FBs to APOs . 60
Figure B.1 – Levels of functional device compatibility . 68
Figure C.1 – Proxy model class diagram . 72
Figure C.2 – Proxy integration in DCS . 73

Table 1 – Field attribute descriptions . 19
Table 2 – Equivalences between IEC 61804 and IEC 61499 model elements . 26
Table 3 – Variables and parameter description template . 29
Table 4 – Example of temperature sensors of Sensor_Type . 46
Table 5 – Device status state table . 54
Table 6 – Device status transition table . 56
Table A.1 – Parameter description . 62
Table B.1 – Functionality features . 69

SIST EN 61804-2:2018
IEC 61804-2:2018 © IEC 2018 – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
FUNCTION BLOCKS (FB) FOR PROCESS CONTROL AND
ELECTRONIC DEVICE DESCRIPTION LANGUAGE (EDDL) –

Part 2: Specification of FB concept

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as "IEC
Publication(s)"). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
International Standard IEC 61804-2 has been prepared by subcommittee 65E: Devices and
integration in enterprice systems, of IEC technical committee 65: Industrial-process
measurement, control and automation.
This third edition cancels and replaces the second edition published in 2006 and integrates
parts of IEC 61804-1 which was withdrawn in January 2013. This edition constitutes a
technical revision.
This edition includes the following significant technical changes with respect to the previous
edition:
a) added command communication mapping in Clause 8;
b) moved and reword compatibility level definition from IEC 62804-1 to new Annex B and
terms and definitions;
SIST EN 61804-2:2018
– 6 – IEC 61804-2:2018  IEC 2018
c) added proxy concept in new Annex C.
The text of this standard is based on the following documents:
FDIS Report on voting
65E/567/FDIS 65E/576/RVD
Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.
This publication has been drafted in accordance with the ISO/IEC Directives, Part 2.
A list of all parts in the IEC 61804 series, published under the general title Function blocks
(FB) for process control and electronic device description language (EDDL), can be found on
the IEC website.
Future standards in this series will carry the new general title as cited above. Titles of existing
standards in this series will be updated at the time of the next edition.
The committee has decided that the contents of this publication will remain unchanged until
the stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data
related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
IMPORTANT – The 'colour inside' logo on the cover page of this publication indicates
that it contains colours which are considered to be useful for the correct
understanding of its contents. Users should therefore print this document using a
colour printer.
SIST EN 61804-2:2018
IEC 61804-2:2018 © IEC 2018 – 7 –
INTRODUCTION
This part of IEC 61804 provides a conceptual function block (FB) specification, which can be
mapped to specific communication systems and their accompanying definitions by industrial
groups.
The EDDL fills the gap between the conceptual FB specification of this document and a
product implementation. Figure 1 shows these aspects.
Conceptual FB
IEC 61804 Electronic
specification for
IEC 61804 Function block concept
device description
the process
Part 2
sector
Solutions
Other
ControlNet
Foundation
PROFIBUS
(technology)
FB
PA profile
profile
application
BBB
specification
Implementation
EDD
Products
IEC
Figure 1 – Position of IEC 61804-2 related to other standards and products
The International Electrotechnical Commission (IEC) draws attention to the fact that it is
claimed that compliance with this document may involve the use of patents
U.S. Patent No. 5,333,114
U.S. Patent No. 5,485,400
U.S. Patent No. 5,825,664
U.S. Patent No. 5,909,368
U.S. Patent Pending No. 08/916,178
Australian Patent No. 638507
Canadian Patent No. 2,066,743
European Patent No. 0495001
Validated in:
UK – Patent No. 0495001
France – Patent No. 0495001
Germany – Patent No. 69032954.7
Netherlands – Patent No. 0495001
Japan – Patent No. 3137643
IEC take no position concerning the evidence, validity and scope of this patent right. The
holder of this patent right has assured the IEC that he is willing to negotiate licenses under
reasonable and non-discriminatory terms and conditions with applicants throughout the world.
In this respect, the statement of the holder of this patent right is registered with IEC.
Information may be obtained from:
Language
Part 3
Design rules
Part 4
Language builtins
Part 5
Requirements for
integrating fieldbus
devices - Part 6
SIST EN 61804-2:2018
– 8 – IEC 61804-2:2018  IEC 2018
FieldComm Group Inc.,
9430 Research Boulevard, Suite 1-120,
Austin, Texas, USA 78759,
Attention: President.
Attention is drawn to the possibility that some of the elements of this document may be the
subject of patent rights other than those identified above. IEC shall not be held responsible for
identifying any or all such patent rights.
ISO (www.iso.org/patents) and IEC (http://patents.iec.ch) maintain on-line data bases of
patents relevant to their standards. Users are encouraged to consult the data bases for the
most up to date information concerning patents.
The IEC 61804 series has the general title "Function blocks (FB) for process control and
electronic device description language (EDDL)" and consists of the following parts:
Part 2: FB concept
Part 3: Electronic device description language (EDDL)
Part 4: EDD design rules
Part 5: EDDL Builtin library
Part 6: Meeting the requirements for integrating fieldbus devices in engineering tools for field
devices
SIST EN 61804-2:2018
IEC 61804-2:2018 © IEC 2018 – 9 –
FUNCTION BLOCKS (FB) FOR PROCESS CONTROL AND
ELECTRONIC DEVICE DESCRIPTION LANGUAGE (EDDL) –

Part 2: Specification of FB concept

1 Scope
This part of IEC 61804 is applicable to function blocks (FB) for process control.
This document specifies FB by using the result of a harmonization work as regards several
elements.
a) The device model which defines the components of an IEC 61804-2 conformant device.
b) Conceptual specifications of FBs for measurement, actuation and processing. This
includes general rules for the essential features to support control, whilst avoiding details
which stop innovation as well as specialization for different industrial sectors.
c) The electronic device description (EDD) technology, which enables the integration of real
product details using the tools of the engineering life cycle.
The standardization work for FB was carried out by harmonizing the description of concepts of
existing technologies. It results in an abstract level that allowed the definition of the common
features in a unique way. This abstract vision is called here the "conceptual FB specification"
and is mapped to specific communication systems and their accompanying definitions by the
industrial groups.
NOTE This document can be mapped to ISO 15745-1.
There are solutions on the market today, which fulfil the requirements of this document and
show how the conceptual specification is implemented in a given technology. New
technologies will need to find equivalent solutions (see Figure 4).
2 Normative references
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.
IEC 61158 (all parts), Industrial communication networks – Fieldbus specifications
IEC 61499-1:2012, Function blocks – Part 1: Architecture
ISO/IEC 7498-1, Information technology – Open Systems Interconnection – Basic Reference
Model: The Basic Model
3 Terms, definitions, abbreviated terms and conventions
3.1 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
ISO and IEC maintain terminological databases for use in standardization at the following
addresses:
SIST EN 61804-2:2018
– 10 – IEC 61804-2:2018  IEC 2018
• IEC Electropedia: available at http://www.electropedia.org/
• ISO Online browsing platform: available at http://www.iso.org/obp
3.1.1
performance
quantitative or qualitative level of a property at any point in time considered
[SOURCE: ISO 15686-1:2011, 3.15, modified – The second term "performance in use" has
been deleted. In the definition, the words "quantitative or" have been added and the word
"critical" has been deleted.]
3.1.2
semantics
relationships between the symbolic elements and their meanings, interpretation and use
[SOURCE: IEC 61131-3:2013, 3.85, modified – The words "of a programming language" have
been deleted.]
3.1.3
algorithm
finite set of well-defined rules for the solution of a problem in a finite number of operations
3.1.4
application
software functional unit that is specific to the solution of a problem in industrial-process
measurement and control
Note 1 to entry: An application may be distributed among resources, and may communicate with other
applications.
3.1.5
application function block
application FB
FB which has no input or output to the process
3.1.6
attribute
property or characteristic of an entity, for instance, the version identifier of an FB type
specification
Note 1 to entry: The formal description of attributes is part of the solution profiles to get domain specific
interoperability. IEC 61804 (all parts) defines the general rules to define the attributes and specifies the EDDL to
describe attributes, which may be described in solution profiles.
[SOURCE: IEC 61499-1:2012, 3.6, modified – A note to entry has been added.]
3.1.7
Builtin
predefined subroutine for communication and display executed by the EDD application
3.1.8
coexistence
ability of two or more devices to operate independently of one another in the same network
respecting the common rules for sharing the same medium
3.1.9
compatibility
ability of a device to provide the set of functions and data required by an application for a
specific role in the physical process

SIST EN 61804-2:2018
IEC 61804-2:2018 © IEC 2018 – 11 –
Note 1 to entry: Function comprises application and communication functions including the dynamic behavior.
Note 2 to entry: Data comprises communication frame format and order as well as data type definitions up to
semantical description of the functions.
3.1.10
component function block
component FB
FB instance which is used in the specification of an algorithm of a composite FB type
Note 1 to entry: A component FB can be an FB or composite FB type.
3.1.11
composite FB type
FB type whose algorithms are expressed entirely in terms of interconnected component FBs
and variables
[SOURCE: IEC 61499-1:2012, 3.16, modified – The words "and the control of their execution"
and "event" have been deleted. ]
3.1.12
configuration
selecting functional units, assigning their locations and defining their
interconnections
[SOURCE: IEC 61499-1:2012, 3.18]
3.1.13
data
representation of facts, concepts or instructions in a formalized manner suitable for
communication, interpretation or processing by human beings or by automatic means
[SOURCE: IEC 61499-1:2012, 3.23, modified – The definition has been rephrased.]
3.1.14
data connection
association established between functional units for conveyance of data
[SOURCE: IEC 61499-1:2012, 3.24, modified – The words "two function blocks" have been
replaced by "functional units".]
3.1.15
data input
interface of an FB which receives data from a data connection
[SOURCE: IEC 61499-1:2012, 3.25]
3.1.16
data output
interface of an FB which supplies data to a data connection
[SOURCE: IEC 61499-1:2012, 3.26]
3.1.17
data type
set of values together with a set of permitted operations
[SOURCE: IEC 61499-1:2012, 3.27]

SIST EN 61804-2:2018
– 12 – IEC 61804-2:2018  IEC 2018
3.1.18
device
independent physical entity capable of performing one or more specified functions in a
particular context and delimited by its interfaces
[SOURCE: IEC 61499-1:2012, 3.29, modified – The note to entry has been deleted.]
3.1.19
Device Block
FB, which has no input and no output
3.1.20
device management application
application whose primary function is the management of multiple resources within a device
[SOURCE: IEC 61499-1:2012, 3.30]
3.1.21
EDD application
program using the EDD, or any translated form, which offers functionality such as
communication representation, data representation, graphical representation, etc.
3.1.22
EDDL processor
processor or program, which translates the EDD into an executable form that can be
processed by an EDD application
3.1.23
EDDL profile
selection of the supported elements of the EDDL lexical structure including the syntax
definitions for a number of specific consortia
3.1.24
electronic device description language
EDDL
methodology for describing parameter(s) of a automation system component
3.1.25
electronic device description
EDD
data collection containing the device parameter(s), their dependencies, their graphical
representation and a description of the data sets which are transferred.
Note 1 to entry: The electronic device description is created using the electronic device description language
(EDDL).
3.1.26
electronic device description source
EDDS
ASCII file containing a specific device description
3.1.27
electronic device description technology
EDDT
technology which includes the EDD development process, the EDD usage and the involved
tool chain
SIST EN 61804-2:2018
IEC 61804-2:2018 © IEC 2018 – 13 –
3.1.28
electronic device description language compiler
tool which translates the EDD source in an internal format that is used by the EDD interpreter
3.1.29
electronic device description interpreter
EDDI
tool which uses the EDD source or an internal format that is given by the EDDL compiler to
provide the EDD information to the EDD user
3.1.30
entity
particular thing, such as a person, place, process, object, concept, association, or event
[SOURCE: IEC 61499-1:2012, 3.31]
3.1.31
event
instantaneous occurrence that is significant to scheduling the execution of an algorithm
Note 1 to entry: The execution of an algorithm may make use of variables associated with an event.
[SOURCE: IEC 61499-1:2012, 3.32]
3.1.32
exception
event that causes suspension of normal execution
[SOURCE: IEC 61499-1:2012, 3.36]
3.1.33
function
intended purpose of an entity or its characteristic action
[SOURCE: IEC 61499-1:2012, 3.44, modified – The word "specific" has been replaced by
"intended".]
3.1.34
functional unit
entity of hardware or software, or both, capable of accomplishing a specified purpose
[SOURCE: IEC 61499-1:2012, 3.48]
3.1.35
function block
function block instance
software functional unit comprising an individual, named copy of a data structure and
associated operations specified by a corresponding FB type
Note 1 to entry: Typical operations of an FB include modification of the values of the data in its associated data
structure.
[SOURCE: IEC 61499-1:2012, 3.45, modified – The definition has been rephrased and the
second note to entry has been deleted.]

SIST EN 61804-2:2018
– 14 – IEC 61804-2:2018  IEC 2018
3.1.36
function block diagram
FBD
network in which the nodes are function block instances, variables, literals, and events
Note 1 to entry: This is not the same as the function block diagram defined in IEC 61131-3.
3.1.37
hardware
physical equipment, as opposed to programs, procedures, rules and associated
documentation
[SOURCE: IEC 61499-1:2012, 3.49]
3.1.38
implementation
development phase in which the hardware and software of a system become operational
[SOURCE: IEC 61499-1:2012, 3.51]
3.1.39
incompatibility
inability of devices to provide the functions and performance required by their role in a
distributed application
3.1.40
input variable
variable whose value is supplied by a data input, and which may be used in one or more
operations of an FB
Note 1 to entry: An input parameter of an FB, as defined in IEC 61131-3, is an input variable.
[SOURCE: IEC 61499-1:2012, 3.54]
3.1.41
instance
functional unit comprising an individual, named entity with the attributes of a defined type
[SOURCE: IEC 61499-1:2012, 3.55]
3.1.42
instance name
identifier associated with and designating an instance
[SOURCE: IEC 61499-1:2012, 3.56]
3.1.43
instantiation
creation of an instance of a specified type
[SOURCE: IEC 61499-1:2012, 3.57]
3.1.44
interchangeability
ability of one device to fulfil exactly the same role of another device in the physical process
and distributed application as required by the process design

SIST EN 61804-2:2018
IEC 61804-2:2018 © IEC 2018 – 15 –
3.1.45
interconnectivity
ability of two or more devices to operate with one another using the same communications
protocols and communication interface
3.1.46
interface
shared boundary between two functional units, defined by functional characteristics, signal
characteristics, or other characteristics as appropriate
[SOURCE: IEC 60050-351:2013, 351-42-25, modified – The word "shared" has been added to
the definition, and the notes to entry have been deleted.]
3.1.47
internal variable
variable whose value is used or modified by one or more operations of a FB but is not
supplied by a data input or to a data output
[SOURCE: IEC 61499-1:2012, 3.60]
3.1.48
interoperability
ability of two or more devices to work together in one or more distributed applications with the
shared knowledge of the data types and the semantics of the data transmitted
3.1.49
interworkability
ability of two or more devices to support the transfer of data between devices with the shared
knowledge of the data types of the data transmitted
Note 1 to entry: The content of the data is unknown, e.g. a text string that can be displayed but not interpreted by
the receiver device itself, or the content is a value but the unit is unknown.
3.1.50
invocation
process of initiating the execution of the sequence of operations specified in an algorithm
[SOURCE: IEC 61499-1:2012, 3.61]
3.1.51
management function block
FB whose primary function is the management of applications within a resource
[SOURCE: IEC 61499-1:2012, 3.64]
3.1.52
management resource
resource whose primary function is the management of other resources
[SOURCE: IEC 61499-1:2012, 3.65]
3.1.53
mapping
set of values having defined correspondence with the quantities or values of another set
[SOURCE: IEC 61499-1:2012, 3.66, modified – The words "features or attributes" have been
replaced by "values", and "members" by quantities or values".]

SIST EN 61804-2:2018
– 16 – IEC 61804-2:2018  IEC 2018
3.1.54
model
representation of a real world process, device, or concept
3.1.55
operation
well-defined action that, when applied to any permissible combination of known entities,
produces a new entity
[SOURCE: IEC 61499-1:2012, 3.73]
3.1.56
output variable
variable whose value is established by one or more operations of a FB, and is supplied to a
data output
Note 1 to entry: An output parameter of an FB, as defined in IEC 1131-3, is an output variable.
[SOURCE: IEC 61499-1:2012, 3.74]
3.1.57
parameter
variable that is given a constant value for a specified application and that may denote the
application
[SOURCE: IEC 61499-1:2012, 3.75]
3.1.58
preprocessor
part of the runtime environment that transforms the information given in an EDD
3.1.59
preprocessor directive
description of conditions for filtering the EDD code before compilation or interpretation
Note 1 to entry: For example a preprocessor directive providing the facility to define names for constants or to
write macros to make code easier to read.
3.1.60
proxy
computer process that relays a pr
...


SLOVENSKI STANDARD
01-junij-2018
Nadomešča:
SIST EN 61804-2:2007
Funkcijski bloki (FB) za nadzor procesov in opisni jezik za elektronske naprave
(EDDL) - 2. del: Specifikacija koncepta FB (IEC 61804-2:2018)
Function blocks (FB) for process control and electronic device description language
(EDDL) - Part 2: Specification of FB concept (IEC 61804-2:2018)
Funktionsbausteine für die Prozessautomation und elektronische
Gerätebeschreibungssprache - Teil 2: Festlegung des Funktionsbausteinkonzepts (IEC
61804-2:2018)
Blocs fonctionnels (FB) pour les procédés industriels et le langage de description
électronique du produit (EDDL) - Partie 2: Spécification du concept de FB (IEC 61804-
2:2018)
Ta slovenski standard je istoveten z: EN IEC 61804-2:2018
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
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

EUROPEAN STANDARD EN IEC 61804-2

NORME EUROPÉENNE
EUROPÄISCHE NORM
March 2018
ICS 25.040.40; 35.240.50 Supersedes EN 61804-2:2007
English Version
Function blocks (FB) for process control and electronic device
description language (EDDL) - Part 2: Specification of FB
concept
(IEC 61804-2:2018)
Blocs fonctionnels (FB) pour les procédés industriels et le Funktionsbausteine für die Prozessautomation und
langage de description électronique du produit (EDDL) - elektronische Gerätebeschreibungssprache - Teil 2:
Partie 2: Spécification du concept de FB Festlegung des Funktionsbausteinkonzepts
(IEC 61804-2:2018) (IEC 61804-2:2018)
This European Standard was approved by CENELEC on 2018-02-14. 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, 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
© 2018 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
Ref. No. EN IEC 61804-2:2018 E

European foreword
The text of document 65E/567/FDIS, future edition 3 of IEC 61804-2, prepared by IEC/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 61804-2:2018.

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

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 61804-2:2018 was approved by CENELEC as a European
Standard without any modification.
In the official version, for Bibliography, the following notes have to be added for the standards indicated:

IEC 60854-1 NOTE Harmonized as EN 60854-1.
IEC 61131-3 NOTE Harmonized as EN 61131-3.
IEC 61804 series NOTE Harmonized as EN 61804 series.
IEC 61804-3 NOTE Harmonized as EN 61804-3.
IEC 61804-5 NOTE Harmonized as EN 61804-5.

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 61158 series Industrial communication networks - EN 61158 series
Fieldbus specifications - Part 1: Overview
and guidance for the IEC 61158 and IEC
61784 series
IEC 61499-1 2012 Function blocks -- Part 1: Architecture EN 61499-1 2013
ISO/IEC 7498-1 -  Information technology - Open Systems - -
Interconnection - Basic Reference Model:
The Basic Model
IEC 61804-2 ®
Edition 3.0 2018-01
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Function blocks (FB) for process control and electronic device description

language (EDDL) –
Part 2: Specification of FB concept

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

electronique de produit (EDDL) –

Partie 2: Spécification du concept de FB

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.240.50 ISBN 978-2-8322-5128-7

– 2 – IEC 61804-2:2018  IEC 2018
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 9
2 Normative references . 9
3 Terms, definitions, abbreviated terms and conventions . 9
3.1 Terms and definitions . 9
3.2 Abbreviated terms . 18
3.3 Conventions for lexical structures . 19
4 General function block (FB) definition and EDD model . 20
4.1 Device structure (device model) . 20
4.1.1 Device model description . 20
4.1.2 FB type . 23
4.1.3 FB execution . 25
4.1.4 Reference between IEC 61499 and IEC 61804 models . 26
4.1.5 UML specification of the device model . 26
4.1.6 Classification of the algorithms . 28
4.1.7 Algorithm description . 29
4.1.8 Input and output variables and parameter definition . 29
4.1.9 Choice of variables and parameters . 30
4.1.10 Mode, Status and Diagnosis . 30
4.2 Block combinations . 30
4.2.1 Measurement channel . 30
4.2.2 Actuation channel . 31
4.2.3 Application . 32
4.3 EDD and EDDL model. 32
4.3.1 Overview of EDD and EDDL . 32
4.3.2 EDD architecture . 33
4.3.3 Concepts of EDD . 33
4.3.4 Principles of the EDD development process . 33
4.3.5 Interrelations between the lexical structure and formal definitions . 34
4.3.6 Builtins . 35
4.3.7 Profiles . 35
5 Detailed block definition . 35
5.1 General . 35
5.2 Application FBs . 35
5.2.1 Analog Input FB . 35
5.2.2 Analog Output FB . 37
5.2.3 Discrete Input FB . 38
5.2.4 On/Off Actuation FB Discrete Output FB . 40
5.2.5 Calculation FB . 41
5.2.6 Control FB . 42
5.3 Component FBs . 44
5.4 Technology Block . 44
5.4.1 Temperature Technology Block . 44
5.4.2 Pressure Technology Block . 47
5.4.3 Modulating Actuation Technology Block . 49

IEC 61804-2:2018 © IEC 2018 – 3 –
5.4.4 On/Off Actuation Technology Block . 51
5.5 Device (Resource) Block . 54
5.5.1 Identification . 54
5.5.2 Device state . 54
5.5.3 Message . 56
5.5.4 Initialisation . 56
5.6 Algorithms common to all blocks . 56
5.6.1 Data Input/Data Output status . 56
5.6.2 Validity . 57
5.6.3 Restart Initialisation . 57
5.6.4 Fail-safe . 57
5.6.5 Remote Cascade Initialisation . 58
6 FB Environment . 58
7 Mapping to System Management . 58
8 Mapping to Communication . 59
Annex A (informative) Parameter description . 62
Annex B (informative) Compatibility levels . 68
B.1 General . 68
B.2 Compatibility . 69
B.3 Incompatibility . 69
B.4 Coexistence . 70
B.5 Interconnectability . 70
B.6 Interworkability . 70
B.7 Interoperability . 70
B.8 Interchangeability . 71
Annex C (informative) Proxy concept and its use in FB applications . 72
C.1 General proxy concept . 72
C.2 Use of the proxy concept in FB applications . 73
Bibliography . 75

Figure 1 – Position of IEC 61804-2 related to other standards and products . 7
Figure 2 – FB structure is derived out of the process (P&ID view) . 20
Figure 3 – FB structure may be distributed between devices (according to IEC 61499-
1) . 21
Figure 4 – IEC 61804 FBs can be implemented in different devices . 22
Figure 5 – General components of devices . 22
Figure 6 – Block types of IEC 61804 (all parts) . 23
Figure 7 – IEC 61804 block overview (graphical representation not normative) . 24
Figure 8 – UML class diagram of the device model . 27
Figure 9 – Measurement process signal flow . 31
Figure 10 – Actuation process signal flow . 31
Figure 11 – Application process signal flow . 32
Figure 12 – EDD generation process . 34
Figure 13 – Analog Input FB . 36
Figure 14 – Analog Output FB . 37
Figure 15 – Discrete input FB . 39

– 4 – IEC 61804-2:2018  IEC 2018
Figure 16 – Discrete Output FB . 40
Figure 17 – Calculation FB . 42
Figure 18 – Control FB . 43
Figure 19 – Temperature Technology Block . 44
Figure 20 – Pressure Technology Block . 48
Figure 21 – Modulating Actuation Technology Block . 50
Figure 22 – On/Off Actuation Technology Block . 52
Figure 23 – Harel state chart . 55
Figure 24 – Application structure of ISO OSI Reference Model . 59
Figure 25 – Client/Server relationship in terms of OSI Reference Model . 60
Figure 26 – Mapping of IEC 61804 FBs to APOs . 60
Figure B.1 – Levels of functional device compatibility . 68
Figure C.1 – Proxy model class diagram . 72
Figure C.2 – Proxy integration in DCS . 73

Table 1 – Field attribute descriptions . 19
Table 2 – Equivalences between IEC 61804 and IEC 61499 model elements . 26
Table 3 – Variables and parameter description template . 29
Table 4 – Example of temperature sensors of Sensor_Type . 46
Table 5 – Device status state table . 54
Table 6 – Device status transition table . 56
Table A.1 – Parameter description . 62
Table B.1 – Functionality features . 69

IEC 61804-2:2018 © IEC 2018 – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
FUNCTION BLOCKS (FB) FOR PROCESS CONTROL AND
ELECTRONIC DEVICE DESCRIPTION LANGUAGE (EDDL) –

Part 2: Specification of FB concept

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as "IEC
Publication(s)"). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
International Standard IEC 61804-2 has been prepared by subcommittee 65E: Devices and
integration in enterprice systems, of IEC technical committee 65: Industrial-process
measurement, control and automation.
This third edition cancels and replaces the second edition published in 2006 and integrates
parts of IEC 61804-1 which was withdrawn in January 2013. This edition constitutes a
technical revision.
This edition includes the following significant technical changes with respect to the previous
edition:
a) added command communication mapping in Clause 8;
b) moved and reword compatibility level definition from IEC 62804-1 to new Annex B and
terms and definitions;
– 6 – IEC 61804-2:2018  IEC 2018
c) added proxy concept in new Annex C.
The text of this standard is based on the following documents:
FDIS Report on voting
65E/567/FDIS 65E/576/RVD
Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.
This publication has been drafted in accordance with the ISO/IEC Directives, Part 2.
A list of all parts in the IEC 61804 series, published under the general title Function blocks
(FB) for process control and electronic device description language (EDDL), can be found on
the IEC website.
Future standards in this series will carry the new general title as cited above. Titles of existing
standards in this series will be updated at the time of the next edition.
The committee has decided that the contents of this publication will remain unchanged until
the stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data
related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
IMPORTANT – The 'colour inside' logo on the cover page of this publication indicates
that it contains colours which are considered to be useful for the correct
understanding of its contents. Users should therefore print this document using a
colour printer.
IEC 61804-2:2018 © IEC 2018 – 7 –
INTRODUCTION
This part of IEC 61804 provides a conceptual function block (FB) specification, which can be
mapped to specific communication systems and their accompanying definitions by industrial
groups.
The EDDL fills the gap between the conceptual FB specification of this document and a
product implementation. Figure 1 shows these aspects.
Conceptual FB
IEC 61804 Electronic
specification for
IEC 61804 Function block concept
device description
the process
Part 2
sector
Solutions
Other
ControlNet
Foundation
PROFIBUS
(technology)
FB
PA profile
profile
application
BBB
specification
Implementation
EDD
Products
IEC
Figure 1 – Position of IEC 61804-2 related to other standards and products
The International Electrotechnical Commission (IEC) draws attention to the fact that it is
claimed that compliance with this document may involve the use of patents
U.S. Patent No. 5,333,114
U.S. Patent No. 5,485,400
U.S. Patent No. 5,825,664
U.S. Patent No. 5,909,368
U.S. Patent Pending No. 08/916,178
Australian Patent No. 638507
Canadian Patent No. 2,066,743
European Patent No. 0495001
Validated in:
UK – Patent No. 0495001
France – Patent No. 0495001
Germany – Patent No. 69032954.7
Netherlands – Patent No. 0495001
Japan – Patent No. 3137643
IEC take no position concerning the evidence, validity and scope of this patent right. The
holder of this patent right has assured the IEC that he is willing to negotiate licenses under
reasonable and non-discriminatory terms and conditions with applicants throughout the world.
In this respect, the statement of the holder of this patent right is registered with IEC.
Information may be obtained from:
Language
Part 3
Design rules
Part 4
Language builtins
Part 5
Requirements for
integrating fieldbus
devices - Part 6
– 8 – IEC 61804-2:2018  IEC 2018
FieldComm Group Inc.,
9430 Research Boulevard, Suite 1-120,
Austin, Texas, USA 78759,
Attention: President.
Attention is drawn to the possibility that some of the elements of this document may be the
subject of patent rights other than those identified above. IEC shall not be held responsible for
identifying any or all such patent rights.
ISO (www.iso.org/patents) and IEC (http://patents.iec.ch) maintain on-line data bases of
patents relevant to their standards. Users are encouraged to consult the data bases for the
most up to date information concerning patents.
The IEC 61804 series has the general title "Function blocks (FB) for process control and
electronic device description language (EDDL)" and consists of the following parts:
Part 2: FB concept
Part 3: Electronic device description language (EDDL)
Part 4: EDD design rules
Part 5: EDDL Builtin library
Part 6: Meeting the requirements for integrating fieldbus devices in engineering tools for field
devices
IEC 61804-2:2018 © IEC 2018 – 9 –
FUNCTION BLOCKS (FB) FOR PROCESS CONTROL AND
ELECTRONIC DEVICE DESCRIPTION LANGUAGE (EDDL) –

Part 2: Specification of FB concept

1 Scope
This part of IEC 61804 is applicable to function blocks (FB) for process control.
This document specifies FB by using the result of a harmonization work as regards several
elements.
a) The device model which defines the components of an IEC 61804-2 conformant device.
b) Conceptual specifications of FBs for measurement, actuation and processing. This
includes general rules for the essential features to support control, whilst avoiding details
which stop innovation as well as specialization for different industrial sectors.
c) The electronic device description (EDD) technology, which enables the integration of real
product details using the tools of the engineering life cycle.
The standardization work for FB was carried out by harmonizing the description of concepts of
existing technologies. It results in an abstract level that allowed the definition of the common
features in a unique way. This abstract vision is called here the "conceptual FB specification"
and is mapped to specific communication systems and their accompanying definitions by the
industrial groups.
NOTE This document can be mapped to ISO 15745-1.
There are solutions on the market today, which fulfil the requirements of this document and
show how the conceptual specification is implemented in a given technology. New
technologies will need to find equivalent solutions (see Figure 4).
2 Normative references
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.
IEC 61158 (all parts), Industrial communication networks – Fieldbus specifications
IEC 61499-1:2012, Function blocks – Part 1: Architecture
ISO/IEC 7498-1, Information technology – Open Systems Interconnection – Basic Reference
Model: The Basic Model
3 Terms, definitions, abbreviated terms and conventions
3.1 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
ISO and IEC maintain terminological databases for use in standardization at the following
addresses:
– 10 – IEC 61804-2:2018  IEC 2018
• IEC Electropedia: available at http://www.electropedia.org/
• ISO Online browsing platform: available at http://www.iso.org/obp
3.1.1
performance
quantitative or qualitative level of a property at any point in time considered
[SOURCE: ISO 15686-1:2011, 3.15, modified – The second term "performance in use" has
been deleted. In the definition, the words "quantitative or" have been added and the word
"critical" has been deleted.]
3.1.2
semantics
relationships between the symbolic elements and their meanings, interpretation and use
[SOURCE: IEC 61131-3:2013, 3.85, modified – The words "of a programming language" have
been deleted.]
3.1.3
algorithm
finite set of well-defined rules for the solution of a problem in a finite number of operations
3.1.4
application
software functional unit that is specific to the solution of a problem in industrial-process
measurement and control
Note 1 to entry: An application may be distributed among resources, and may communicate with other
applications.
3.1.5
application function block
application FB
FB which has no input or output to the process
3.1.6
attribute
property or characteristic of an entity, for instance, the version identifier of an FB type
specification
Note 1 to entry: The formal description of attributes is part of the solution profiles to get domain specific
interoperability. IEC 61804 (all parts) defines the general rules to define the attributes and specifies the EDDL to
describe attributes, which may be described in solution profiles.
[SOURCE: IEC 61499-1:2012, 3.6, modified – A note to entry has been added.]
3.1.7
Builtin
predefined subroutine for communication and display executed by the EDD application
3.1.8
coexistence
ability of two or more devices to operate independently of one another in the same network
respecting the common rules for sharing the same medium
3.1.9
compatibility
ability of a device to provide the set of functions and data required by an application for a
specific role in the physical process

IEC 61804-2:2018 © IEC 2018 – 11 –
Note 1 to entry: Function comprises application and communication functions including the dynamic behavior.
Note 2 to entry: Data comprises communication frame format and order as well as data type definitions up to
semantical description of the functions.
3.1.10
component function block
component FB
FB instance which is used in the specification of an algorithm of a composite FB type
Note 1 to entry: A component FB can be an FB or composite FB type.
3.1.11
composite FB type
FB type whose algorithms are expressed entirely in terms of interconnected component FBs
and variables
[SOURCE: IEC 61499-1:2012, 3.16, modified – The words "and the control of their execution"
and "event" have been deleted. ]
3.1.12
configuration
selecting functional units, assigning their locations and defining their
interconnections
[SOURCE: IEC 61499-1:2012, 3.18]
3.1.13
data
representation of facts, concepts or instructions in a formalized manner suitable for
communication, interpretation or processing by human beings or by automatic means
[SOURCE: IEC 61499-1:2012, 3.23, modified – The definition has been rephrased.]
3.1.14
data connection
association established between functional units for conveyance of data
[SOURCE: IEC 61499-1:2012, 3.24, modified – The words "two function blocks" have been
replaced by "functional units".]
3.1.15
data input
interface of an FB which receives data from a data connection
[SOURCE: IEC 61499-1:2012, 3.25]
3.1.16
data output
interface of an FB which supplies data to a data connection
[SOURCE: IEC 61499-1:2012, 3.26]
3.1.17
data type
set of values together with a set of permitted operations
[SOURCE: IEC 61499-1:2012, 3.27]

– 12 – IEC 61804-2:2018  IEC 2018
3.1.18
device
independent physical entity capable of performing one or more specified functions in a
particular context and delimited by its interfaces
[SOURCE: IEC 61499-1:2012, 3.29, modified – The note to entry has been deleted.]
3.1.19
Device Block
FB, which has no input and no output
3.1.20
device management application
application whose primary function is the management of multiple resources within a device
[SOURCE: IEC 61499-1:2012, 3.30]
3.1.21
EDD application
program using the EDD, or any translated form, which offers functionality such as
communication representation, data representation, graphical representation, etc.
3.1.22
EDDL processor
processor or program, which translates the EDD into an executable form that can be
processed by an EDD application
3.1.23
EDDL profile
selection of the supported elements of the EDDL lexical structure including the syntax
definitions for a number of specific consortia
3.1.24
electronic device description language
EDDL
methodology for describing parameter(s) of a automation system component
3.1.25
electronic device description
EDD
data collection containing the device parameter(s), their dependencies, their graphical
representation and a description of the data sets which are transferred.
Note 1 to entry: The electronic device description is created using the electronic device description language
(EDDL).
3.1.26
electronic device description source
EDDS
ASCII file containing a specific device description
3.1.27
electronic device description technology
EDDT
technology which includes the EDD development process, the EDD usage and the involved
tool chain
IEC 61804-2:2018 © IEC 2018 – 13 –
3.1.28
electronic device description language compiler
tool which translates the EDD source in an internal format that is used by the EDD interpreter
3.1.29
electronic device description interpreter
EDDI
tool which uses the EDD source or an internal format that is given by the EDDL compiler to
provide the EDD information to the EDD user
3.1.30
entity
particular thing, such as a person, place, process, object, concept, association, or event
[SOURCE: IEC 61499-1:2012, 3.31]
3.1.31
event
instantaneous occurrence that is significant to scheduling the execution of an algorithm
Note 1 to entry: The execution of an algorithm may make use of variables associated with an event.
[SOURCE: IEC 61499-1:2012, 3.32]
3.1.32
exception
event that causes suspension of normal execution
[SOURCE: IEC 61499-1:2012, 3.36]
3.1.33
function
intended purpose of an entity or its characteristic action
[SOURCE: IEC 61499-1:2012, 3.44, modified – The word "specific" has been replaced by
"intended".]
3.1.34
functional unit
entity of hardware or software, or both, capable of accomplishing a specified purpose
[SOURCE: IEC 61499-1:2012, 3.48]
3.1.35
function block
function block instance
software functional unit comprising an individual, named copy of a data structure and
associated operations specified by a corresponding FB type
Note 1 to entry: Typical operations of an FB include modification of the values of the data in its associated data
structure.
[SOURCE: IEC 61499-1:2012, 3.45, modified – The definition has been rephrased and the
second note to entry has been deleted.]

– 14 – IEC 61804-2:2018  IEC 2018
3.1.36
function block diagram
FBD
network in which the nodes are function block instances, variables, literals, and events
Note 1 to entry: This is not the same as the function block diagram defined in IEC 61131-3.
3.1.37
hardware
physical equipment, as opposed to programs, procedures, rules and associated
documentation
[SOURCE: IEC 61499-1:2012, 3.49]
3.1.38
implementation
development phase in which the hardware and software of a system become operational
[SOURCE: IEC 61499-1:2012, 3.51]
3.1.39
incompatibility
inability of devices to provide the functions and performance required by their role in a
distributed application
3.1.40
input variable
variable whose value is supplied by a data input, and which may be used in one or more
operations of an FB
Note 1 to entry: An input parameter of an FB, as defined in IEC 61131-3, is an input variable.
[SOURCE: IEC 61499-1:2012, 3.54]
3.1.41
instance
functional unit comprising an individual, named entity with the attributes of a defined type
[SOURCE: IEC 61499-1:2012, 3.55]
3.1.42
instance name
identifier associated with and designating an instance
[SOURCE: IEC 61499-1:2012, 3.56]
3.1.43
instantiation
creation of an instance of a specified type
[SOURCE: IEC 61499-1:2012, 3.57]
3.1.44
interchangeability
ability of one device to fulfil exactly the same role of another device in the physical process
and distributed application as required by the process design

IEC 61804-2:2018 © IEC 2018 – 15 –
3.1.45
interconnectivity
ability of two or more devices to operate with one another using the same communications
protocols and communication interface
3.1.46
interface
shared boundary between two functional units, defined by functional characteristics, signal
characteristics, or other characteristics as appropriate
[SOURCE: IEC 60050-351:2013, 351-42-25, modified – The word "shared" has been added to
the definition, and the notes to entry have been deleted.]
3.1.47
internal variable
variable whose value is used or modified by one or more operations of a FB but is not
supplied by a data input or to a data output
[SOURCE: IEC 61499-1:2012, 3.60]
3.1.48
interoperability
ability of two or more devices to work together in one or more distributed applications with the
shared knowledge of the data types and the semantics of the data transmitted
3.1.49
interworkability
ability of two or more devices to support the transfer of data between devices with the shared
knowledge of the data types of the data transmitted
Note 1 to entry: The content of the data is unknown, e.g. a text string that can be displayed but not interpreted by
the receiver device itself, or the content is a value but the unit is unknown.
3.1.50
invocation
process of initiating the execution of the sequence of operations specified in an algorithm
[SOURCE: IEC 61499-1:2012, 3.61]
3.1.51
management function block
FB whose primary function is the management of applications within a resource
[SOURCE: IEC 61499-1:2012, 3.64]
3.1.52
management resource
resource whose primary function is the management of other resources
[SOURCE: IEC 61499-1:2012, 3.65]
3.1.53
mapping
set of values having defined correspondence with the quantities or values of another set
[SOURCE: IEC 61499-1:2012, 3.66, modified – The words "features or attributes" have been
replaced by "values", and "members" by quantities or values".]

– 16 – IEC 61804-2:2018  IEC 2018
3.1.54
model
representation of a real world process, device, or concept
3.1.55
operation
well-defined action that, when applied to any permissible combination of known entities,
produces a new entity
[SOURCE: IEC 61499-1:2012, 3.73]
3.1.56
output variable
variable whose value is established by one or more operations of a FB, and is supplied to a
data output
Note 1 to entry: An output parameter of an FB, as defined in IEC 1131-3, is an output variable.
[SOURCE: IEC 61499-1:2012, 3.74]
3.1.57
parameter
variable that is given a constant value for a specified application and that may denote the
application
[SOURCE: IEC 61499-1:2012, 3.75]
3.1.58
preprocessor
part of the runtime environment that transforms the information given in an EDD
3.1.59
preprocessor directive
description of conditions for filtering the EDD code before compilation or interpretation
Note 1 to entry: For example a preprocessor directive providing the facility to define names for constants or to
w
...

Questions, Comments and Discussion

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

Loading comments...