EN 61804-4-2016 en Function blocks (FB) for process control and Electronic Device Description Language (EDDL) - Part 4 EDD interpretation.pdf

上传人:unhappyhay135 文档编号:720617 上传时间:2019-01-04 格式:PDF 页数:128 大小:2.75MB
下载 相关 举报
EN 61804-4-2016 en Function blocks (FB) for process control and Electronic Device Description Language (EDDL) - Part 4 EDD interpretation.pdf_第1页
第1页 / 共128页
EN 61804-4-2016 en Function blocks (FB) for process control and Electronic Device Description Language (EDDL) - Part 4 EDD interpretation.pdf_第2页
第2页 / 共128页
EN 61804-4-2016 en Function blocks (FB) for process control and Electronic Device Description Language (EDDL) - Part 4 EDD interpretation.pdf_第3页
第3页 / 共128页
EN 61804-4-2016 en Function blocks (FB) for process control and Electronic Device Description Language (EDDL) - Part 4 EDD interpretation.pdf_第4页
第4页 / 共128页
EN 61804-4-2016 en Function blocks (FB) for process control and Electronic Device Description Language (EDDL) - Part 4 EDD interpretation.pdf_第5页
第5页 / 共128页
点击查看更多>>
资源描述

1、BSI Standards PublicationFunction blocks (FB) for process control and ElectronicDevice Description Language(EDDL)Part 4: EDD interpretationBS EN 61804-4:2016National forewordThis British Standard is the UK implementation of EN 61804-4:2016. It isidentical to IEC 61804-4:2015. It supersedes PD CLC/TR

2、 61804-4:2007 whichis withdrawn.The UK participation in its preparation was entrusted to TechnicalCommittee AMT/7, Industrial communications: process measurement andcontrol, including fieldbus.A list of organizations represented on this committee can be obtained onrequest to its secretary.This publi

3、cation does not purport to include all the necessary provisions ofa contract. Users are responsible for its correct application. The British Standards Institution 2016.Published by BSI Standards Limited 2016ISBN 978 0 580 81632 1ICS 25.040.40; 35.240.50Compliance with a British Standard cannot confe

4、r immunity fromlegal obligations.This British Standard was published under the authority of theStandards Policy and Strategy Committee on 29 February 2016.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS EN 61804-4:2016EUROPEAN STANDARD NORME EUROPENNE EUROPISCHE NO

5、RM EN 61804-4 January 2016 ICS 25.040.40; 35.240.50 Supersedes CLC/TR 61804-4:2007 English Version Function blocks (FB) for process control and Electronic Device Description Language (EDDL) - Part 4: EDD interpretation (IEC 61804-4:2015) Blocs fonctionnels (FB) pour les procds industriels et le lang

6、age de description lectronique de produit (EDDL) - Partie 4: Interprtation EDD (IEC 61804-4:2015) Funktionsbausteine fr die Prozessautomation und elektronische Gertebeschreibungssprache - Teil 4: Interpretation von Gertebeschreibungen (IEC 61804-4:2015) This European Standard was approved by CENELEC

7、 on 2015-11-11. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration. Up-to-date lists and bibliographical references concerning such national standards

8、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

9、 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, Germ

10、any, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. European Committee for Electrotechnical Standardization Comit Europen de Normalisati

11、on Electrotechnique Europisches Komitee fr Elektrotechnische Normung CEN-CENELEC Management Centre: Avenue Marnix 17, B-1000 Brussels 2016 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members. Ref. No. EN 61804-4:2016 E BS EN 61804-4:2016EN 61804-4:2

12、016 2 European foreword The text of document 65E/465/FDIS, future edition 1 of IEC 61804-4, prepared by SC 65E “Devicesand integration in enterprise systems” of IEC/TC 65 “Industrial-process measurement, control andautomation“ was submitted to the IEC-CENELEC parallel vote and approved by CENELEC as

13、 EN61804-4:2016. The following dates are fixed: latest date by which the document has to beimplemented at national level bypublication of an identical nationalstandard or by endorsement(dop) 2016-08-11 latest date by which the nationalstandards conflicting with thedocument have to be withdrawn(dow)

