1、NEMA Standards PublicationNational Electrical Manufacturers AssociationNEMA IA 2.5-2005Programmable Controllers Part 5: CommunicationsNEMA Standards Publication IA 2.5-2005 (Adoption of IEC Publication 61131-5) Programmable Controllers Part 5: Communications Published by: National Electrical Manufac
2、turers Association 1300 North 17th Street, Suite 1752 Rosslyn, Virginia 22209 www.nema.org Copyright 2005 by the National Electrical Manufacturers Association. All rights including translation into other languages, reserved under the Universal Copyright Convention, the Berne Convention for the Prote
3、ction of Literary and Artistic Works, and the International and Pan American Copyright Conventions. NOTICE AND DISCLAIMER The information in this publication was considered technically sound by the consensus of persons engaged in the development and approval of the document at the time it was develo
4、ped. Consensus does not necessarily mean that there is unanimous agreement among every person participating in the development of this document. The National Electrical Manufacturers Association (NEMA) standards and guideline publications, of which the document contained herein is one, are developed
5、 through a voluntary consensus standards development process. This process brings together volunteers and/or seeks out the views of persons who have an interest in the topic covered by this publication. While NEMA administers the process and establishes rules to promote fairness in the development o
6、f consensus, it does not write the document and it does not independently test, evaluate, or verify the accuracy or completeness of any information or the soundness of any judgments contained in its standards and guideline publications. NEMA disclaims liability for any personal injury, property, or
7、other damages of any nature whatsoever, whether special, indirect, consequential, or compensatory, directly or indirectly resulting from the publication, use of, application, or reliance on this document. NEMA disclaims and makes no guaranty or warranty, express or implied, as to the accuracy or com
8、pleteness of any information published herein, and disclaims and makes no warranty that the information in this document will fulfill any of your particular purposes or needs. NEMA does not undertake to guarantee the performance of any individual manufacturer or sellers products or services by virtu
9、e of this standard or guide. In publishing and making this document available, NEMA is not undertaking to render professional or other services for or on behalf of any person or entity, nor is NEMA undertaking to perform any duty owed by any person or entity to someone else. Anyone using this docume
10、nt should rely on his or her own independent judgment or, as appropriate, seek the advice of a competent professional in determining the exercise of reasonable care in any given circumstances. Information and other standards on the topic covered by this publication may be available from other source
11、s, which the user may wish to consult for additional views or information not covered by this publication. NEMA has no power, nor does it undertake to police or enforce compliance with the contents of this document. NEMA does not certify, test, or inspect products, designs, or installations for safe
12、ty or health purposes. Any certification or other statement of compliance with any health or safetyrelated information in this document shall not be attributable to NEMA and is solely the responsibility of the certifier or maker of the statement. NEMA IA 2.5-2005 Page i Copyright 2005 by the Nationa
13、l Electrical Manufacturers Association. CONTENTS Page Foreword ii Referenced Standards . iv Amendments. v IEC 61131-5 . 1 NEMA IA 2.5-2005 Page ii Copyright 2005 by the National Electrical Manufacturers Association. Foreword This Standards Publication is a NEMA Adoptive Standard based on Part 5 of I
14、EC 61131, Programmable Controllers. This Standards Publication was prepared by a technical committee of the NEMA Automation Products and Systems Section. It was approved in accordance with the bylaws of NEMA and supersedes NEMA Standards Publication ICS 3-1988, Part 3-304. This Standards Publication
15、 provides practical information concerning ratings, construction, test, performance, and manufacture of industrial control equipment. These standards are used by the electrical industry to provide guidelines for the manufacture and proper application of reliable products and equipment and to promote
16、 the benefits of repetitive manufacturing and widespread product availability. NEMA Standards represent the result of many years of research, investigation, and experience by the members of NEMA, its predecessors, its Sections and Committees. They have been developed through continuing consultation
17、among manufacturers, users, and national engineering societies and have resulted in improved serviceability of electrical products with economies to manufacturers and users. One of the primary purposes of this Standards Publication is to encourage the production of reliable control equipment which,
18、in itself, functions in accordance with these accepted standards. Some portions of these standards, such as electrical spacings and interrupting ratings, have a direct bearing on safety; almost all of the items in this publication, when applied properly, contribute to safety in one way or another. P
19、roperly constructed industrial control equipment is, however, only one factor in minimizing the hazards which may be associated with the use of electricity. The reduction of hazard involves the joint efforts of the various equipment manufacturers, the system designer, the installer, and the user. In
20、formation is provided herein to assist users and others in the proper selection of control equipment. The industrial control manufacturer has limited or no control over the following factors which are vital to safe installation: null environmental conditions null system design null equipment selecti
21、on and application null installation null operating practices null maintenance This publication is not intended to instruct the user of control equipment with regard to these factors except insofar as suitable equipment to meet needs can be recognized in this publication and some application guidanc
22、e is given. This Standards Publication is necessarily confined to defining the construction requirements for industrial control equipment and to providing recommendations for proper selection for use under normal or certain specific conditions. Since any piece of industrial control equipment can be
23、installed, operated, and maintained in such a manner that hazardous conditions may result, conformance with this publication does not by itself assure a safe installation. When, however, equipment conforming with these standards is properly selected and is installed in accordance with the National E
24、lectrical Code and properly maintained, the hazards to persons and property will be reduced. NEMA IA 2.5-2005 Page iii Copyright 2005 by the National Electrical Manufacturers Association. To continue to serve the best interests of users, NEMA is actively cooperating with other standardization organi
25、zations in the development of simple and more universal metrology practices. In this Standards Publication, the U.S. customary units are gradually being supplemented by those of the modernized metric system known as the International Systems of Units (SI). This transition involves no changes in stan
26、dard dimensions, tolerances, or performance specifications. NEMA Standards Publications are subject to periodic review. They are revised frequently to reflect user input and to meet changing conditions and technical progress. Users should secure the latest editions. Inquiries, comments, and proposed
27、 or recommended revisions should be submitted to the concerned NEMA product subdivision by contacting the: Vice President, Technical Services National Electrical Manufacturers Association 1300 North 17th Street Rosslyn, Virginia 22209 NEMA IA 2.5-2005 Page iv Copyright 2005 by the National Electrica
28、l Manufacturers Association. Referenced Standards The following standards contain provisions which, through reference in this text, constitute provisions of this NEMA Standards Publication. At the time of publication, the editions indicated were valid. All standards are subject to revision, and part
29、ies to agreements based on this Standard are encouraged to investigate the possibility of applying the most recent editions of the standards indicated below. International Electrotechnical Commission 1, rue de Varemb Geneva, Switzerland IEC 61131-5 Programmable ControllersPart 5: Communications NEMA
30、 IA 2.5-2005 Page v Copyright 2005 by the National Electrical Manufacturers Association. Amendments IEC 61131-5, Programmable ControllersPart 5: Communications, is adopted in its entirety. NEMA Adoptive Standard Where a conflict exists between the provisions of IA 2.5 and other NEMA Standards Public
31、ations, the provisions of IA 2.5 shall govern in the area of programmable controllers and their associated peripherals. NEMA Standard NEMA IA 2.5-2005 Page vi Copyright 2005 by the National Electrical Manufacturers Association. INTERNATIONAL STANDARD I EC 61 131 -5 First edition 2000-1 1 Programmabl
32、e controllers - Part 5: Communications Automates programmables - Partie 5: Communications Reference number IEC 61 131-5:2000(E) Publication numbering As from 1 January 1997 all IEC publications are issued with a designation in the 60000 series. For example, IEC 34-1 is now referred to as IEC 60034-1
33、. Consolidated editions The IEC is now publishing consolidated versions of its publications. For example, edition numbers 1 .O, 1.1 and 1.2 refer, respectively, to the base publication, the base publication incorporating amendment 1 and the base publication incorporating amendments 1 and 2. Further
34、information on IEC publications The technical content of IEC publications is kept under constant review by the IEC, thus ensuring that the content reflects current technology. Information relating to this publication, including its validity, is available in the IEC Catalogue of publications (see bel
35、ow) in addition to new editions, amendments and corrigenda. Information on the subjects under consideration and work in progress undertaken by the technical committee which has prepared this publication, as well as the list of publications issued, is also available from the following: IEC Web Site (
36、www.iec.ch) Catalogue of IEC publications The on-line catalogue on the IEC web site (www.iec.chicatlq-e.htm) enables you to search by a variety of criteria including text searches, technical committees and date of publication. On-line information is also available on recently issued publications, wi
37、thdrawn and replaced publications, as well as corrigenda. IEC Just Published This summary of recently issued publications (www.iec.ch:JP.htrn) is also available by email. Please contact the Customer Service Centre (see below) for further information. Customer Service Centre If you have any questions
38、 regarding this publication or need further assistance, please contact the Customer Service Centre: Email: custserviec.ch Tel: +41 22 919 02 11 Fax: +41 22 919 03 O0 INTERNATIONAL STANDARD IEC 61131-5 First edition 2000-1 1 Programmable controllers - Part 5: Communications Automates programmables -
39、Partie 5: Communications O IEC 2000 - Copyright - all rights reserved mechanical, including photocopying and microfilm, without permission in writing from the publisher. No part of this publication may be reproduced or utilized in any form or by any means, electronic or International Electrotechnica
40、l Commission 3, rue de Varemb Geneva, Switzerland Telefax: +41 22 91 9 0300 e-mail: inmail9iec.ch IEC web site http:/www.iec.ch Commission Electrotechnique Internationale International Electrotechnical Commission PRICE CODE Memawapoman HTPOTXMWCHR HOMHCCHR a X For price. see current cata/ogue STD-IE
41、C bll13l-5-ENGL 2000 4844871 O746664 bob -2- CONTENTS 61 131 -5 O IEC:2000(E) Page FOREWORD 6 Clause 1 Scope 8 2 Normative references . 8 3 Definitions 9 4 Symbols and abbreviations . 11 5 Models . 11 5.1 PC network communication model . 11 5.2 PC functional model 12 5.3 PC hardware model . 14 5.4 S
42、oftware model . 14 6 PC communication services 15 6.1 PC subsystems and their status 15 6.2 Application specific functions . 22 7 PC communication function blocks . 28 7.1 Overview of the communication function blocks . 28 7.2 Semantic of communication FB parameters . 29 7.3 Device verification . 34
43、 7.4 Polled data acquisition 38 7.5 Programmed data acquisition 41 7.6 Parametric control . 51 7.7 Interlocked control 54 7.8 Programmed alarm report . 61 7.10 Example for the use of communication function blocks 73 7.9 Connection management . 69 8 Compliance and implementer specific features and pa
44、rameters 76 8.1 Compliance . 76 8.2 Implementation specific features and parameters 77 Annex A (normative) Mapping to ISOAEC 9506-5 78 Annex B (normative) PC behavior using ISO/IEC 9506-2 . 98 Figure 1 . Scope of this part of IEC 61 131 8 Figure 2 - PC communication model . 12 Figure 3 - Programmabl
45、e controller functional model 13 Figure 4 - Programmable controller hardware model . 14 Figure 5 - PC software model . 15 Figure 6 - Programmable controller power supply . 19 Figure 7 - Type description of status information 21 Figure 8 - Interlocked control timeline . 24 Figure 9 - Function REMOTE-
46、VAR 31 STD.IEC bLL3L-5-ENGL 2000 m 484Y89L 07Ybbb5 542 61 131 -5 O IEC:2000(E) -3- Figure 10 . Principle of status signalling . 32 Figure 11 . Timing diagram of the ERROR and STATUS outputs 32 Figure 12 . STATUS function block 34 Figure 13 . USTATUS function block 35 Figure 14 . Timing diagram of th
47、e STATUS function block 35 Figure 15 . State diagram of STATUS function block 36 Figure 16 . State diagram of USTATUS function block 37 Figure 18 - Timing diagram of READ function block 39 Figure 19 - State diagram of READ function block 40 Figure 20 - Programmed data acquisition data flow 41 Figure
48、 17 . READ function block 39 Figure 21 - USEND function block 42 Figure 22 - URCV function block 42 Figure 23 - Timing diagram of USEND and URCV function blocks 43 Figure 24 - State diagram of USEND function block 43 Figure 25 - State diagram of URCV function block 45 Figure 26 - BSEND function bloc
49、k 47 Figure 27 - BRCV function block 48 Figure 28 - Timing diagram of BSEND and BRCV function blocks . 48 Figure 29 - State diagram of BSEND function block 49 Figure 30 - State diagram of BRCV function block 50 Figure 31 - WRITE function block . 52 Figure 32 - Timing diagram of WRITE function block 53 Figure 33 - State diagram of WRITE function block 53 Figure 34 - SEND function block 55 Figure 35 - RCV function block . 56 Figure 36 - Timing diagram of SEND and RCV function blocks . 57 Figure 37 - State diagram of SEND function block 58 Figure 38 - State diagra