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
SIST EN IEC 61804-5:2020 - BARVE na PDF-str.: od str 32 do 41
English language
282 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.
---------------------- 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 - -
---------------------- 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 .................................................................................

...

Questions, Comments and Discussion

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