14、2018-11-11 This document supersedes CLC/TR 61804-4:2007. Attention is drawn to the possibility that some of the elements of this document may be the subject ofpatent rights. CENELEC and/or CEN shall not be held responsible for identifying any or all suchpatent rights. Endorsement notice The text of

15、the International Standard IEC 61804-4:2015 was approved by CENELEC as a EuropeanStandard without any modification. BS EN 61804-4:2016EN 61804-5:2016 3 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following documents, in w

16、hole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. NOTE 1 When an International Publica

17、tion has been modified by common modifications, indicated by (mod), the relevant EN/HD applies. NOTE 2 Up-to-date information on the latest versions of the European Standards listed in this annex is available here: www.cenelec.eu. Publication Year Title EN/HD Year IEC 61784-1 - Industrial communicat

18、ion networks - Profiles - Part 1: Fieldbus profiles EN 61784-1 - IEC 61784-2 - Industrial communication networks - Profiles - Part 2: Additional fieldbus profiles for real-time networks based on ISO/IEC 8802-3 EN 61784-2 - IEC 61804-2 - Function Blocks (FB) for process control - Part 2: Specificatio

19、n of FB concept EN 61804-2 - IEC 61804-3 - Function blocks (FB) for process control and EDDL - Part 3: EDDL specification and communication profiles EN 61804-3 - IEC 61804-5 - Function blocks (FB) for process control and EDDL - Part 5: EDDL Builtin library EN 61804-5 - ISO/IEC 10918 series Informati

20、on technology_- Digital compression and coding of continuous-tone still images: JPEG File Interchange Format (JFIF) - series ISO/IEC 15948 - Information technology - Computer graphics and image processing - Portable Network Graphics (PNG) - Functional specification - - BS EN 61804-4:2016 2 IEC 61804

21、-4:2015 IEC 2015 CONTENTS FOREWORD . 8 INTRODUCTION . 10 1 Scope 11 2 Normative references 11 3 Terms, definitions, abbreviated terms, acronyms and conventions . 11 3.1 General terms and definitions . 12 3.2 Terms and definitions related to modular devices 12 3.3 Abbreviated terms and acronyms 13 3.

22、4 Conventions 13 4 EDDL user interface description 13 4.1 Overview. 13 4.2 Menu conventions for handheld applications . 14 4.3 Menu conventions for PC-based applications 14 4.3.1 Overview . 14 4.3.2 Online Root Menus 14 4.3.3 Offline Root Menu 15 4.3.4 Example of EDD menu structure 15 4.3.5 User int

23、erface 20 4.4 Containers and contained items 23 4.4.1 Overview . 23 4.4.2 Containers . 23 4.4.3 Contained items . 26 4.5 Layout rules 30 4.5.1 Overview . 30 4.5.2 Layout rules for WIDTH and HEIGHT . 30 4.5.3 Layout rules for COLUMNBREAK and ROWBREAK . 31 4.5.4 Layout examples . 37 4.5.5 Conditional

24、user interface 45 4.6 Graphical elements . 46 4.6.1 Overview . 46 4.6.2 Graph and chart . 47 4.6.3 Common attributes 47 4.6.4 CHART 48 4.6.5 GRAPH 56 4.6.6 AXIS 65 4.6.7 IMAGE . 66 4.6.8 GRID . 67 5 EDDL data description . 69 5.1 Variables 69 5.1.1 VARIABLE TYPEs . 69 5.1.2 VARIABLE CLASS . 70 5.1.3

25、 VARIABLE ACTIONS . 70 5.2 EDDL application stored device data . 70 5.2.1 Overview . 70 5.2.2 FILE 71 5.2.3 LIST 73 BS EN 61804-4:2015BS EN 61804-4:2016IEC 61804-4:2015 IEC 2015 2 IEC 61804-4:2015 IEC 2015CONTENTSFOREWORD. 8INTRODUCTION.101 Scope112 Normative references 113 Terms, definitions, abbre

26、viated terms, acronyms and conventions. 113.1 General terms and definitions .123.2 Terms and definitions related to modular devices123.3 Abbreviated terms and acronyms 133.4 Conventions134 EDDL user interface description 134.1 Overview.134.2 Menu conventions for handheld applications .144.3 Menu con

