1、BSI Standards PublicationFunction blocks (FB) for process control and electronicdevice description language(EDDL)Part 5: EDDL Builtin libraryBS EN 61804-5:2015National forewordThis British Standard is the UK implementation of EN 61804-5:2015. It isidentical to IEC 61804-5:2015.The UK participation i
2、n 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 publication does not purport to include all the necessary p
3、rovisions ofa contract. Users are responsible for its correct application. The British Standards Institution 2015.Published by BSI Standards Limited 2015ISBN 978 0 580 79625 8ICS 25.040.40; 35.240.50Compliance with a British Standard cannot confer immunity fromlegal obligations.This British Standard
4、 was published under the authority of theStandards Policy and Strategy Committee on 31 October 2015.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS EN 61804-5:2015EUROPEAN STANDARD NORME EUROPENNE EUROPISCHE NORM EN 61804-5 September 2015 ICS 25.040.40; 35.240.50 E
5、nglish Version Function blocks (FB) for process control and electronic device description language (EDDL) - Part 5: EDDL Builtin library (IEC 61804-5:2015) Blocs fonctionnels (FB) pour les procds industriels et le langage de description lectronique de produit (EDDL) - Partie 5: Bibliothque de Builti
6、n EDDL (IEC 61804-5:2015) Funktionsbausteine fr die Prozessautomation und elektronische Gertebeschreibungssprache - Teil 5: Bibliothek vorgefertigter Unterprogramme (IEC 61804-5:2015) This European Standard was approved by CENELEC on 2015-07-14. CENELEC members are bound to comply with the CEN/CENEL
7、EC 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
8、 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
9、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, Luxe
10、mbourg, 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 Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung C
11、EN-CENELEC Management Centre: Avenue Marnix 17, B-1000 Brussels 2015 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members. Ref. No. EN 61804-5:2015 E BS EN 61804-5:2015EN 61804-5:2015 2 European foreword The text of document 65E/450/FDIS, future edit
12、ion 1 of IEC 61804-5, prepared by SC 65E “Devices and integration in enterprise systems” of IEC/TC 65 “Industrial-process measurement, control and automation“ was submitted to the IEC-CENELEC parallel vote and approved by CENELEC as EN 61804-5:2015. The following dates are fixed: latest date by whic
13、h the document has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2016-04-14 latest date by which the national standards conflicting with the document have to be withdrawn (dow) 2018-07-14 Attention is drawn to the possibility that some o
14、f the elements of this document may be the subject of patent rights. CENELEC and/or CEN shall not be held responsible for identifying any or all such patent rights. Endorsement notice The text of the International Standard IEC 61804-5:2015 was approved by CENELEC as a European Standard without any m
15、odification. BS EN 61804-5:2015EN 621804-5:2015 3 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its application
16、. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. NOTE 1 When an International Publication has been modified by common modifications, indicated by (mod), the relevant EN/HD applies. NOTE 2
17、 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 61804-3 2015 Function blocks (FB) for process control and EDDL - Part 3: EDDL specification and communication profiles - - IEEE 754 -
18、 IEEE Standard for Binary Floating-Point Arithmetic - - BS EN 61804-5:2015 2 IEC 61804-5:2015 IEC 2015 CONTENTS FOREWORD . 19 INTRODUCTION . 21 1 Scope 22 2 Normative references. 22 3 Terms, definitions, acronyms and abbreviated terms 22 3.1 Terms and definitions 22 3.2 Acronyms and abbreviated term
19、s . 22 4 EDDL Builtin library . 23 4.1 General . 23 4.2 Conventions for Builtin descriptions . 23 4.3 Builtin categories 24 4.3.1 Overview . 24 4.3.2 User interface Builtins 25 4.3.3 Communication Builtins 26 4.3.4 Action Builtins 28 4.4 Builtin _ERROR 28 4.5 Builtin _TRACE . 29 4.6 Builtin _WARNING
20、 29 4.7 Builtin abort 29 4.8 Builtin abort_on_all_comm_errors 30 4.9 Builtin ABORT_ON_ALL_COMM_STATUS . 30 4.10 Builtin ABORT_ON_ALL_DEVICE_STATUS . 31 4.11 Builtin ABORT_ON_ALL_RESPONSE_CODES 31 4.12 Builtin abort_on_all_response_codes . 32 4.13 Builtin ABORT_ON_COMM_ERROR 32 4.14 Builtin abort_on_
21、comm_error . 33 4.15 Builtin ABORT_ON_COMM_STATUS. 33 4.16 Builtin ABORT_ON_DEVICE_STATUS. 34 4.17 Builtin ABORT_ON_NO_DEVICE . 34 4.18 Builtin ABORT_ON_RESPONSE_CODE 35 4.19 Builtin abort_on_response_code 36 4.20 Builtin abortTransferPort . 36 4.21 Builtin abs . 37 4.22 Builtin ACKNOWLEDGE 37 4.23
22、Builtin acknowledge 37 4.24 Builtin acos . 38 4.25 Builtin add_abort_method (version A) 38 4.26 Builtin add_abort_method (version B) 38 4.27 Builtin AddTime . 39 4.28 Builtin asin 39 4.29 Builtin assign 40 4.30 Builtin assign_double 40 4.31 Builtin assign_float 41 4.32 Builtin assign_int . 41 4.33 B
23、uiltin assign_var 41 4.34 Builtin assign2 42 4.35 Builtin atan 42 BS EN 61804-5:2015IEC 61804-5:2015 IEC 2015 3 4.36 Builtin atof 43 4.37 Builtin atoi . 43 4.38 Builtin browseIdentity 43 4.39 Builtin BUILD_MESSAGE 44 4.40 Builtin ByteToDouble . 44 4.41 Builtin ByteToFloat 45 4.42 Builtin ByteToLong
24、45 4.43 Builtin ByteToShort . 45 4.44 Builtin cbrt 46 4.45 Builtin ceil . 46 4.46 Builtin closeTransferPort . 46 4.47 Builtin cos . 47 4.48 Builtin cosh . 47 4.49 Builtin dassign 47 4.50 Builtin DATE_AND_TIME_VALUE_to_string . 48 4.51 Builtin Date_to_DayOfMonth 48 4.52 Builtin DATE_to_days 49 4.53 B
25、uiltin Date_to_Month . 49 4.54 Builtin DATE_to_string 49 4.55 Builtin Date_To_Time 50 4.56 Builtin Date_to_Year . 50 4.57 Builtin days_to_DATE 50 4.58 Builtin DELAY . 51 4.59 Builtin delay 51 4.60 Builtin DELAY_TIME . 52 4.61 Builtin delayfor 52 4.62 Builtin delayfor2 53 4.63 Builtin DICT_ID . 53 4.
26、64 Builtin dictionary_string . 54 4.65 Builtin DiffTime . 54 4.66 Builtin discard_on_exit 55 4.67 Builtin DISPLAY 55 4.68 Builtin display 56 4.69 Builtin display_bitenum 56 4.70 Builtin display_builtin_error . 57 4.71 Builtin display_comm_error . 57 4.72 Builtin display_comm_status 58 4.73 Builtin d
27、isplay_device_status . 58 4.74 Builtin display_dynamics . 58 4.75 Builtin display_dynamics2 . 59 4.76 Builtin display_message 60 4.77 Builtin display_message2 61 4.78 Builtin display_response_code 61 4.79 Builtin display_response_status . 62 4.80 Builtin display_xmtr_status 62 4.81 Builtin DoubleToB
28、yte . 63 4.82 Builtin drand 63 4.83 Builtin dseed . 64 4.84 Builtin edit_device_value . 64 BS EN 61804-5:2015 4 IEC 61804-5:2015 IEC 2015 4.85 Builtin edit_device_value2 . 65 4.86 Builtin edit_local_value 66 4.87 Builtin edit_local_value2 67 4.88 Builtin exp . 68 4.89 Builtin ext_send_command 68 4.9
29、0 Builtin ext_send_command_trans 69 4.91 Builtin fail_on_all_comm_errors . 70 4.92 Builtin fail_on_all_response_codes 70 4.93 Builtin fail_on_comm_error 71 4.94 Builtin fail_on_response_code . 71 4.95 Builtin fassign . 72 4.96 Builtin fGetByte . 72 4.97 Builtin fgetval 72 4.98 Builtin float_value 73
30、 4.99 Builtin FloatToByte 73 4.100 Builtin floor . 74 4.101 Builtin fmod . 74 4.102 Builtin fpclassify 74 4.103 Builtin From_DATE_AND_TIME_VALUE 75 4.104 Builtin From_TIME_VALUE 75 4.105 Builtin fsetval 76 4.106 Builtin ftoa 76 4.107 Builtin fvar_value 76 4.108 Builtin get_acknowledgement 77 4.109 B
31、uiltin get_acknowledgement2 77 4.110 Builtin get_block_instance_by_object_index. 78 4.111 Builtin get_block_instance_by_tag . 78 4.112 Builtin get_block_instance_count . 79 4.113 Builtin get_comm_error . 79 4.114 Builtin get_comm_error_string . 80 4.115 Builtin get_date . 80 4.116 Builtin get_date_l
32、elem . 81 4.117 Builtin get_date_lelem2 . 81 4.118 Builtin get_date_value . 82 4.119 Builtin get_date_value2 . 82 4.120 Builtin GET_DD_REVISION . 83 4.121 Builtin get_dds_error . 83 4.122 Builtin GET_DEV_VAR_VALUE . 84 4.123 Builtin get_dev_var_value . 84 4.124 Builtin GET_DEVICE_REVISION . 85 4.125
33、 Builtin GET_DEVICE_TYPE 85 4.126 Builtin get_dictionary_string . 86 4.127 Builtin get_double . 86 4.128 Builtin get_double_lelem . 86 4.129 Builtin get_double_lelem2 . 87 4.130 Builtin get_double_value . 87 4.131 Builtin get_double_value2 . 88 4.132 Builtin get_enum_string . 89 4.133 Builtin get_fl
34、oat . 89 BS EN 61804-5:2015IEC 61804-5:2015 IEC 2015 5 4.134 Builtin get_float_lelem . 89 4.135 Builtin get_float_lelem2 . 90 4.136 Builtin get_float_value . 90 4.137 Builtin get_float_value2 . 91 4.138 Builtin GET_LOCAL_VAR_VALUE . 91 4.139 Builtin get_local_var_value 92 4.140 Builtin GET_MANUFACTU
35、RER 92 4.141 Builtin get_more_status . 93 4.142 Builtin get_resolve_status 93 4.143 Builtin get_response_code 94 4.144 Builtin get_response_code_string 94 4.145 Builtin get_rspcode_string . 95 4.146 Builtin get_rspcode_string_by_id . 95 4.147 Builtin get_signed 96 4.148 Builtin get_signed_lelem 96 4
36、.149 Builtin get_signed_lelem2 97 4.150 Builtin get_signed_value 97 4.151 Builtin get_signed_value2 98 4.152 Builtin get_status_code_string . 98 4.153 Builtin get_status_string 99 4.154 Builtin get_stddict_string . 99 4.155 Builtin get_string . 100 4.156 Builtin get_string_lelem . 101 4.157 Builtin
37、get_string_lelem2 . 101 4.158 Builtin get_string_value . 102 4.159 Builtin get_string_value2 . 102 4.160 Builtin GET_TICK_COUNT 103 4.161 Builtin get_transfer_status . 103 4.162 Builtin get_unsigned 104 4.163 Builtin get_unsigned_lelem 104 4.164 Builtin get_unsigned_lelem2 105 4.165 Builtin get_unsi
38、gned_value 105 4.166 Builtin get_unsigned_value2 106 4.167 Builtin get_variable_string . 107 4.168 Builtin GetCurrentDate 107 4.169 Builtin GetCurrentDateAndTime . 108 4.170 Builtin GetCurrentTime 108 4.171 Builtin iassign 108 4.172 Builtin igetval 109 4.173 Builtin IGNORE_ALL_COMM_STATUS 109 4.174
39、Builtin IGNORE_ALL_DEVICE_STATUS 109 4.175 Builtin IGNORE_ALL_RESPONSE_CODES . 110 4.176 Builtin IGNORE_COMM_ERROR . 110 4.177 Builtin IGNORE_COMM_STATUS 111 4.178 Builtin IGNORE_DEVICE_STATUS 111 4.179 Builtin IGNORE_NO_DEVICE 112 4.180 Builtin IGNORE_RESPONSE_CODE . 112 4.181 Builtin int_value 113
40、 4.182 Builtin is_NaN . 113 BS EN 61804-5:2015 6 IEC 61804-5:2015 IEC 2015 4.183 Builtin isetval 114 4.184 Builtin isOffline 114 4.185 Builtin ITEM_ID . 114 4.186 Builtin itoa (version A) . 115 4.187 Builtin itoa (version B) . 115 4.188 Builtin ivar_value . 115 4.189 Builtin lassign 116 4.190 Builti
41、n lgetval 116 4.191 Builtin ListDeleteElementAt . 116 4.192 Builtin ListDeleteElementAt2 . 117 4.193 Builtin ListInsert 117 4.194 Builtin ListInsert2 118 4.195 Builtin log 118 4.196 Builtin LOG_MESSAGE . 119 4.197 Builtin log10 119 4.198 Builtin log2 119 4.199 Builtin long_value 120 4.200 Builtin Lo
42、ngToByte 120 4.201 Builtin lsetval 121 4.202 Builtin lvar_value . 121 4.203 Builtin Make_Time . 121 4.204 Builtin MEMBER_ID 122 4.205 Builtin MenuDisplay . 122 4.206 Builtin method_abort . 123 4.207 Builtin nan . 123 4.208 Builtin NaN_value . 124 4.209 Builtin nanf 124 4.210 Builtin ObjectReference
43、. 125 4.211 Builtin openTransferPort 125 4.212 Builtin pop_abort_method 126 4.213 Builtin pow 126 4.214 Builtin process_abort . 126 4.215 Builtin push_abort_method 127 4.216 Builtin put_date . 127 4.217 Builtin put_date_value . 127 4.218 Builtin put_date_value2 . 128 4.219 Builtin put_double . 129 4
44、.220 Builtin put_double_value . 129 4.221 Builtin put_double_value2 . 130 4.222 Builtin put_float . 130 4.223 Builtin put_float_value . 131 4.224 Builtin put_float_value2 . 131 4.225 Builtin PUT_MESSAGE . 132 4.226 Builtin put_message 133 4.227 Builtin put_signed 134 4.228 Builtin put_signed_value 1
45、34 4.229 Builtin put_signed_value2 135 4.230 Builtin put_string . 135 4.231 Builtin put_string_value . 136 BS EN 61804-5:2015IEC 61804-5:2015 IEC 2015 7 4.232 Builtin put_string_value2 . 136 4.233 Builtin put_unsigned 137 4.234 Builtin put_unsigned_value 138 4.235 Builtin put_unsigned_value2 138 4.2
46、36 Builtin re_read_file 139 4.237 Builtin re_write_file 139 4.238 Builtin read_value . 140 4.239 Builtin read_value2 . 140 4.240 Builtin ReadCommand . 141 4.241 Builtin readItemFromDevice . 141 4.242 Builtin remove_abort_method (version A) . 142 4.243 Builtin remove_abort_method (version B) . 142 4.
47、244 Builtin remove_all_abort_methods . 142 4.245 Builtin resolve_array_ref 143 4.246 Builtin resolve_array_ref2 143 4.247 Builtin resolve_block_ref . 144 4.248 Builtin resolve_block_ref2 145 4.249 Builtin resolve_list_ref . 145 4.250 Builtin resolve_local_ref 146 4.251 Builtin resolve_local_ref2 146
48、 4.252 Builtin resolve_param_list_ref 147 4.253 Builtin resolve_param_ref 147 4.254 Builtin resolve_param_ref2 148 4.255 Builtin resolve_record_ref 148 4.256 Builtin resolve_record_ref2 149 4.257 Builtin ret_double_value 149 4.258 Builtin ret_double_value2 150 4.259 Builtin ret_float_value 150 4.260
49、 Builtin ret_float_value2 151 4.261 Builtin ret_signed_value 151 4.262 Builtin ret_signed_value2 152 4.263 Builtin ret_unsigned_value 152 4.264 Builtin ret_unsigned_value2 . 152 4.265 Builtin retry_on_all_comm_errors 153 4.266 Builtin RETRY_ON_ALL_COMM_STATUS . 153 4.267 Builtin RETRY_ON_ALL_DEVICE_STATUS . 154 4.268 Builtin RETRY_ON_ALL_RESPONSE_CODES 154 4.269 Builtin retry_on_all_response_codes 155 4.270 Builtin RETRY_ON_COMM_ERROR 155 4.271 Builtin retry_on_comm_error 156 4.272 Builtin RETRY_ON_COMM_STATUS . 156 4.273 Buil
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1