Devices and intergration in enterprise systems - Function blocks (FB) for process control and electronic device description language (EDDL) - Part 5: EDDL Builtin library (IEC 61804-5:2020)

This part of IEC 61804 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 (IEC 61804-5:2020)

Les dispositifs et leur intégration dans les systèmes de l'entreprise - 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:2020)

IEC 61804-5:2020 spécifie la bibliothèque de builtin EDDL et fournit les profils des différents bus de terrain.

Cette deuxième édition annule et remplace la première édition parue en 2015. Cette édition constitue une révision technique.
La présente édition a été élaborée en fusionnant le contenu de plusieurs variantes des spécifications de l'EDDL existantes, y compris celles du FieldComm Group (Foundation™ Fieldbus , HART® ), du PROFIBUS™ Nutzerorganisation e.V. (PNO), et de l'ISA100_Wireless™ Compliance Institute (ISA100 WCI). Par conséquent, le formatage et la numérotation de la présente édition peuvent différer des spécifications individuelles desquelles elle est issue.
Cette édition inclut les modifications techniques majeures suivantes par rapport à l'édition précédente:
• ajout des profils de communication ISA100 et GPE;
• les builtins suivants ne sont plus conseillés:
– ABORT_ON_NO_DEVICE
– IGNORE_NO_DEVICE
– RETRY_ON_NO_DEVICE
– XMTR_ABORT_ON_NO_DEVICE
– XMTR_IGNORE_NO_DEVICE
– XMTR_RETRY_ON_NO_DEVICE
– get_status_code_string

Naprave in združevanje v proizvodne sisteme - Funkcijski bloki (FB) za nadzor procesov in opisni jezik za elektronske naprave (EDDL) - 5. del: Vgrajena knjižnica EDDL (IEC 61804-5:2020)

General Information

Status
Published
Public Enquiry End Date
30-Jan-2019
Publication Date
05-Nov-2020
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
09-Sep-2020
Due Date
14-Nov-2020
Completion Date
06-Nov-2020

Relations

Buy Standard

Standard
EN IEC 61804-5:2020 - BARVE
English language
282 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day
Draft
prEN IEC 61804-5:2019 - BARVE
English language
261 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

SLOVENSKI STANDARD
SIST EN IEC 61804-5:2020
01-december-2020
Nadomešča:
SIST EN 61804-5:2016
Naprave in združevanje v proizvodne sisteme - Funkcijski bloki (FB) za nadzor
procesov in opisni jezik za elektronske naprave (EDDL) - 5. del: Vgrajena knjižnica
EDDL (IEC 61804-5:2020)
Devices and intergration in enterprise systems - Function blocks (FB) for process control
and electronic device description language (EDDL) - Part 5: EDDL Builtin library
(IEC 61804-5:2020)
Funktionsbausteine für die Prozessautomation und elektronische
Gerätebeschreibungssprache - Teil 5: Bibliothek vorgefertigter Unterprogramme (IEC
61804-5:2020)
Les dispositifs et leur intégration dans les systèmes de l'entreprise - 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:2020)
Ta slovenski standard je istoveten z: EN IEC 61804-5:2020
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
SIST EN IEC 61804-5:2020 en,fr,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
SIST EN IEC 61804-5:2020

---------------------- Page: 2 ----------------------
SIST EN IEC 61804-5:2020


EUROPEAN STANDARD EN IEC 61804-5

NORME EUROPÉENNE

EUROPÄISCHE NORM
August 2020
ICS 25.040.40; 35.240.50 Supersedes EN 61804-5:2015 and all of its amendments
and corrigenda (if any)
English Version
Devices and intergration in enterprise systems - Function blocks
(FB) for process control and electronic device description
language (EDDL) - Part 5: EDDL Builtin library
(IEC 61804-5:2020)
Les dispositifs et leur intégration dans les systèmes de Funktionsbausteine für die Prozessautomation und
l'entreprise - Blocs fonctionnels (FB) pour les procédés elektronische Gerätebeschreibungssprache - Teil 5:
industriels et le langage de description électronique de Bibliothek vorgefertigter Unterprogramme
produit (EDDL) - Partie 5: Bibliothèque de Builtin EDDL (IEC 61804-5:2020)
(IEC 61804-5:2020)
This European Standard was approved by CENELEC on 2020-07-29. 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, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the
Netherlands, Norway, Poland, Portugal, Republic of North Macedonia, Romania, Serbia, 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: Rue de la Science 23, B-1040 Brussels
© 2020 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
 Ref. No. EN IEC 61804-5:2020 E

