1、 IEC 61784-3-12 Edition 1.0 2010-06 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Profiles Part 3-12: Functional safety fieldbuses Additional specifications for CPF 12 Rseaux de communication industriels Profils Partie 3-12: Bus de terrain de scurit fonctionnelle Spci
2、fications supplmentaires pour CPF 12 IEC 61784-3-12:2010 colour inside THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2010 IEC, Geneva, Switzerland 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
3、 mechanical, including photocopying and microfilm, without permission in writing from either IEC or IECs 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 t
4、he address below or your local IEC member National Committee for further information. Droits de reproduction rservs. Sauf indication contraire, aucune partie de cette publication ne peut tre reproduite ni utilise sous quelque forme que ce soit et par aucun procd, lectronique ou mcanique, y compris l
5、a photocopie et les microfilms, sans laccord crit de la CEI ou du Comit national de la CEI du pays du demandeur. Si vous avez des questions sur le copyright de la CEI ou si vous dsirez obtenir des droits supplmentaires sur cette publication, utilisez les coordonnes ci-aprs ou contactez le Comit nati
6、onal de la CEI de votre pays de rsidence. IEC Central Office Tel.: +41 22 919 02 11 3, rue de Varemb Fax: +41 22 919 03 00 CH-1211 Geneva 20 infoiec.ch Switzerland www.iec.ch About the IEC The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publis
7、hes International Standards for all electrical, electronic and related technologies. About IEC publications 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. U
8、seful links: IEC publications search - www.iec.ch/searchpub The advanced search enables you to find IEC publications by a variety of criteria (reference number, text, technical committee,). It also gives information on projects, replaced and withdrawn publications. IEC Just Published - webstore.iec.
9、ch/justpublished Stay up to date on all new IEC publications. Just Published details all new publications released. Available on-line and also once a month by email. Electropedia - www.electropedia.org The worlds leading online dictionary of electronic and electrical terms containing more than 30 00
10、0 terms and definitions in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical Vocabulary (IEV) on-line. Customer Service Centre - webstore.iec.ch/csc If you wish to give us your feedback on this publication or need further assistance,
11、please contact the Customer Service Centre: csciec.ch. A propos de la CEI La Commission Electrotechnique Internationale (CEI) est la premire organisation mondiale qui labore et publie des Normes internationales pour tout ce qui a trait llectricit, llectronique et aux technologies apparentes. A propo
12、s des publications CEI Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possdez ldition la plus rcente, un corrigendum ou amendement peut avoir t publi. Liens utiles: Recherche de publications CEI - www.iec.ch/searchpub La recherche avance vous per
13、met de trouver des publications CEI en utilisant diffrents critres (numro de rfrence, texte, comit dtudes,). Elle donne aussi des informations sur les projets et les publications remplaces ou retires. Just Published CEI - webstore.iec.ch/justpublished Restez inform sur les nouvelles publications de
14、la CEI. Just Published dtaille les nouvelles publications parues. Disponible en ligne et aussi une fois par mois par email. Electropedia - www.electropedia.org Le premier dictionnaire en ligne au monde de termes lectroniques et lectriques. Il contient plus de 30 000 termes et dfinitions en anglais e
15、t en franais, ainsi que les termes quivalents dans les langues additionnelles. Egalement appel Vocabulaire Electrotechnique International (VEI) en ligne. Service Clients - webstore.iec.ch/csc Si vous dsirez nous donner des commentaires sur cette publication ou si vous avez des questions contactez-no
16、us: csciec.ch. IEC 61784-3-12 Edition 1.0 2010-06 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Profiles Part 3-12: Functional safety fieldbuses Additional specifications for CPF 12 Rseaux de communication industriels Profils Partie 3-12: Bus de terrain de scurit fonc
17、tionnelle Spcifications supplmentaires pour CPF 12 INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XD ICS 25.040.40, 35.100.05 PRICE CODE CODE PRIX ISBN 978-2-88912-944-7 Registered trademark of the International Electrotechnical Commission Marque dpose de la Com
18、mission Electrotechnique Internationale 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 agr. colour inside 2 61784-3-12 IEC:2010 CONTENTS FOREWORD . 6 0 Introduction 8 0.
19、1 General . 8 0.2 Patent declaration . 10 1 Scope . 11 2 Normative references . 11 3 Terms, definitions, symbols, abbreviated terms and conventions 12 3.1 Terms and definitions 12 3.1.1 Common terms and definitions 12 3.1.2 CPF 12: Additional terms and definitions . 17 3.2 Symbols and abbreviated te
20、rms. 17 3.2.1 Common symbols and abbreviated terms 17 3.2.2 CPF 12: Additional symbols and abbreviated terms . 18 3.3 Conventions 18 4 Overview of FSCP 12/1 (Safety-over-EtherCAT) . 18 5 General 20 5.1 External document providing specifications for the profile 20 5.2 Safety functional requirements 2
21、0 5.3 Safety measures . 21 5.4 Safety communication layer structure 21 5.5 Relationships with FAL (and DLL, PhL) . 22 5.5.1 General . 22 5.5.2 Data types . 22 6 Safety communication layer services 22 6.1 FSoE Connection 22 6.2 FSoE Cycle . 22 6.3 FSoE services . 23 7 Safety communication layer proto
22、col 24 7.1 Safety PDU format 24 7.1.1 Safety PDU structure . 24 7.1.2 Safety PDU command 25 7.1.3 Safety PDU CRC . 25 7.2 FSCP 12/1 communication procedure 29 7.2.1 Message cycle . 29 7.2.2 FSCP 12/1 node states 29 7.3 Reaction on communication errors 39 7.4 State table for FSoE Master 40 7.4.1 FSoE
23、 Master state machine . 40 7.4.2 Reset state 44 7.4.3 Session state . 45 7.4.4 Connection state . 48 7.4.5 Parameter state . 52 7.4.6 Data state 55 7.5 State table for FSoE Slave 58 7.5.1 FSoE Slave state machine . 58 7.5.2 Reset state 62 61784-3-12 IEC:2010 3 7.5.3 Session state . 64 7.5.4 Connecti
24、on state . 68 7.5.5 Parameter state . 73 7.5.6 Data state 78 8 Safety communication layer management . 81 8.1 FSCP 12/1 parameter handling 81 8.2 FSoE communication parameters 81 9 System requirements 82 9.1 Indicators and switches . 82 9.1.1 Indicator states and flash rates 82 9.1.2 Indicators 83 9
25、.2 Installation guidelines 84 9.3 Safety function response time . 84 9.3.1 General . 84 9.3.2 Determination of FSoE Watchdog time 85 9.3.3 Calculation of the worst case safety function response time 86 9.4 Duration of demands . 87 9.5 Constraints for calculation of system characteristics 87 9.5.1 Ge
26、neral . 87 9.5.2 Probabilistic considerations . 87 9.6 Maintenance 89 9.7 Safety manual . 89 10 Assessment 89 Annex A (informative) Additional information for functional safety communication profiles of CPF 12 90 A.1 Hash function calculation 90 A.2 . 94 Annex B (informative) Information for assessm
27、ent of the functional safety communication profiles of CPF 12 . 95 Bibliography 96 Table 1 State machine description elements 18 Table 2 Communication errors and detection measures . 21 Table 3 General Safety PDU 24 Table 4 Shortest Safety PDU . 25 Table 5 Safety PDU command . 25 Table 6 CRC_0 calcu
28、lation sequence . 26 Table 7 CRC_i calculation sequence (i0) . 26 Table 8 Example for CRC_0 inheritance 27 Table 9 Example for 4 octets of safety data with interchanging of octets 1-4 with 5-8 . 28 Table 10 Safety Master PDU for 4 octets of safety data with command = Reset after restart (reset conne
29、ction) or error . 31 Table 11 Safety Slave PDU for 4 octets of safety data with command = Reset for acknowledging a Reset command from the FSoE Master 31 Table 12 Safety Slave PDU for 4 octets of safety data with command = Reset after restart (reset connection) or error . 32 4 61784-3-12 IEC:2010 Ta
30、ble 13 Safety Master PDU for 4 octets of safety data with command = Session . 32 Table 14 Safety Slave PDU for 4 octets of safety data with command = Session . 33 Table 15 Safety data transferred in the connection state 33 Table 16 Safety Master PDU for 4 octets of safety data in Connection state 34
31、 Table 17 Safety Slave PDU for 4 octets of safety data in Connection state 34 Table 18 Safety data transferred in the parameter state . 35 Table 19 First Safety Master PDU for 4 octets of safety data in parameter state 35 Table 20 First Safety Slave PDU for 4 octets of safety data in parameter state
32、 36 Table 21 Second Safety Master PDU for 4 octets of safety data in parameter state . 36 Table 22 Second Safety Slave PDU for 4 octets of safety data in parameter state . 37 Table 23 Safety Master PDU for 4 octets of ProcessData in data state 37 Table 24 Safety Slave PDU for 4 octets of ProcessData
33、 in data state 38 Table 25 Safety Master PDU for 4 octets of fail-safe data in data state 38 Table 26 Safety Slave PDU for 4 octets of fail-safe data in data state 39 Table 27 FSoE communication error 39 Table 28 FSoE communication error codes 40 Table 29 States of the FSoE Master . 40 Table 30 Even
34、ts in the FSoE Master state table . 42 Table 31 Functions in the FSoE Master state table 42 Table 32 Variables in the FSoE Master state table . 43 Table 33 Macros in the FSoE Master state table 43 Table 34 States of the FSoE Slave 58 Table 35 Events in the FSoE Slave state table . 60 Table 36 Functi
35、ons in the FSoE Slave state table 60 Table 37 Variables in the FSoE Slave state table . 61 Table 38 Macros in the FSoE Slave state table 61 Table 39 FSoE Communication parameters . 82 Table 40 Indicator States . 82 Table 41 FSoE STATUS indicator states 83 Table 42 Definition of times . 85 Figure 1 R
36、elationships of IEC 61784-3 with other standards (machinery) . 8 Figure 2 Relationships of IEC 61784-3 with other standards (process) . 9 Figure 3 Basic FSCP 12/1 system 19 Figure 4 FSCP 12/1 software architecture 21 Figure 5 FSoE Cycle 23 Figure 6 FSCP 12/1 communication structure 23 Figure 7 Safet
37、y PDU for CPF 12 embedded in Type 12 PDU 24 Figure 8 FSCP 12/1 node states 30 Figure 9 State diagram for FSoE Master 41 Figure 10 State diagram for FSoE Slave 59 Figure 11 Indicator flash rates . 83 61784-3-12 IEC:2010 5 Figure 12 Components of a safety function 84 Figure 13 Calculation of the FSoE
38、Watchdog times for input and output connections . 85 Figure 14 Calculation of the worst case safety function response time . 86 Figure 15 Safety PDU embedded in standard PDU 88 Figure 16 Residual error rate for 8/16/24 bit safety data and up to 12 144 bit standard data 89 6 61784-3-12 IEC:2010 INTER
39、NATIONAL ELECTROTECHNICAL COMMISSION _ INDUSTRIAL COMMUNICATION NETWORKS PROFILES Part 3-12: Functional safety fieldbuses Additional specifications for CPF 12 FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national elect
40、rotechnical committees (IEC National Committees). The object of IEC is to promote international 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 Specific
41、ations, Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. Internation
42、al, governmental and non- governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with conditions determined by agreement between the two organizations. 2) The formal d
43、ecisions or agreements of IEC on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from all interested IEC National Committees. 3) IEC Publications have the form of recommendations for in
44、ternational use and are accepted by IEC National Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any misinterpretation by any end user. 4) In
45、 order to promote international uniformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possible in their national and regional publications. Any divergence between any IEC Publication and the corresponding national or regional publication shall be
46、 clearly indicated in the latter. 5) IEC itself does not provide any 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 certificat
47、ion 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,
48、property damage or other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC Publications. 8) Attention is drawn to the Normative references cited
49、 in this publication. Use of the referenced publications is indispensable for the correct application of this publication. International Standard IEC 61784-3-12 has been prepared by subcommittee 65C: Industrial networks, of IEC technical committee 65: Industrial process measurement, control and automation. This bilingual v