BS EN 61131-3-2013 Programmable controllers Programming languages《可编程控制器 程序设计语言》.pdf
《BS EN 61131-3-2013 Programmable controllers Programming languages《可编程控制器 程序设计语言》.pdf》由会员分享,可在线阅读,更多相关《BS EN 61131-3-2013 Programmable controllers Programming languages《可编程控制器 程序设计语言》.pdf(234页珍藏版)》请在麦多课文档分享上搜索。
1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationProgrammable controllersPart 3: Programming languagesBS EN 61131-3:2013National forewordThis British Standard is the UK implementation of EN 61131-3:2013. It isidentical to IEC 6
2、1131-3:2013. It supersedes BS EN 61131-3:2003, which will be withdrawn on 27 March 2016.The UK participation in its preparation was entrusted by Technical CommitteeGEL/65, Measurement and control, to Subcommittee GEL/65/2, Elements ofsystems.A list of organizations represented on this committee can
3、be obtained onrequest to its secretary.This publication does not purport to include all the necessary provisions of acontract. Users are responsible for its correct application. The British Standards Institution 2013. Published by BSI Standards Limited 2013 ISBN 978 0 580 76605 3 ICS 25.040.40; 35.0
4、60; 35.240.50Compliance with a British Standard cannot confer immunity from legal obligations.This British Standard was published under the authority of the Standards Policy and Strategy Committee on 31 May 2013.Amendments issued since publicationDate Text affectedBRITISH STANDARDBS EN 61131-3:2013E
5、UROPEAN STANDARD EN 61131-3 NORME EUROPENNE EUROPISCHE NORM May 2013 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Management Centre: Avenue Marnix 17, B - 1000 Brussels 2013 CENELEC -
6、All rights of exploitation in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 61131-3:2013 E ICS 25.040; 35.240.50 Supersedes EN 61131-3:2003 English version Programmable controllers - Part 3: Programming languages (IEC 61131-3:2013) Automates programmables - Partie 3:
7、Langages de programmation (CEI 61131-3:2013) Speicherprogrammierbare Steuerungen - Teil 3: Programmiersprachen (IEC 61131-3:2013) This European Standard was approved by CENELEC on 2013-03-27. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions
8、 for giving this European Standard the status of a national standard without any alteration. Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC Management Centre or to any CENELEC member. This European Standard exists
9、in three official versions (English, French, German). A version in any other language made by translation under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the same status as the official versions. CENELEC members are the nationa
10、l electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic, Denmark, Estonia, Finland, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portug
11、al, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. BS EN 61131-3:2013EN 61131-3:2013 - 2 - Foreword The text of document 65B/858/FDIS, future edition 3 of IEC 61131-3, prepared by IEC TC 65 “Industrial-process measurement, control and automation“ was submitte
12、d to the IEC-CENELEC parallel vote and approved by CENELEC as EN 61131-3:2013. The following dates are fixed: latest date by which the document has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2013-12-27 latest date by which the nationa
13、l standards conflicting with the document have to be withdrawn (dow) 2016-03-27 This document supersedes EN 61131-3:2003. EN 61131-3:2013 includes the following significant technical changes with respect to EN 61131-3:2003: EN 61131-3:2013 is a compatible extension of EN 61131-3:2003. The main exten
14、sions are new data types and conversion functions, references, name spaces and the object oriented features of classes abd function blocks. See Annex B. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. CENELEC and/or CEN shall not
15、be held responsible for identifying any or all such patent rights. Endorsement notice The text of the International Standard IEC 61131-3:2013 was approved by CENELEC as a European Standard without any modification. In the official version, for Bibliography, the following notes have to be added for t
16、he standards indicated: IEC 60848 NOTE Harmonised as EN 60848. IEC 61499 series NOTE Harmonised in EN 61499 series. BS EN 61131-3:2013- 3 - EN 61131-3:2013 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following documents,
17、in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. NOTE When an international publi
18、cation has been modified by common modifications, indicated by (mod), the relevant EN/HD applies. Publication Year Title EN/HD Year IEC 61131-1 - Programmable controllers - Part 1: General information EN 61131-1 - IEC 61131-5 - Programmable controllers - Part 5: Communications EN 61131-5 - ISO/IEC 1
19、0646 2012 Information technology - Universal Coded Character Set (UCS) - - ISO/IEC/IEEE 60559 - Information technology - Microprocessor Systems - Floating-Point arithmetic - - BS EN 61131-3:2013 2 61131-3 IEC:2013 CONTENTS 1 Scope . 9 2 Normative references . 9 3 Terms and definitions . 9 4 Architec
20、tural models . 18 4.1 Software model . 18 4.2 Communication model . 19 4.3 Programming model 20 5 Compliance 22 5.1 General . 22 5.2 Feature tables . 22 5.3 Implementers compliance statement . 22 6 Common elements 24 6.1 Use of printed characters 24 6.1.1 Character set . 24 6.1.2 Identifiers 24 6.1.
21、3 Keywords 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 26 6.3.3 Character string literals . 28 6.3.4 Duration literal . 29 6.3.5 Date and time of day literal 30 6.4 Da
22、ta 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 variable
23、s 51 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.6.5 Classes . 118
24、BS EN 61131-3:201361131-3 IEC:2013 3 6.6.6 Interface 137 6.6.7 Object oriented features for function blocks . 146 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 Actions 160 6.7.5 Rules of evolution 168 6.8 Con
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BSEN6113132013PROGRAMMABLECONTROLLERSPROGRAMMINGLANGUAGES 可编程控制器 程序设计语言 PDF

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