---------------------- Page: 3 ----------------------
SIST EN IEC 61804-5:2020
EN IEC 61804-5:2020 (E)
European foreword
The text of document 65E/634/CDV, future edition 2 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 IEC 61804-5:2020.
The following dates are fixed:
• latest date by which the document has to be implemented at national (dop) 2021-04-29
level by publication of an identical national standard or by endorsement
• latest date by which the national standards conflicting with the (dow) 2023-07-29
document have to be withdrawn
This document supersedes EN 61804-5:2015 and all of its amendments and corrigenda (if any).
Attention is drawn 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-5:2020 was approved by CENELEC as a European
Standard without any modification.


2

---------------------- Page: 4 ----------------------
SIST EN IEC 61804-5:2020
EN IEC 61804-5:2020 (E)
Annex ZA
(normative)

Normative references to international publications
with their corresponding European publications
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements 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 1  Where 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 2020 Devices and integration in enterprise EN IEC 61804-3 2020
systems - Function blocks (FB) for process
control and electronic device description
language (EDDL) - Part 3: EDDL syntax and
semantics
ISO/IEC 9899 - Information technology - Programming - -
languages - C
IEEE 754 - IEEE Standard for Floating-Point Arithmetic - -



3

---------------------- Page: 5 ----------------------
SIST EN IEC 61804-5:2020

---------------------- Page: 6 ----------------------
SIST EN IEC 61804-5:2020




IEC 61804-5

®


Edition 2.0 2020-06




INTERNATIONAL



STANDARD




NORME


INTERNATIONALE
colour

inside










Devices and integration in enterprise systems – Function blocks (FB) for

process control and electronic device description language (EDDL) –

Part 5: EDDL Builtin library



Les dispositifs et leur intégration dans les systèmes de l'entreprise – 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-8446-9




Warning! Make sure that you obtained this publication from an authorized distributor.

Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.

® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale

---------------------- Page: 7 ----------------------
SIST EN IEC 61804-5:2020
– 2 – IEC 61804-5:2020 © IEC 2020
CONTENTS
FOREWORD . 20
INTRODUCTION . 23
1 Scope . 24
2 Normative references . 24
3 Terms, definitions, acronyms and abbreviated terms . 24
3.1 Terms and definitions . 24
3.2 Acronyms and abbreviated terms . 24
4 Conventions for builtin descriptions . 25
5 Builtin categories . 26
5.1 Overview. 26
5.2 User interface builtins . 36
5.3 Communication builtins . 37
5.4 Action builtins . 39
6 EDDL builtin library . 42
6.1 General . 42
6.2 User interface builtins . 42
6.2.1 Builtin ACKNOWLEDGE . 42
6.2.2 Builtin acknowledge . 43
6.2.3 Builtin DELAY . 44
6.2.4 Builtin delay . 44
6.2.5 Builtin delayfor . 45
6.2.6 Builtin delayfor2 . 46
6.2.7 Builtin DISPLAY . 48
6.2.8 Builtin display . 49
6.2.9 Builtin display_bitenum . 49
6.2.10 Builtin display_builtin_error . 50
6.2.11 Builtin display_comm_error . 50
6.2.12 Builtin display_comm_status . 51
6.2.13 Builtin display_device_status . 52
6.2.14 Builtin display_dynamics . 52
6.2.15 Builtin display_dynamics2 . 53
6.2.16 Builtin display_message . 54
6.2.17 Builtin display_message2 . 55
6.2.18 Builtin display_response_code . 57
6.2.19 Builtin display_response_status . 58
6.2.20 Builtin display_xmtr_status . 58
6.2.21 Builtin edit_device_value . 59
6.2.22 Builtin edit_device_value2 . 60
6.2.23 Builtin edit_local_value . 62
6.2.24 Builtin edit_local_value2 . 63
6.2.25 Builtin get_acknowledgement . 64
6.2.26 Builtin get_acknowledgement2 . 65
6.2.27 Builtin GET_DEV_VAR_VALUE . 66
6.2.28 Builtin get_dev_var_value . 67
6.2.29 Builtin GET_LOCAL_VAR_VALUE . 68
6.2.30 Builtin get_local_var_value . 68

