1、BSI Standards PublicationWB11885_BSI_StandardCovs_2013_AW.indd 1 15/05/2013 15:06Function blocks (FB) for process control and electronic device description language (EDDL)Part 2: Specification of FB conceptBS EN IEC 61804-2:2018EUROPEAN STANDARD NORME EUROPENNE EUROPISCHE NORM EN IEC 61804-2 March 2
2、018 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 procds industriels et le langage de description
3、 lectronique du produit (EDDL) - Partie 2: Spcification du concept de FB (IEC 61804-2:2018) Funktionsbausteine fr die Prozessautomation und elektronische Gertebeschreibungssprache - Teil 2: Festlegung des Funktionsbausteinkonzepts (IEC 61804-2:2018) This European Standard was approved by CENELEC on
4、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
5、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 not
6、ified 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,
7、 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 Europen de Normali
8、sation Electrotechnique Europisches Komitee fr 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 National forewordT
9、his British Standard is the UK implementation of EN IEC 61804-2:2018. It is identical to IEC 61804-2:2018. It supersedes BS EN 61804-2:2007, which will be withdrawn on 14 February 2021.The UK participation in its preparation was entrusted to Technical Committee GEL/65/3, Industrial communications: p
10、rocess measurement and control, including fieldbus.A list of organizations represented on this committee can be obtained on request to its secretary.This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. The British
11、 Standards Institution 2018 Published by BSI Standards Limited 2018ISBN 978 0 580 79628 9ICS 25.040.40; 35.240.50Compliance with a British Standard cannot confer immunity from legal obligations.This British Standard was published under the authority of the Standards Policy and Strategy Committee on
12、30 April 2018.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS EN IEC 61804-2:2018EUROPEAN STANDARD NORME EUROPENNE EUROPISCHE NORM EN IEC 61804-2 March 2018 ICS 25.040.40; 35.240.50 Supersedes EN 61804-2:2007 English Version Function blocks (FB) for process control
13、 and electronic device description language (EDDL) - Part 2: Specification of FB concept (IEC 61804-2:2018) Blocs fonctionnels (FB) pour les procds industriels et le langage de description lectronique du produit (EDDL) - Partie 2: Spcification du concept de FB (IEC 61804-2:2018) Funktionsbausteine f
14、r die Prozessautomation und elektronische Gertebeschreibungssprache - Teil 2: Festlegung des Funktionsbausteinkonzepts (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 co
15、nditions 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
16、 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
17、 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
18、, Portugal, Romania, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung CEN-CENELEC Management Centre: Rue de l
19、a 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 BS EN IEC 61804-2:2018EN IEC 61804-2:2018 (E) 2 European foreword The text of document 65E/567/FDIS, future edition 3 of IEC 61804
20、-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: latest date by which the docu
21、ment has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2018-11-14 latest date by which the national standards conflicting with the document have to be withdrawn (dow) 2021-02-14 This document supersedes EN 61804-2:2007. Attention is draw
22、n 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 S
23、tandard 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 H
24、armonized as EN 61804-3. IEC 61804-5 NOTE Harmonized as EN 61804-5. BS EN IEC 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
25、 . 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 specific
26、ation 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 ch
27、annel 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 definition
28、s 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 Comp
29、onent 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 BS EN IEC 61804-2:2018IEC 61804-2:2018 IEC 2018 3 5.4.4 On/Off Actuation Technology Block 51 5.5 Device (Resource) Block . 54 5.5.1 Identific
30、ation 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
31、 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 Inte
32、roperability 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
33、 structure is derived out of the process (P 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 wi
34、th 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 sub
35、jects 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 technica
36、l 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
37、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 con
38、formity 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 dir
39、ectors, 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 arisi
40、ng 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 d
41、rawn 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 enterpr
42、ice 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. Thi
43、s 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; BS EN IEC 61804-2:2018 6 IEC 61804-2:
44、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
45、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
46、 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 u
47、nder “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 c
48、onsidered to be useful for the correct understanding of its contents. Users should therefore print this document using a colour printer. BS EN IEC 61804-2:2018IEC 61804-2:2018 IEC 2018 7 INTRODUCTION This part of IEC 61804 provides a conceptual function block (FB) specification, which can be mapped
49、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. IEC 61804 Function block concept Part 2Conceptual FB specification for the process sectorFoundation FBapplicationPROFIBUSPA profileSolutions (technology) profilespecificationImplementationProductsBBBControlNet OtherEDDLanguagebuiltins Part5Designrules Part4IEC 61804 Electronicdevice des