在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → 最新标准IEC61131-3 2013.02

最新标准IEC61131-3 2013.02

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:3.41M
  • 下载次数:5
  • 浏览次数:176
  • 发布时间:2020-08-24
  • 实例类别:一般编程问题
  • 发 布 人:robot666
  • 文件格式:.pdf
  • 所需积分:2
 

实例介绍

【实例简介】
IEC61131-3最新版本,英文,还未翻译为中文
IEC Ec61131-3 ● Edition 3.0 2013-02 INTERNATIONAL STANDARD NORME INTERNATIONALE Programmable controllers Part 3: Programming languages Automates programmables Partie 3: Langages de programmation INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE PRICE CODE CODE PRIX XH CS25.040;35.240.50 SBN978-2-83220-6614 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 agree. B Registered trademark of the International Electrotechnical Commission Marque depose de la Commission Electrotechnicue Internationale 61131-3◎|EC:2013 CONTENTS FOREWORD pe 2 Normative references 3 Terms and definitions 4 Architectural models 4.1 Softw 7999889 4.2 Communication model 4.3 Programming model 5 Compliance 22 5.1 General .22 5.2 Feature tables .22 5.3 Implementer's compliance statement 22 6 Common elements 24 6.1 Use of printed characters 24 6.1.1 Character set 24 6.1.2 dentifiers .24 6.1.3 Keyword 24 6.1.4 Use of white space 25 6.1.5 Comments 25 6.2 Pragma .26 6.3 Literals- External representation of data 26 6.3.1 General 26 6.3.2 Numeric literals and string literals 1面 26 6.3.3 Character string literals 28 6.3. 4 Duration litera 29 6.3.5 Date and time of day literal 30 6.4 Data types .30 6.4.1 General 30 6.4.2 Elementary data types(BOOL, INT, REAL, STRING, etc. .30 6.4.3 Generic data types 33 6. 4. 4 User-defined data types 34 6.5 Variables 47 6.5.1 Declaration and initialization of variables 47 6.5.2 Variable sections 49 6.5.3 Variable length ARRAY variables 5 6.5. 4 Constant variables 53 6.5.5 Directly represented variables(%) 54 6.5.6 Retentive variables(RETAIN, NON RETAIN) .56 6.6 Program organization units(PoUs)…… 58 6.6.1 Common features for pous .58 6.6.2 Functions 70 6.6.3 Function blocks 99 6.6.4 Programs.… 117 6.65 Classes…… 118 61131-3◎|Ec:2013 6.6.6 Interface 国 .137 6.6. 7 Object oriented features for function blocks ,1446 6.6. 8 Polymorphism 152 6.7 Sequential Function Chart (SFC)elements.... 翻国 .155 6.7.1 General 155 6.7.2 Steps 155 6.7.3 Transitions 157 6.7. 4 Acti 160 6.7.5 Rules of evolution 168 6.8 Configuration elements 176 6.8.1 Geng 176 6.8.2 Tasks 180 6. 9 Namespace 186 6.9.1 General…… 186 6.9.2 Declaration 186 6.9.3 Usage 192 6. 9. 4 Namespace directive USING 192 7 Textual languages 195 7.1 Common elements 195 7.2 Instruction list (IL) 195 7.2.1 Genera 195 7.2.2 nstructions 195 7.2.3 Operators, modifiers and operands 196 7. 2. 4 Functions and function blocks 198 7.3 Structured Text (ST) 201 7.3.1 General 201 7.3.2 Expressions 201 7.3.3 Statements .203 8 Graphic languag 208 8.1 Common elements 208 8.1.1 General 208 8.1.2 Representation of variables and instances 209 8.1.3 Representation of lines and blocks 211 8. 1, 4 Direction of flow in networks 212 8. 1.5 Evaluation of network 213 8. 1. 6 Execution control elements 214 8.2 Ladder diagram(LD) 215 8.2.1 General 215 8.2.2 Power rails∴216 8.2.3 Link elements and states 216 8. 2. 4 Contacts 216 8.2.5 Coils 218 8. 2. 6 Functions and function blocks 219 8.2.7 Order of network evaluation 219 8.3 Function Block Diagram(FBD) 219 8. 3. 1 General 219 8.3.2 Com bination of elements 219 8.3.3 Order of network evaluation 220 Annex A(normative) Formal specification of the languages elements 221 4 61131-3◎|EC:2013 Annex B(informative) List of major changes and extensions of the third edition...... 228 Bibliography 229 Figure 1- Software mode 18 Figure 2-Communication model 20 Figure 3- Combination of programmable controller language elements 21 Figure 4-Implementer's compliance statement(Example) 23 Figure 5- Hierarchy of the generic data types 34 Figure 6- Initialization by literals and constant expressions(Rules) 35 Figure 7-Variable declaration keywords (Summary) 50 Figure 8-Usage of VAR GLOBAL, VAR EXTERNAL and CONSTANT(Rules) 5 Figure 9- Conditions for the initial value of a variable(Rules) ::::: 57 Figure 10- Formal and non-formal representation of call(EXamples) 63 Figure 11- Data type conversion rules- implicit and/or explicit(Summary) 67 Figure 12- Supported implicit type conversions 68 Figure 13- Usage of function block input and output parameters(Rules) 108 Figure 14- Usage of function block input and output parameters(Illustration of rules)..109 Figure 15- Standard timer function blocks-timing diagrams(Rules) 116 Figure 16- Overview of inheritance and interface implementation.. 119 Figure 17-Inheritance of classes (Illustration) 128 Figure 18- Interface with derived classes (Illustration) .138 Figure 19-Inheritance of interface and class(Illustration) .,143 Figure 20- Function block with optional body and methods(llustration) 149 Figure 21- Inheritance of function block body with SUPER ()(EXample) 15 Figure 22- ACTTON CONTROT function block -External interface ( Summary) .165 Figure 23- ACTTON CONTROT function block body(Summary) 166 Figure 24-Action control(Example) ,,, 168 Figure 25- SFC evolution(Rules) 174 Figure26- SFC errors( EXample)….....… 175 igure 27- Configuration(Example) 177 Figure 28- CONFIGURATION and resource declaration(EXample) 180 Figure 29- Accessibility using namespaces(Rules) 189 Figure 30- Common textual elements (Summary) 1国 195 Table 1-Character set .24 Table 2-Identifiers 24 Table 3-com ments 25 Table 4-Pragma 26 Table 5-Numeric literals 27 Table 6- Character string literals.. Table 7-Two-character combinations in character strings Table 8- Duration literals 29 ble 9- date and time of day literals 30 61131-3◎|Ec:2013 5 Table 10-Elementary data types Table 11-Declaration of user-defined data types and initialization 35 Table 12-Reference operations 46 Table 13- Declaration of variables 48 Table 1- Initialization of variables 49 Table 15-Variable-length ARRAY variables 52 Table 16- Directly represented variables 54 Table 17- partial access of any bit variables 60 Table 18-Execution control graphically using EN and ENO 65 Table 19-function declaration 72 Table 20- function call 74 Table 21 -typed and overloaded functions Table 22- Data type conversion function .78 Table 23- Data type conversion of numeric data types a:.::::..:".:日: 80 Table 24-Data type conversion of bit data types 82 Table 25- Data type conversion of bit and numeric types .83 Table 26- Data type conversion of date and time types 85 Table 27- Data type conversion of character types 86 Table 28- Numerical and arithmetic functions 87 Table 29- Arithmetic functions 88 Table 30-bit shift functions 89 Table 31- bitwise boolean functions 89 Table 32-selection functions 90 Table 33-Comparison functions 91 Table 34- Character string functions .92 Table 35-Numerical functions of time and duration data types 93 Table 36- Additional functions of time data types concat and sPlit 94 Table 37-function for endianess conversion 98 Table 38- Functions of enumerated data types 98 Table 39- validate functions 99 Table 40-Function block type declarati 100 Table 41- function block instance declaration 104 Table 42- function block call 105 Table 43- Standard bistable function blocks 112 Table 44- standard edge detection function blocks 113 Table 45- standard counter function blocks 113 Table 46- Standard timer function blocks 115 Table 47-Program declaration 117 Table 48-Class 120 Table 49- class instance declaration 122 Table 50- Textual call of methods- Formal and non-formal parameter list.. 125 Table 51-Interface .137 Table 52- Assignment attemp 146 -6 61131-3o|EC:2013 Table 53- object oriented function block 147 Table 54- SFC step 156 Table 55- sfc transition and transition condition 158 Table 56- sfc declaration of actions 160 Table 57- Step/action association 162 Table 58- Action block 163 Table 59- Action qualifiers 163 Table 60- action control features 168 Table 61- Sequence evolution- graphical 169 Table 62- Configuration and resource declaration 178 Table 63- task 182 Table 64-namespace 191 Table 65-Nested namespace declaration options 192 Table 66- Namespace directive USING 194 Table 67-Parenthesized expression for IL language ,197 Table 68-Instruction list operators 197 Table 69-Calls for IL language 199 Table 70- Standard function block operators for IL language 201 Table 71-Operators of the sT language. 202 Table 72-sT language statements 203 Table 73- Graphic execution control elements 215 Table 74- power rails and link elements .:a:: 216 Table 75- contacts 217 Table 76- coil 218 61131-3◎|Ec:2013 INTERNATIONAL ELECTROTECHNICAL COMMISSION PROGRAMMABLE CONTROLLERS Part 3: Programming languages FOREWORD 1)The International Electrotechnical Commission(IEC)is a worldwide organization for standardization comprising all national electrotechnical committees(IEC National Committees ) The object of lEc is to promote interna- tional co-operation on all questions concerning standardization in the electrical and electronic fields. to this end and in addition to other activities, IEC publishes International Standards, Technical Specifications, Tech nical Reports, Publicly Available Specifications(PAs)and Guides(hereafter referred to as IEC Publica tion ()"). Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. International, governmental and non-governmental organizations liaising with the lEc also participate in this preparation IEC collaborates closely with the Interna- tional Organization for Standardization (Iso) in accordance with conditions determined by agreement between the two organizations 2)The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an internation consensus of opinion on the relevant subjects since each technical committee has representation from all inter- ested EC National Committees 3)EC Publications have the form of recommendations for international use and are accepted by lEC National Com mittees in that sense. While all reasona ble efforts are made to ensure that the technical content of ec Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any misinter- pretation by any end user 4)In order to promote international uniformity, IEC National Committees undertake to apply lEc Publications transparently to the maximum extent possible in their national and regional publications. Any divergence be tween any IEC Publication and the corresponding national or regional publication shall be clearly indicated in the latter 5)EC itself does not provide attestation of conformity. Independent certification bodies provide conformity assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any services carried out by independent certification bodies 6) All users should ensure that they have the latest edition of this publication 7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and members of its technical committees and IEC National Committees for any personal injury, property damage or other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees )and ex penses arising out of the publication, use of, or reliance upon, this IEc Publication or any other IEC Publica 8)Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is dispensable for the correct application of this publication D)Attention is drawn to the possi bility that some of the elements of this IEC Publication may be the subject of patent rights. IEC shall not be held responsible for identifying any or all such patent rights International Standard IEc 61131-3 has been prepared by subcommittee 65B: Measurement and control devices, of iEc technical committee 65: Industrial-process measurement, control and automation This third edition of IEC 61131-3 cancels and replaces the second edition, published in 2003 This edition constitutes a technical revision This edition includes the following significant technical changes with respect to the previous edition This third edition is a compatible extension of the second edition. The main extensions are features of classes and function blocks. See Annex e name spaces and the object oriented new data types and conversion functions, references, 8 61131-3◎|EC:2013 The text of this standard is based on the following documents FDIS Report on voting 65B/858/FD|S 65B/863/RVD Full information on the voting for the approval of this standard can be found in the report on voting indicated in the above table This publication has been drafted in accordance with the iso/EC Directives, Part 2 A list of all the parts in the IEC 61131 series, published under the general title Programmable controllers can be found on the ec website The committee has decided that the contents of this publication will remain unchanged until thestabilitydateindicatedontheleCwebsiteunderhttp://webstore.iecchinthedatare- lated to the specific publication. At this date, the publication will be reconfirmed withdrawn replaced by a revised edition,or amended 【实例截图】
【核心代码】

标签:

实例下载地址

最新标准IEC61131-3 2013.02

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警