---------------------- Page: 8 ----------------------
SIST EN IEC 61804-5:2020
IEC 61804-5:2020 © IEC 2020 – 3 –
6.2.31 Builtin Menu . 69
6.2.32 Builtin MenuDisplay (version A) . 70
6.2.33 Builtin MenuDisplay (version B) . 71
6.2.34 Builtin PUT_MESSAGE. 72
6.2.35 Builtin put_message . 73
6.2.36 Builtin SELECT_FROM_LIST . 75
6.2.37 Builtin select_from_list . 76
6.2.38 Builtin select_from_menu . 76
6.2.39 Builtin select_from_menu2 . 78
6.2.40 Prompt string formats . 79
6.3 Communication builtins . 80
6.3.1 Builtin abort_on_all_comm_errors . 80
6.3.2 Builtin ABORT_ON_ALL_COMM_STATUS . 81
6.3.3 Builtin ABORT_ON_ALL_DEVICE_STATUS . 81
6.3.4 Builtin ABORT_ON_ALL_RESPONSE_CODES . 82
6.3.5 Builtin abort_on_all_response_codes . 82
6.3.6 Builtin ABORT_ON_COMM_ERROR . 83
6.3.7 Builtin abort_on_comm_error . 83
6.3.8 Builtin ABORT_ON_COMM_STATUS . 84
6.3.9 Builtin ABORT_ON_DEVICE_STATUS . 85
6.3.10 Builtin ABORT_ON_NO_DEVICE (deprecated) . 85
6.3.11 Builtin ABORT_ON_RESPONSE_CODE . 86
6.3.12 Builtin abort_on_response_code . 87
6.3.13 Builtin ext_send_command . 87
6.3.14 Builtin ext_send_command_trans . 88
6.3.15 Builtin fail_on_all_comm_errors . 89
6.3.16 Builtin fail_on_all_response_codes . 90
6.3.17 Builtin fail_on_comm_error . 90
6.3.18 Builtin fail_on_response_code . 91
6.3.19 Builtin get_more_status . 92
6.3.20 Builtin IGNORE_ALL_COMM_STATUS . 92
6.3.21 Builtin IGNORE_ALL_DEVICE_STATUS . 93
6.3.22 Builtin IGNORE_ALL_RESPONSE_CODES . 93
6.3.23 Builtin IGNORE_COMM_ERROR . 94
6.3.24 Builtin IGNORE_COMM_STATUS . 95
6.3.25 Builtin IGNORE_DEVICE_STATUS . 95
6.3.26 Builtin IGNORE_NO_DEVICE (deprecated) . 96
6.3.27 Builtin IGNORE_RESPONSE_CODE . 96
6.3.28 Builtin read_value . 97
6.3.29 Builtin read_value2 . 97
6.3.30 Builtin ReadCommand . 98
6.3.31 Builtin retry_on_all_comm_errors. 99
6.3.32 Builtin RETRY_ON_ALL_COMM_STATUS . 99
6.3.33 Builtin RETRY_ON_ALL_DEVICE_STATUS . 100
6.3.34 Builtin RETRY_ON_ALL_RESPONSE_CODES . 100
6.3.35 Builtin retry_on_all_response_codes . 101
6.3.36 Builtin RETRY_ON_COMM_ERROR . 102
6.3.37 Builtin retry_on_comm_error . 102
6.3.38 Builtin RETRY_ON_COMM_STATUS . 103

