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

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: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)

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
Published
Publication Date
18-Feb-2016
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
23-Sep-2015
Due Date
28-Nov-2015
Completion Date
19-Feb-2016

RELATIONS

Buy Standard

Standard
SIST EN 61804-5:2016
English language
236 pages
sale 10% off
Preview
sale 10% off
Preview

e-Library read for
1 day
Standard
SIST EN 61804-5:2016
English language
236 pages
sale 10% off
Preview
sale 10% off
Preview

e-Library read for
1 day

Standards Content (sample)

SLOVENSKI STANDARD
SIST EN 61804-5:2016
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
SIST EN 61804-5:2016 en

2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
SIST EN 61804-5:2016
---------------------- Page: 2 ----------------------
SIST EN 61804-5:2016
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
---------------------- Page: 3 ----------------------
SIST EN 61804-5:2016
EN 61804-5:2015
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.
---------------------- Page: 4 ----------------------
SIST EN 61804-5:2016
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
---------------------- Page: 5 ----------------------
SIST EN 61804-5:2016
---------------------- Page: 6 ----------------------
SIST EN 61804-5:2016
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

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 61804-5:2016
– 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

---------------------- Page: 8 ----------------------
SIST EN 61804-5:2016
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

---------------------- Page: 9 ----------------------
SIST EN 61804-5:2016
– 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

---------------------- Page: 10 ----------------------
SIST EN 61804-5:2016
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.17
...

SLOVENSKI STANDARD
SIST EN 61804-5:2016
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
SIST EN 61804-5:2016 en

2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
SIST EN 61804-5:2016
---------------------- Page: 2 ----------------------
SIST EN 61804-5:2016
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
---------------------- Page: 3 ----------------------
SIST EN 61804-5:2016
EN 61804-5:2015
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.
---------------------- Page: 4 ----------------------
SIST EN 61804-5:2016
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
---------------------- Page: 5 ----------------------
SIST EN 61804-5:2016
---------------------- Page: 6 ----------------------
SIST EN 61804-5:2016
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

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 61804-5:2016
– 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

---------------------- Page: 8 ----------------------
SIST EN 61804-5:2016
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

---------------------- Page: 9 ----------------------
SIST EN 61804-5:2016
– 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

---------------------- Page: 10 ----------------------
SIST EN 61804-5:2016
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 ................................................................

...

Questions, Comments and Discussion

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