27、ventions for PC-based applications 144.3.1 Overview .144.3.2 Online Root Menus 144.3.3 Offline Root Menu154.3.4 Example of EDD menu structure 154.3.5 User interface204.4 Containers and contained items 234.4.1 Overview .234.4.2 Containers.234.4.3 Contained items.264.5 Layout rules304.5.1 Overview .30

28、4.5.2 Layout rules for WIDTH and HEIGHT.304.5.3 Layout rules for COLUMNBREAK and ROWBREAK.314.5.4 Layout examples .374.5.5 Conditional user interface 454.6 Graphical elements .464.6.1 Overview .464.6.2 Graph and chart.474.6.3 Common attributes 474.6.4 CHART 484.6.5 GRAPH564.6.6 AXIS654.6.7 IMAGE.664

29、.6.8 GRID .675 EDDL data description.695.1 Variables 695.1.1 VARIABLE TYPEs .695.1.2 VARIABLE CLASS.705.1.3 VARIABLE ACTIONS.705.2 EDDL application stored device data.705.2.1 Overview .705.2.2 FILE 715.2.3 LIST 73BS EN 61804-4:2015IEC 61804-4:2015 IEC 2015 3 5.3 Exposing data items outside the EDD a

30、pplication 80 5.4 Initialization of EDD instances . 80 5.4.1 Overview . 80 5.4.2 Initialization support 80 5.4.3 TEMPLATE 80 5.5 Device model mapping 81 5.5.1 BLOCK_A 81 5.5.2 BLOCK_B 82 6 EDDL METHOD programming and usage of Builtins 82 6.1 Builtin MenuDisplay 82 6.2 Division by zero and undetermin

31、ed floating values 85 6.2.1 Integer and unsigned integer values 85 6.2.2 Floating-point values . 85 7 Modular devices 85 7.1 Overview. 85 7.2 EDD identification . 86 7.3 Instance object model . 86 7.4 Offline configuration 87 7.5 Online configuration 87 7.6 Simple modular device example 87 7.6.1 Gen

32、eral . 87 7.6.2 Separate EDD file example with direct EDD referencing 88 7.6.3 Separate EDD file example with classification EDD referencing and interfaces 89 7.6.4 One EDD file example . 92 7.6.5 Combination of single and separate modular device example 93 7.7 COMPONENT_RELATION 93 7.7.1 General .

33、93 7.7.2 NEXT_COMPONENT usage 93 7.7.3 REQUIRED_RANGES and ADDRESSING usage . 93 7.8 Upload and download for modular devices 93 7.9 Diagnostic . 94 7.10 Reading modular device topology . 95 7.10.1 SCAN 95 7.10.2 Detect module type 96 7.11 Configuration check 97 8 Edit session . 98 8.1 Data managemen

34、t . 98 8.1.1 Overview . 98 8.1.2 General rules . 99 8.1.3 Data caching for dialogs and windows . 99 8.1.4 Data caching for METHODs . 100 8.2 UI aspects of editing sessions . 102 8.3 User roles . 103 9 Offline and online configuration . 103 9.1 Overview. 103 9.2 Offline dataset 104 9.3 Offline config

35、uration 104 9.4 Online dataset 104 BS EN 61804-4:2015BS EN 61804-4:2016IEC 61804-4:2015 IEC 2015 4 IEC 61804-4:2015 IEC 2015 9.5 Online configuration 104 9.6 Upload and download . 105 9.6.1 Overview . 105 9.6.2 Error recovery 106 9.6.3 Upload procedure 106 9.6.4 Download procedure 107 10 EDDL commun

36、ication description 109 10.1 COMMAND . 109 10.1.1 General . 109 10.1.2 OPERATION 109 10.1.3 TRANSACTION . 110 10.1.4 Command addressing 113 10.2 Parsing data received from the device 114 10.2.1 General . 114 10.2.2 Parsing complex data items . 114 10.2.3 FOUNDATION Fieldbus . 114 10.2.4 HART 115 10.

37、2.5 PROFIBUS and PROFINET . 115 10.3 FOUNDATION Fieldbus communication model 115 11 EDD development 119 11.1 Dictionaries . 119 11.2 Reserved 119 Annex A (normative) Device simulation 120 Annex B (informative) Predefined identifiers 121 Figure 1 EDD example of root menus . 20 Figure 2 Example of an

