EN 61131-3-2003 en Programmable controllers Part 3 Programming languages (Remains Current)《可编程控制器 第3部分 编程语言 IEC 61131-3 2003》.pdf
《EN 61131-3-2003 en Programmable controllers Part 3 Programming languages (Remains Current)《可编程控制器 第3部分 编程语言 IEC 61131-3 2003》.pdf》由会员分享,可在线阅读,更多相关《EN 61131-3-2003 en Programmable controllers Part 3 Programming languages (Remains Current)《可编程控制器 第3部分 编程语言 IEC 61131-3 2003》.pdf(222页珍藏版)》请在麦多课文档分享上搜索。
1、BRITISH STANDARD BS EN 61131-3:2003 Programmable controllers Part 3: Programming languages The European Standard EN 61161-3:2003 has the status of a British Standard ICS 25.040; 35.240.50 BS EN 61131-3:2003 This British Standard was published under the authority of the Standards Policy and Strategy
2、Committee on 16 June 2003 BSI 16 June 2003 ISBN 0 580 42021 3 National foreword This British Standard is the official English language version of EN 61131-3:2003. It is identical with IEC 61131-3:2003. It supersedes BS EN 61131-3:1993 which is withdrawn. The UK participation in its preparation was e
3、ntrusted by Technical Committee GEL/65, Measurement and control, to Subcommittee GEL/65/2, Elements of systems, which has the responsibility to: A list of organizations represented on this subcommittee can be obtained on request to its secretary. Cross-references The British Standards which implemen
4、t international or European publications referred to in this document may be found in the BSI Catalogue under the section entitled “International Standards Correspondence Index”, or by using the “Search” facility of the BSI Electronic Catalogue or of British Standards Online. This publication does n
5、ot purport to include all the necessary provisions of a contract. Users are responsible for its correct application. Compliance with a British Standard does not of itself confer immunity from legal obligations. aid enquirers to understand the text; present to the responsible international/European c
6、ommittee any enquiries on the interpretation, or proposals for change, and keep the UK interests informed; monitor related international and European developments and promulgate them in the UK. Summary of pages This document comprises a front cover, an inside front cover, the EN title page, pages 2
7、to 219, an inside back cover and a back cover. The BSI copyright date displayed in this document indicates when the document was last issued. Amendments issued since publication Amd. No. Date CommentsEUROPEAN STANDARD EN 61131-3 NORME EUROPENNE EUROPISCHE NORM March 2003 CENELEC European Committee f
8、or Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Central Secretariat: rue de Stassart 35, B - 1050 Brussels 2003 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC member
9、s. Ref. No. EN 61131-3:2003 E ICS 25.040; 35.240.50 Supersedes EN 61131-3:1993English version Programmable controllers Part 3: Programming languages (IEC 61131-3:2003) Automates programmables Partie 3: Langages de programmation (CEI 61131-3:2003) Speicherprogrammierbare Steuerungen Teil 3: Programmi
10、ersprachen (IEC 61131-3:2003) This European Standard was approved by CENELEC on 2002-12-01. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration. Up-to-d
11、ate lists and bibliographical references concerning such national standards may be obtained on application to the Central Secretariat or to any CENELEC member. This European Standard exists in three official versions (English, French, German). A version in any other language made by translation unde
12、r the responsibility of a CENELEC member into its own language and notified to the Central Secretariat has the same status as the official versions. CENELEC members are the national electrotechnical committees of Austria, Belgium, Czech Republic, Denmark, Finland, France, Germany, Greece, Hungary, I
13、celand, Ireland, Italy, Luxembourg, Malta, Netherlands, Norway, Portugal, Slovakia, Spain, Sweden, Switzerland and United Kingdom. Foreword The text of document 65B/456/FDIS, future edition 2 of IEC 61131-3, prepared by SC 65B, Devices, of IEC TC 65, Industrial-process measurement and control, was s
14、ubmitted to the IEC-CENELEC parallel vote and was approved by CENELEC as EN 61131-3 on 2002-12-01. This European Standard supersedes EN 61131-3:1993. The following dates were fixed: latest date by which the EN has to be implemented at national level by publication of an identical national standard o
15、r by endorsement (dop) 2003-10-01 latest date by which the national standards conflicting with the EN have to be withdrawn (dow) 2005-12-01 Annexes designated “normative“ are part of the body of the standard. Annexes designated “informative“ are given for information only. In this standard, annexes
16、A, B, C, D, E and ZA are normative and annexes F and G are informative. Annex ZA has been added by CENELEC. _ Endorsement notice The text of the International Standard IEC 61131-3:2003 was approved by CENELEC as a European Standard without any modification. _ Page2 EN611313:2002CONTENTS 1 General9 1
17、.1 Scope.9 1.2 Normative references 9 1.3 Definitions9 1.4 Overview and general requirements .14 1.4.1 Software model.14 1.4.2 Communication model16 1.4.3 Programming model .18 1.5 Compliance19 1.5.1 System compliance 20 1.5.2 Program compliance.22 2 Common elements .22 2.1 Use of printed characters
18、 22 2.1.1 Character set 22 2.1.2 Identifiers 23 2.1.3 Keywords23 2.1.4 Use of white space 23 2.1.5 Comments 24 2.1.6 Pragmas .24 2.2 External representation of data .24 2.2.1 Numeric literals.24 2.2.2 Character string literals 25 2.2.3 Time literals 27 2.2.3.1 Duration .27 2.2.3.2 Time of day and da
19、te.28 2.3 Data types .28 2.3.1 Elementary data types29 2.3.2 Generic data types .30 2.3.3 Derived data types31 2.3.3.1 Declaration 31 2.3.3.2 Initialization32 2.3.3.3 Usage .34 2.4 Variables35 2.4.1 Representation .35 2.4.1.1 Single-element variables .35 2.4.1.2 Multi-element variables .37 2.4.2 Ini
20、tialization.37 2.4.3 Declaration .38 2.4.3.1 Type assignment .40 2.4.3.2 Initial value assignment .41 2.5 Program organization units .44 2.5.1 Functions 44 2.5.1.1 Representation 45 2.5.1.2 Execution control.48 2.5.1.3 Declaration 49 2.5.1.4 Typing, overloading, and type conversion.51 2.5.1.5 Standa
21、rd functions.54 2.5.1.5.1 Type conversion functions54 2.5.1.5.2 Numerical functions55 2.5.1.5.3 Bit string functions 58 2.5.1.5.4 Selection and comparison functions.58 2.5.1.5.5 Character string functions 61 2.5.1.5.6 Functions of time data types 63 2.5.1.5.7 Functions of enumerated data types65 Pag
22、e3 EN611313:20022.5.2 Function blocks.65 2.5.2.1 Representation 66 2.5.2.1a) Use of EN and ENO in function blocks 67 2.5.2.2 Declaration 68 2.5.2.3 Standard function blocks.76 2.5.2.3.1 Bistable elements .76 2.5.2.3.2 Edge detection77 2.5.2.3.3 Counters .77 2.5.2.3.4 Timers.80 2.5.2.3.5 Communicatio
23、n function blocks82 2.5.3 Programs 82 2.6 Sequential Function Chart (SFC) elements.83 2.6.1 General.83 2.6.2 Steps 83 2.6.3 Transitions 85 2.6.4 Actions88 2.6.4.1 Declaration 88 2.6.4.2 Association with steps .90 2.6.4.3 Action blocks .91 2.6.4.4 Action qualifiers .92 2.6.4.5 Action control.93 2.6.5
24、 Rules of evolution.98 2.6.6 Compatibility of SFC elements .106 2.6.7 SFC Compliance requirements 107 2.7 Configuration elements107 2.7.1 Configurations, resources, and access paths 109 2.7.2 Tasks 113 3 Textual languages 122 3.1 Common elements 122 3.2 Instruction list (IL) 122 3.2.1 Instructions .
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- EN6113132003ENPROGRAMMABLECONTROLLERSPART3PROGRAMMINGLANGUAGESREMAINSCURRENT 可编程控制器 部分 编程 语言 IEC6113132003PDF

链接地址:http://www.mydoc123.com/p-719533.html