---------------------- Page: 9 ----------------------
SIST EN IEC 61804-5:2020
– 4 – IEC 61804-5:2020 © IEC 2020
6.3.39 Builtin RETRY_ON_DEVICE_STATUS . 103
6.3.40 Builtin RETRY_ON_NO_DEVICE (deprecated) . 104
6.3.41 Builtin RETRY_ON_RESPONSE_CODE . 105
6.3.42 Builtin retry_on_response_code . 105
6.3.43 Builtin send. 106
6.3.44 Builtin send_all_values . 107
6.3.45 Builtin send_command . 107
6.3.46 Builtin send_command_trans . 108
6.3.47 Builtin send_trans . 108
6.3.48 Builtin send_value . 109
6.3.49 Builtin send_value2 . 110
6.3.50 Builtin SET_NUMBER_OF_RETRIES . 111
6.3.51 Builtin WriteCommand . 111
6.3.52 Builtin XMTR_ABORT_ON_ALL_COMM_STATUS . 112
6.3.53 Builtin XMTR_ABORT_ON_ALL_DATA . 112
6.3.54 Builtin XMTR_ABORT_ON_ALL_DEVICE_STATUS . 113
6.3.55 Builtin XMTR_ABORT_ON_ALL_RESPONSE_CODES . 113
6.3.56 Builtin XMTR_ABORT_ON_COMM_ERROR . 114
6.3.57 Builtin XMTR_ABORT_ON_COMM_STATUS . 114
6.3.58 Builtin XMTR_ABORT_ON_DATA . 115
6.3.59 Builtin XMTR_ABORT_ON_DEVICE_STATUS . 116
6.3.60 Builtin XMTR_ABORT_ON_NO_DEVICE (deprecated) . 116
6.3.61 Builtin XMTR_ABORT_ON_RESPONSE_CODE . 117
6.3.62 Builtin XMTR_IGNORE_ALL_COMM_STATUS . 117
6.3.63 Builtin XMTR_IGNORE_ALL_DATA . 118
6.3.64 Builtin XMTR_IGNORE_ALL_DEVICE_STATUS . 118
6.3.65 Builtin XMTR_IGNORE_ALL_RESPONSE_CODES . 119
6.3.66 Builtin XMTR_IGNORE_COMM_ERROR . 119
6.3.67 Builtin XMTR_IGNORE_COMM_STATUS . 120
6.3.68 Builtin XMTR_IGNORE_DATA . 120
6.3.69 Builtin XMTR_IGNORE_DEVICE_STATUS . 121
6.3.70 Builtin XMTR_IGNORE_NO_DEVICE (deprecated) . 121
6.3.71 Builtin XMTR_IGNORE_RESPONSE_CODE . 122
6.3.72 Builtin XMTR_RETRY_ON_ALL_COMM_STATUS . 123
6.3.73 Builtin XMTR_RETRY_ON_ALL_DATA . 123
6.3.74 Builtin XMTR_RETRY_ON_ALL_DEVICE_STATUS . 124
6.3.75 Builtin XMTR_RETRY_ON_ALL_RESPONSE_CODES . 124
6.3.76 Builtin XMTR_RETRY_ON_COMM_ERROR . 125
6.3.77 Builtin XMTR_RETRY_ON_COMM_STATUS . 125
6.3.78 Builtin XMTR_RETRY_ON_DATA . 126
6.3.79 Builtin XMTR_RETRY_ON_DEVICE_STATUS . 126
6.3.80 Builtin XMTR_RETRY_ON_NO_DEVICE (deprecated) . 127
6.3.81 Builtin XMTR_RETRY_ON_RESPONSE_CODE . 127
6.4 Action builtins . 128
6.4.1 Builtin fgetval . 128
6.4.2 Builtin fsetval . 128
6.4.3 Builtin get_date . 129
6.4.4 Builtin get_double . 130
6.4.5 Builtin get_float. 130

---------------------- Page: 10 ----------------------
SIST EN IEC 61804-5:2020
IEC 61804-5:2020 © IEC 2020 – 5 –
6.4.6 Builtin get_signed . 131
6.4.7 Builtin get_string . 132
6.4.8 Builtin get_unsigned . 132
6.4.9 Builtin igetval . 133
6.4.10 Builtin isetval . 133
6.4.11 Builtin isOffline . 134
6.4.12 Builtin lgetval . 134
6.4.13 Builtin lsetval . 135
6.4.14 Builtin put_date . 135
6.4.15 Builtin put_double . 136
6.4.16 Builtin put_float. 137
6.4.17 Builtin put_signed . 137
6.4.18 Builtin put_string . 138
6.4.19 Builtin put_unsigned . 139
6.4.20 Builtin sgetval . 139
6.4.21 Builtin ssetval . 140
6.5 Variable access builtins . 140
6.5.1 Builtin assign . 140
6.5.2 Builtin assign_double . 141
6.5.3 Builtin assign_float . 142
6.5.4 Builtin assign_int . 142
6.5.5 Builtin assign_var . 143
6.5.6 Builtin assign2 . 143
6.5.7 Builtin dassign . 145
6.5.8 Builtin fassign . 145
6.5.9 Builtin float_value . 145
6.5.10 Builtin fvar_value . 146
6.5.11 Builtin get_date_value . 146
6.5.12 Builtin get_date_value2 . 147
6.5.13 Builtin get_double_value . 148
6.5.14 Builtin get_double_value2 . 149
6.5.15 Builtin get_float_value . 150
6.5.16 Builtin get_float_value2 . 151
6.5.17 Builtin get_signed_value . 152
6.5.18 Builtin get_signed_value2 . 152
6.5.19 Builtin get_string_value . 153
6.5.20 Builtin get_string_value2. 154
6.5.21 Builtin get_unsigned_value . 155
6.5.22 Builtin get_unsigned_value2 . 156
6.5.23 Builtin iassign . 157
6.5.24 Builtin int_value . 157
6.5.25 Builtin ivar_value . 158
6.5.26 Builtin lassign . 158
6.5.27 Builtin long_value . 159
6.5.28 Builtin lvar_value . 159
6.5.29 Builtin put_date_value . 159
6.5.30 Builtin put_date_value2 . 160
6.5.31 Builtin put_double_value . 161
6.5.32 Builtin put_double_value2 . 162

