1、 IEC 61784-3-3 Edition 3.0 2016-07 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Profiles Part 3-3: Functional safety fieldbuses Additional specifications for CPF 3 Rseaux de communication industriels Profils Partie 3-3: Bus de terrain de scurit fonctionnelle Spcifica
2、tions supplmentaires pour CPF 3 IEC 61784-3-3:2016-07(en-fr) colour inside THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2016 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, electroni
3、c or 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 conta
4、ct the 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 compr
5、is la photocopie et les microfilms, sans laccord crit de lIEC ou du Comit national de lIEC du pays du demandeur. Si vous avez des questions sur le copyright de lIEC ou si vous dsirez obtenir des droits supplmentaires sur cette publication, utilisez les coordonnes ci-aprs ou contactez le Comit nation
6、al de lIEC 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 publishes
7、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. IEC C
8、atalogue - webstore.iec.ch/catalogue The stand-alone application for consulting the entire bibliographical information on IEC International Standards, Technical Specifications, Technical Reports and other documents. Available for PC, Mac OS, Android Tablets and iPad. IEC publications search - www.ie
9、c.ch/searchpub The advanced search enables 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.ch/justpublished Stay up to date on all new IEC p
10、ublications. Just Published details all new publications released. Available online and also once a month by email. Electropedia - www.electropedia.org The worlds leading online dictionary of electronic and electrical terms containing 20 000 terms and definitions in English and French, with equivale
11、nt terms in 15 additional languages. Also known as the International Electrotechnical Vocabulary (IEV) online. IEC Glossary - std.iec.ch/glossary 65 000 electrotechnical terminology entries in English and French extracted from the Terms and Definitions clause of IEC publications issued since 2002. S
12、ome entries have been collected from earlier publications of IEC TC 37, 77, 86 and CISPR. IEC Customer Service Centre - webstore.iec.ch/csc If you wish to give us your feedback on this publication or need further assistance, please contact the Customer Service Centre: csciec.ch. A propos de lIEC La
13、Commission Electrotechnique Internationale (IEC) 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 propos des publications IEC Le contenu technique des publications IEC est constamm
14、ent revu. Veuillez vous assurer que vous possdez ldition la plus rcente, un corrigendum ou amendement peut avoir t publi. Catalogue IEC - webstore.iec.ch/catalogue Application autonome pour consulter tous les renseignements bibliographiques sur les Normes internationales, Spcifications techniques, R
15、apports techniques et autres documents de lIEC. Disponible pour PC, Mac OS, tablettes Android et iPad. Recherche de publications IEC - www.iec.ch/searchpub La recherche avance permet de trouver des publications IEC en utilisant diffrents critres (numro de rfrence, texte, comit dtudes,). Elle donne a
16、ussi des informations sur les projets et les publications remplaces ou retires. IEC Just Published - webstore.iec.ch/justpublished Restez inform sur les nouvelles publications IEC. Just Published dtaille les nouvelles publications parues. Disponible en ligne et aussi une fois par mois par email. Ele
17、ctropedia - www.electropedia.org Le premier dictionnaire en ligne de termes lectroniques et lectriques. Il contient 20 000 termes et dfinitions en anglais et en franais, ainsi que les termes quivalents dans 15 langues additionnelles. Egalement appel Vocabulaire Electrotechnique International (IEV) e
18、n ligne. Glossaire IEC - std.iec.ch/glossary 65 000 entres terminologiques lectrotechniques, en anglais et en franais, extraites des articles Termes et Dfinitions des publications IEC parues depuis 2002. Plus certaines entres antrieures extraites des publications des CE 37, 77, 86 et CISPR de lIEC.
19、Service Clients - webstore.iec.ch/csc Si vous dsirez nous donner des commentaires sur cette publication ou si vous avez des questions contactez-nous: csciec.ch. IEC 61784-3-3 Edition 3.0 2016-07 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks Profiles Part 3-3: Function
20、al safety fieldbuses Additional specifications for CPF 3 Rseaux de communication industriels Profils Partie 3-3: Bus de terrain de scurit fonctionnelle Spcifications supplmentaires pour CPF 3 INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE ICS 25.040.40, 35.100.0
21、5 ISBN 978-2-8322-3481-5 Registered trademark of the International Electrotechnical Commission Marque dpose de la Commission Electrotechnique Internationale Warning! Make sure that you obtained this publication from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cet
22、te publication via un distributeur agr. colour inside 2 IEC 61784-3-3:2016 IEC 2016 CONTENTS FOREWORD . 8 0 Introduction . 10 0.1 General . 10 0.2 Patent declaration . 12 1 Scope 14 2 Normative references. 14 3 Terms, definitions, symbols, abbreviated terms and conventions. 16 3.1 Terms and definiti
23、ons 16 3.1.1 Common terms and definitions . 16 3.1.2 CPF 3: Additional terms and definitions 22 3.2 Symbols and abbreviated terms . 26 3.2.1 Common symbols and abbreviated terms 26 3.2.2 CPF 3: Additional symbols and abbreviated terms . 27 3.3 Conventions 28 4 Overview of FSCP 3/1 (PROFIsafe) 28 5 G
24、eneral . 31 5.1 External documents providing specifications for the profile . 31 5.2 Safety functional requirements 31 5.3 Safety measures . 31 5.4 Safety communication layer structure 32 5.4.1 Principle of FSCP 3/1 safety communications . 32 5.4.2 CPF 3 communication structures 33 5.5 Relationships
25、 with FAL (and DLL, PhL) 36 5.5.1 Device model . 36 5.5.2 Application and communication relationships 37 5.5.3 Data types . 37 6 Safety communication layer services 38 6.1 F-Host services . 38 6.2 F-Device services 41 6.3 Diagnosis 43 6.3.1 Safety alarm generation . 43 6.3.2 F-Device safety layer di
26、agnosis including the iPar-Server . 43 7 Safety communication layer protocol 44 7.1 Safety PDU format 44 7.1.1 Safety PDU structure . 44 7.1.2 Safety IO data 45 7.1.3 Status and Control Byte . 45 7.1.4 (Virtual) MonitoringNumber 47 7.1.5 (Virtual) MNR mechanism (F_CRC_Seed=0) . 48 7.1.6 (Virtual) MN
27、R mechanism (F_CRC_Seed=1) . 48 7.1.7 CRC2 Signature (F_CRC_Seed=0) . 50 7.1.8 CRC2 Signature (F_CRC_Seed=1) . 51 7.1.9 Non-safety IO data . 52 7.2 FSCP 3/1 behavior 52 7.2.1 General . 52 IEC 61784-3-3:2016 IEC 2016 3 7.2.2 F-Host state diagram 53 7.2.3 F-Device state diagram 56 7.2.4 Sequence diagr
28、ams . 60 7.2.5 Timing diagram for a MonitoringNumber reset . 66 7.2.6 Monitoring of safety times 66 7.3 Reaction in the event of a malfunction . 69 7.3.1 Unintended repetition . 69 7.3.2 Loss 70 7.3.3 Insertion 70 7.3.4 Incorrect sequence 70 7.3.5 Corruption of safety data 70 7.3.6 Unacceptable dela
29、y 70 7.3.7 Masquerade . 70 7.3.8 Addressing. 71 7.3.9 Memory failures within switches . 71 7.3.10 Loop-back 72 7.3.11 Network boundaries and router . 72 7.4 F-Startup and parameter change at runtime . 73 7.4.1 Standard startup procedure 73 7.4.2 iParameter assignment deblocking . 73 8 Safety communi
30、cation layer management . 73 8.1 F-Parameter 73 8.1.1 Summary . 73 8.1.2 F_Source/Destination_Address (Codename) . 74 8.1.3 F_WD_Time (F-Watchdog time) 74 8.1.4 F_WD_Time_2 (secondary F-Watchdog time) . 75 8.1.5 F_Prm_Flag1 (Parameters for the safety layer management) 75 8.1.6 F_Prm_Flag2 (Parameter
31、s for the safety layer management) 77 8.1.7 F_iPar_CRC (value of iPar_CRC across iParameters) . 78 8.1.8 F_Par_CRC calculation (across F-Parameters) . 79 8.1.9 Structure of the F-Parameter record data object 79 8.2 iParameter and iPar_CRC . 79 8.3 Safety parameterization. 80 8.3.1 Objectives 80 8.3.
32、2 GSDL and GSDML safety extensions 81 8.3.3 Securing safety parameters and GSD data . 83 8.4 Safety configuration 87 8.4.1 Securing the safety IO data description (CRC7) 87 8.4.2 DataItem data type section examples . 88 8.5 Data type information usage 92 8.5.1 F-Channel driver 92 8.5.2 Rules for sta
33、ndard F-Channel drivers . 93 8.5.3 Recommendations for F-Channel drivers 94 8.6 Safety parameter assignment mechanisms 95 8.6.1 F-Parameter assignment 95 8.6.2 General iParameter assignment . 95 8.6.3 System integration requirements for iParameterization tools . 96 8.6.4 iPar-Server 98 9 System requ
34、irements . 107 4 IEC 61784-3-3:2016 IEC 2016 9.1 Indicators and switches . 107 9.2 Installation guidelines 107 9.3 Safety function response time 107 9.3.1 Model 107 9.3.2 Calculation and optimization . 109 9.3.3 Adjustment of watchdog times for FSCP 3/1 . 111 9.3.4 Engineering tool support 112 9.3.5
35、 Retries (repetition of messages) . 112 9.4 Duration of demands . 113 9.5 Constraints for the calculation of system characteristics . 114 9.5.1 Probabilistic considerations 114 9.5.2 Safety related assumptions 116 9.5.3 Non safety related constraints (availability) . 117 9.6 Maintenance . 117 9.6.1
36、F-Module commissioning / replacement 117 9.6.2 Identification and maintenance functions 117 9.7 Safety manual . 117 9.8 Wireless transmission channels . 119 9.8.1 Black channel approach . 119 9.8.2 Availability . 119 9.8.3 Security measures . 119 9.8.4 Stationary and mobile applications . 122 9.9 Co
37、nformance classes 122 10 Assessment . 124 10.1 Safety policy . 124 10.2 Obligations 124 Annex A (informative) Additional information for functional safety communication profiles of CPF 3 . 126 A.1 Hash function calculation . 126 A.2 Example values for MonitoringNumbers (MNR) 129 A.3 Response time me
38、asurements . 130 Annex B (informative) Information for assessment of the functional safety communication profiles of CPF 3 . 133 Bibliography . 134 Figure 1 Relationships of IEC 61784-3 with other standards (machinery) . 10 Figure 2 Relationships of IEC 61784-3 with other standards (process) 11 Figu
39、re 3 Basic communication preconditions for FSCP 3/1 29 Figure 4 Structure of an FSCP 3/1 safety PDU 29 Figure 5 Safety communication on CPF 3 . 30 Figure 6 Standard CPF 3 transmission system 32 Figure 7 Safety layer architecture . 33 Figure 8 Basic communication layers 34 Figure 9 Multiport switch b
40、us structure . 34 Figure 10 Linear bus structure 35 Figure 11 Crossing network borders with routers 35 Figure 12 Complete safety transmission paths 36 IEC 61784-3-3:2016 IEC 2016 5 Figure 13 IO Device model . 37 Figure 14 FSCP 3/1 communication structure . 38 Figure 15 F user interface of F-Host dri
41、ver instances 39 Figure 16 Motivation for “Channel-related Passivation“ . 40 Figure 17 F-Device driver interfaces . 42 Figure 18 Safety PDU for CPF 3 . 45 Figure 19 Status Byte 45 Figure 20 Control Byte . 46 Figure 21 The Toggle Bit function . 47 Figure 22 F-Device MonitoringNumber . 48 Figure 23 F-
42、Host CRC2 signature generation (F_CRC_Seed=0) . 50 Figure 24 Details of the CRC2 signature calculation (F_CRC_Seed=0) . 51 Figure 25 CRC2 signature calculation (F_CRC_Seed=1) . 51 Figure 26 Details of the CRC2 signature calculation (F_CRC_Seed=1) . 52 Figure 27 Safety layer communication relationshi
43、p . 52 Figure 28 F-Host state diagram 53 Figure 29 F-Device state diagram . 57 Figure 30 Interaction F-Host / F-Device during start-up . 60 Figure 31 Interaction F-Host / F-Device during F-Host power off on 61 Figure 32 Interaction F-Host / F-Device with delayed power on . 62 Figure 33 Interaction F
44、-Host / F-Device during power off on 63 Figure 34 Interaction F-Host / F-Device while host recognizes CRC error 64 Figure 35 Interaction F-Host / F-Device while device recognizes CRC error . 65 Figure 36 Impact of the MNR reset signal . 66 Figure 37 Monitoring the message transit time F-Host F-Outpu
45、t 67 Figure 38 Monitoring the message transit time F-Input F-Host 67 Figure 39 Extended watchdog time on request 69 Figure 40 iParameter assignment deblocking by the F-Host 73 Figure 41 Effect of F_WD_Time_2 75 Figure 42 F_Prm_Flag1 75 Figure 43 F_Check_SeqNr . 76 Figure 44 F_Check_iPar. 76 Figure 4
46、5 F_SIL . 76 Figure 46 F_CRC_Length . 77 Figure 47 F_CRC_Seed . 77 Figure 48 F_Prm_Flag2 77 Figure 49 F_Passivation . 78 Figure 50 F_Block_ID 78 Figure 51 F_Par_Version . 78 Figure 52 F-Parameter . 79 Figure 53 iParameter block 80 Figure 54 F-Parameter extension within the GSDML specification . 82 F
47、igure 55 F_Par_CRC signature including iPar_CRC 84 6 IEC 61784-3-3:2016 IEC 2016 Figure 56 Algorithm to build CRC0 . 84 Figure 57 GSD example in GSDML notation . 86 Figure 58 DataItem section for F_IN_OUT_1 89 Figure 59 DataItem section for F_IN_OUT_2 90 Figure 60 DataItem section for F_IN_OUT_5 91
48、Figure 61 DataItem section for F_IN_OUT_6 92 Figure 62 F-Channel driver as “glue“ between F-Device and user program 93 Figure 63 Layout example of an F-Channel driver . 94 Figure 64 F-Parameter assignment for simple F-Devices and F-Slaves . 95 Figure 65 F and iParameter assignment for complex F-Devices 96 Figure 66 System integration of CPD-Tools 97 Figure 67 iPar-Server mechanism (commissioning) . 98 Figure 68 iPar-Server mechanism (for example F-Device replacement) . 99 Figure 69 iPar-Server request coding (“status model“) 100 Figure 70 Coding of SR_Type 101 Figure 71 iPar-Server reques