EN 61804-5:2015
(Main)Function blocks (FB) for process control and electronic device description language (EDDL) - Part 5: EDDL Builtin library
Function blocks (FB) for process control and electronic device description language (EDDL) - Part 5: EDDL Builtin library
IEC 61804-5:2015 specifies the EDDL Builtin library and provides the profiles of the various fieldbuses.
Funktionsbausteine für die Prozessautomation und elektronische Gerätebeschreibungssprache - Teil 5: Bibliothek vorgefertigter Unterprogramme
Blocs fonctionnels (FB) pour les procédés industriels et le langage de description électronique de produit (EDDL) – Partie 5: Bibliothèque de Builtin EDDL
L'IEC 61804-5:2015 spécifie la bibliothèque de Builtin EDDL et fournit les profils des divers bus de terrain.
Funkcijski bloki (FB) za nadzor procesov in opisni jezik za elektronske naprave (EDDL) - 5. del: Vgrajena knjižnica EDDL (IEC 61804-5:2015)
Ta del standarda IEC 61804 določa vgrajeno knjižnico EDDL in podaja profile za različna procesna vodila.
General Information
- Status
- Withdrawn
- Publication Date
- 17-Sep-2015
- Withdrawal Date
- 13-Jul-2018
- Technical Committee
- CLC/TC 65X - Industrial-process measurement, control and automation
- Drafting Committee
- IEC/SC 65E - IEC_SC_65E
- Current Stage
- 9960 - Withdrawal effective - Withdrawal
- Start Date
- 29-Jul-2023
- Completion Date
- 29-Jul-2023
Relations
- Effective Date
- 07-Jun-2022
Get Certified
Connect with accredited certification bodies for this standard