---------------------- Page: 11 ----------------------
SIST EN IEC 61804-5:2020
– 6 – IEC 61804-5:2020 © IEC 2020
6.5.33 Builtin put_float_value .
...

SLOVENSKI STANDARD
oSIST prEN IEC 61804-5:2019
01-januar-2019
Funkcijski bloki (FB) za nadzor procesov in opisni jezik za elektronske naprave
(EDDL) - 5. del: Vgrajena knjižnica EDDL
Function blocks (FB) for process control and electronic device description language
(EDDL) - Part 5: EDDL Builtin library
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
Ta slovenski standard je istoveten z: prEN IEC 61804-5:2018
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
oSIST prEN IEC 61804-5:2019 en,fr,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
oSIST prEN IEC 61804-5:2019

---------------------- Page: 2 ----------------------
oSIST prEN IEC 61804-5:2019
65E/634/CDV

COMMITTEE DRAFT FOR VOTE (CDV)
PROJECT NUMBER:
IEC 61804-5 ED2
DATE OF CIRCULATION: CLOSING DATE FOR VOTING:
2018-11-16 2019-02-08
SUPERSEDES DOCUMENTS:
65E/531/RR

IEC SC 65E : DEVICES AND INTEGRATION IN ENTERPRISE SYSTEMS
SECRETARIAT: SECRETARY:
United States of America Mr Donald (Bob) Lattimer
OF INTEREST TO THE FOLLOWING COMMITTEES: PROPOSED HORIZONTAL STANDARD:


Other TC/SCs are requested to indicate their interest, if
any, in this CDV to the secretary.
FUNCTIONS CONCERNED:

EMC ENVIRONMENT QUALITY ASSURANCE SAFETY
SUBMITTED FOR CENELEC PARALLEL VOTING NOT SUBMITTED FOR CENELEC PARALLEL VOTING
Attention IEC-CENELEC parallel voting
The attention of IEC National Committees, members of
CENELEC, is drawn to the fact that this Committee Draft
for Vote (CDV) is submitted for parallel voting.
The CENELEC members are invited to vote through the
CENELEC online voting system.

This document is still under study and subject to change. It should not be used for reference purposes.
Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights of
which they are aware and to provide supporting documentation.

TITLE:
Function blocks (FB) for process control and electronic device description language (EDDL) -
Part 5: EDDL Builtin library

PROPOSED STABILITY DATE: 2021

NOTE FROM TC/SC OFFICERS:


Copyright © 2018 International Electrotechnical Commission, IEC. All rights reserved. It is permitted to download this
electronic file, to make a copy and to print out the content for the sole purpose of preparing National Committee positions.
You may not copy or "mirror" the file or printed version of the document, or any part of it, for any other purpose without
permission in writing from IEC.

---------------------- Page: 3 ----------------------
oSIST prEN IEC 61804-5:2019

---------------------- Page: 4 ----------------------
oSIST prEN IEC 61804-5:2019
65E/634/CDV – 2 – 61804-5/CDV Ed 2.0 © IEC 2018

CONTENTS

1 Scope . 6
2 Normative references . 6
3 Terms, definitions, acronyms and abbreviated terms . 6
3.1 Terms and definitions . 6
3.2 Acronyms and abbreviated terms . 6
4 Conventions for Builtin descriptions . 7
5 Builtin categories . 8
5.1 Overview . 8
5.2 User interface Builtins . 18
5.3 Communication Builtins . 20
5.4 Action Builtins . 22
6 EDDL Builtin library . 24
6.1 General . 24
6.2 User Interface Builtins . 24
6.2.1 Builtin ACKNOWLEDGE . 24
6.2.2 Builtin acknowledge . 25
6.2.3 Builtin DELAY . 25
6.2.4 Builtin delay . 26
6.2.5 Builtin delayfor . 26
6.2.6 Builtin delayfor2 . 27
6.2.7 Builtin DISPLAY . 29
6.2.8 Builtin display . 30
6.2.9 Builtin display_bitenum . 30
6.2.10 Builtin display_builtin_error . 31
6.2.11 Builtin display_comm_error . 31
6.2.12 Builtin display_comm_status . 32
6.2.13 Builtin display_device_status . 33
6.2.14 Builtin display_dynamics . 33
6.2.15 Builtin display_dynamics2 . 34
6.2.16 Builtin display_message . 35
6.2.17 Builtin display_message2 . 36
6.2.18 Builtin display_response_code . 37
6.2.19 Builtin display_response_status . 38
6.2.20 Builtin display_xmtr_status . 39
6.2.21 Builtin edit_device_value . 39
6.2.22 Builtin edit_device_value2 . 40
6.2.23 Builtin edit_local_value . 42
6.2.24 Builtin edit_local_value2 . 43
6.2.25 Builtin get_acknowledgement . 45
6.2.26 Builtin get_acknowledgement2 . 45
6.2.27 Builtin GET_DEV_VAR_VALUE . 47
6.2.28 Builtin get_dev_var_value . 47
6.2.29 Builtin GET_LOCAL_VAR_VALUE . 48
6.2.30 Builtin get_local_var_value . 49
6.2.31 Builtin Menu . 49