38、EDD application for diagnostics 20 Figure 3 Example of an EDD application for process variables . 21 Figure 4 Example of an EDD application for primary variables . 21 Figure 5 Example of an EDD application for process-related device features . 22 Figure 6 Example of an EDD application for device fea

39、tures 22 Figure 7 Example of an EDD application for maintenance features 23 Figure 8 Usage of COLLECTION MEMBERS in MENUs of STYLE GROUP 26 Figure 9 Displaying single bits of BIT_ENUMERATED . 27 Figure 10 Displaying multiple bits of BIT_ENUMERATED. 28 Figure 11 Example of an EDD application for a va

40、riable of type BIT_ENUMERATED . 28 Figure 12 EDD source code for layout for protruding elements example . 32 Figure 13 Layout for protruding elements . 32 Figure 14 EDD source code for layout for partially filled rows example . 33 Figure 15 Layout for partially filled rows . 33 Figure 16 EDD source

41、code for layout for partially filled rows example . 34 Figure 17 Layout for partially filled rows . 34 Figure 18 EDD source code for layout for oversized elements example 35 Figure 19 Layout for oversized elements 35 Figure 20 EDD source code example for a layout for columns in stacked group . 36 Fi

42、gure 21 Layout for columns in stacked group 36 BS EN 61804-4:2015BS EN 61804-4:2016IEC 61804-4:2015 IEC 2015 4 IEC 61804-4:2015 IEC 2015 9.5 Online configuration 104 9.6 Upload and download . 105 9.6.1 Overview . 105 9.6.2 Error recovery 106 9.6.3 Upload procedure 106 9.6.4 Download procedure 107 10

43、 EDDL communication description 109 10.1 COMMAND . 109 10.1.1 General . 109 10.1.2 OPERATION 109 10.1.3 TRANSACTION . 110 10.1.4 Command addressing 113 10.2 Parsing data received from the device 114 10.2.1 General . 114 10.2.2 Parsing complex data items . 114 10.2.3 FOUNDATION Fieldbus . 114 10.2.4

44、HART 115 10.2.5 PROFIBUS and PROFINET . 115 10.3 FOUNDATION Fieldbus communication model 115 11 EDD development 119 11.1 Dictionaries . 119 11.2 Reserved 119 Annex A (normative) Device simulation 120 Annex B (informative) Predefined identifiers 121 Figure 1 EDD example of root menus . 20 Figure 2 Ex

45、ample of an EDD application for diagnostics 20 Figure 3 Example of an EDD application for process variables . 21 Figure 4 Example of an EDD application for primary variables . 21 Figure 5 Example of an EDD application for process-related device features . 22 Figure 6 Example of an EDD application fo

46、r device features 22 Figure 7 Example of an EDD application for maintenance features 23 Figure 8 Usage of COLLECTION MEMBERS in MENUs of STYLE GROUP 26 Figure 9 Displaying single bits of BIT_ENUMERATED . 27 Figure 10 Displaying multiple bits of BIT_ENUMERATED. 28 Figure 11 Example of an EDD applicat

47、ion for a variable of type BIT_ENUMERATED . 28 Figure 12 EDD source code for layout for protruding elements example . 32 Figure 13 Layout for protruding elements . 32 Figure 14 EDD source code for layout for partially filled rows example . 33 Figure 15 Layout for partially filled rows . 33 Figure 16

48、 EDD source code for layout for partially filled rows example . 34 Figure 17 Layout for partially filled rows . 34 Figure 18 EDD source code for layout for oversized elements example 35 Figure 19 Layout for oversized elements 35 Figure 20 EDD source code example for a layout for columns in stacked g

49、roup . 36 Figure 21 Layout for columns in stacked group 36 BS EN 61804-4:2015IEC 61804-4:2015 IEC 2015 5 Figure 22 EDD source code for layout for columns with GRAPHs in stacked group example 37 Figure 23 Layout for columns with GRAPHs in stacked group 37 Figure 24 Example of an EDD for an overview menu 37 Figure 25 Example of an EDD application for an overview window . 38 Figure 26 Example of an EDD using COLUMNBREAK . 38 F

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1