BSI Group
BSI (British Standards Institution) is the business standards company that helps organizations make excellence a habit.
National Aerospace and Defense Contractors Accreditation Program (NADCAP)
Global cooperative program for special process quality in aerospace.
CARES (UK Certification Authority for Reinforcing Steels)
UK certification for reinforcing steels and construction.
Sponsored listings
Frequently Asked Questions
EN 61804-5:2015 is a standard published by CLC. Its full title is "Function blocks (FB) for process control and electronic device description language (EDDL) - Part 5: EDDL Builtin library". This standard covers: IEC 61804-5:2015 specifies the EDDL Builtin library and provides the profiles of the various fieldbuses.
IEC 61804-5:2015 specifies the EDDL Builtin library and provides the profiles of the various fieldbuses.
EN 61804-5:2015 is classified under the following ICS (International Classification for Standards) categories: 25.040.40 - Industrial process measurement and control; 35.240.50 - IT applications in industry. The ICS classification helps identify the subject area and facilitates finding related standards.
EN 61804-5:2015 has the following relationships with other standards: It is inter standard links to EN IEC 61804-5:2020. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.
EN 61804-5:2015 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.
Standards Content (Sample)
SLOVENSKI STANDARD
01-maj-2016
Funkcijski bloki (FB) za nadzor procesov in opisni jezik za elektronske naprave
(EDDL) - 5. del: Vgrajena knjižnica EDDL (IEC 61804-5:2015)
Function blocks (FB) for process control and electronic device description language
(EDDL) - Part 5: EDDL Builtin library (IEC 61804-5:2015)
Funktionsbausteine für die Prozessautomation und elektronische
Gerätebeschreibungssprache - Teil 5: Bibliothek vorgefertigter Unterprogramme (IEC
61804-5:2015)
Blocs fonctionnels (FB) pour les procédés industriels et le langage de description
électronique de produit (EDDL) - Partie 5: Bibliothèque de Builtin EDDL (IEC 61804-
5:2015)
Ta slovenski standard je istoveten z: EN 61804-5:2015
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 61804-5
NORME EUROPÉENNE
EUROPÄISCHE NORM
September 2015
ICS 25.040.40; 35.240.50
English 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 procédés industriels et le Funktionsbausteine für die Prozessautomation und
langage de description électronique de produit (EDDL) - elektronische Gerätebeschreibungssprache - Teil 5:
Partie 5: Bibliothèque de Builtin EDDL Bibliothek vorgefertigter Unterprogramme
(IEC 61804-5:2015) (IEC 61804-5:2015)
This European Standard was approved by CENELEC on 2015-07-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, 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: 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
European foreword
The text of document 65E/450/FDIS, future edition 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 which the document has to be (dop) 2016-04-14
implemented at national level by
publication of an identical national
standard or by endorsement
(dow) 2018-07-14
• latest date by which the national
standards conflicting with the
document have to be withdrawn
Attention is drawn to the possibility that some of 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 modification.
EN 621804-5:2015
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. 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 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 - IEEE Standard for Binary Floating-Point - -
Arithmetic
IEC 61804-5 ®
Edition 1.0 2015-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Function blocks (FB) for process control and electronic device description
language (EDDL) –
Part 5: EDDL Builtin library
Blocs fonctionnels (FB) pour les procédés industriels et le langage de
description électronique de produit (EDDL) –
Partie 5: Bibliothèque de Builtin EDDL
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.240.50 ISBN 978-2-8322-2702-2
– 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 terms . 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 . 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_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 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 Builtin assign_var . 41
4.34 Builtin assign2 . 42
4.35 Builtin atan . 42
IEC 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 . 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 Builtin 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.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 display_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 DoubleToByte . 63
4.82 Builtin drand. 63
4.83 Builtin dseed . 64
4.84 Builtin edit_device_value . 64
– 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.90 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
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 Builtin 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_lelem . 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 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_float . 89
IEC 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_MANUFACTURER . 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.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 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_unsigned_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 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
4.182 Builtin is_NaN . 113
– 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 Builtin 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 LongToByte . 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 . 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.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. 134
4.229 Builtin put_signed_value2 . 135
4.230 Builtin put_string . 135
4.231 Builtin put_string_value . 136
IEC 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.236 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.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
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 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 Builtin RETRY_ON_DEVICE_STATUS . 157
4.274 Builtin RETRY_ON_NO_DEVICE . 157
4.275 Builtin RETRY_ON_RESPONSE_CODE . 158
4.276 Builtin retry_on_response_code . 158
4.277 Builtin round. 159
4.278 Builtin save_on_exit . 159
4.279 Builtin save_values . 160
4.280 Builtin seconds_to_TIME_VALUE . 160
– 8 – IEC 61804-5:2015 © IEC 2015
4.281 Builtin seconds_to_TIME_VALUE8 . 160
4.282 Builtin SELECT_FROM_LIST . 161
4.283 Builtin select_from_list . 161
4.284 Builtin select_from_menu . 162
4.285 Builtin select_from_menu2 . 163
4.286 Builtin send . 163
4.287 Builtin send_all_values . 164
4.288 Builtin send_command . 164
4.289 Builtin send_command_trans . 165
4.290 Builtin send_on_exit . 165
4.291 Builtin send_trans . 166
4.292 Builtin send_value . 166
4.293 Builtin send_value2 . 167
4.294 Builtin SET_NUMBER_OF_RETRIES . 168
4.295 Builtin sgetval . 168
4.296 Builtin ShortToByte . 168
4.297 Builtin sin . 169
4.298 Builtin sinh . 169
4.299 Builtin sqrt .
...
SLOVENSKI STANDARD
01-maj-2016
Funkcijski bloki (FB) za nadzor procesov in opisni jezik za elektronske naprave
(EDDL) - 5. del: Vgrajena knjižnica EDDL (IEC 61804-5:2015)
Function blocks (FB) for process control and electronic device description language
(EDDL) - Part 5: EDDL Builtin library (IEC 61804-5:2015)
Funktionsbausteine für die Prozessautomation und elektronische
Gerätebeschreibungssprache - Teil 5: Bibliothek vorgefertigter Unterprogramme (IEC
61804-5:2015)
Blocs fonctionnels (FB) pour les procédés industriels et le langage de description
électronique de produit (EDDL) - Partie 5: Bibliothèque de Builtin EDDL (IEC 61804-
5:2015)
Ta slovenski standard je istoveten z: EN 61804-5:2015
ICS:
25.040.40 Merjenje in krmiljenje Industrial process
industrijskih postopkov measurement and control
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 61804-5
NORME EUROPÉENNE
EUROPÄISCHE NORM
September 2015
ICS 25.040.40; 35.240.50
English 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 procédés industriels et le Funktionsbausteine für die Prozessautomation und
langage de description électronique de produit (EDDL) - elektronische Gerätebeschreibungssprache - Teil 5:
Partie 5: Bibliothèque de Builtin EDDL Bibliothek vorgefertigter Unterprogramme
(IEC 61804-5:2015) (IEC 61804-5:2015)
This European Standard was approved by CENELEC on 2015-07-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, 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: 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
European foreword
The text of document 65E/450/FDIS, future edition 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 which the document has to be (dop) 2016-04-14
implemented at national level by
publication of an identical national
standard or by endorsement
(dow) 2018-07-14
• latest date by which the national
standards conflicting with the
document have to be withdrawn
Attention is drawn to the possibility that some of 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 modification.
EN 621804-5:2015
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. 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 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 - IEEE Standard for Binary Floating-Point - -
Arithmetic
IEC 61804-5 ®
Edition 1.0 2015-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Function blocks (FB) for process control and electronic device description
language (EDDL) –
Part 5: EDDL Builtin library
Blocs fonctionnels (FB) pour les procédés industriels et le langage de
description électronique de produit (EDDL) –
Partie 5: Bibliothèque de Builtin EDDL
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.240.50 ISBN 978-2-8322-2702-2
– 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 terms . 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 . 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_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 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 Builtin assign_var . 41
4.34 Builtin assign2 . 42
4.35 Builtin atan . 42
IEC 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 . 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 Builtin 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.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 display_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 DoubleToByte . 63
4.82 Builtin drand. 63
4.83 Builtin dseed . 64
4.84 Builtin edit_device_value . 64
– 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.90 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
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 Builtin 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_lelem . 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 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_float . 89
IEC 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_MANUFACTURER . 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.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 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_unsigned_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 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
4.182 Builtin is_NaN . 113
– 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 Builtin 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 LongToByte . 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 . 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.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. 134
4.229 Builtin put_signed_value2 . 135
4.230 Builtin put_string . 135
4.231 Builtin put_string_value . 136
IEC 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.236 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.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
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 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 Builtin RETRY_ON_DEVICE_STATUS . 157
4.274 Builtin RETRY_ON_NO_DEVICE . 157
4.275 Builtin RETRY_ON_RESPONSE_CODE . 158
4.276 Builtin retry_on_response_code . 158
4.277 Builtin round. 159
4.278 Builtin save_on_exit . 159
4.279 Builtin save_values . 160
4.280 Builtin seconds_to_TIME_VALUE . 160
– 8 – IEC 61804-5:2015 © IEC 2015
4.281 Builtin seconds_to_TIME_VALUE8 . 160
4.282 Builtin SELECT_FROM_LIST . 161
4.283 Builtin select_from_list . 161
4.284 Builtin select_from_menu . 162
4.285 Builtin select_from_menu2 . 163
4.286 Builtin send . 163
4.287 Builtin send_all_values . 164
4.288 Builtin send_command . 164
4.289 Builtin send_command_trans . 165
4.290 Builtin send_on_exit . 165
4.291 Builtin send_trans . 166
4.292 Builtin send_value . 166
4.293 Builtin send_value2 . 167
4.294 Builtin SET_NUMBER_OF_RETRIES . 168
4.295 Builtin sgetval . 168
4.296 Builtin ShortToByte . 168
4.297 Builtin sin . 169
4.298 Builtin sinh . 169
4.299 Builtin sqrt . 169
4.300 Builtin ssetval.
...








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...