IEC 61 804 3 Edition 3 0 201 5 06 INTERNATIONAL STANDARD NORME INTERNATIONALE Function Blocks (FB) for process control and Electronic Device Description Language (EDDL) – Part 3 EDDL syntax and semant[.]
Trang 1Part 3: EDDL sy ntax and semantics
Blocs Fonctionnels (FB) pour les procédés industriels et le Langage de
Description Electronique de Produit (EDDL) –
Partie 3: Sémant ique et sy nt ax e EDDL
Trang 2THIS PUBLICATION IS COPYRIGHT PROT CTED
Copyr ight © 2 15 IEC, Ge e a, Switzer la d
Al r i hts r es r ve Unle s oth r wis s e ifi d, n p r t of this p blc tio ma b r epr od c d or uti z d in a y for m
or b a y me n ,ele tr onic or me h nic l in lu in p oto o yin a d microfim, with ut p r mis io in wr itin fr om
eith r IEC or IEC's memb r Natio al Commite in th c u tr y of th r eq e ter If y u h v a y q e tio s a o t IEC
c p r i ht or h v a e q iry a o t o tainin a ditio al r i hts to this p blc tio , ple s c nta t th a dr es b low or
y ur lo al IEC memb r Natio al Commite for f ur th r infor matio
Droits d r epro u tio r és r vé Sa f in ic tio c ntrair e, a c n p r tie d c te p blc tio n p ut êtr e r epro uite
ni uti s e s u q elq e forme q e c s it et p r a c n pr oc d , éle tr oniq e o mé a iq e, y c mp s la p oto o ie
et le micr ofims, s n la c r d é r it d l EC o d Comité n tio al d l EC d p y d d ma d ur Si v u a e d s
q e tio s s r le c p r i ht d l EC o si v u d sire o te ir d s dr oits s p léme tair es s r c te p blc tio , uti s z
le c or do n e ci-a r ès o c nta te le Comité n tio al d l EC d v tr e p y d ré id n e
Th Inter natio al Ele tr ote h ic l Commis io (IEC) is th le din glo al or ga iz tio th t pr ep r es a d p bls e
Intern tio al Sta d r ds for al ele tr i al ele tr onic a d relate te h olo ie
A bout IEC publc tio s
Th te h ic l c nte t of IEC p blc tio s is k pt u d r c n ta t r eview b th IEC Ple s ma e s r e th t y u h v th
late t e itio , a c r r ig n a or a ame dme t mig t h v b e p bls e
IEC Catalo u - webstore.e ch/cat alo u
Th st an -alo e a plc at io for c on ult in t he e t ire
biblo ra hic al informat io o IEC Int ern tio al St an ard ,
Te h ic al Sp cific at io s, Tec hnic al R ep rt s a d ot her
d c ume t s A v aia le for PC, Ma OS, A ndroid Ta let s a d
iPa
IEC publc t io s s arch - w w w.e ch/s arch ub
Th a v anc ed s arc h e a le t o fin IEC p blc t io s b a
v riety of c riteria (efere c e n mb r, text, t ec hnic l
c mmit t ee,…) It als giv es informat io o projec t s, re lac ed
Ele tro edia - www.ele tro edia.org
Th world's le din o ln dict io ary of elec t ro ic a d
elec t ric l t erms c ont ainin more t ha 3 0 0 t erms a d
d finit io s in En ls a d Fre c , wit h e uiv le t t erms in 15
a dit io al la g a e Als k now n a t he Int ern t io al
Ele t rot ec hnic al V oc b lary (IEV ) o ln
IEC Glos ar y - st d.e ch/glos ary
More t ha 6 0 0 elec t rotec nic l t ermin lo y e t rie in
En ls a d Fre c extra t ed fom t he Terms a d Definit io s
cla s of IEC p blc t io s is u d sinc e 2 0 Some e trie
h v b e c ole t ed fom e rler p blc t io s of IEC TC 3 ,
7 ,8 a d CIS R
IEC Cu t omer Servic Centre - webst ore.e ch/cs
If y ou wis t o giv u your fe d ac k o t his p blc t io or
n e furt her a sist anc e,ple s c ont ac t the Cu t omer Serv ic e
Ce t re: c sc@ie c h
A pro os de l'IEC
L Commis io Ele trote h iq e Inter natio ale (IEC) e t la pr emièr e org nis tio mo diale q i éla ore et p ble d s
Nor me intern tio ale p ur to t c q i a tr ait à léle tr i ité, à léle tr oniq e et a x te h olo ie a p r enté s
A pro os de publc t io s IEC
L c nte u te h iq e d s p blc tio s IEC e t c n tamme t r ev Ve i e v u a s r er q e v u p s é e lé itio la
plu ré e te, u c r r ig n um o ame d me t p ut a oir été p blé
Cat alo u IEC - webstore.e ch/cat alo u
A pplc t io a t on me p ur c n ult er tou le re s ig eme t s
biblo ra hiq e s r le Norme intern t io ale ,
Sp cific t io s t ec niq e , R ap ort s t ec hniq e et a t re
d c ume t s d l EC Dis o ible p ur PC, Ma OS, t ablett es
A ndroid et iPa
R echerche de publc t io s IEC - w w w.e ch/se rch ub
L rec herc e a a c ée p rmet d t ro v r d s p blc at io s IEC
e ut ils nt difére t s crit ère (n méro d référen e, t ex t e,
c mit é d’ét ud s,…) Ele d n e a s i d s informat io s s r le
projet s et le p blc t io s remplac ée o ret iré s
IEC J st Publshed - webstore.e ch/j stpublshed
R est ez informé s r le n uv ele p blc at io s IEC Ju t
Pu ls e d t ai e le n u ele p blc tio s p ru s
Dis o ible e lg e et a s i u e fois p r mois p r emai
Ele tro edia - www.ele tro edia.org
L premier dic t io n ire e lg e d t erme éle tro iq e et
élec t riq e I c ont ie t plu d 3 0 0 terme et d finit io s e
a glais et e fa ç is, ain i q e le t erme é uiv ale ts d n
15 la g e a dit io n le Eg leme t a p lé V oc b laire
Ele t rot ec hniq e Int ern tio al (IEV ) e lg e
Glos aire IEC - st d.e ch/glos ary
Plu d 6 0 0 e t ré s termin lo iq e éle t rot ec hniq e ,e
a glais et e fa ç is, extrait es d s art icle Terme et
Définit io s d s p blc t io s IEC p ru s d p is 2 0 Plu
c rt ain s e t ré s a t érie re e t rait es d s p blc t io s d s
CE 3 ,7 ,8 et CIS R d l EC
Servic Clent s - webstore.e ch/cs
Si v u d sire n u d n er d s c mme t aire s r c t t e
p blc at io o si v u a e d s q e t io s c nt act ez-n u :
c c@ie c
Trang 3Part 3: EDDL sy ntax and semantics
Blocs Fonct ionnels (FB) pour les procédés industriels et le Langage de
Descript ion Electronique de Produit (EDDL) –
Partie 3: Sémant ique et sy ntax e EDDL
W arnin ! Mak e s re th t you o tain d this publc tion from a a thorize distribut or
A tt ention! Veui ez vou a s rer qu vou avez o te u c t te publc tion v ia u distribute r a ré
c olour
inside
Trang 4CONTENTS
FOREWORD 16
INTRODUCTION 18
1 Sco e 19
2 Normative ref eren es 19
3 Terms, def i ition , a breviated terms an acron ms 2
3.1 Terms an def i ition 2
3.2 Ab reviated terms an acron ms 2
4 Conforman e statement 2
5 Con ention 2
5.1 General 2
5.2 Con ention f or lexical stru ture 2
5.2.1 ABC field1, f ield2 2
5.2.2 ABC field1+ 24 5.2.3 ABC field2* 2
5.2.4 ABC [f ield1, f ield2]+ 2
5.2.5 ABC field1, (f ield2, f ield3)< xp 2
6 EDD an EDDL model 24 6.1 Overview of EDD an EDDL 2
6.2 EDD arc itecture 2
6.3 Con e ts of EDD 24 6.4 Prin iples of the EDD develo ment proces 2
6.4.1 General 2
6.4.2 EDD source generation 2
6.4.3 EDD pre roces in 2
6.4.4 EDD compi ation 2
6.5 Inter elation b twe n the lexical stru ture an f ormal def i ition 2
6.6 Bui tin 2
6.7 Prof iles 2
7 Electronic Device Des ription L n uage (EDDL) 2
7.1 Overview 2
7.1.1 EDDL f eatures 26 7.1.2 Sy tax re resentation 2
7.1.3 EDD lan uage elements 2
7.1.4 Basic con tru tion elements 2
7.1.5 Common atributes 38 7.1.6 Sp cial elements 38 7.1.7 Rules f or in tan es 3
7.1.8 Rules f or a lst of VARIABLEs 3
7.2 EDD identif i ation information 3
7.2.1 General stru ture 3
7.2.2 Sp cif i atributes 3
7.3 AXIS 4
7.3.1 General stru ture 42 7.3.2 Sp cif i atributes 43 7.4 BLOCK 4
7.4.1 BLOCK_A 45
Trang 57.4.2 BLOCK_ 57
7.5 CHART 5
7.5.1 General stru ture 5
7.5.2 Sp cif i atributes 5
7.6 COL ECTION 61
7.6.1 General stru ture 61
7.6.2 Sp cif i atribute – item-typ 6
7.7 COMMAND 6
7.7.1 General stru ture 6
7.7.2 Sp cif i atributes 6
7.8 COMPONENT 6
7.8.1 General stru ture 6
7.8.2 Sp cif i atributes 7
7.9 COMPONENT_FOLDER 7
7.10 COMPONENT_REFERENCE 7
7.1 COMPONENT_RELATION 7
7.1 1 General stru ture 7
7.1 2 Sp cif i atributes 7
7.12 CONNECTION (void) 8
7.13 DOMAIN (void) 8
7.14 EDIT_DISPLAY 8
7.14.1 General stru ture 8
7.14.2 Sp cif i atributes 81
7.15 FILE 8
7.15.1 General stru ture 8
7.15.2 Sp cif i atributes 8
7.16 GRAPH 8
7.16.1 General stru ture 84 7.16.2 Sp cif i atributes 8
7.17 GRID 8
7.17.1 General stru ture 86 7.17.2 Sp cif i atributes 86 7.18 IMAGE 8
7.18.1 General stru ture 87 7.18.2 Sp cif i atributes 88 7.19 IMPORT 8
7.19.1 General stru ture 89 7.19.2 Redef i ition 91
7.2 INTERFACE 10
7.2 1 General stru ture 10
7.2 2 Sp cif i atribute – DECLARATION 10
7.21 LIKE 10
7.2 LIST 10
7.2 1 General stru ture 10
7.2 2 Sp cif i atributes 10
7.2 MENU 1 0
7.2 1 General stru ture 1 0
7.2 2 Sp cif i atributes 1 1
Trang 67.3 2 COMPONENT_ ARENT 15
7.3 3 COMPONENT_ ATH 15
Trang 77.3 2 Ref eren in bits of a BIT_ NUMERATED VARIABLE 16
7.3 3 Ref eren in memb rs of a RECORD 16
7.3 4 Ref eren in elements of a VALUE_ARRAY 16
7.3 5 Ref eren in memb rs of a COL ECTION 16
7.3 6 Ref eren in elements of a REFERENCE_ARRAY 16
7.3 7 Ref eren in memb rs of a VARIABLE_LISTS 16
7.3 8 Ref eren in elements of BLOCK_A PARAMETERS 17
7.3 9 Ref eren in elements of BLOCK_A PARAMETER_LISTS 17
7.3 10 Ref eren in elements of BLOCK_A LOCAL_ ARAMETERS 17
7.3 1 Ref eren in BLOCK_A CHARACTERISTICS 171
7.3 12 Ref eren in memb rs of a FILE 171
7.3 13 Ref eren in elements of a LIST 171
7.3 14 Ref eren in memb rs of a CHART 17
7.3 15 Ref eren in memb rs of a GRAPH 17
7.3 16 Ref eren in memb rs of a SOURCE 17
7.3 17 Ref eren in AXIS of a GRAPH, SOURCE, WAVEFORM 17
7.3 18 Ref eren in PARAMETERS of sp cif i BLOCK_A in tan e 17
7.3 19 Ref eren in LOCAL_ ARAMETERS of sp cifi BLOCK_A in tan e 17
7.3 2 Ref eren in CHARACTERISTICS of sp cif i BLOCK_A in tan e 17
7.3 21 Ref eren in CHARTS of specif i BLOCK_A in tan e 17
7.3 2 Ref eren in LISTS of sp cif i BLOCK_A in tan e 17
7.3 2 Ref eren in GRAPHS of sp cif i BLOCK_A in tan e 17
7.3 2 Ref eren in GRIDS of sp cif i BLOCK_A in tan e 17
7.3 2 Ref eren in MENUS of sp cif i BLOCK_A in tan e 17
7.3 2 Ref eren in METHODS of sp cifi BLOCK_A in tan e 17
7.3 2 Ref eren in COMPONENT in tan es 17
7.3 2 Ref eren in COMPONENT typ s 17
7.3 2 Ref eren in FILES of sp cif i BLOCK_A in tan e 17
7.3 3 Ref eren in PLUGINS of sp cif i BLOCK_A in tan e 17
7.3 Strin s 17
7.3 1 Sp cif yin a strin as a strin l teral 17
7.3 2 Sp cif yin a strin as a strin varia le 17
7.3 3 Sp cif yin a strin as an en meration value 18
7.3 4 Sp cif yin a strin as a dictionary ref eren e 18
7.3 5 Ref eren in HELP an LABEL at ributes of EDD in tan es 18
7.3 6 Strin o eration 181
7.3 7 Prompt strin f ormats 181
7.4 Expres ion 18
7.4 1 General stru ture 18
7.4 2 Primary expres ion 18
7.4 3 Unary expres ion 18
7.4 4 Binary expres ion 18
7.41 Text dictionary 18
Trang 87.4 1 General stru ture 18
A.6.10 COMPONENT_REFERENCE 2 0
A.6.1 COMPONENT_RELATION 2 1
A.6.12 CONNECTION (void) 2 3
Trang 9A.7 Formal dictionary s ntax 2 8
An ex B (normative) EDDL Bui tin l brary (void) 2 9
An ex C (informative) EDD example 2 0
C.1 EDD example of a temp rature tran mit er 2 0
D.2.3 EDDL Formal Def i ition prof ile 31
D.3 Prof iles for FOUNDATION™ fieldbu 312
D.3.1 EDDL prof ile 312
D.3.2 Bui tin prof ile 318
D.3.3 EDDL Formal Def i ition prof ile 319
D.4 Prof iles for HART® Commu ication F u dation (HCF) 319
D.4.1 EDDL prof ile 319
D.4.2 Bui tin prof ile 3 6
D.4.3 EDDL Formal Def i ition prof ile 3 6
D.5 Prof iles for Commu ication Servers 3 6
D.5.1 EDDL prof ile 3 6
D.5.2 Bui tin prof ile 3 3
D.5.3 EDDL Formal Def i ition prof ile 3 3
D.6 Data typ s 3 3
D.6.1 METHOD DEFINITION data typ s 3 3
D.6.2 VARIABLE TYPE data typ s 3 4
Trang 10Fig re 8 – COMPONENT FOLDER 3
Fig re 9 – COMPONENT REFERENCE 30 Fig re 10 – COMPONENT RELATION 31 Fig re 1 – EDIT_DISPLAY 31 Fig re 12 – FILE 31
Fig re 13 – GRAPH 3
Fig re 14 – GRID 3
Fig re 15 – IMAGE 3
Fig re 16 – LIKE 3
Fig re 17 – LIST 3
Fig re 18 – MENU 3
Fig re 19 – RECORD 3
Fig re 2 – REFERENCE_ARRAY 3
Fig re 21 – REFRESH 3
Fig re 2 – UNIT 3
Fig re 2 – WRITE_AS_ONE 3
Fig re 2 – SOURCE 3
Fig re 2 – VALUE_ARRAY 3
Fig re 2 – VARIABLE 3
Fig re 2 – VARIABLE_LIST 3
Fig re 2 – WAVEFORM 38 Fig re 2 – EDDL imp rt mec anisms 8
Fig re 3 – MENU activation 1 7 Fig re C.1 – Example of an o erator s re n u in EDD 2 0 Ta le 1 – Field at ribute des ription 23 Ta le 2 – DD_REVISION atribute 40 Ta le 3 – DEVICE_REVISION atribute 4
Ta le 4 – DEVICE_ YPE atributes 41 Ta le 5 – EDD_ ROFILE atribute 41
Ta le 6 – EDD_VERSION atribute 41 Ta le 7 – MANUFACTURER atributes 4
Ta le 8 – MANUFACTURER_ XT atribute 4
Ta le 9 – AXIS at ributes 43 Ta le 10 – MAX_VALUE, MIN_VALUE at ributes 4
Ta le 1 – SCALING atributes 4
Ta le 12 – BLOCK_A at ributes 4
Ta le 13 – CHARACTERISTIC atribute 4
Ta le 14 – PARAMETER at ributes 4
Ta le 15 – AXIS_ITEMS atribute 47 Ta le 16 – CHART_ITEMS at ribute 4
Ta le 17 – COL ECTION_ITEMS at ribute 4
Ta le 18 – EDIT DISPLAY_IT MS atribute 4
Trang 11Ta le 19 – FILE_ITEMS atribute 4
Ta le 2 – GRAPH_ITEMS atribute 49 Ta le 21 – GRID_ITEMS at ribute 4
Ta le 2 – IMAGE_ITEMS atribute 50 Ta le 2 – LIST_ITEMS atribute 5
Ta le 2 – MENU_ITEMS atribute 51 Ta le 2 – METHOD_ITEMS at ribute 51
Ta le 2 – PARAMETER_LISTS at ributes 51
Ta le 2 – REFERENCE_ARRAY_ITEMS atribute 5
Ta le 2 – REFRESH_ITEMS at ribute 5
Ta le 2 – SOURCE_ITEMS at ribute 5
Ta le 3 – UNIT_ITEMS atribute 53 Ta le 31 – WAVEFORM_IT MS atribute 5
Ta le 3 – WRITE_AS_ONE_ITEMS at ribute 5
Ta le 3 – CHARTS atributes 54 Ta le 3 – LISTS at ributes 5
Ta le 3 – GRAPHS atributes 5
Ta le 3 – GRIDS at ributes 55 Ta le 3 – MENUS atributes 5
Ta le 3 – METHODS atributes 56 Ta le 3 – FILES at ributes 5
Ta le 4 – PLUGIN_ITEMS atribute 5
Ta le 41 – PLUGINS atributes 57 Ta le 4 – BLOCK_ at ributes 5
Ta le 4 – NUMBER at ributes 5
Ta le 4 – TYPE at ributes 5
Ta le 4 – CHART at ributes 59 Ta le 4 – CYCLE_ IME atribute 6
Ta le 4 – LENGTH at ribute 60 Ta le 4 – TYPE at ributes 61
Ta le 4 – COL ECTION atributes 61
Ta le 5 – item-typ 6
Ta le 51 – COMMAND atributes 63 Ta le 5 – OPERATION at ributes 6
Ta le 5 – TRANSACTION atributes 64 Ta le 5 – REPLY an REQUEST atributes 6
Ta le 5 – INDEX at ributes 6
Ta le 5 – BLOCK_ at ribute 66 Ta le 5 – NUMBER at ribute 67 Ta le 5 – SLOT at ributes 6
Ta le 5 – SUB_ LOT atributes 67 Ta le 6 – HEADER atribute 6
Ta le 61 – API atributes 68
Trang 12Ta le 6 – POST_RQSTRECEIVE_ACTIONS atribute 6
Ta le 6 – COMPONENT atributes 7
Ta le 6 – CAN_DELETE atributes 7
Ta le 6 – CHECK_CONFIGURATION atribute 71
Ta le 6 – COMPONENT_RELATIONS atribute 71
Ta le 6 – DECLARATION atribute 71 Ta le 6 – DETECT at ribute 72 Ta le 6 – EDD at ribute 7
Ta le 7 – INITIAL_VALUES at ributes 7
Ta le 71 – REDUNDANCY at ribute 7
Ta le 7 – SCAN atribute 73 Ta le 7 – SCAN_LIST atribute 7
Ta le 7 – BYTE_ORDER at ributes 7
Ta le 7 – CONNECTION_ OINT at ribute 7
Ta le 7 – PRODUCT_URI atribute 75 Ta le 7 – COMPONENT_FOLDER atributes 7
Ta le 7 – COMPONENT_REFERENCE at ributes 7
Ta le 7 – COMPONENT_RELATION at ributes 7
Ta le 8 – COMPONENTS at ributes 7
Ta le 81 – RELATION_ YPE atributes 7
Ta le 8 – ADDRESSING atribute 79 Ta le 8 – MAXIMUM_NUMBER atribute 7
Ta le 8 – MINIMUM_NUMBER atribute 8
Ta le 8 – REQUIRED_INTERFACE atribute 8
Ta le 8 – EDIT DISPLAY atributes 81
Ta le 8 – EDIT ITEMS atribute 81 Ta le 8 – DISPLAY_ITEM at ribute 82 Ta le 8 – POST_ DIT_ACTIONS, PRE_ DIT_ACTIONS atributes 8
Ta le 9 – FILE atributes 8
Ta le 91 – SHARED atributes 84 Ta le 9 – ON_UPDAT _ACTIONS atribute 8
Ta le 9 – GRAPH atributes 85 Ta le 9 – CYCLE_ IME atribute 8
Ta le 9 – X_AXIS atribute 8
Ta le 9 – GRID atributes 8
Ta le 9 – VECTORS at ributes 8
Ta le 9 – ORIENTATION atributes 8
Ta le 9 – IMAGE atributes 8
Ta le 10 – PATH at ribute 8
Ta le 101 – LINK at ribute 8
Ta le 10 – Imp rtin Device Des ription 9
Ta le 10 – Redef i ition atributes 91
Ta le 10 – Redef i ition rules f or AXIS atributes 91
Trang 13Ta le 10 – Redef i ition rules f or BLOB atributes 9
Ta le 10 – Redef i ition rules f or BLOCK_A atributes 9
Ta le 10 – Redef i ition rules f or BLOCK_ atributes 9
Ta le 10 – Redef i ition rules f or CHART atributes 9
Ta le 10 – Redef i ition rules f or COL ECTION atributes 9
Ta le 1 0 – Redef i ition rules f or COMMAND at ributes 9
Ta le 1 1 – Redef i ition rules f or COMPONENT atributes 9
Ta le 1 2 – Redef i ition rules f or COMPONENT_FOLDER at ributes 9
Ta le 1 3 – Redef i ition rules f or COMPONENT_REFERENCE atributes 9
Ta le 1 4 – Redef i ition rules f or COMPONENT_RELATION atributes 9
Ta le 1 5 – Redef i ition rules f or EDIT_DISPLAY at ributes 9
Ta le 1 6 – Redef i ition rules f or FILE at ributes 9
Ta le 1 7 – Redef i ition rules f or GRAPH at ributes 9
Ta le 1 8 – Redef i ition rules f or GRID atributes 9
Ta le 1 9 – Redef i ition rules f or IMAGE at ributes 10
Ta le 12 – Redef i ition rules f or INT RFACE at ributes 10
Ta le 121 – Redef i ition rules f or LIST at ributes 10
Ta le 12 – Redef i ition rules f or MENU atributes 101
Ta le 12 – Redef i ition rules f or METHOD atributes 101
Ta le 12 – Redef i ition rules f or PLUGIN atributes 10
Ta le 12 – Redef i ition rules f or RECORD atributes 10
Ta le 12 – Redef i ition rules f or REFERENCE_ARRAY atributes 10
Ta le 12 – Redef i ition rules f or RESPONSE_CODES atributes 10
Ta le 12 – Redef i ition rules f or SOURCE atributes 10
Ta le 12 – Redef i ition rules f or TEMPLATE at ributes 10
Ta le 13 – Redef i ition rules f or VALUE_ARRAY atributes 10
Ta le 131 – Redef i ition rules f or VARIABLE at ributes 10
Ta le 13 – Redef i ition rules f or VARIABLE_LIST at ributes 10
Ta le 13 – Redef i ition rules f or WAVEFORM at ributes 10
Ta le 13 – INTERFACE atributes 10
Ta le 13 – DECLARATION atributes 10
Ta le 13 – LIKE atributes 10
Ta le 13 – LIST atributes 10
Ta le 13 – TYPE at ribute 10
Ta le 13 – CAPACITY at ribute 10
Ta le 14 – COUNT atribute 1 0
Ta le 141 – MENU at ributes 1 0
Ta le 14 – IT MS at ributes 1 1
Ta le 14 – ACCESS atribute 1 2
Ta le 14 – EXIT_ACTIONS, INIT_ACTIONS, POST EDIT_ACTIONS,
PRE_ DIT ACTIONS, POST_READ_ACTIONS, PRE_READ_ACTIONS,
POST_WRITE_ACTIONS, PRE_WRIT _ACTIONS atributes 1 3
Ta le 14 – STYLE at ribute 1 5
Trang 14Ta le 15 – RESPONSE_CODES atributes 12
Ta le 15 – SOURCE at ributes 12
Ta le 15 – Y_AXIS atribute 12
Ta le 16 – TEMPLAT atributes 12
Ta le 161 – DEFAULT VALUES atributes 12
Ta le 16 – VALUE_ARRAY at ributes 12
Ta le 16 – NUMBER_OF_ LEMENT atributes 12
Ta le 16 – TYPE at ribute 12
Ta le 16 – VARIABLE atributes 13
Ta le 16 – CLASS atributes 131
Ta le 16 – TYPE at ributes 13
Ta le 16 – DOUBLE, F OAT, INTEGER, UNSIGNED_INTEGER at ributes 13
Ta le 16 – DATE, DATE_AND_ IME, DURATION, TIME, TIME_VALUE atributes 13
Ta le 17 – BIT_ NUMERATED atributes 13
Ta le 17 – POST_ DIT_ACTIONS, PRE_ DIT_ACTIONS, POST_READ_ACTIONS,
PRE_READ_ACTIONS, POST_WRITE_ACTIONS, PRE_WRIT _ACTIONS,
REFRESH_ACTIONS atributes 14
Ta le 18 – POST_USERCHANGE_ACTIONS, POST RQSTUPDATE_ACTIONS
at ributes 14
Ta le 181 – VARIABLE_LIST atributes 14
Ta le 18 – WAVEFORM atributes 14
Trang 15Ta le 18 – EXIT_ACTIONS, INIT_ACTIONS, REFRESH_ACTIONS at ributes 15
Ta le 213 – Ref eren in an EDD in tan e 16
Ta le 214 – Ref eren in elements of VARIABLE 16
Ta le 215 – Ref eren in elements of RECORD 16
Ta le 216 – Ref eren in elements of VALUE_ARRAY 16
Ta le 217 – Ref eren in memb rs of COL ECTION 16
Ta le 218 – Ref eren in memb rs of REFERENCE_ARRAY 16
Ta le 219 – Ref eren in memb rs of VARIABLE_LIST 17
Ta le 2 0 – Ref eren in memb rs of a BLOCK_A PARAMETERS 17
Ta le 2 1 – Ref eren in memb rs of BLOCK_A PARAMETER_LISTS 17
Ta le 2 2 – Ref eren in memb rs of BLOCK_A LOCAL_ ARAMETER 171
Ta le 2 3 – Ref eren in BLOCK_A CHARACTERISTICS 171
Ta le 2 4 – Ref eren in memb rs of FILE 171
Ta le 2 5 – Ref eren in elements of LIST 17
Ta le 2 6 – Ref eren in memb rs of CHART 17
Ta le 2 7 – Ref eren in memb rs of GRAPH 17
Ta le 2 8 – Ref eren in memb rs of SOURCE 17
Ta le 2 9 – Ref eren in AXIS of a GRAPH, SOURCE, WAVEFORM 17
Ta le 2 0 – Ref eren in PARAMETERS of sp cif i BLOCK_A in tan e 17
Trang 16Ta le 2 1 – Ref eren in LOCAL_ ARAMETERS of sp cif i BLOCK_A in tan e 17
Ta le 2 2 – Ref eren in CHARACTERISTICS of sp cif i BLOCK_A in tan e 17
Ta le 2 3 – Ref eren in CHARTS of sp cif i BLOCK_A in tan e 17
Ta le 2 4 – Ref eren in LIST of sp cif i BLOCK_A in tan e 17
Ta le 2 5 – Ref eren in GRAPHS of sp cif i BLOCK_A in tan e 17
Ta le 2 6 – Ref eren in GRIDS of sp cif i BLOCK_A in tan e 17
Ta le 2 7 – Ref eren in MENUS of sp cif i BLOCK_A in tan e 17
Ta le 2 8 – Ref eren in METHODS of sp cifi BLOCK_A in tan e 17
Ta le 2 9 – Ref eren in a COMPONENT in tan e 17
Ta le 2 0 – Ref eren in a COMPONENT typ 17
Ta le 2 1 – Ref eren in FILES of sp cif i BLOCK_A in tan e 17
Ta le 2 2 – Ref eren in PLUGINS of specif i BLOCK_A in tan e 17
Ta le 2 3 – Strin as a strin l teral 17
Ta le 2 4 – Strin as a strin varia le 17
Ta le 2 5 – Strin as an en meration value 18
Ta le 2 6 – Strin as a dictionary ref eren e 18
Ta le 2 7 – Ref eren in HELP an LABEL atributes of EDD in tan es 181
Ta le 2 8 – Strin o eration 181
Ta le 2 9 – Format sp cif ier 18
Ta le 2 0 – Primary expres ion 18
Ta le 2 1 – At ribute values of VARIABLEs 18
Ta le 2 2 – AXIS at ribute values 18
Ta le A.1 – Con ention f or integer con tants 19
Ta le A.2 – Usin es a e seq en es in strin lterals 19
Ta le A.3 – L n uage code examples f or strin l terals 19
Ta le A.4 – Preceden e an as ociativity f or EDDL o erators 19
Ta le A.5 – Op ration for VARIABLEs or METHOD local varia les 2 0
Ta le A.6 – EDDL keyword 2 1
Ta le D.1 – Prof ile selection ta les 3 4
Ta le D.2 – EDDL Formal Def i ition prof ile ta les 3 4
Trang 17Ta le D.3 – Contents of selection ta les 3 4
Ta le D.4 – EDDL element selection f or PROFIBUS an PROFINET 3 5
Ta le D.5 – EDDL element selection f or FOUNDATION fieldbu 312
Ta le D.6 – EDDL element selection f or HCF 319
Ta le D.7 – EDDL element selection f or Commu ication Servers 3 7
Ta le D.8 – METHOD DEFINITION data typ s 3 4
Ta le D.14 – TIME_VALUE codin (four octets) 3 8
Ta le D.15 – TIME_VALUE codin (eig t octets) 3 8
Ta le D.16 – PACKED_ASCI codin 3 9
Ta le D.17 – BOOLEAN codin 3 9
Trang 18INTERNATIONAL ELECTROTECHNICAL COMMISSION
ELECTRONIC DEVICE DESCRIPTION LANGUAGE (EDDL) –
Part 3: EDDL syntax and semantics
1 Th Intern tio al Ele trote h ic l Commis io (IEC) is a worldwid org niz tio for sta d rdiz tio c mprisin
al n tio al ele trote h ic l c mmite s (IEC Natio al Commite s) Th o je t of IEC is to promote
intern tio al c -o eratio o al q e tio s c n ernin sta d rdiz tio in th ele tric l a d ele tro ic f i ld To
this e d a d in a ditio to oth r a tivitie , IEC p bls e Intern tio al Sta d rd , Te h ic l Sp cif i atio s,
Te h ic l Re orts, Pu lcly Av ia le Sp cific tio s (PAS) a d Guid s (h re f ter refere to a “IEC
Pu lc tio (s)”) Th ir pre aratio is e tru te to te h ic l c mmite s; a y IEC Natio al Commite intere te
in th s bje t d alt with ma p rticip te in this pre aratory work Intern tio al g v rnme tal a d n
n-g v rnme tal org niz tio s laisin with IEC als p rticip te in this pre aratio IEC c la orate clo ely with
th Intern tio al Org niz tio for Sta d rdiz tio (ISO) in a c rd n e with c n itio s d termin d b
a re me t b twe n th two org niz tio s
2) Th formal d cisio s or a re me ts of IEC o te h ic l maters e pre s, a n arly a p s ible, a intern tio al
c n e s s of o inio o th rele a t s bje ts sin e e c te h ic l c mmite h s re re e tatio f rom al
intere te IEC Natio al Commite s
3) IEC Pu lc tio s h v th form of re omme d tio s for intern tio al u e a d are a c pte b IEC Natio al
Commite s in th t s n e Whie al re s n ble eforts are ma e to e s re th t th te h ic l c nte t of IEC
Pu lc tio s is a c rate, IEC c n ot b h ld re p n ible for th wa in whic th y are u e or for a y
misinterpretatio b a y e d u er
4) In ord r to promote intern tio al u iformity, IEC Natio al Commite s u d rta e to a ply IEC Pu lc tio s
tra s are tly to th ma imum e te t p s ible in th ir n tio al a d re io al p blc tio s An div rg n e
b twe n a y IEC Pu lc tio a d th c r e p n in n tio al or re io al p blc tio s al b cle rly in ic te in
th later
5) IEC its lf d e n t pro id a y ate tatio of c nformity In e e d nt c rtif i atio b die pro id c nformity
a s s me t s rvic s a d, in s me are s, a c s to IEC mark of c nf ormity IEC is n t re p n ible for a y
s rvic s c rie o t b in e e d nt c rtif i atio b die
6) Al u ers s o ld e s re th t th y h v th late t e itio of this p blc tio
7) No la i ty s al ata h to IEC or its dire tors, emplo e s, s rv nts or a e ts in lu in in ivid al e p rts a d
memb rs of its te h ic l c mmite s a d IEC Natio al Commite s for a y p rs n l injury, pro erty d ma e or
oth r d ma e of a y n ture wh ts e er, wh th r dire t or in ire t, or f or c sts (in lu in le al fe s) a d
e p n e arisin o t of th p blc tio , u e of, or rela c u o , this IEC Pu lc tio or a y oth r IEC
Pu lc tio s
8) Ate tio is drawn to th Normativ ref ere c s cite in this p blc tio Us of th refere c d p blc tio s is
in is e s ble for th c re t a plc tio of this p blc tio
9) Ate tio is drawn to th p s ibi ty th t s me of th eleme ts of this IEC Pu lc tio ma b th s bje t of
p te t rig ts IEC s al n t b h ld re p n ible f or id ntifyin a y or al s c p te t rig ts
International Stan ard IEC 618 4-3 has b en pre ared by s bcommit e 6 E: Devices an
integration in enterprise s stems, of IEC tec nical commit e 6 : In u trial-proces
me s rement, control an automation
This third edition can els an re laces the secon edition publ s ed in 2 10 This edition
con titutes a tec nical revision
This edition in lu es the f ol owin sig if i ant tec nical c an es with resp ct to the previou
edition:
• Bui tin an their prof iles removed an relocated into IEC 618 4-5
• The f ol owin exten ion are integrated in the EDDL sp cif i ation to me t FDI
req irements:
– New contru ts BLOB, PLUGIN
Trang 19– Exten ion of the clas at ribute.
– New atributes PRIVATE, VISIBILITY, WRITE_MODE
• The fol owin c an es wi b integrated in the EDDL b sed on EDDL harmonization:
– Removed some u u ed features
– Harmonized some prof ile f eatures
The text of this stan ard is b sed on the fol owin doc ments:
Ful information on the votin for the a proval of this stan ard can b f ou d in the re ort on
votin in icated in the a ove ta le
This publcation has b en draf ted in ac ordan e with the ISO/IEC Directives, Part 2
He din s en in with '(void)' are u ed to retain the n mb rin of previou edition
A l st of al p rts in IEC 618 4 series, publ s ed u der the general title Fu ctio blo k (FB)
for pro e s c ntrol a d Electro ic De ic De criptio L n u g (EDDL), can b f ou d on the
IEC we site
Future stan ard in this series wi car y the new general title as cited a ove Titles of existin
stan ard in this series wi b updated at the time of the next edition
The commit e has decided that the contents of this publcation wi remain u c an ed u ti
the sta i ty date in icated on IEC we site u der "htp:/ we store.iec.c " in the data related
to the sp cif i publ cation At this date, the publ cation wi b
• recon rmed,
• with rawn,
• re laced by a revised edition, or
• amen ed
IMPORTANT – The 'colour in ide' logo on the cov r pa e of this publ c tion indic te
that it contains colours whic are consid re to be u ef ul f or the cor e t
understa ding of its conte ts Us rs s ould theref ore print this doc me t using a
colour printer
Trang 20INTRODUCTION
The EDDL fil s the ga b twe n the con e tual f un tion bloc sp cif i ation of IEC 618 4-2
an a prod ct implementation It al ows the man f acturers to u e the same des ription
method for devices b sed on dif f erent tec nologies an platforms Fig re 1 s ows these
asp cts
IEC 618 4 has the general title "Fu ction bloc s (FB) f or proces control an Electronic
Device Des ription L n uage (EDDL)" an con ists of the fol owin p rts:
Part 2: Sp cif i ation of FB con e t
Part 3: EDDL s ntax an semantic
Part 4: EDD interpretation
Part 5: EDDL Buitin l brary
Part 6: Me tin the req irements for integratin f ieldbu devices in en ine rin to ls f or
f ield devices
This p rt of IEC 618 4 has integrated some p rts of IEC T 618 4-1:2 0 , whic was
with rawn in Jan ary 2 13
The EDDL may also b u ed f or the des ription of prod ct pro erties in other domain s c
as in u trial automation In u trial automation may in lu e devices s c as generic digital
an analog input output mod les, motion control ers, h man-mac ine interf aces, sen ors,
closed-lo p controlers, en oders, h draul c valves, an programma le control ers
Trang 21FUNCTION BLOCKS (FB) FOR PROCESS CONTROL AND
ELECTRONIC DEVICE DESCRIPTION LANGUAGE (EDDL) –
Part 3: EDDL syntax and semantics
This p rt of IEC 618 4 sp cifies the Electronic Device Des ription L n uage (EDDL)
tec nolog , whic ena les the integration of re l prod ct detai s u in the to ls of the
en ine rin l f e c cle
This p rt of IEC 618 4 sp cif ies EDDL as a generic lan uage f or des ribin the pro erties of
automation s stem comp nents EDDL is ca a le of des ribin
• device p rameters an their de en en ies;
• device fun tion , f or example, simulation mode, calbration;
• gra hical re resentation , for example, men s;
• interaction with control devices;
• gra hical re resentation :
– en an ed u er interface,
– gra hin s stem;
• p rsistent data store
EDDL is u ed to cre te Electronic Device Des ription (EDD) f or example con rete devices,
common u a le profiles or l braries This EDD is u ed with a pro riate to ls to generate an
interpretative code to s p ort p rameter han l n , o eration, an monitorin of automation
s stem comp nents s c as remote I/Os, control ers, sen ors, an programma le control ers
To l implementation is outside the s o e of this stan ard
This p rt of IEC 618 4 sp cif ies the semantic an lexical stru ture in a s ntax-in e en ent
man er A sp cif i s ntax is def i ed in An ex A, but it is p s ible to u e the semantic model
also with dif ferent s ntaxes
The f olowin doc ments, in whole or in p rt, are normatively referen ed in this doc ment an
are in isp n a le f or its a pl cation For dated ref eren es, only the edition cited a pl es For
u dated ref eren es, the latest edition of the referen ed doc ment (in lu in an
amen ments) a pl es
IEC 6 0 0 (al p rts), I ntern tio al Electrotec nic l Vo a ulary (avai a le at
ht p:/ www.electro edia.org)
IEC 618 4-2:–
1
, Fun tio bloc s (F ) for pro e s c ntrol a d Electro ic De ic De criptio
L n u g (EDDL) – P art 2: Sp cific tio of F c n e t a d Ele tro ic De ic De criptio
_ _ _ _ _ _
Trang 22IEC 618 4-5, Fun tio blo k (FB) for pro e s c ntrol a d Electro ic De ic De criptio
L n u g (EDDL) – P art 5: EDDL Builtin li rary
IEC 6 5 1-4, OP C u ified arc ite ture – P art 4: Servic s
ISO/IEC 2 7 , I nformatio te h olog – P ro edure for re istratio of e c p s q e c s a d
c ded c ara ter s ts
ISO/IEC 7 9 -1, I nformation tec n lo y – Op n Sy tems I nterc n e tio – Ba ic Refere c
Mod el: Th Ba ic Model
ISO/IEC 8 5 -1, I nformation tec n lo y – 8-bit sin le-b te c ded gra hic c ara ter s ts –
P art 1: L tin alph b t N o 1
ISO/IEC 9 3 -8, Informatio te h olog – P ro edure for the o eratio of o je t ide tifier
re istratio a th ritie – P art 8: Ge eratio of u ivers lly u iq e identifiers (U U I Ds) a d their
u e in o je t identifiers
ISO/IEC 9 9 , Informatio tec n log – P ro ramming la g a e − C
ISO/IEC 10 4 -1, I nformation te h olog – U niv rs l Multiple-Octet Coded Ch ra ter Set
(U CS) – P art 1: Arc itecture a d Ba ic M ultilin u l P lan
ISO 6 9 (al p rts), Code for the re re e tation ofn me of lan u g s
ISO 316 -1, Cod es for the re re e tatio of n me of c u trie a d th ir s bdivision – P art
1: Co ntry c des
IEEE 7 4, I EEE Stand ard for Flo tin -P oint Arithmeti
RFC 3 2 , U TF-8, U ser Datagram P rotoc l , avaia le at ht p:/www.ietf rg/rfc/rfc0 6 txt
W3C Cas adin Style She ts L vel 2 Sp cifi ation ht p:/www.w3.org/TR/CSS2
3 Terms, def initions, abbreviated terms and acronyms
in e en ent ph sical entity ca a le of p rf ormin one or more sp cified f un tion in a
p rtic lar context an del mited by its interf aces
[SOURCE: IEC 614 9-1:2 12, 3.2 ]
Trang 233.1.3
EDD appl c tion
program u in the EDD, or an tran lated f orm, whic of fers fun tional ty s c as
commu ication re resentation, data re resentation, gra hical re resentation, etc
selection of the s p orted elements of the EDDL lexical stru ture in lu in the s ntax
defi ition for a n mb r of sp cif i con ortia
data col ection containin the device p rameter(s), its( heir) de en en ies, its( heir) gra hical
re resentation an a des ription of the data sets whic are tran fer ed
Note 1 to e try: Th Ele tro ic De ic De criptio is cre te u in th ED L
3.1.8
Ele tronic De ice De cription compi er
compi er whic tran lates the EDD source in an internal f ormat that is u ed by the EDD
Interpreter
3.1.9
Ele tronic De ice De cription Interpreter
EDDI
Interpreter whic u es the EDD source or an internal f ormat that is given by the EDDL
compi er to provide the EDD inf ormation to the EDD u er
3.1.10
f un tion bloc
f un tion bloc in ta c
sof tware f un tional u it comprisin an in ivid al, named co y of a data stru ture an
as ociated o eration sp cif ied by a cor esp n in FB typ
Note 1 to e try: Ty ic l o eratio s of a F in lu e mo ific tio of th v lu s of th d ta in its a s ciate d ta
Trang 243.1.13
preproc s or dire tiv s
des ription of con ition f or f ilterin the EDD code b f ore compi ation or interpretation
Note 1 to e try: For e ample, a pre ro e s r dire tiv pro idin th fa i ty to d fin n me for c n ta ts or to
write ma ro to ma e c d e sier to re d
3.1.14
sof tware
intel ectual cre tion comprisin the programs, proced res, rules an an as ociated
doc mentation p rtainin to the o eration of a s stem
[SOURCE: IEC 614 9-1:2 12, 3.9 ]
3.2 Abbre iate terms a d a ronyms
ASCI American Stan ard Code f or Information Interc an e ac ordin to
ISO/IEC 10 4 -1
CPF Commu ication Profile Fami y
EDD Electronic Device Des ription
EDDL Electronic Device Des ription L n uage
EUC Exten ed Unicode ac ordin to ISO/IEC 2 2
Commu ication F u dation
HMI Human-mac ine interf ace
FOU D TION™ Field u is th tra e n me of th c n ortium Field u Fo n atio (n n-profit org niz tio )
This informatio is giv n for th c n e ie c of u ers of this sta d rd a d d e n t c n titute a e d rs me t
b IEC of th tra e n me h ld r or a y of its pro u ts Compla c to this profie d e n t re uire u e of th
tra e n me Us of th tra e n me re uire p rmis io fomth tra e n meh ld r
3
H RT is a re istere tra emark of th c n ortium H RT Commu ic tio Fo n atio (HCF) (n n-profit
org niz tio ) This inf ormatio is giv n for th c n e ie c of u ers of this sta d rd a d d e n t c n titute a
e d rs me t b IEC of th tra e n me h ld r or a y of its pro u ts Compla c to this profie d e n t re uire
u e of th tra e n me Us of th tra e n me re uire p rmis io fom th tra e n me h ld r
4
PROFIBUS a d PROFINE are tra e n me of PROFIBUS Nutz rorg nis tio e.V (PNO) a p rt of
PROFIBUS a d PROFINE Intern tio al PNO is a n n-profit tra e org niz tio to s p ort th f i ld u
te h olo ie PROFIBUS a d PROFINE This informatio is giv n for th c n e ie c of u ers of this sta d rd
a d d e n t c n titute a e d rs me t b IEC of th tra e n me h ld r or a y of its pro u ts Compla c to
this profie d e n t re uire u e of th tra e ame Us of th tra e n me re uire p rmis io fom th tra e
n me h ld r
Trang 25where the Typ within the an le brac ets < > is o tional an the an le brac ets are not to b
in lu ed
The Typ may b , for example, the name of the commu ication protocol u ed s c as
PROFIBUS, F u dation Fieldbu , or HART Commu ication Fou dation, or in an en oded way
ac ordin to the Commu ication Profiles sp cif ied in IEC 617 4-1 or in IEC 617 4-2
Prod ct stan ard s al not in lu e an conf ormity as es ment asp cts (in lu in QM
provision ), either normative or inf ormative, other than provision f or prod ct testin
(evaluation an examination)
5 Conventions
In IEC 618 4 series al keyword are writ en in up ercase let ers An EDDL element is writ en
in lowercase let ers to ad res the semantic of the whole element
The EDDL is general y des rib d u in lexical stru tures in whic the elements an the
presen e of f ield are sp cif ied
5.2 Conv ntions f or le ic l stru ture
5.2.1 ABC f ield1, field2
ABC is a lexical element This element s al b coded in a con rete s ntax It is not req ired
to code this element with the name “ABC” It is also p s ible to code this element, for
example, with a tag n mber
Field1 an f ield2 are f ield of the lexical element ABC Eac f ield is man atory an may have
more than one atribute If a f ield has at ributes, the presen e of the at ributes is sp cif ied in a
ta le A comma se arates f ield1 an f ield2 The comma is a lexical element an is not coded
expl citly
If a f ield has ad itional atributes, the at ributes are def i ed in a ta le The ta le layout an
the p s ible u age q al fiers are s own in Ta le 1
Table 1 – Field at ribute de criptions
m y y Th pre e c of this atrib te is ma d tory
o x x Th pre e c of this atrib te is o tio al
s z1 Th pre e c of this atrib te is s le ta le with oth r atrib te , whic are als mark d
with “s” inth “u a e” c lumn Only o e of th s le ta le atrib te (z1 or z ) is pre e t
s z Th pre e c of this atrib te is s le ta le with oth r atrib te , whic are als mark d
with “s” inth “u a e” c lumn Only o e of th s le ta le atrib te (z1 or z ) is pre e t
c u u Th pre e c of this atrib te is c n itio al a d it is o ly pre e t if th c n itio is tru
The c aracters in the “u age” column have the fol owin me nin s:
m: this at ribute is man atory an s al b present
o: this at ribute is o tional an ne d not b present
s: this at ribute is a selection One, an only one, of the field marked with “s” (z1 or z2)
s al b present
Trang 26In the “at ribute” column, if more than one atribute exists, whic have the same u age, the
at ributes are sorted in alpha etical order
The elements f ield1 an f ield2 in the s uare brac ets [] are an u sorted l st The plu (+)
b hin the closin brac et in icates that field1 an f ield2 are u ed at le st on e an may b
u ed more than on e as group
5.2.5 ABC f ield1, ( ield2, field3)< xp>
<exp in icates that f ield2 an f ield3 are u ed in conju ction with the con itional expres ion,
(con itional con tru ts are sp cified in 7.3 ) The expres ion < xp refers only to the f ield
within the precedin c rved brac ets ( Usage of con itional expres ion is o tional
6 EDD and EDDL model
6.1 Ov rview of EDD a d EDDL
An Electronic Device Des ription (EDD) contain al device p rameters of an automation
s stem comp nent The tec nolog u ed to des rib an EDD is cal ed Electronic Device
Des ription L n uage (EDDL) The EDDL provides a set of s ala le b sic lan uage elements
to han le simple, complex or mod lar devices The EDDL is a des riptive lan uage b sed on
an ASCI f ormat with cle r se aration b twe n data an program
Data in a text f ield, whic is marked with a cou try code lke Ja anese, may u e a multi-byte
code
6.2 EDD arc ite ture
From the viewp int of the ISO/OSI model (ISO/IEC 7 9 -1), an EDD is a ove L yer 7
However, the EDD a pl cation u es the commu ication s stem to tran f er its information An
EDD contain con tru ts that s p ort ma pin to a s p ortin commu ication s stem
The device man f acturer defi es the o jects, whic are ref lected by the logical re resentation
of the o jects within an EDD a pl cation For that re son, EDDL has lan uage elements,
whic ma the EDD data to the data re resentation of the commu ication s stem, so that the
u er of an EDD do s not ne d to k ow the ph sical location (ad res ) of a device o ject
EDD des rib s the management of inf ormation to b displayed to the u er The sp cifi
re resentation of s c vis alzation is not p rt of EDD or EDDL def i ition
6.3 Conc pts of EDD
The man facturer of a device or of an automation s stem comp nent des rib s the pro erties
of the device by u in the EDDL The res ltin EDD contain information s c as:
• des ription of the device p rameters;
Trang 27• des ription of p rameter de en en ies;
• logical groupin of the device p rameters;
• selection an exec tion of s p orted device fun tion ;
• des ription of the tran fer ed data sets
De en in on the req ired u age, the EDD may b ph sical y located
• in a device;
• in an external data storage medium s c as a comp ct dis , f lo py or a server;
• p rtial y distributed in the device an an external storage medium
EDD s p orts text strin s (common terms, phrases etc.) in more than one lan uage (En l s ,
German, Fren h, etc.) Text strin s may b stored in se arate dictionaries There may b
more than one dictionary f or one EDD
An EDD implementation in lu es s ff icient inf ormation a out the target device, for example,
man f acturer, device typ , revision, etc This is u ed to matc a sp cif i EDD to a sp cif i
Trang 28The device man facturer writes an a pro riate EDD for his device an del vers b th (EDD
an device) If the automation s stem s p orts the EDD method, a s stem integration can b
made by the u er
The EDDs for devices may b emb d ed in the device memory or del vered u in se arate
storage media or downlo ded from an a pro riate network server The EDD is 'nterpreted' or
'browsed' by an EDD a pl cation EDDs are normal y stored as source f iles or pre roces ed
f iles
6.4.3 EDD preproc s ing
In the pre roces in stage an EDD pre roces or generates a con istent EDD re resentation
s ita le for fi al compi ation
Pre roces in s p orts, f or example, s bstitution of def i ition an in lu ion of external text
The output of the pre roces or is a complete EDD without an pre roces or directive
6.4.4 EDD compi ation
The EDD compi ation stage prod ces an EDD a pl cation internal re resentation f rom a
pre roces ed EDD to b u ed in the EDD a pl cation
6.5 Inter elations betwe n the le ic l structure a d formal d f initions
The lexical stru ture of EDDL an its elements are des rib d in Clau e 7 F rmal def i ition
an s ntax for e c EDDL element are given in An ex A The lexical stru ture an its formal
des ription u e the same name
NOT In te d of th s e ifie formal d f i itio s a d s nta in An e A, a oth r s e if i atio ma b d v lo e
a a a ditio al o tio
6.6 Bui tins
Bui tin are predefi ed s broutines whic are exec ted in the EDD a pl cation
EX MPLE A h n -h ld termin l is a simple d vic h vin a smal dis la a d lmite c rs r fu ctio s For this
ty e of d vic ,a Buitin c uld b s e if i d topro id dis la e try u in o ly u /d wn rig tlef t c rs r a tio s
The l brary of Buitin is defi ed in IEC 618 4-5
6.7 Profi e
EDDL is a harmonized sp cifi ation of existin legac EDD con e ts Con rete EDD
a pl cation u e a s bset of the EDDL sp cif i ation Selection of EDDL elements an Bui tin
is made from the prof iles defi ed in An ex D
In ad ition to EDD prof iles, implementin con ortia also publs “Device Prof iles”, whic are
u ed to s p ort the interc an e bi ty of compl ant devices These Device Prof iles may b
des rib d u in the EDDL sp cif ied in this doc ment
7 Electronic De ice Description Language (EDDL)
7.1 Ov rview
7.1.1 EDDL f eature
The EDDL is a stru tured an interpretative lan uage for des ribin device pro erties Also
the interaction b twe n the devices an the EDD ru -time en ironment are in orp rated in
the EDDL The EDDL provides a set of lan uage elements f or these purp ses
Trang 29For a sp cif i EDD implementation it is not neces ary to u e al of the elements provided by
the lan uage
Comp tible s bsets of EDDL are p rmit ed an may b sp cified u in prof iles (f or example,
c oice of con tru ts, n mb r of rec rsion , an selection of o tion ) Prof iles s p orted by
some in u trial con ortia are sp cified in An ex D EDD develo ers are req ired to identif y
within e c device detai s as to whic prof ile has b en u ed
7.1.2 Sy ta repre e tation
The sp cif i ation of the EDDL lan uage in Clau e 7 of this p rt of IEC 618 4 u es an a stract
s ntax The a stract lexical stru ture in 7.1 is con erted into sp cif i s ntaxes sp cified in
An ex A by the element name (for example, VARIABLE in the lexical stru ture eq ates to the
keyword “VARIABLE” in An ex A)
Beside the defi ed s ntax in this p rt of IEC 618 4, it is p s ible to u e other s ntax
defi ition , whic may b ad ed in the future to alow other f eatures an re resentation f or
Freq ently u ed text strin s, for example, help text an multi-l n ual l sts of la els s ould b
se arated in a text dictionary (se 7.41)
Identifi ation inf ormation s al b the f irst entry in every EDD f ile an s al a p ar only on e
The identif i ation inf ormation u iq ely identifies the version of EDDL u ed, together with the
sp cif i device typ , model codes an revision detais covered by the EDD f ile
7.1.4 Ba ic con truction eleme ts
7.1.4.1 Ge eral
These b sic con tru ts have b en sp cif ied to s p ort des ription of devices u ed within
in u trial control a pl cation , together with their pro erties an fun tional ty
Some con tru ts have simi ar names an f un tion whie dif ferin in their detai ed sp cif i
-cation This ad itional variety has b en in lu ed to en ure comp tibi ty with several existin
des ription lan uages Ap ro riate ma pin cros - ef eren es are given by profiles
Eac of the b sic con tru ts has a set of atributes as ociated with it Atributes can also have
s b t ributes, whic refi e the def i ition of the at ribute an hen e the def i ition of the
con tru t itself
The defi ition of an at ribute may b static or d namic A static at ribute def i ition never
c an es, whi e a d namic at ribute def i ition may c an e in order to ac ommodate p rameter
value c an es
7.1.4.2 AXIS
AXIS des rib s the axis of a CHART or GRAPH (se 7.3)
Trang 307.1.4.3 BLOB
BLOB des rib s a Binary L rge Object u ed f or tran f erin binary data to or from a device
(se 7.4 )
7.1.4.4 BLOCK_A
PARAMETER_LISTS, an ITEM_LISTS, se Fig re 3 To ac es one item of BLOCK_A, the
in tan e of the bloc s ould b u ed (se 7.4.1 an Fig re 3)
Figure 3 – BLOCK_A
7.1.4.5 BLOCK_B
BLOCK_ is u ed to stru ture varia les in in tan es of logical bloc typ s F r ac es in a
VARIABLE within a BLOCK_ con tru t, the b sic con tru t COMMAND is u ed to provide
the relative ad res in (se 7.4.2)
IEC IEC
Trang 32COMPONENT_RELATION sp cif ies a relation b twe n COMPONENTs, f or example a mod le
an one or more other mod les (se 7.1 an Fig re 10)
Trang 33DIS LAY _IT MS
Trang 34LIKE cre tes a new in tan e of an existin in tan e of a b sic con tru t The at ributes of the
new in tan e may b redefi ed, ad ed or deleted (se 7.21 an Fig re 16)
IEC
IMA GE
ME U
MET HODLIN
IEC
G AP
AXISX_AX IS
WAV EFO MMEMB RS
Trang 36Fig re 18 – MENU
7.1.4.2 METHOD
METHOD des rib s the exec tion of a complex seq en e of event interaction that s al take
place b twe n s stem devices s c as display u its, con g rators an devices (se 7.2 )
POST _R EA D_A TIONS
POS _WR IT E_A T IONS
MET HOD
MET HODINIT _A CT IONS
EX IT A CTIONS
Trang 377.1.4.2 REFERENCE_ARRAY
REFERENCE_ARRAY is a set of EDD items of the same EDDL item typ (for example,
VARIABLE or MENU) An item can b ref eren ed in the EDD via the REFERENCE_ARRAY
name an the in ex as ociated with the item (se 7.2 an Fig re 2 )
Figure 2 – REFERENCE_ARRAY
Trang 387.1.4.2 RESPONSE_CODES
RESPONSE_CODES sp cif ies the l st of resp n e code elements that s al b u ed by the
EDD a pl cation to inf orm the u er a out the commu iation res lt, f or example er or, warnin
Trang 39VARIABLE_LIST des rib s logical groupin s of data contained in the device that may b
commu icated as a l st (se 7.3 an Fig re 2 )
IEC
V A RIABLE
ME HOPOS _ DIT A TION
PR E_WR IT E_A TION
POS _R EA D_A CTION
POS _R QS U DATE ACTION
Trang 40The sp cial elements are ad itional EDDL mec anisms to s p ort f ile han l n , multiple
in tan es an modif i ation of EDDL b sic elements, s c as:
• Conditional Expre sions sp cif y at ributes values, whic are de en ent on the values of