1. Trang chủ
  2. » Luận Văn - Báo Cáo

Iec 61804-3-2015.Pdf

698 3 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Nội dung

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

I E C 61 4-3 ® Edition 3.0 201 5-06 I N TE RN ATI ON AL S TAN D ARD N ORM E I N TE RN ATI ON ALE F u n cti on B l ocks (F B ) for proces s trol an d E l ectron i c D evi ce D es cri pti on Lan g u ag e (E D D L) – Part 3: E D D L s yn tax an d s em an ti cs B l ocs F on cti on n el s (F B ) pou r l es procéd és i n d u s tri el s et l e Lan g ag e d e D es cri pti on E l ectron i q u e d e P rod u i t (E D D L) – IEC 61 804-3:201 5-06(en-fr) Parti e 3: Sém an ti q u e et s yn taxe E D D L colour in sid e TH I S P U B L I C ATI O N I S C O P YRI G H T P RO TE C T E D C o p yri g h t © I E C , G e n e va , S w i tze rl a n d All rights reserved Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or IEC's member National Committee in the country of the requester If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or your local IEC member National Committee for further information Droits de reproduction réservés Sauf indication contraire, aucune partie de cette publication ne peut être reproduite ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur Si vous avez des questions sur le copyright de l'IEC ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence IEC Central Office 3, rue de Varembé CH-1 21 Geneva 20 Switzerland Tel.: +41 22 91 02 1 Fax: +41 22 91 03 00 info@iec.ch www.iec.ch Abou t th e I E C The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes International Standards for all electrical, electronic and related technologies Ab o u t I E C p u b l i c a ti o n s The technical content of IEC publications is kept under constant review by the IEC Please make sure that you have the latest edition, a corrigenda or an amendment might have been published I E C C atal og u e - webs tore i ec ch /catal og u e The stand-alone application for consulting the entire bibliographical information on IEC International Standards, Technical Specifications, Technical Reports and other documents Available for PC, Mac OS, Android Tablets and iPad I E C pu bl i cati on s s earch - www i ec ch /s earch pu b The advanced search enables to find IEC publications by a variety of criteria (reference number, text, technical committee,…) It also gives information on projects, replaced and withdrawn publications E l ectroped i a - www el ectroped i a org The world's leading online dictionary of electronic and electrical terms containing more than 30 000 terms and definitions in English and French, with equivalent terms in additional languages Also known as the International Electrotechnical Vocabulary (IEV) online I E C G l os s ary - s td i ec ch /g l os s ary More than 60 000 electrotechnical terminology entries in English and French extracted from the Terms and Definitions clause of IEC publications issued since 2002 Some entries have been collected from earlier publications of IEC TC 37, 77, 86 and CISPR I E C J u st P u bl i s h ed - webs tore i ec ch /j u s u bl i s h ed Stay up to date on all new IEC publications Just Published details all new publications released Available online and also once a month by email I E C C u s to m er S ervi ce C en tre - webs tore i ec ch /cs c If you wish to give us your feedback on this publication or need further assistance, please contact the Customer Service Centre: csc@iec.ch A propos d e l ' I E C La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des Normes internationales pour tout ce qui a trait l'électricité, l'électronique et aux technologies apparentées A propos d es p u bl i cati on s I E C Le contenu technique des publications IEC est constamment revu Veuillez vous assurer que vous possédez l’édition la plus récente, un corrigendum ou amendement peut avoir été publié C atal og u e I E C - webs tore i ec ch /catal og u e Application autonome pour consulter tous les renseignements bibliographiques sur les Normes internationales, Spécifications techniques, Rapports techniques et autres documents de l'IEC Disponible pour PC, Mac OS, tablettes Android et iPad Rech erch e d e pu bl i cati o n s I E C - www i ec ch /s earch p u b La recherche avancée permet de trouver des publications IEC en utilisant différents critères (numéro de référence, texte, comité d’études,…) Elle donne aussi des informations sur les projets et les publications remplacées ou retirées E l ectroped i a - www el ectroped i a org Le premier dictionnaire en ligne de termes électroniques et électriques Il contient plus de 30 000 termes et définitions en anglais et en franỗais, ainsi que les termes ộquivalents dans langues additionnelles Egalement appelé Vocabulaire Electrotechnique International (IEV) en ligne G l os s re I E C - s td i ec ch /g l os s ary Plus de 60 000 entrées terminologiques électrotechniques, en anglais et en franỗais, extraites des articles Termes et Dộfinitions des publications IEC parues depuis 2002 Plus certaines entrées antérieures extraites des publications des CE 37, 77, 86 et CISPR de l'IEC I E C J u st P u bl i s h ed - webs tore i ec ch /j u s tpu bl i s h ed Restez informé sur les nouvelles publications IEC Just Published détaille les nouvelles publications parues Disponible en ligne et aussi une fois par mois par email S ervi ce C l i en ts - webs tore i ec ch /cs c Si vous désirez nous donner des commentaires sur cette publication ou si vous avez des questions contactez-nous: csc@iec.ch I E C 61 4-3 ® Edition 3.0 201 5-06 I N TE RN ATI ON AL S TAN D ARD N ORM E I N TE RN ATI ON ALE colour in sid e F u n cti on B l ocks (F B ) for proces s trol an d E l ectron i c D evi ce D es cri pti on Lan g u ag e (E D D L) – P art 3: E D D L s yn tax an d s em an ti cs B l ocs F on cti on n el s (F B ) pou r l es procéd és i n d u s tri el s et l e Lan g ag e d e D es cri pti on E l ectron i q u e d e P rod u i t (E D D L) – Parti e : S ém an ti q u e et s yn taxe E D D L INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE ICS 25.040.40; 35.240.50 ISBN 978-2-8322-2708-4 Warn i n g ! M ake s u re th at you ob tai n ed th i s pu bl i cati on from an au th ori zed d i s tri bu tor Atten ti on ! Veu i l l ez vou s as s u rer q u e vou s avez o bten u cette pu bl i cati on vi a u n d i s tri b u teu r ag réé ® Registered trademark of the International Electrotechnical Commission –2– I EC 61 804-3: 201  IEC 201 CONTENTS FOREWORD I NTRODUCTI ON Scope Normative references Terms, definitions, abbreviated terms and acronyms 20 Terms and definitions 20 Abbreviated terms and acronyms 22 Conformance statement 22 Conventions 23 General 23 Conventions for lexical structure 23 2.1 ABC field1 , field2 23 2.2 ABC field1 + 24 2.3 ABC field2* 24 2.4 ABC [field1 , field2]+ 24 2.5 ABC field1 , (field2, field3) 24 EDD and EDDL model 24 Overview of EDD and EDDL 24 EDD architecture 24 Concepts of EDD 24 Principles of the EDD development process 25 4.1 General 25 4.2 EDD source generation 25 4.3 EDD preprocessing 26 4.4 EDD compilation 26 I nterrelations between the lexical structure and formal definitions 26 6 Builtins 26 Profiles 26 Electronic Device Description Language (EDDL) 26 Overview 26 1 EDDL features 26 Syntax representation 27 EDD language elements 27 Basic construction elements 27 Common attributes 38 Special elements 38 7 Rules for instances 39 Rules for a list of VARI ABLEs 39 EDD identification information 39 2.1 General structure 39 2.2 Specific attributes 39 AXI S 42 3.1 General structure 42 3.2 Specific attributes 43 BLOCK 45 4.1 BLOCK_A 45 I EC 61 804-3: 201  IEC 201 –3– BLOCK_B 57 4.2 CH ART 59 5.1 General structure 59 5.2 Specific attributes 59 COLLECTI ON 61 6.1 General structure 61 6.2 Specific attribute – item-type 62 7 COMMAND 62 7.1 General structure 62 7.2 Specific attributes 63 COMPON ENT 69 8.1 General structure 69 8.2 Specific attributes 70 COMPON ENT_FOLDER 75 COMPON ENT_REFERENCE 76 1 COMPON ENT_RELATION 76 1 General structure 76 1 Specific attributes 77 CONN ECTION (void) 80 DOMAIN (void) 80 EDIT_DISPLAY 80 4.1 General structure 80 4.2 Specific attributes 81 FI LE 83 5.1 General structure 83 5.2 Specific attributes 83 GRAPH 84 6.1 General structure 84 6.2 Specific attributes 85 7 GRID 86 7.1 General structure 86 7.2 Specific attributes 86 I MAGE 87 8.1 General structure 87 8.2 Specific attributes 88 I MPORT 89 9.1 General structure 89 9.2 Redefinitions 91 20 I NTERFACE 07 20.1 General structure 07 20.2 Specific attribute – DECLARATI ON 07 21 LI KE 08 22 LI ST 08 22.1 General structure 08 22.2 Specific attributes 09 23 MENU 1 23.1 General structure 1 23.2 Specific attributes 1 23.3 Sequence diagrams for actions 1 –4– I EC 61 804-3: 201  IEC 201 24 METHOD 1 24.1 General structure 1 24.2 Specific attributes 1 25 PROGRAM (void) 21 26 RECORD 21 27 REFEREN CE_ARRAY 22 27.1 General structure 22 27.2 Specific attribute – ELEMEN TS 22 28 Relations 23 28.1 REFRESH 23 28.2 UN IT 23 28.3 WRI TE_AS_ON E 24 29 RESPON SE_CODES 24 30 SOURCE 25 30.1 General structure 25 30.2 Specific attributes 26 31 TEMPLATE 27 31 General structure 27 31 Specific attribute – DEFAULT_VALUES 27 32 VALU E_ARRAY 28 32.1 General structure 28 32.2 Specific attributes 28 33 VARIABLE 29 33.1 General structure 29 33.2 Specific attributes 30 34 VARIABLE_LI ST 48 35 WAVEFORM 48 35.1 General structure 48 35.2 Specific attributes 49 36 Common attributes 55 36.1 CLASSIFICATI ON 55 36.2 COMPON ENT_PARENT 56 36.3 COMPON ENT_PATH 57 36.4 DEFIN I TION 57 36.5 EMPH ASI S 58 36.6 H ANDLIN G 58 36.7 H EIGH T 58 36.8 H ELP 59 36.9 LABEL 60 36.1 LI N E_COLOR 60 36.1 LI N E_TYPE 60 36.1 MEMBERS 61 36.1 PROTOCOL 62 36.1 RESPON SE_CODES 63 36.1 SU PPLI ED_I NTERFACE 63 36.1 VALIDITY 63 36.1 WIDTH 64 36.1 PRI VATE 64 36.1 VI SI BI LITY 64 I EC 61 804-3: 201  IEC 201 –5– 36.20 WRI TE_MODE 65 36.21 I DEN TI TY 65 37 Conditional expression 66 38 Referencing 67 38.1 Referencing an EDD instance 67 38.2 Referencing bits of a BIT_ENUMERATED VARIABLE 68 38.3 Referencing members of a RECORD 68 38.4 Referencing elements of a VALU E_ARRAY 68 38.5 Referencing members of a COLLECTI ON 69 38.6 Referencing elements of a REFERENCE_ARRAY 69 38.7 Referencing members of a VARI ABLE_LISTS 69 38.8 Referencing elements of BLOCK_A PARAMETERS 70 38.9 Referencing elements of BLOCK_A PARAMETER_LI STS 70 38.1 Referencing elements of BLOCK_A LOCAL_PARAMETERS 70 38.1 Referencing BLOCK_A CH ARACTERI STICS 71 38.1 Referencing members of a FILE 71 38.1 Referencing elements of a LIST 71 38.1 Referencing members of a CH ART 72 38.1 Referencing members of a GRAPH 72 38.1 Referencing members of a SOURCE 72 38.1 Referencing AXI S of a GRAPH , SOURCE, WAVEFORM 73 38.1 Referencing PARAMETERS of specific BLOCK_A instance 73 38.1 Referencing LOCAL_PARAMETERS of specific BLOCK_A instance 74 38.20 Referencing CH ARACTERI STICS of specific BLOCK_A instance 74 38.21 Referencing CH ARTS of specific BLOCK_A instance 74 38.22 Referencing LI STS of specific BLOCK_A instance 75 38.23 Referencing GRAPH S of specific BLOCK_A instance 75 38.24 Referencing GRIDS of specific BLOCK_A instance 76 38.25 Referencing MENU S of specific BLOCK_A instance 76 38.26 Referencing METHODS of specific BLOCK_A instance 77 38.27 Referencing COMPON ENT instances 77 38.28 Referencing COMPON ENT types 78 38.29 Referencing FI LES of specific BLOCK_A instance 78 38.30 Referencing PLUGIN S of specific BLOCK_A instance 78 39 Strings 79 39.1 Specifying a string as a string literal 79 39.2 Specifying a string as a string variable 79 39.3 Specifying a string as an enumeration value 80 39.4 Specifying a string as a dictionary reference 80 39.5 Referencing H ELP and LABEL attributes of EDD instances 80 39.6 String operations 81 39.7 Prompt string formats 81 40 Expression 82 40.1 General structure 82 40.2 Primary expressions 82 40.3 Unary expressions 85 40.4 Binary expressions 86 41 Text dictionary 88 42 PLUGIN 89 –6– I EC 61 804-3: 201  IEC 201 General structure 89 42.1 42.2 Specific attribute – UU ID 89 43 BLOB 90 Annex A (normative) EDDL formal definition 91 A EDDL preprocessor 91 A 1 General structure 91 A Directives 91 A Predefined macros 94 A N EWLI N E characters 95 A Comments 95 A Conventions 95 A 2.1 I nteger constants 95 A 2.2 Floating-point constants 95 A 2.3 String literals 96 A 2.4 Using language and country codes in string literals 96 A Operators 97 A Keywords 201 A Terminals 205 A Formal EDDL syntax 206 A 6.1 General 206 A 6.2 EDD identification information 206 A 6.3 AXI S 207 A 6.4 BLOCK_A and BLOCK_B 208 A 6.5 CH ART 21 A 6.6 COLLECTI ON 21 A 6.7 COMMAND 21 A 6.8 COMPON ENT 21 A 6.9 COMPON ENT_FOLDER 220 A 6.1 COMPON ENT_REFERENCE 220 A 6.1 COMPON ENT_RELATION 221 A 6.1 CONN ECTION (void) 223 A 6.1 DOMAIN (void) 223 A 6.1 EDIT_DISPLAY 223 A 6.1 FI LE 224 A 6.1 GRAPH 224 A 6.1 GRID 225 A 6.1 I MAGE 226 A 6.1 I NTERFACE 227 A 6.20 LI ST 227 A 6.21 I MPORT 227 A 6.22 LI KE 229 A 6.23 MENU 231 A 6.24 METHOD 233 A 6.25 PROGRAM (void) 234 A 6.26 RECORD 234 A 6.27 REFERENCE_ARRAY 235 A 6.28 Relations 235 A 6.29 RESPON SE_CODES 237 A 6.30 SOURCE 238 I EC 61 804-3: 201  IEC 201 –7– TEMPLATE 238 A 6.31 A 6.32 VALU E_ARRAY 239 A 6.33 VARIABLE 239 A 6.34 VARIABLE_LI ST 249 A 6.35 WAVEFORM 249 A 6.36 Common attributes 251 A 6.37 Expression 255 A 6.38 C-Grammar 257 A 6.39 Redefinition 261 A 6.40 References 285 A 6.41 PLUGIN 287 A 6.42 BLOB 288 A Formal dictionary syntax 288 Annex B (normative) EDDL Builtin library (void) 289 Annex C (informative) EDD example 290 C.1 EDD example of a temperature transmitter 290 C.2 EDD example 291 Annex D (normative) Profiles of EDDL and Builtins 304 D.1 Conventions for profiles of EDDL and Builtins 304 D.2 Profiles for PROFI BU S and PROFINET 305 D EDDL profile 305 D 2 Builtin profile 31 D EDDL Formal Definition profile 31 D.3 Profiles for FOUNDATION ™ fieldbus 31 D EDDL profile 31 D Builtin profile 31 D 3 EDDL Formal Definition profile 31 D.4 Profiles for H ART® Communication Foundation (HCF) 31 D EDDL profile 31 D Builtin profile 326 D EDDL Formal Definition profile 326 D.5 Profiles for Communication Servers 326 D EDDL profile 326 D Builtin profile 333 D EDDL Formal Definition profile 333 D.6 Data types 333 D METHOD DEFI N I TION data types 333 D VARIABLE TYPE data types 334 Bibliography 340 Figure Figure Figure Figure Figure Figure Figure – Position of I EC 61 804 in relation to other standards and products – EDD generation process 25 – BLOCK_A 28 – CH ART 28 – COLLECTI ON 29 – COMMAND 29 – COMPON ENT 30 –8– I EC 61 804-3: 201  IEC 201 Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure – COMPON ENT_FOLDER 30 – COMPON ENT_REFERENCE 30 – COMPON ENT_RELATION 31 1 – EDIT_DI SPLAY 31 – FI LE 31 – GRAPH 32 – GRID 32 – I MAGE 32 – LI KE 33 – LI ST 33 – MENU 34 – RECORD 34 20 – REFERENCE_ARRAY 35 21 – REFRESH 35 22 – UN I T 36 23 – WRITE_AS_ON E 36 24 – SOURCE 36 25 – VALU E_ARRAY 37 26 – VARIABLE 37 27 – VARIABLE_LI ST 37 28 – WAVEFORM 38 29 – EDDL import mechanisms 89 30 – MENU activation 1 C – Example of an operator screen using EDD 290 Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table – Field attribute descriptions 23 – DD_REVI SION attribute 40 – DEVI CE_REVI SI ON attribute 40 – DEVI CE_TYPE attributes 41 – EDD_PROFI LE attribute 41 – EDD_VERSION attribute 41 – MANUFACTURER attributes 42 – MANUFACTURER_EXT attribute 42 – AXI S attributes 43 – MAX_VALUE, MIN _VALU E attributes 44 1 – SCALING attributes 44 – BLOCK_A attributes 46 – CH ARACTERI STIC attribute 47 – PARAMETER attributes 47 – AXI S_I TEMS attribute 47 – CH ART_ITEMS attribute 48 – COLLECTI ON_I TEMS attribute 48 – EDIT_DISPLAY_I TEMS attribute 48 – 682 Référence 1 Construction de base – Attribut C O M P O N E N T _R E L A T I O N I EC 61 804-3: 01 OU I — C O M P O N E N TS OU I — 36 L AB E L OU I — 36 H ELP OU I — 1 2 R E L A T I O N _T Y P E OU I — 1 AD D RE S S I N G OU I — 1 M A X I M U M _N U M B E R OU I — 1 M I N I M U M _N U M B E R OU I — 1 R E Q U I R E D _I N T E R F A C E N ON — 36 S U P P L I E D _I N T E R F A C E N ON — E D I T _D I S P L AY N ON — FI LE OU I — 36 M E M B E RS OU I — 36 H ELP OU I — 36 L AB E L OU I — 36 H AN D L I N G OU I — 36 21 I D E N TI TY OU I — S H AR E D OU I — 2 O N _ U P D A T E _A C T I O N S N ON — OU I — G RAP H 36 M E M B E RS OU I — C YC L E _T I M E OU I — 36 HEIGHT OU I — 36 H ELP OU I — 36 L AB E L OU I — 36 VAL I D I T Y OU I — 36 VI S I B I LI TY OU I — 36 WI D TH OU I — 2 X _A X I S OU I — OU I — 7 G RI D 7 VE C TO RS OU I — 36 H AN D L I N G OU I — 36 HEIGHT OU I — 36 H ELP OU I — 36 L AB E L OU I — 7 2 O RI E N TAT I O N OU I — 36 VAL I D I T Y OU I — 36 VI S I B I LI TY OU I — 36 WI D TH OU I — OU I — I M AG E I EC Contraintes Présence 1  P AT H OU I — 36 H ELP OU I — 36 L AB E L OU I — 201 I EC 61 80 4-3: 01 Référence  I EC 201 – 683 Construction de base – Attribut Contraintes Présence 2 LI N K OU I — 36 VAL I D I T Y OU I — 36 VI S I B I LI TY OU I — I M P O RT OU I — 20 I N TE R F AC E N ON — 21 L I KE OU I — 22 LI S T OU I — 22 T YP E OU I — 22 2 C AP AC I T Y OU I — 22 COU N T OU I — 36 H ELP OU I — 36 L AB E L OU I — 36 P RI VATE OU I — 36 VAL I D I T Y OU I — 36 VI S I B I LI TY OU I — OU I — 23 MENU 23 I TE M S OU I — 36 L AB E L OU I — 23 2 AC C E S S OU I — 23 2 E X I T _A C T I O N S OU I 36 H ELP OU I 23 I N I T _A C T I O N S OU I 23 P O S T _ E D I T _A C T I O N S OU I — 23 P O S T _ R E A D _A C T I O N S OU I — 23 P O S T _ W R I T E _A C T I O N S OU I — 23 P R E _E D I T _A C T I O N S OU I — 23 P R E _R E A D _AC T I O N S OU I — 23 P R E _W R I T E _A C T I O N S OU I — 23 1 S T YL E OU I — 36 VAL I D I T Y OU I — 36 VI S I B I LI TY OU I — OU I — 24 M E TH O D — 24 m e t h o d _p a r a m e t e r OU I — 36 D E F I N I TI O N OU I — 24 AC C E S S OU I — 24 2 C L AS S OU I — 36 L AB E L OU I — 36 H ELP OU I — 36 P RI VATE OU I — 24 T YP E OU I — 36 VAL I D I T Y OU I — 36 VI S I B I LI TY OU I — OU I — 42 PLU GI N – 684 Référence Construction de base – Attribut I EC 61 804-3: 01 L AB E L OU I — 36 H ELP OU I — 42 UUID OU I — 36 VAL I D I T Y OU I — 36 VI S I B I LI TY OU I — 26 RE C O RD N ON — 27 R E F E R E N C E _A R R A Y OU I — OU I U ni q uement i te m - typ e p ri s en les c h a rg e 27 E L E M E N TS OU I — 36 H ELP OU I — 36 L AB E L OU I — 36 P RI VATE OU I — 36 VAL I D I T Y OU I — 36 VI S I B I LI TY OU I — 28 RE F RE S H OU I — 28 UNIT OU I — 28 W R I T E _A S _ O N E OU I — 36 R E S P O N S E _C O D E S OU I — 30 S O U RC E OU I — 36 M E M B E RS OU I — 36 E M P H AS I S OU I — 30 E X I T _A C T I O N S OU I — 36 H ELP OU I — 30 2 I N I T _A C T I O N S OU I — 36 L AB E L OU I — 36 L I N E _C O L O R OU I — 36 1 L I N E _T YP E OU I — 30 R E F R E S H _A C T I O N S OU I — 36 VAL I D I T Y OU I — 36 VI S I B I LI TY OU I — 30 Y_A X I S OU I — OU I — T E M P L AT E 31 D E F A U L T _V A L U E S OU I — 36 H ELP OU I — 36 L AB E L OU I — 36 VAL I D I T Y OU I — OU I — 32 V A L U E _A R R AY 36 L AB E L OU I — 32 N U M B E R _ O F _E L E M E N T S OU I — 32 2 T YP E OU I — 36 H ELP OU I — 36 R E S P O N S E _C O D E S OU I — t yp e s p a r ce co m m u n i ca ti o n 31 I EC 201 Contraintes Présence 36  d ' é l é m e n ts p r o fi l de I EC 61 80 4-3: 01 Référence  I EC 201 – 685 Construction de base – Attribut Contraintes Présence 36 P RI VATE OU I — 36 VAL I D I T Y OU I — 36 VI S I B I LI TY OU I — 36 20 W R I T E _M O D E N ON — OU I — 33 VARI AB L E 33 C L AS S OU I — 36 L AB E L OU I — 33 2 T YP E OU I — 33 C O N S T A N T _U N I T OU I — 33 D E F AU L T _VAL U E OU I — 36 H AN D L I N G OU I — 36 HEIGHT OU I — 36 H ELP OU I — 33 I N I T I A L _V AL U E OU I — 33 P O S T _ E D I T _A C T I O N S OU I — 33 P O S T _ R E A D _A C T I O N S OU I — 33 P O S T _ R Q S T U P D A T E _A C N ON — N ON — TI O N S 33 P O S T _U S E R C H A N G E _A C TI O N S 33 P O S T _ W R I T E _A C T I O N S OU I — 33 P R E _E D I T _A C T I O N S OU I — 33 P R E _R E A D _AC T I O N S OU I — 33 1 P R E _W R I T E _A C T I O N S OU I — 36 P RI VATE OU I — 33 R E F R E S H _A C T I O N S OU I — 36 R E S P O N S E _C O D E S N ON — 36 VAL I D I T Y OU I — 36 VI S I B I LI TY OU I — 36 WI D TH OU I — 36 20 W R I T E _M O D E N ON — 33 V A R I A B L E _L I S T N ON — 35 WAVE F O R M OU I — 35 T YP E OU I — 36 E M P H AS I S OU I — 35 2 E X I T _A C T I O N S OU I — 36 H AN D L I N G OU I — 36 H ELP OU I — 35 I N I T _A C T I O N S OU I — 35 K E Y_P O I N T S OU I — 36 L AB E L OU I — 36 L I N E _C O L O R OU I — 36 1 L I N E _T YP E OU I — 35 R E F R E S H _A C T I O N S OU I — – 686 Référence Construction de base – I EC Attribut 61 804-3: 01 VAL I D I T Y OU I — 36 VI S I B I LI TY OU I — 35 Y_A X I S OU I — OU I — E x p re s s i o n s I EC 201 Contraintes Présence 36 36 21  co n d i ti o n n e l l e s 38 R é fé r e n c e m e n t OU I — 39 C h a ỵn e s OU I — 40 E x p re s s i o n s OU I — 41 D i c t i o n n a i re OU I — 33 2 2 D A T E _A N D _T I M E OU I — 33 2 B O O L E AN OU I de te xte Cod ag e: par l a NOTE D.5.2 Les Le te xte u ni q uement du te xte I SO B u i l ti n s o n t s p é c i fi é s L a ti n - d an s la n o rm e I EC 80 4-5 Titre Présence Contraintes A P ré p ro c e s s e u r E D D L OU I — A C o n ve n ti o n s OU I — A O p é t e u rs OU I — A M o ts OU I — A T e rm i n a u x OU I — A S yn ta xe OU I — D.6.1 Le re p ré s e n t é Profil de définition formelle d'EDDL Référence D.6 est Profil de Builtin p ro fi l s D.5.3 est TRU E va l e u r xF F cl é s EDDL fo r m e l l e Types de données Types de données de DEFINITION de METHOD Ta b l ea u D.8 s p é c i fi e l es typ e s de d on n ées de D E F I N I TI ON de M E TH O D I EC 61 80 4-3: 01  I EC 201 – 687 – Tableau D.8 – Types de données de DEFINITION de METHOD Types de données Valeur minimale ch a r - Valeur maximale 28 + Remarque 27 — c h a r[ s i z e ] - 28 p ou r ch aq u e c a c t è r e + 27 p o u r ch aq u e c a c t è re — c h a r[ ] - 28 p ou r ch a q u e c a c t è r e + 27 p o u r ch a q u e c a c t è re C h a ỵn e de c a c t è re s de l on g u eu r n on s p é c i fi é e s h o rt int / - l on g l ong - l on g - 223 32 47 372 768 483 036 + 648 854 + 775 ch a r u n si gn ed s h o rt u n si gn ed int u n si gn ed l on g / u n si g n ed l on g 372 + + + d ou bl e - 3, 402 , 797 823 693 t i m e _t Pas de 466 34 — 647 — — 854 775 807 255 65 294 — 535 967 — 295 — + - 483 036 fl o a t 767 + 223 l on g 47 808 u n si gn ed 32 × 862 38 31 446 + × + 744 3, 402 , 797 823 693 308 Pas de 709 466 34 v a l e u r s p é c i fi é e — 073 551 × 862 61 38 31 — × — 308 v a l e u r s p é c i fi é e Typ e de d on n ées opaq u e la d on t s t r u c t u re i n t e rn e est s p é c i fi é e par l ' a p p l i ca ti o n EDD D D _S T R I N G — — C h a ỵn e de c a c t è re s de l on g u eu r a r b i t r a i re D D _I T E M + 294 967 295 ID d'un él ément q u e l co n q u e d an s l 'EDD D.6.2 Types de données de TYPE de VARIABLE D.6.2.1 Généralités Le Ta b l e a u e n t re D.9 s p é c i fi e p a re n t h è s e s d es d é p a s s e m e n t n é g a ti f n e l es typ e s a t t ri b u t s peu t pas de T YP E se d on n ées de de T YP E V AR I A B L E p ro d u i re de V AR I AB L E g a n t i t qu'un La ta i l l e d é b o rd e m e n t s p é c i fi é e ou qu'un – 688 – I EC 61 804-3: 01  I EC 201 Tableau D.9 – Attributs TYPE de VARIABLE Attributs TYPE de VARIABLE Valeur minimale Valeur maximale Valeur initiale Vo i r D Vo i r D F AL S E B O O L E AN DOU BLE - , 797 693 34 F L O AT - 3, 402 823 I N TE G E R(1 ) - I N TE G E R(2 ) - I N TE G E R(3 ) - I N TE G E R(4 ) - I N TE G E R(5 ) - I N TE G E R(6 ) I N TE G E R(7 ) - - 40 36 028 I N TE G E R(8 ) × × 223 372 , 797 38 693 + 3, 402 483 797 + 648 81 888 355 01 + + 328 963 036 + 968 + + 854 775 40 36 028 223 × 0, × 38 0, 1 887 355 01 036 647 81 488 797 607 483 755 372 767 388 737 31 27 47 549 466 32 862 308 823 + 608 488 34 + + 768 755 737 466 388 47 549 31 28 32 862 308 327 963 854 1 967 775 807 808 U N S I G N E D _I N T E G E R ( ) + U N S I G N E D _I N T E G E R ( ) U N S I G N E D _I N T E G E R ( ) U N S I G N E D _I N T E G E R ( ) U N S I G N E D _I N T E G E R ( ) U N S I G N E D _I N T E G E R ( ) 281 U N S I G N E D _I N T E G E R ( ) U N S I G N E D _I N T E G E R ( ) + + + + 72 65 255 099 295 627 976 594 21 967 51 474 057 535 777 294 775 71 037 1 655 927 935 + 446 744 073 709 551 61 D AT E Vo i r D Vo i r D -J a n -1 900 D A T E _A N D _T I M E Vo i r D Vo i r D -J a n -1 900 00: 00: 00 D U RAT I O N Vo i r D Vo i r D j o u r, m i n u te , h e u re , TI M E Vo i r D Vo i r D 00: 00: 00 T I M E _V A L U E ( ) Vo i r D Vo i r D 00: 00: 00 T I M E _V A L U E ( ) Vo i r D Vo i r D -J a n -1 972 00: 00: 00 B I T _E N U M E R AT E D ( ) + B I T _E N U M E R AT E D ( ) B I T _E N U M E R AT E D ( ) B I T _E N U M E R AT E D ( ) B I T _E N U M E R AT E D ( ) B I T _E N U M E R AT E D ( ) 281 B I T _E N U M E R AT E D ( ) B I T _E N U M E R AT E D ( ) + + + + 099 775 71 037 295 627 976 594 21 967 51 474 057 535 777 294 0 655 927 935 + E N U M E RAT E D ( ) 72 65 255 446 744 + 0 073 709 255 551 61 Va l e u r d e la p r e m i è re é n u m é t i o n E N U M E RAT E D ( ) + 65 535 s e co n d e Va l e u r d e la p r e m i è re é n u m é t i o n I EC 61 80 4-3: 01  I EC 201 Attributs TYPE de VARIABLE – 689 – Valeur minimale E N U M E RAT E D ( ) Valeur maximale + 777 Valeur initiale 21 Va l e u r d e la p r e m i è re é n u m é t i o n E N U M E RAT E D ( ) + 294 967 295 Va l eu r d e la p r e m i è re é n u m é t i o n E N U M E RAT E D ( ) 099 51 627 775 Va l e u r d e la p r e m i è re é n u m é t i o n E N U M E RAT E D ( ) 281 474 976 71 655 Va l eu r d e la p r e m i è re é n u m é t i o n E N U M E RAT E D ( ) + 72 057 594 037 927 935 Va l eu r d e la p r e m i è re é n u m é t i o n E N U M E RAT E D ( ) + 446 744 Va l e u r d e 073 709 551 61 la p r e m i è re é n u m é t i o n I N D E X( ) + 255 P re m i e r é l é m e n t dans la m a t ri c e ré fé r e n c e I N D E X( ) + 65 535 P re m i e r é l é m e n t dans la m a t ri c e r é fé r e n c e I N D E X( ) + 777 21 la m a t ri c e r é fé r e n c e + 294 967 295 la m a t ri c e r é fé re n c e N a AS C I I ( s i z e ) N a + 255 de as s oci é e P re m i e r é l é m e n t d ans O B J E C T _R E F E R E N C E de as s oci é e P re m i e r é l é m e n t dans I N D E X( ) de as s oci é e de as s oci é e SELF p a r c a c t è r e Chaq u e c a c t è re c o r re s p o n d une e s p ace B I TS TRI N G (s i ze ) par bit Ch aq u e bi t c o n fi g u ré E U C(si ze) + 255 p a r c a c t è re Chaq u e est su r c a c t è re c o r re s p o n d une e s p ace O C TE T( s i ze ) + 255 p a r c a c t è re Chaq u e c a c t è re c o r re s p o n d une e s p ace P A C KE D _AS C I I ( s i z e ) Vo i r D Vo i r D Chaq u e c a c t è re c o r re s p o n d poi nt un d ' i n t e rr o g a t i o n (?) P AS S WO RD ( s i z e ) + 255 p a r c a c t è r e Chaq u e c a c t è re c o r re s p o n d une e s p ace VI S I B L E ( s i ze ) + 255 p a r c a c t è r e Ch aq u e c a c t è re c o rr e s p o n d une e s p ace Lég en d e: N a : N OTE Tabl eau n on La a p p l i ca b l e val e u r D et le i n i ti a l e peu t Ta bl ea u D 7) d é p e n d re du p ro fi l de co m m u n i ca ti o n (voi r le Tabl eau D 4, le Ta bl e a u D 5, le – 690 D.6.2.2 Codage de DATE Le D.1 Ta b l e a u s p é c i fi e le co d a g e de – I EC  61 804-3: 01 I EC 201 D AT E Tableau D.1 – Codage de DATE Octet Bit 0 6 0 Description 4 2 3 3 2 2 2 2 1 2 j ou r d u m oi s m oi s de an n ées de de 31 255 (an n ée en c o u rs m oi n s 900) D.6.2.3 Codage de DATE_AND_TIME Le D.1 Ta b l e a u s p é c i fi e le co d a g e de D AT E _AN D _T I M E Tableau D.1 – Codage de DATE_AND_TIME Octet Bit 2 7 2 R S 5 R 2 2 2 Description 4 4 1 2 2 3 3 2 2 2 2 2 1 1 2 2 59 999 59 23 h B i ts 0 Lu n d i , B i ts R 2 3 2 2 1 2 ms 0 m oi s de an n ées 8: j ou r d e = 5: la sem n e de (1 = D i m a n ch e ) j ou r d u de m oi s de 31 255 (an n ée en c o u rs m oi n s 900) N OTE p r o fi l le de s i g n i fi e R é s e rv é p o u r u ti l i s a ti o n fu t u re ; S D.6.2.4 Codage de DURATION Le D.1 Ta b l e a u s p é c i fi e le co d a g e = de indique l ' h e u re D U R AT I O N n o rm a l i s é e ; co d a g e de l 'année c o m m u n i c a ti o n Tabl ea u Ta b l e a u R Le D 5, le d épen d ( vo i r l e Ta b l e a u D et le D 7) S = indique l ' h e u re du Tab l e au d ' é té D 4, I EC 61 80 4-3: 01  I EC 201 – 691 – Tableau D.1 – Codage de DURATION Octet Bit 2 23 7 2 22 2 2 5 Le D.1 3 27 1 2 le Codage de TIME s p é c i fi e 2 D.6.2.5 Ta b l e a u 20 21 Description 3 co d a g e 1 26 de 2 2 25 2 2 9 d on n ées 2 24 N o m b re de ms d epu is N o m b re de j o u rs m i n u i t 2 2 8 TI M E Tableau D.1 – Codage de TIME Octet Bit 2 23 7 2 22 2 2 5 20 2 21 4 27 1 2 Description 3 Codage de TIME_VALUE Le D.1 s p é c i fi e le co d a g e de 2 D.6.2.6 Ta b l e a u 1 26 2 2 25 2 2 9 d on n ées 2 24 N o m b re de m i l l i s e d es N o m b re de j o u rs d epu i s m i n u i t 2 2 8 d epu i s / /1 T I M E _V AL U E q u a t re o c te ts Tableau D.1 – Codage de TIME_VALUE (quatre octets) Octet Bit 31 30 29 28 Description 27 26 2 25 24 D i ffé r e n c e d epu is 2 Le 23 Ta b l e a u 2 22 D.1 2 21 2 s p é c i fi e 20 2 le 2 1 2 co d a g e de 2 2 de minuit 2 de /3 ms T I M E _V AL U E h u i t o cte ts te m p s sou s ou h e u re fo rm e de de la j o u rn é e n o m b re p o s i ti f – 692 – I EC 61 804-3: 01  I EC 201 Tableau D.1 – Codage de TIME_VALUE (huit octets) Octet Bit 62 Description 61 60 59 2 58 57 56 Tem p s absol u sou s fo rm e de n o m b re p o s i ti f er de 2 55 39 31 23 D.6.2.7 par p e rm e t de 45 37 29 21 2 52 44 36 28 20 2 2 51 43 35 27 1 2 50 42 34 26 2 49 41 33 25 2 l es de t ro n c a t u re ms d epu i s le j a n vi e r 40 32 24 1 /3 48 le c h a ỵn e s d es b i ts de d es d é fi n i t i o n Ta b l e a u du bit n° du D.1 b i ts l es par le p ro t o c o l e P AC K E D _A S C I I pl u s s i g n i fi c a t i fs P AC K E D _AS C I I P AC K E D _A S C I I son t d an s d é fi n i e s son t est de v e rs et sou s-en sem bl e ch a q u e l ' e s p a ce en t n s m i s e s un de c a c t è re t ro i s m u l ti p l e s AS C I I c a c t è re s p a i rs de d epu i s d ' AS C I I t ro i s Cel a AS C I I o c te ts , AS C I I d é c o m p re s s i o n p l a ce m e n t d eu x c a c t è re s c a c t è re s c o m p re s s i o n passées P AC K E D _AS C I I d es q u a t re c a c t è re s d an s a l p h a n u m é ri q u e s fo rm a t é l i m i n a ti o n R e c o n s t ru c t i o n Le 22 p l a ce r C o n s t ru c t i o n • 30 au Typ i q u e m e n t, • • d on n ées g é n é ré • • 38 a p p a re i l s q u a t re 46 53 Codage du FORMAT DE DONNEES PACKED_ASCII (ASCII BITS) C e rt a i n e s l es 47 54 n° q u a t re P AC K E D _AS C I I : et ch a q u e c a c t è re s c a c t è re s d es de q u a t re co m p l é m e n t c a c t è re AS C I I de AS C I I ; b i ts d ans t ro i s o cte ts AS C I I : c a c t è re s du bi t n° AS C I I de de ch a q u e b i ts ; c a c t è re AS C I I de b i ts 6; bit n ° de p ré s e n t e ch a cu n le d es co d a g e c a c t è re s d es AS C I I c a c t è re s d é c o m p re s s é s P AC K E D _A S C I I z é ro d é c o m p re s s é I EC 61 80 4-3: 01  I EC 201 – 693 – Tab l eau D – C od ag e P AC KE D _AS C I I C a ctè re Cod e C a c tè re C a ctè re Cod e C a ctè re Code @ 00 P E s p ace 20 30 A 01 Q 1 ! 21 31 B 02 R " 22 32 C 03 S # 23 33 D 04 T $ 24 34 E 05 U % 25 35 F 06 V & 26 36 G 07 W ' 27 37 H 08 X ( 28 38 I 09 Y ) 29 39 J 0A Z A * 2A : 3A K 0B [ B + 2B ; 3B L 0C \ C , 2C < 3C M 0D ] D - 2D = 3D N 0E ^ E 2E > 3E O 0F _ F / 2F ? 3F D C od ag e d e B O OLE AN Une B O O L E AN de C od e va l e u r est un e n ti e r n on si gn é d 'un o c te t Le Ta b l e a u D.1 s p é c i fi e le co d a g e B O O L E AN Tab l eau D – C od ag e d e B OO LE AN Va l e u r Cod e F AL S E TRU E D e s cri p ti o n To u te a u t re val e u r Il co n vi e n t TRU E en de ne c o m p a re r a v e c "a != c o m p a re r a v e c A la F AL S E , pl ace, p a r e xe m p l e F AL S E " N OTE du pas co n d i ti o n p r o fi l Le de co d a g e de TRU E co m m u n i ca ti o n Ta b l e a u D 4, Ta b l e a u D le et Tabl ea u le D 5, Ta bl ea u dépend (vo i r l e le D.7) – 694 – I EC 61 804-3: 01  I EC 201 B i b l i o g p h i e Vocabulaire Electrotechnique International – Partie 351: Technologie de commande et de régulation I EC 60050-351 , I EC 61 31 -3, IEC 61 499-1 , IEC 61 784-1 , Automates programmables – Partie 3: Langages de programmation Blocs fonctionnels – Partie 1: Architecture Réseaux de communication industriels – Profils – Partie 1: Profils de bus de terrain Réseaux de communication industriels – Profils – Partie 2: Profils de bus de terrain supplémentaires pour les réseaux en temps réel basés sur l'ISO/IEC 8802-3 I EC 61 784-2 , Blocs fonctionnels (FB) pour les procédés industriels – Partie 2: Spécification du concept de FB IEC 61 804-2: 2006, Blocs fonctionnels (FB) pour les procédés industriels et le langage de description électronique de produit – Partie 4: Interprétation EDD I EC 61 80 4-4 I S O /I E C 2022, d'extension I SO 2382 , Technologies de l'information – Structure de code de caractères et techniques ( t o u te s les p a rt i e s ) , Technologies de l'information – Vocabulaire Systèmes d'automatisation industrielle et intégration – Cadres d'intégration d'application pour les systèmes ouverts – Partie 1: Description générale de référence I SO 574 5-1 , I S O /AF N O R , Dictionnaire de l'informatique – Le vocabulaire normalisé _ _ A p a r a ỵt re I N TE RN ATI O N AL E LE CTRO TE CH N I CAL CO M M I S S I O N 3, ru e d e Va re m bé P O B ox CH -1 1 G e n e va S wi tze rl a n d Te l : + 41 F a x: + 22 91 02 1 22 91 03 00 i n fo @i e c ch www i e c ch

Ngày đăng: 17/04/2023, 11:44

w