---------------------- Page: 5 ----------------------
oSIST prEN IEC 61804-5:2019
61804-5/CDV Ed 2.0 © IEC 2018 – 3 – 65E/634/CDV

6.2.32 Builtin MenuDisplay (version A) . 50
6.2.33 Builtin MenuDisplay (version B) . 51
6.2.34 Builtin PUT_MESSAGE. 52
6.2.35 Builtin put_message . 53
6.2.36 Builtin SELECT_FROM_LIST . 55
6.2.37 Builtin select_from_list . 55
6.2.38 Builtin select_from_menu . 56
6.2.39 Builtin select_from_menu2 . 57
6.2.40 Prompt string formats . 59
6.3 Communication Builtins . 60
6.3.1 Builtin abort_on_all_comm_errors . 60
6.3.2 Builtin ABORT_ON_ALL_COMM_STATUS . 61
6.3.3 Builtin ABORT_ON_ALL_DEVICE_STATUS . 61
6.3.4 Builtin ABORT_ON_ALL_RESPONSE_CODES . 62
6.3.5 Builtin abort_on_all_response_codes . 62
6.3.6 Builtin ABORT_ON_COMM_ERROR . 63
6.3.7 Builtin abort_on_comm_error . 63
6.3.8 Builtin ABORT_ON_COMM_STATUS . 64
6.3.9 Builtin ABORT_ON_DEVICE_STATUS . 64
6.3.10 Builtin ABORT_ON_NO_DEVICE (deprecated) . 65
6.3.11 Builtin ABORT_ON_RESPONSE_CODE . 65
6.3.12 Builtin abort_on_response_code . 66
6.3.13 Builtin ext_send_command . 67
6.3.14 Builtin ext_send_command_trans . 68
6.3.15 Builtin fail_on_all_comm_errors . 69
6.3.16 Builtin fail_on_all_response_codes . 69
6.3.17 Builtin fail_on_comm_error . 70
6.3.18 Builtin fail_on_response_code . 70
6.3.19 Builtin get_more_status . 71
6.3.20 Builtin IGNORE_ALL_COMM_STATUS . 72
6.3.21 Builtin IGNORE_ALL_DEVICE_STATUS . 72
6.3.22 Builtin IGNORE_ALL_RESPONSE_CODES . 73
6.3.23 Builtin IGNORE_COMM_ERROR . 73
6.3.24 Builtin IGNORE_COMM_STATUS . 74
6.3.25 Builtin IGNORE_DEVICE_STATUS . 74
6.3.26 Builtin IGNORE_NO_DEVICE (deprecated) . 75
6.3.27 Builtin IGNORE_RESPONSE_CODE . 75
6.3.28 Builtin read_value . 76
6.3.29 Builtin read_value2 . 76
6.3.30 Builtin ReadCommand . 77
6.3.31 Builtin retry_on_all_comm_errors. 77
6.3.32 Builtin RETRY_ON_ALL_COMM_STATUS . 78
6.3.33 Builtin RETRY_ON_ALL_DEVICE_STATUS . 78
6.3.34 Builtin RETRY_ON_ALL_RESPONSE_CODES . 79
6.3.35 Builtin retry_on_all_response_codes . 79
6.3.36 Builtin RETRY_ON_COMM_ERROR . 80
6.3.37 Builtin retry_on_comm_error . 80
6.3.38 Builtin RETRY_ON_COMM_STATUS . 81
6.3.39 Builtin RETRY_ON_DEVICE_STATUS . 81

