1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationFunction Blocks (FB) for process controlPart 3: Electronic Device Description Language (EDDL)BS EN 61804-3:2011Copyright European Committee for Electrotechnical Standardization P
2、rovided by IHS under license with CENELECNot for ResaleNo reproduction or networking permitted without license from IHS-,-,-National forewordThis British Standard is the UK implementation of EN 61804-3:2011. It is identical to IEC 61804-3:2010. It supersedes BS EN 61804-3:2007 which is withdrawn.The
3、 UK participation in its preparation was entrusted to Technical Committee AMT/7, Industrial communications: process 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 inclu
4、de all the necessary provisions of a contract. Users are responsible for its correct application. BSI 2011ISBN 978 0 580 70029 3 ICS 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 Sta
5、ndards Policy and Strategy Committee on 31 May 2011.Amendments issued since publicationAmd. No. Date Text affectedBRITISH STANDARDBS EN 61804-3:2011Copyright European Committee for Electrotechnical Standardization Provided by IHS under license with CENELECNot for ResaleNo reproduction or networking
6、permitted without license from IHS-,-,-EUROPEAN STANDARD EN 61804-3 NORME EUROPENNE EUROPISCHE NORM March 2011 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Management Centre: Avenue Ma
7、rnix 17, B - 1000 Brussels 2011 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 61804-3:2011 E ICS 25.040.40; 35.240.50 Supersedes EN 61804-3:2007English version Function Blocks (FB) for process control - Part 3: Electronic Device
8、 Description Language (EDDL) (IEC 61804-3:2010) Blocs Fonctionnels (FB) pour le contrle de processus industriel - Partie 3: Langage de description dun quipement lectronique (EDDL) (CEI 61804-3:2010) Funktionsbausteine fr die Prozessautomation - Teil 3: Elektronische Gertebeschreibungssprache (EDDL)
9、(IEC 61804-3:2010) This European Standard was approved by CENELEC on 2011-01-03. 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 a
10、nd bibliographical references concerning such national standards may be obtained on application to the Central Secretariat 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 respo
11、nsibility of a CENELEC member into its own language and notified to the Central Secretariat has the same status as the official versions. CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic, Denmark, Estonia, Finland, France
12、, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom. BS EN 61804-3:2011Copyright European Committee for Electrotechnical Standardization Pr
13、ovided by IHS under license with CENELECNot for ResaleNo reproduction or networking permitted without license from IHS-,-,-EN 61804-3:2011 - 2 - Foreword The text of document 65E/162/FDIS, future edition 2 of IEC 61804-3, prepared by SC 65E, Devices and integration in enterprise systems, of IEC TC 6
14、5, Industrial-process measurement, control and automation, was submitted to the IEC-CENELEC parallel vote and was approved by CENELEC as EN 61804-3 on 2011-01-03. This European Standard supersedes EN 61804-3:2007. The main changes with respect to EN 61804-3:2007 are listed below 1). Additions Langua
15、ge elements to support modular devices, see 7.9, 7.10, 7.36.1, 7.36.2, 7.36.3, 7.36.13 and 7.36.15; Language elements to support offline configuration, 7.31; Usage of UTF-8, see A.2.3; Various BuiltIns; BLOCK_A referencing. Updates to support access to multiple blocks, see 7.4.1, 7.38.18 up to 7.38.
16、26; Add VALIDITY attribute to various lexical structures; Support of multi-language images, see 7.18.2.1; In 7.23.1 deleted the restriction of the MENU item list; Syntactical limitation on conditionals in 7.23.2.1 to restrict the MENU layout; Add LIST and delete VARIABLE_LIST of the MENU items in 7.
17、23.2.1; Additional return value data types for METHOD TYPE, see 7.24.2.3; Replace reference by a context specific specification in Table 170; Clarification on KEY_POINTS behaviour, see 7.35.2.4; Add TRANSPARENT to the lexical structure to make the list of attributes consistent, see 7.36.11; Clearifi
18、cation on file behaviour, see 7.36.10; Add in Table A.5 the new key-words; Add the formal EDDL syntax in A.6. Corrections Deleted in A.6 all non-needed constructs using the auxiliary ._listR. These were created by a non-perfect syntax-checking tool. Deleted in A.6 all non-needed “stmt1:“ and “stmt2:
19、“. These were created by a nonperfect syntax-checking tool. Made A.6 consistent about using a colon at the end of a term by amending colons in a consistent way. Deleted not used references. Deleted in several lexical structures the brackets and “”. 1)The historical background to the EDDL specificati
20、on is given in Annex E. BS EN 61804-3:2011Copyright European Committee for Electrotechnical Standardization Provided by IHS under license with CENELECNot for ResaleNo reproduction or networking permitted without license from IHS-,-,- 3 - EN 61804-3:2011 Deleted in lexical structures the “ ” where th
21、e conditional expression was not possible. Exchanged the attribute WIDTH by HEIGHT in the subclause specifying HEIGHT. Spelling errors like GUAGE exchanged to GAUGE. Syntactical limitation on conditionals in ACTIONS (for example see 7.14.2.3 and 7.14.2.4) to support conditionals only in the METHODs.
22、 Clearification on file behaviour in 7.15. Add GRID and IMAGES to the attribute list, see 7.19. Deleted a duplication of element list in 7.23.2.1. Defining and calling METHODs with parameter and return value, see 7.24. Restriction on METHOD CLASS, see 7.24.2.2. Clearification on SCALING_FACTOR behav
23、iour, see Table 165. Deleted EDDL operators from EDDL keyword list, see Table A.5. Clarification on TIME_VALUE coding providing the absolute basis, see Table D.16 and Table D.17. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. CEN
24、 and CENELEC shall not be held responsible for identifying any or all such patent rights. The following dates were fixed: latest date by which the EN has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2011-10-03 latest date by which the n
25、ational standards conflicting with the EN have to be withdrawn (dow) 2014-01-03 Annex ZA has been added by CENELEC. _ Endorsement notice The text of the International Standard IEC 61804-3:2010 was approved by CENELEC as a European Standard without any modification. In the official version, for Bibli
26、ography, the following notes have to be added for the standards indicated: IEC 61131-3 NOTE Harmonized as EN 61131-3. IEC 61804-2 NOTE Harmonized as EN 61804-2. IEC/TR 61804-4 NOTE Harmonized as CLC/TR 61804-4. _ BS EN 61804-3:2011Copyright European Committee for Electrotechnical Standardization Pro
27、vided by IHS under license with CENELECNot for ResaleNo reproduction or networking permitted without license from IHS-,-,-EN 61804-3:2011 - 4 - Annex ZA (normative) Normative references to international publications with their corresponding European publications The following referenced documents ar
28、e indispensable for the application 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 When an international publication has been modified by common modifications, indi
29、cated by (mod), the relevant EN/HD applies. Publication Year Title EN/HD Year IEC 61499-1 2005 Function blocks - Part 1: Architecture EN 61499-1 2005 IEC/TS 61804-1 2003 Function blocks (FB) for process control - Part 1: Overview of system aspects - - ISO/IEC 2022 - Information technology - Characte
30、r code structure and extension techniques - - ISO/IEC 2375 2003 Information technology - Procedure for registration of escape sequences and coded character sets - - ISO/IEC 7498-1 - Information technology - Open Systems Interconnection - Basic Reference Model: The Basic Model - - ISO/IEC 8859-1 1998
31、 Information technology - 8-bit single-byte coded graphic character sets - Part 1: Latin alphabet No.1 - - ISO/IEC 9899 - Programming languages - C - - ISO/IEC 10646-1 2000 Information technology - Universal Multiple-Octet Coded Character Set (UCS) - Part 1: Architecture and Basic Multilingual Plane
32、 - - ISO 639 - Codes for the representation of names of languages - - ISO 3166-1 2006 Codes for the representation of names of countries and their subdivisions - Part 1: Country codes EN ISO 3166-1 2006 IEEE 754 1985 Binary Floating-Point Arithmetic (R1990) - - RFC 3629 2003 UTF-8, User Datagram Pro
33、tocol, available at http:/www.ietf.org/rfc/rfc0768.txt - - BS EN 61804-3:2011Copyright European Committee for Electrotechnical Standardization Provided by IHS under license with CENELECNot for ResaleNo reproduction or networking permitted without license from IHS-,-,- 2 61804-3 IEC:2010(E) CONTENTS
34、INTRODUCTION 1 4 1 Scope 1 5 2 Normative references 1 5 3 Terms, definitions, abbreviated terms and acronyms . 1 6 3.1 Terms and definitions . 1 6 3.2 Abbreviated terms and acronyms 2 1 4 Conformance statement . 2 2 5 Conventions for lexical structures . 2 2 6 EDD and EDDL model . 2 4 6.1 Overview o
35、f EDD and EDDL 2 4 6.2 EDD architecture. 2 4 6.3 Concepts of EDD 2 4 6.4 Principles of the EDD development process 2 4 6.5 Interrelations between the lexical structure and formal definitions . 2 5 6.6 Builtins 2 5 6.7 Profiles . 2 6 7 Electronic Device Description Language . 2 6 7.1 Overview . 2 6 7
36、.2 EDD identification information . 3 4 7.3 AXIS 3 7 7.4 BLOCK . 3 9 7.5 CHART . 4 9 7.6 COLLECTION 5 1 7.7 COMMAND. 5 2 7.8 COMPONENT 5 8 7.9 COMPONENT_FOLDER 6 2 7.10 COMPONENT_REFERENCE 6 2 7.11 COMPONENT_RELATION . 6 3 7.12 CONNECTION . 6 5 7.13 DOMAIN . 6 6 7.14 EDIT_DISPLAY 6 6 7.15 FILE 6 9 7
37、.16 GRAPH . 6 9 7.17 GRID . 7 0 7.18 IMAGE 7 1 7.19 IMPORT 7 2 7.20 INTERFACE . 8 7 7.21 LIKE 8 7 7.22 LIST 8 8 7.23 MENU . 8 9 7.24 METHOD . 9 6 7.25 PROGRAM . 9 8 7.26 RECORD . 9 9 7.27 REFERENCE_ARRAY 9 9 7.28 Relations 100 BS EN 61804-3:2011Copyright European Committee for Electrotechnical Stand
38、ardization Provided by IHS under license with CENELECNot for ResaleNo reproduction or networking permitted without license from IHS-,-,-61804-3 IEC:2010(E) 3 7.29 RESPONSE_CODES 101 7.30 SOURCE 102 7.31 TEMPLATE . 103 7.32 VALUE_ARRAY 104 7.33 VARIABLE 105 7.34 VARIABLE_LIST . 121 7.35 WAVEFORM 121
39、7.36 Common attributes . 127 7.37 Conditional expression 134 7.38 Referencing . 135 7.39 Strings 144 7.40 Expression . 146 7.41 Text dictionary . 150 Annex A (normative) EDDL formal definition . 152 Annex B (normative) EDDL Builtin library 238 Annex C (informative) EDD example 388 Annex D (normative
40、) Profiles of EDDL and Builtins . 402 Annex E (informative) Historical background . 434 Bibliography 435 Figure 1 Position of the IEC 61804 series related to other standards and products 14 Figure 2 EDD generation process . 2 5 Figure 3 BLOCK_A . 2 7 Figure 4 CHART 2 7 Figure 5 COLLECTION . 2 8 Figu
41、re 6 COMMAND . 2 8 Figure 7 DOMAIN . 2 8 Figure 8 EDIT_DISPLAY . 2 9 Figure 9 FILE . 2 9 Figure 10 GRAPH . 2 9 Figure 11 GRID . 2 9 Figure 12 IMAGE . 2 9 Figure 13 LIKE 3 0 Figure 14 LIST 3 0 Figure 15 MENU 3 0 Figure 16 PROGRAM . 3 1 Figure 17 RECORD. 3 1 Figure 18 REFERENCE_ARRAY 3 1 Figure 19 REF
42、RESH . 3 2 Figure 20 UNIT 3 2 Figure 21 WRITE_AS_ONE . 3 2 Figure 22 SOURCE . 3 2 Figure 23 VALUE_ARRAY . 3 2 Figure 24 VARIABLE . 3 3 Figure 25 VARIABLE_LIST 3 3 BS EN 61804-3:2011Copyright European Committee for Electrotechnical Standardization Provided by IHS under license with CENELECNot for Res
43、aleNo reproduction or networking permitted without license from IHS-,-,- 4 61804-3 IEC:2010(E) Figure 26 WAVEFORM . 3 3 Figure 27 EDDL import mechanisms 7 3 Figure 28 MENU activation 9 6 Figure 29 Time for read-and-write operation . 120 Figure C.1 Example of an operator screen using EDD 388 Table 1
44、Field attribute descriptions . 2 3 Table 2 DD_REVISION attribute . 3 5 Table 3 DEVICE_REVISION attribute. 3 5 Table 4 DEVICE_TYPE attribute 3 5 Table 5 EDD_PROFILE attribute 3 6 Table 6 EDD_VERSION attribute 3 6 Table 7 MANUFACTURER attribute . 3 6 Table 8 MANUFACTURER_EXT attribute 3 7 Table 9 AXIS
45、 attributes 3 7 Table 10 MAX_VALUE, MIN_VALUE attribute . 3 8 Table 11 SCALING attribute . 3 8 Table 12 BLOCK_A attributes . 3 9 Table 13 CHARACTERISTIC attribute 4 0 Table 14 PARAMETER attributes . 4 0 Table 15 AXIS_ITEMS attribute . 4 1 Table 16 CHART_ITEMS attribute 4 1 Table 17 COLLECTION_ITEMS
46、attribute . 4 1 Table 18 EDIT_DISPLAY_ITEMS attribute . 4 1 Table 19 FILE_ITEMS attribute . 4 2 Table 20 GRAPH_ITEMS attribute 4 2 Table 21 GRID_ITEMS attribute . 4 2 Table 22 IMAGE_ITEMS attribute . 4 2 Table 23 LIST_ITEMS attribute . 4 3 Table 24 MENU_ITEMS attribute 4 3 Table 25 METHOD_ITEMS attr
47、ibute 4 3 Table 26 PARAMETER_LISTS attributes . 4 4 Table 27 REFERENCE_ARRAY_ITEMS attribute . 4 4 Table 28 REFRESH_ITEMS attribute . 4 4 Table 29 SOURCE_ITEMS attribute . 4 4 Table 30 UNIT_ITEMS attribute . 4 5 Table 31 WAVEFORM_ITEMS attribute. 4 5 Table 32 WRITE_AS_ONE_ITEMS attribute . 4 5 Table
48、 33 CHARTS attribute 4 6 Table 34 LISTS attribute . 4 6 Table 35 GRAPHS attribute . 4 6 Table 36 GRIDS attribute 4 7 Table 37 MENUS attribute . 4 7 BS EN 61804-3:2011Copyright European Committee for Electrotechnical Standardization Provided by IHS under license with CENELECNot for ResaleNo reproduction or networking permitted without license from IHS-,-,-