1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationBS EN 61784-3-2:2010Industrial communication networks Profiles Part 3-2: Functional safety fieldbuses Additional specifications for CPF 2BS EN 61784-3-2:2010 BRITISH STANDARDNati
2、onal forewordThis British Standard is the UK implementation of EN 61784-3-2:2010. It is identical to IEC 61784-3-2:2010. It supersedes BS EN 61784-3-2:2008 which is withdrawn.The UK participation in its preparation was entrusted to TechnicalCommittee AMT/7, Industrial communications: process measure
3、mentand control, including fieldbus.A list of organizations represented on this committee can beobtained on request to its secretary.This publication does not purport to include all the necessaryprovisions of a contract. Users are responsible for its correctapplication. BSI 2010 ISBN 978 0 580 72028
4、 4 ICS 25.040.40; 35.100.05 Compliance with a British Standard cannot confer immunity fromlegal obligations.This British Standard was published under the authority of theStandards Policy and Strategy Committee on 30 September 2010. Amendments issued since publicationDate Text affectedEUROPEAN STANDA
5、RD EN 61784-3-2 NORME EUROPENNE EUROPISCHE NORM August 2010 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Management Centre: Avenue Marnix 17, B - 1000 Brussels 2010 CENELEC - All right
6、s of exploitation in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 61784-3-2:2010 E ICS 25.040.40; 35.100.05 Supersedes EN 61784-3-2:2008English version Industrial communication networks - Profiles - Part 3-2: Functional safety fieldbuses - Additional specifications f
7、or CPF 2 (IEC 61784-3-2:2010) Rseaux de communication industriels - Partie 3-2: Bus de terrain scurit fonctionnelle - Spcifications complmentaires pour le CPF 2 (CEI 61784-3-2:2010) Industrielle Kommunikationsnetze - Profile - Teil 3-2: Funktional sichere bertragung bei Feldbussen - Zustzliche Festl
8、egungen fr die Kommunikationsprofilfamilie 2 (IEC 61784-3-2:2010) This European Standard was approved by CENELEC on 2010-07-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 stan
9、dard without any alteration. Up-to-date 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 oth
10、er language made by translation under 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, Bulgaria, Croatia, Cyprus, the Cz
11、ech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom. BS EN 61784-3-2:2010EN 61784-3-2:2010 -
12、 2 - Foreword The text of document 65C/591A/FDIS, future edition 2 of IEC 61784-3-2, prepared by SC 65C, Industrial networks, of IEC TC 65, Industrial-process measurement, control and automation, was submitted to the IEC-CENELEC parallel vote and was approved by CENELEC as EN 61784-3-2 on 2010-07-01
13、. This European Standard supersedes EN 61784-3-2:2008. The main technical changes with respect to EN 61784-3-2:2008 are listed below: updates in relation with changes in EN 61784-3; addition or modification of the following subclauses to support the Extended Format: 6.3.2.1, 6.3.3.4, 6.3.11, 6.6.7.5
14、, 6.8.5.13, 6.8.5.14, 7.1.1, 7.5.5, 7.6.10.10, 7.6.10.12, 8.2, 8.10.2.4.4, 9.5.2; modification of all pseudo code in 7.5 to support Extended Format; addition of Attribute 15 in 6.7.3.1; addition of subclauses 8.11, 8.12 and 8.13 to clarify requirements for CP 2/2, CP 2/3 and CP 16/3 respectively. At
15、tention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. CEN and CENELEC shall not be held responsible for identifying any or all such patent rights. The following dates were fixed: latest date by which the EN has to be implemented at nation
16、al level by publication of an identical national standard or by endorsement (dop) 2011-04-01 latest date by which the national standards conflicting with the EN have to be withdrawn (dow) 2013-07-01 Annex ZA has been added by CENELEC. _ BS EN 61784-3-2:2010- 3 - EN 61784-3-2:2010 Endorsement notice
17、The text of the International Standard IEC 61784-3-2:2010 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 the standards indicated: IEC 60204-1 NOTE Harmonized as EN 60204-1. IEC 61158 series
18、NOTE Harmonized in EN 61158 series (not modified). IEC 61496 series NOTE Harmonized in EN 61496 series (partially modified). IEC 61508-1:2010 NOTE Harmonized as EN 61508-1:2010 (not modified). IEC 61508-4:2010 NOTE Harmonized as EN 61508-4:2010 (not modified). IEC 61508-5:2010 NOTE Harmonized as EN
19、61508-5:2010 (not modified). IEC 61508-6:2010 NOTE Harmonized as EN 61508-6:2010 (not modified). IEC 61511 series NOTE Harmonized in EN 61511 series (not modified). IEC 61784-5 series NOTE Harmonized in EN 61784-5 series (not modified). IEC 61800-5-2 NOTE Harmonized as EN 61800-5-2. IEC 62061 NOTE H
20、armonized as EN 62061. ISO 10218-1 NOTE Harmonized as EN ISO 10218-1. ISO 12100-1 NOTE Harmonized as EN ISO 12100-1. ISO 13849-2 NOTE Harmonized as EN ISO 13849-2. _ BS EN 61784-3-2:2010EN 61784-3-2:2010 - 4 - Annex ZA (normative) Normative references to international publications with their corresp
21、onding European publications The following referenced documents are indispensable for the application of this document. 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 interna
22、tional publication has been modified by common modifications, indicated by (mod), the relevant EN/HD applies. Publication Year Title EN/HD Year IEC 61131-2 - Programmable controllers - Part 2: Equipment requirements and tests EN 61131-2 - IEC 61131-3 - Programmable controllers - Part 3: Programming
23、languages EN 61131-3 - IEC 61158-2 - Industrial communication networks - Fieldbus specifications - Part 2: Physical layer specification and service definition EN 61158-2 - IEC 61158-3-2 - Industrial communication networks - Fieldbus specifications - Part 3-2: Data-link layer service definition - Typ
24、e 2 elements EN 61158-3-2 - IEC 61158-4-2 - Industrial communication networks - Fieldbus specifications - Part 4-2: Data-link layer protocol specification - Type 2 elements EN 61158-4-2 - IEC 61158-5-2 - Industrial communication networks - Fieldbus specifications - Part 5-2: Application layer servic
25、e definition - Type 2 elements EN 61158-5-2 - IEC 61158-6-2 - Industrial communication networks - Fieldbus specifications - Part 6-2: Application layer protocol specification - Type 2 elements EN 61158-6-2 - IEC 61326-3-1 - Electrical equipment for measurement, control and laboratory use - EMC requi
26、rements - Part 3-1: Immunity requirements for safety-related systems and for equipment intended to perform safety-related functions (functional safety) - General industrial applications EN 61326-3-1 - IEC 61326-3-2 - Electrical equipment for measurement, control and laboratory use EMC requirements -
27、 Part 3-2: Immunity requirements for safety-related systems and for equipment intended to perform safety-related functions (functional safety) - Industrial applications with specified electromagnetic environment EN 61326-3-2 - BS EN 61784-3-2:2010- 5 - EN 61784-3-2:2010 Publication Year Title EN/HD
28、Year IEC 61508 Series Functional safety of electrical/electronic/programmable electronic safety-related systems EN 61508-1 Series IEC 61784-1 - Industrial communication networks - Profiles - Part 1: Fieldbus profiles EN 61784-1 - IEC 61784-2 - Industrial communication networks - Profiles - Part 2: A
29、dditional fieldbus profiles for real-time networks based on ISO/IEC 8802-3 EN 61784-2 - IEC 61784-3 2010 Industrial communication networks - Profiles - Part 3: Functional safety fieldbuses - General rules and profile definitions EN 61784-3 2010 IEC 61784-5-2 - Industrial communication networks - Pro
30、files - Part 5-2: Installation of fieldbuses - Installation profiles for CPF 2 EN 61784-5-2 - IEC 61918 - Industrial communication networks - Installation of communication networks in industrial premises EN 61918 - IEC 62026-3 - Low-voltage switchgear and controlgear - Controller-device interfaces (
31、CDIs) - Part 3: DeviceNet EN 62026-3 - ISO 13849-1 - Safety of machinery - Safety-related parts of control systems - Part 1: General principles for design EN ISO 13849-1 - ISO 15745-2 2003 Industrial automation systems and integration - Open systems application integration framework - Part 2: Refere
32、nce description for ISO 11898-based control systems - - ISO 15745-3 2003 Industrial automation systems and integration - Open systems application integration framework - Part 3: Reference description for IEC 61158 based control systems - - ISO 15745-4 2003 Industrial automation systems and integrati
33、on - Open systems application integration framework - Part 4: Reference description for Ethernet-based control systems - - This page deliberately left blank 61784-3-2 IEC:2010(E) CONTENTS 0 Introduction 14 0.1 General .14 0.2 Patent declaration .16 1 Scope.17 2 Normative references .17 3 Terms, defi
34、nitions, symbols, abbreviated terms and conventions 18 3.1 Terms and definitions 18 3.1.1 Common terms and definitions 19 3.1.2 CPF 2: Additional terms and definitions .23 3.2 Symbols and abbreviated terms.23 3.2.1 Common symbols and abbreviated terms 23 3.2.2 CPF 2: Additional symbols and abbreviat
35、ed terms .24 3.3 Conventions 25 4 Overview of FSCP 2/1 (CIP Safety).25 4.1 General .25 4.2 FSCP 2/1 25 5 General 26 5.1 External documents providing specifications for the profile26 5.2 Safety functional requirements 27 5.3 Safety measures .27 5.4 Safety communication layer structure 28 5.5 Relation
36、ships with FAL (and DLL, PhL) .28 5.5.1 General .28 5.5.2 Data types.28 6 Safety communication layer services29 6.1 Introduction .29 6.2 Connection object .29 6.2.1 General .29 6.2.2 Class attribute extensions .29 6.2.3 Service extensions 30 6.2.4 Explicit message response format for SafetyOpen and
37、SafetyClose 30 6.3 Connection Manager object .31 6.3.1 General .31 6.3.2 ForwardOpen for safety .31 6.3.3 Safety network segment 33 6.3.4 Originator rules for calculating the connection parameter CRC 36 6.3.5 SafetyOpen processing flowcharts.36 6.3.6 Checks required by Multipoint producers with exis
38、ting connections .39 6.3.7 Electronic key usage for safety40 6.3.8 RPI vs. API in safety connections 40 6.3.9 Application path construction for safety .40 6.3.10 Safety Validator connection types41 6.3.11 Application reply data in a successful SafetyOpen response43 6.3.12 Unsuccessful SafetyOpen res
39、ponse 45 6.3.13 ForwardClose for safety.47 4BS EN 61784-3-2:201061784-3-2 IEC:2010(E) 5 6.4 Identity object48 6.4.1 General .48 6.4.2 Changes to common services 48 6.5 Link objects.48 6.5.1 DeviceNet object changes .48 6.5.2 TCP/IP Interface object changes .49 6.6 Safety Supervisor object49 6.6.1 Ge
40、neral .49 6.6.2 Safety Supervisor class attributes50 6.6.3 Subclasses50 6.6.4 Safety Supervisor instance attributes.50 6.6.5 Semantics .53 6.6.6 Subclasses60 6.6.7 Safety Supervisor common services 60 6.6.8 Safety Supervisor behavior71 6.7 Safety Validator object 78 6.7.1 General .78 6.7.2 Class att
41、ributes .78 6.7.3 Instance attributes.79 6.7.4 Class services .84 6.7.5 Instance services.85 6.7.6 Object behavior .85 6.8 Connection Configuration Object .88 6.8.1 General .88 6.8.2 Class attribute extensions .88 6.8.3 Instance attributes, additions and extensions. .88 6.8.4 Instance attribute sema
42、ntics extensions or restrictions for safety.90 6.8.5 Special Safety Related Parameters (Attribute 13) .95 6.8.6 Object-specific services.101 6.8.7 Common service extensions for safety.101 6.8.8 Object behavior .103 7 Safety communication layer protocol 104 7.1 Safety PDU format 104 7.1.1 Safety PDU
43、encoding 104 7.1.2 Safety CRC .116 7.2 Communication protocol behavior117 7.2.1 Sequence of safety checks 117 7.2.2 Connection termination117 7.2.3 Cross checking error .117 7.3 Time stamp operation118 7.4 Protocol sequence diagrams .119 7.4.1 General .119 7.4.2 Normal safety transmission119 7.4.3 L
44、ost, corrupted and delayed message transmission.120 7.4.4 Lost, corrupted or delayed message transmission with production repeated122 7.4.5 Point-to-point ping .124 7.4.6 Multipoint ping on CP 2/3 Safety125 7.4.7 Multipoint ping on CP 2/2 safety networks .127 BS EN 61784-3-2:2010 6 61784-3-2 IEC:201
45、0(E) 7.4.8 Multipoint ping retry with success .127 7.4.9 Multipoint ping retry with timeout 128 7.5 Safety protocol definition.129 7.5.1 General .129 7.5.2 High level view of a safety device 129 7.5.3 Safety Validator object 130 7.5.4 Relationship between SafetyValidatorServer and SafetyValidatorCli
46、ent.130 7.5.5 Extended Format time stamp rollover handling 131 7.5.6 SafetyValidatorClient function definition 135 7.5.7 SafetyValidatorServer function definition .143 7.6 Safety message and protocol data specifications.156 7.6.1 Mode octet 156 7.6.2 Time Stamp Section 157 7.6.3 Time Coordination Me
47、ssage 157 7.6.4 Time correction message.158 7.6.5 Safety data production.158 7.6.6 Producer dynamic variables.166 7.6.7 Producer per consumer dynamic variables 168 7.6.8 Consumer data variables .169 7.6.9 Consumer input static variables.171 7.6.10 Consumer dynamic variables.172 8 Safety communicatio
48、n layer management.174 8.1 Overview .174 8.2 Definition of the measures used during connection establishment .174 8.3 Originator-Target relationship validation 178 8.4 Detection of mis-routed connection requests .179 8.5 SafetyOpen processing .179 8.6 Ownership management179 8.7 Bridging different p
49、hysical layers.180 8.8 Safety connection establishment .182 8.8.1 Overview .182 8.8.2 Basic facts for connection establishment .182 8.8.3 Configuring safety connections182 8.8.4 Network time expectation multiplier .184 8.8.5 Establishing connections .185 8.8.6 Recommendations for consumer number allocation .188 8.8.7 Recommendations for connection establishment .189 8.8.8 Ownership establishment.189 8.8.9 Ownership use cases 190 8.8.10 PID/CID usage and establishment .193 8.8.11 Proper PID/CID us