---------------------- Page: 6 ----------------------
oSIST prEN IEC 61804-5:2019
65E/634/CDV – 4 – 61804-5/CDV Ed 2.0 © IEC 2018

6.3.40 Builtin RETRY_ON_NO_DEVICE (deprecated) . 82
6.3.41 Builtin RETRY_ON_RESPONSE_CODE . 82
6.3.42 Builtin retry_on_response_code . 83
6.3.43 Builtin send. 84
6.3.44 Builtin send_all_values . 84
6.3.45 Builtin send_command . 85
6.3.46 Builtin send_command_trans . 85
6.3.47 Builtin send_trans . 86
6.3.48 Builtin send_value . 87
6.3.49 Builtin send_value2 . 87
6.3.50 Builtin SET_NUMBER_OF_RETRIES . 89
6.3.51 Builtin WriteCommand . 89
6.3.52 Builtin XMTR_ABORT_ON_ALL_COMM_STATUS . 89
6.3.53 Builtin XMTR_ABORT_ON_ALL_DATA . 90
6.3.54 Builtin XMTR_ABORT_ON_ALL_DEVICE_STATUS . 90
6.3.55 Builtin XMTR_ABORT_ON_ALL_RESPONSE_CODES . 91
6.3.56 Builtin XMTR_ABORT_ON_COMM_ERROR . 91
6.3.57 Builtin XMTR_ABORT_ON_COMM_STATUS . 92
6.3.58 Builtin XMTR_ABORT_ON_DATA . 92
6.3.59 Builtin XMTR_ABORT_ON_DEVICE_STATUS . 93
6.3.60 Builtin XMTR_ABORT_ON_NO_DEVICE (deprecated) . 93
6.3.61 Builtin XMTR_ABORT_ON_RESPONSE_CODE . 94
6.3.62 Builtin XMTR_IGNORE_ALL_COMM_STATUS . 94
6.3.63 Builtin XMTR_IGNORE_ALL_DATA . 95
6.3.64 Builtin XMTR_IGNORE_ALL_DEVICE_STATUS . 95
6.3.65 Builtin XMTR_IGNORE_ALL_RESPONSE_CODES . 96
6.3.66 Builtin XMTR_IGNORE_COMM_ERROR . 96
6.3.67 Builtin XMTR_IGNORE_COMM_STATUS . 96
6.3.68 Builtin XMTR_IGNORE_DATA . 97
6.3.69 Builtin XMTR_IGNORE_DEVICE_STATUS . 97
6.3.70 Builtin XMTR_IGNORE_NO_DEVICE (deprecated) . 98
6.3.71 Builtin XMTR_IGNORE_RESPONSE_CODE . 98
6.3.72 Builtin XMTR_RETRY_ON_ALL_COMM_STATUS . 99
6.3.73 Builtin XMTR_RETRY_ON_ALL_DATA . 99
6.3.74 Builtin XMTR_RETRY_ON_ALL_DEVICE_STATUS . 100
6.3.75 Builtin XMTR_RETRY_ON_ALL_RESPONSE_CODES . 100
6.3.76 Builtin XMTR_RETRY_ON_COMM_ERROR . 101
6.3.77 Builtin XMTR_RETRY_ON_COMM_STATUS . 101
6.3.78 Builtin XMTR_RETRY_ON_DATA . 102
6.3.79 Builtin XMTR_RETRY_ON_DEVICE_STATUS . 102
6.3.80 Builtin XMTR_RETRY_ON_NO_DEVICE (deprecated) . 103
6.3.81 Builtin XMTR_RETRY_ON_RESPONSE_CODE . 103
6.4 Action Builtins . 104
6.4.1 Builtin fgetval . 104
6.4.2 Builtin fsetval . 104
6.4.3 Builtin get_date . 105
6.4.4 Builtin get_double . 105
6.4.5 Builtin get_float. 106
6.4.6 Builtin get_signed . 106

---------------------- Page: 7 ----------------------
oSIST prEN IEC 61804-5:2019
61804-5/CDV Ed 2.0 © IEC 2018 – 5 – 65E/634/CDV

6.4.7 Builtin get_string . 107
6.4.8 Builtin get_unsigned . 108
6.4.9 Builtin igetval . 108
6.4.10 Builtin isetval . 109
6.4.11 Builtin isOffline . 109
6.4.12 Builtin lgetval . 110
6.4.13 Builtin lsetval . 110
6.4.14 Builtin put_date . 110
6.4.15 Builtin put_double . 111
6.4.16 Builtin put_float. 112
6.4.17 Builtin put_signed . 112
6.4.18 Builtin put_string . 113
6.4.19 Builtin put_unsigned . 114
6.4.20 Builtin sgetval . 114
6.4.21 Builtin ssetval . 115
6.5 Variable Access Builtins . 115
6.5.1 Builtin assign . 115
6.5.2 Builtin assign_double . 116
6.5.3 Builtin assign_float . 116
6.5.4 Builtin assign_int . 117
6.5.5 Builtin assign_var . 117
6.5.6 Builtin assign2 . 118
6.5.7 Builtin dassign . 119
6.5.8 Builtin fassign . 119
6.5.9 Builtin float_value . 120
6.5.10 Builtin fvar_value . 120
6.5.11 Builtin get_date_value . 121
6.5.12 Builtin get_date_value2 . 121
6.5.13 Builtin get_double_value . 122
6.5.14 Builtin get_double_value2 . 123
6.5.15 Builtin get_float_value . 124
6.5.16 Builtin get_float_value2 . 125
6.5.17 Builtin get_signed_value . 125
6.5.18 Builtin get_signed_value2 . 126
6.5.19 Builtin get_string_value . 127
6.5.20 Builtin get_string_value2. 128
6.5.21 Builtin get_unsigned_value . 129
6.5.22 Builtin get_unsigned_value2 . 130
6.5.23 Builtin iassign . 131
6.5.24 Builtin int_value . 131
6.5.25 Builtin ivar_value . 132
6.5.26 Builtin lassign . 132
6.5.27 Builtin long_value . 132
6.5.28 Builtin lvar_value . 133
6.5.29 Builtin put_date_value . 133
6.5.30 Builtin put_date_value2 . 134
6.5.31 Builtin put_double_value . 135
6.5.32 Builtin put_double_value2 . 136
6.5.33 Builtin put_float_value . 137

---------------------- Page: 8 ----------------------
oSIST prEN IEC 61804-5:2019
65E/634/CDV – 6 – 61804-5/CDV Ed 2.0 © IEC 2018

6.5.34 Builtin put_float_value2 . 137
6.5.35 Builtin put_signed_value . 138
6.5.36 Builtin put_signed_value2 . 139
6.5.37 Builtin put_string_value . 140
6.5.38 Builtin put_string_value2. 141
6.5.39 Builtin put_unsigned_value . 142
6.5.40 Builtin put_unsigned_value2 . 142
6.5.41 Builtin ret_double_value . 143
6.5.42 Builtin ret_double_value2 . 144
6.5.43 Builtin ret_float_value . 144
6.5.44 Builtin ret_float_value2 . 145
6.5.45 Builtin ret_signed_value. 145
6.5.46 Builtin ret_signed_value2 . 146
6.5.47 Builtin ret_unsigned_value . 146
6.5.48 Builtin ret_unsigned_value2 . 147
6.5.49 Builtin vassign . 147
6.6 Normal Termination Builtins . 148
6.6.1 Builtin discard_on_exit . 148
6.6.2 Builtin save_on_exit . 149
6.6.3 Builtin save_values . 149
6.6.4 Builtin send_on_exit . 150
6.7 Abnormal Termination Builtins . 151
6.7.1 Builtin abort . 151
6.7.2 Builtin add_abort_method (version A) . 151
6.7.3 Builtin add_abort_method (version B) . 152
6.7.4 Builtin method_abort . 152
6.7.5 Builtin pop_abort_method . 153
6.7.6 Builtin process_abort . 153
6.7.7 Builtin push_abort_method . 154
6.7.8 Builtin remove_abort_method (version A) . 154
6.7.9 Builtin remove_abort_method (version B) . 154
6.7.10 Builtin remove_all_abort_methods . 155
6.8 String Builtins . 155
6.8.1 Builtin atof . 155
6.8.2 Builtin atoi . 156
6.8.3 Builtin BUILD_MESSAGE . 156
6.8.4 Builtin dictionary_string . 157
6.8.5 Builtin ftoa . 157
6.8.6 Builtin get_comm_error_string . 157
6.8.7 Builtin get_dictionary_string . 158
6.8.8 Builtin get_enum_string . 159
6.8.9 Builtin get_response_code_string . 159
6.8.10 Builtin get_rspcode_string . 160
6.8.11 Builtin get_rspcode_string_by_id . 161
6.8.12 Builtin get_status_code_string (deprecated) . 161
6.8.13 Builtin get_status_string . 162
6.8.14 Builtin get_stddict_string . 163
6.8.15 Builtin get_variable_string . 163
6.8.1
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.