Industrial communication networks - Profiles - Part 3-2: Functional safety fieldbuses - Additional specifications for CPF 2

IEC 61784-3-2:2021 specifies a safety communication layer (services and protocol) based on CPF 2 of IEC 61784 1, IEC 61784 2 and IEC 61158 Type 2. It identifies the principles for functional safety communications defined in IEC 61784 3 that are relevant for this safety communication layer. This safety communication layer is intended for implementation in safety devices only.
NOTE 1 It does not cover electrical safety and intrinsic safety aspects. Electrical safety relates to hazards such as electrical shock. Intrinsic safety relates to hazards associated with potentially explosive atmospheres.
This document defines mechanisms for the transmission of safety-relevant messages among participants within a distributed network using fieldbus technology in accordance with the requirements of IEC 61508 (all parts) for functional safety. These mechanisms may be used in various industrial applications such as process control, manufacturing automation and machinery. This document provides guidelines for both developers and assessors of compliant devices and systems.

Réseaux de communication industriels - Profils - Partie 3-2: Bus de terrain de sécurité fonctionnelle - Spécifications supplémentaires pour CPF 2

L'IEC 61784-3-2:2021 spécifie une couche de communication de sécurité (services et protocole) qui repose sur la CPF 2 de l'IEC 61784 1, l'IEC 61784 2 et l'IEC 61158, Type 2. Elle identifie les principes applicables aux communications de sécurité fonctionnelle définies dans l'IEC 61784 3, qui correspondent à cette couche de communication de sécurité. Cette couche de communication de sécurité est destinée à être mise en œuvre uniquement sur les appareils de sécurité.
NOTE 1 Elle ne couvre pas les aspects relatifs à la sécurité électrique et à la sécurité intrinsèque. La sécurité électrique concerne les dangers tels que les chocs électriques. La sécurité intrinsèque concerne les dangers associés aux atmosphères explosibles.
Le présent document définit les mécanismes de transmission des messages relatifs à la sécurité entre les participants d'un réseau réparti, en utilisant la technologie de bus de terrain conformément aux exigences de la série IEC 61508 (toutes les parties) concernant la sécurité fonctionnelle. Ces mécanismes peuvent être utilisés dans différentes applications industrielles, par exemple la commande de processus, l'usinage automatique et les machines. Le présent document fournit des lignes directrices aux développeurs, ainsi qu'aux évaluateurs d'appareils et de systèmes conformes.

General Information

Status
Published
Publication Date
18-May-2021
Technical Committee
Current Stage
PPUB - Publication issued
Completion Date
19-May-2021
Ref Project

Buy Standard

Standard
IEC 61784-3-2:2021 - Industrial communication networks - Profiles - Part 3-2: Functional safety fieldbuses - Additional specifications for CPF 2
English and French language
579 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (sample)

IEC 61784-3-2
Edition 4.0 2021-05
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – Profiles –
Part 3-2: Functional safety fieldbuses – Additional specifications for CPF 2
Réseaux de communication industriels – Profils –
Partie 3-2: Bus de terrain de sécurité fonctionnelle – Spécifications
supplémentaires pour CPF 2
IEC 61784-3-2:2021-05(en-fr)
---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2021 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 mechanical, including photocopying and microfilm, without permission in writing from

either IEC or IEC's 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 the address below or

your local IEC member National Committee for further information.

Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite

ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie

et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des

questions sur le copyright de l'IEC ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez

les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
About the IEC

The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes

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 corrigendum or an amendment might have been published.

IEC publications search - webstore.iec.ch/advsearchform IEC online collection - oc.iec.ch

The advanced search enables to find IEC publications by a Discover our powerful search engine and read freely all the

variety of criteria (reference number, text, technical publications previews. With a subscription you will always

committee, …). It also gives information on projects, replaced have access to up to date content tailored to your needs.

and withdrawn publications.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
The world's leading online dictionary on electrotechnology,
Stay up to date on all new IEC publications. Just Published
containing more than 22 000 terminological entries in English
details all new publications released. Available online and
and French, with equivalent terms in 18 additional languages.
once a month by email.
Also known as the International Electrotechnical Vocabulary
(IEV) online.
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: sales@iec.ch.
A propos de l'IEC

La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des

Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.

A propos des publications IEC

Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la

plus récente, un corrigendum ou amendement peut avoir été publié.
Recherche de publications IEC - IEC online collection - oc.iec.ch

webstore.iec.ch/advsearchform Découvrez notre puissant moteur de recherche et consultez

La recherche avancée permet de trouver des publications IEC gratuitement tous les aperçus des publications. Avec un

en utilisant différents critères (numéro de référence, texte, abonnement, vous aurez toujours accès à un contenu à jour

comité d’études, …). Elle donne aussi des informations sur adapté à vos besoins.
les projets et les publications remplacées ou retirées.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
Le premier dictionnaire d'électrotechnologie en ligne au
Restez informé sur les nouvelles publications IEC. Just
monde, avec plus de 22 000 articles terminologiques en
Published détaille les nouvelles publications parues.
anglais et en français, ainsi que les termes équivalents dans
Disponible en ligne et une fois par mois par email.
16 langues additionnelles. Egalement appelé Vocabulaire
Electrotechnique International (IEV) en ligne.
Service Clients - webstore.iec.ch/csc
Si vous désirez nous donner des commentaires sur cette
publication ou si vous avez des questions contactez-nous:
sales@iec.ch.
---------------------- Page: 2 ----------------------
IEC 61784-3-2
Edition 4.0 2021-05
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – Profiles –
Part 3-2: Functional safety fieldbuses – Additional specifications for CPF 2
Réseaux de communication industriels – Profils –
Partie 3-2: Bus de terrain de sécurité fonctionnelle – Spécifications
supplémentaires pour CPF 2
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.05 ISBN 978-2-8322-9747-6

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éé.

® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale
---------------------- Page: 3 ----------------------
– 2 – IEC 61784-3-2:2021  IEC 2021
CONTENTS

FOREWORD ......................................................................................................................... 12

0 Introduction ................................................................................................................... 14

0.1 General ................................................................................................................. 14

0.2 Patent declaration ................................................................................................. 15

1 Scope ............................................................................................................................ 17

2 Normative references .................................................................................................... 17

3 Terms, definitions, symbols, abbreviated terms and conventions ................................... 19

3.1 Terms and definitions ............................................................................................ 19

3.1.1 Common terms and definitions ....................................................................... 19

3.1.2 CPF 2: Additional terms and definitions ......................................................... 24

3.2 Symbols and abbreviated terms ............................................................................ 25

3.2.1 Common symbols and abbreviated terms ....................................................... 25

3.2.2 CPF 2: Additional symbols and abbreviated terms ......................................... 26

3.3 Conventions .......................................................................................................... 27

4 Overview of FSCP 2/1 (CIP Safety™) ............................................................................ 27

4.1 General ................................................................................................................. 27

4.2 FSCP 2/1 .............................................................................................................. 27

5 General ......................................................................................................................... 28

5.1 External documents providing specifications for the profile ................................... 28

5.2 Safety functional requirements .............................................................................. 29

5.3 Safety measures ................................................................................................... 29

5.4 Safety communication layer structure .................................................................... 30

5.5 Relationships with FAL (and DLL, PhL) ................................................................. 30

5.5.1 General ......................................................................................................... 30

5.5.2 Data types ..................................................................................................... 30

6 Safety communication layer services ............................................................................. 31

6.1 General ................................................................................................................. 31

6.2 Connection object ................................................................................................. 31

6.2.1 General ......................................................................................................... 31

6.2.2 Class attribute extensions .............................................................................. 31

6.2.3 Service extensions ........................................................................................ 32

6.2.4 Explicit message response format for SafetyOpen and SafetyClose ............... 32

6.3 Connection Manager object................................................................................... 33

6.3.1 General ......................................................................................................... 33

6.3.2 ForwardOpen for safety ................................................................................. 33

6.3.3 Safety network segment ................................................................................ 35

6.3.4 Originator rules for calculating the connection parameter CRC ...................... 38

6.3.5 SafetyOpen processing flowcharts ................................................................. 38

6.3.6 Checks required by Multipoint producers with existing connections ................ 41

6.3.7 Electronic key usage for safety ...................................................................... 42

6.3.8 RPI vs. API in safety connections .................................................................. 42

6.3.9 Application path construction rules for safety connections ............................. 42

6.3.10 Safety Validator connection types .................................................................. 44

6.3.11 Application reply data in a successful SafetyOpen response .......................... 48

6.3.12 Unsuccessful SafetyOpen response ............................................................... 50

6.3.13 ForwardClose for safety ................................................................................. 52

---------------------- Page: 4 ----------------------
IEC 61784-3-2:2021  IEC 2021 – 3 –

6.4 Identity object ....................................................................................................... 52

6.4.1 General ......................................................................................................... 52

6.4.2 Changes to common services ........................................................................ 53

6.4.3 Extensions for CP 16/3 devices ..................................................................... 53

6.5 Link objects .......................................................................................................... 53

6.5.1 DeviceNet object changes ............................................................................. 53

6.5.2 TCP/IP Interface object changes.................................................................... 54

6.5.3 SERCOS III Link object.................................................................................. 54

6.6 Safety Supervisor object ....................................................................................... 56

6.6.1 General ......................................................................................................... 56

6.6.2 Safety Supervisor class attributes .................................................................. 56

6.6.3 Subclasses .................................................................................................... 57

6.6.4 Safety Supervisor instance attributes ............................................................. 57

6.6.5 Semantics...................................................................................................... 61

6.6.6 Subclasses .................................................................................................... 67

6.6.7 Safety Supervisor common services .............................................................. 68

6.6.8 Safety Supervisor behavior ............................................................................ 80

6.7 Safety Validator object .......................................................................................... 87

6.7.1 General ......................................................................................................... 87

6.7.2 Class attributes ............................................................................................. 87

6.7.3 Instance attributes ......................................................................................... 88

6.7.4 Class services ............................................................................................... 94

6.7.5 Instance services ........................................................................................... 94

6.7.6 Object behavior ............................................................................................. 95

6.8 Connection Configuration Object ........................................................................... 98

6.8.1 General ......................................................................................................... 98

6.8.2 Class attribute extensions .............................................................................. 98

6.8.3 Instance attributes, additions and extensions. ................................................ 98

6.8.4 Instance attribute semantics extensions or restrictions for safety ................. 101

6.8.5 Special Safety Related Parameters – (Attribute 13) ..................................... 106

6.8.6 Object-specific services ............................................................................... 112

6.8.7 Common service extensions for safety ......................................................... 112

6.8.8 Object behavior ........................................................................................... 114

7 Safety communication layer protocol ........................................................................... 115

7.1 Safety PDU format .............................................................................................. 115

7.1.1 Safety PDU encoding ................................................................................... 115

7.1.2 Safety CRC ................................................................................................. 127

7.2 Communication protocol behavior ....................................................................... 128

7.2.1 Sequence of safety checks .......................................................................... 128

7.2.2 Connection termination ................................................................................ 128

7.2.3 Cross checking error.................................................................................... 129

7.3 Time stamp operation ......................................................................................... 129

7.4 Rollover counts in the EF .................................................................................... 130

7.5 Protocol sequence diagrams ............................................................................... 130

7.5.1 General ....................................................................................................... 130

7.5.2 Normal safety transmission .......................................................................... 130

7.5.3 Lost, corrupted and delayed message transmission ..................................... 132

7.5.4 Lost, corrupted or delayed message transmission with production

repeated ...................................................................................................... 134

---------------------- Page: 5 ----------------------
– 4 – IEC 61784-3-2:2021  IEC 2021

7.5.5 Point-to-point ping ....................................................................................... 136

7.5.6 Multipoint ping on CP 2/3 Safety .................................................................. 137

7.5.7 Multipoint ping on CP 2/2 safety networks ................................................... 139

7.5.8 Multipoint ping – retry with success ............................................................. 139

7.5.9 Multipoint ping – retry with timeout .............................................................. 140

7.6 Safety protocol definition .................................................................................... 141

7.6.1 General ....................................................................................................... 141

7.6.2 High level view of a safety device ................................................................ 141

7.6.3 Safety Validator object ................................................................................. 142

7.6.4 Relationship between SafetyValidatorServer and SafetyValidatorClient ....... 142

7.6.5 Extended Format time stamp rollover handling ............................................ 143

7.6.6 SafetyValidatorClient function definition ....................................................... 149

7.6.7 SafetyValidatorServer function definition ..................................................... 157

7.7 Safety message and protocol data specifications ................................................ 170

7.7.1 Mode octet .................................................................................................. 170

7.7.2 Time Stamp Section .................................................................................... 171

7.7.3 Time Coordination Message ........................................................................ 171

7.7.4 Time correction message ............................................................................. 172

7.7.5 Safety data production ................................................................................. 172

7.7.6 Producer dynamic variables ......................................................................... 180

7.7.7 Producer per consumer dynamic variables ................................................... 182

7.7.8 Consumer data variables ............................................................................. 183

7.7.9 Consumer input static variables ................................................................... 185

7.7.10 Consumer dynamic variables ....................................................................... 186

8 Safety communication layer management .................................................................... 188

8.1 Overview............................................................................................................. 188

8.2 Definition of the measures used during connection establishment ....................... 188

8.3 Originator-Target relationship validation.............................................................. 192

8.4 Detection of mis-routed connection requests ....................................................... 193

8.5 SafetyOpen processing ....................................................................................... 193

8.6 Ownership management ..................................................................................... 193

8.7 Bridging different physical layers ........................................................................ 194

8.8 Safety connection establishment ......................................................................... 196

8.8.1 Overview ..................................................................................................... 196

8.8.2 Basic facts for connection establishment ..................................................... 196

8.8.3 Configuring safety connections .................................................................... 197

8.8.4 Network time expectation multiplier ............................................................. 198

8.8.5 Establishing connections ............................................................................. 200

8.8.6 Recommendations for consumer number allocation ..................................... 203

8.8.7 Recommendations for connection establishment .......................................... 203

8.8.8 Ownership establishment ............................................................................. 204

8.8.9 Ownership use cases ................................................................................... 204

8.8.10 PID/CID usage and establishment ............................................................... 207

8.8.11 Proper PID/CID usage in multipoint and point-to-point connections .............. 208

8.8.12 Network supported services ......................................................................... 210

8.8.13 FSCP 2/1 safety device type ........................................................................ 211

8.9 Safety configuration process ............................................................................... 215

8.9.1 Introduction to safety configuration .............................................................. 215

8.9.2 Configuration goals ...................................................................................... 215

---------------------- Page: 6 ----------------------
IEC 61784-3-2:2021  IEC 2021 – 5 –

8.9.3 Configuration overview ................................................................................ 216

8.9.4 User configuration guidelines ....................................................................... 217

8.9.5 Configuration process justification ............................................................... 218

8.9.6 Device functions for tool configuration ......................................................... 219

8.9.7 Password security ....................................................................................... 219

8.9.8 SNCT interface services .............................................................................. 219

8.9.9 Configuration lock ........................................................................................ 220

8.9.10 Effect of configuration lock on device behavior ............................................ 220

8.9.11 Configuration ownership .............................................................................. 222

8.9.12 Configuration mode ..................................................................................... 222

8.9.13 Measures used to ensure integrity of configuration process ......................... 222

8.9.14 Download process ....................................................................................... 224

8.9.15 Verification process ..................................................................................... 227

8.9.16 Configuration error analysis ......................................................................... 230

8.10 Electronic Data Sheets extensions for safety ...................................................... 234

8.10.1 General rules for EDS based safety devices ................................................ 234

8.10.2 EDS extensions for safety ............................................................................ 235

8.11 Requirements for CP 2/2 ..................................................................................... 240

8.11.1 EPI rules for safety messages that travel over CP 2/2 ................................. 240

8.11.2 Default safety I/O service ............................................................................ 240

8.11.3 Duplicate IP detection .................................................................................. 241

8.11.4 Priority for safety connections ...................................................................... 241

8.12 Requirements for CP 2/3 ..................................................................................... 241

8.12.1 Allocation of CP 2/3 identifiers ..................................................................... 241

8.12.2 Additional requirements ............................................................................... 244

8.13 CP 16/3 requirements ......................................................................................... 244

8.13.1 General architecture for CPF 2 on CP 16/3 .................................................. 244

8.13.2 Baseline FSCP 2/1 on CP 16/3 device ......................................................... 244

8.13.3 Supported objects and services in CP 16/3 devices ..................................... 245

8.13.4 Transport layer requirements ....................................................................... 246

8.13.5 FSCP 2/1 and the CP 16/3 device model ..................................................... 248

8.13.6 UNID assignment on CP 16/3 ...................................................................... 249

9 System requirements ................................................................................................... 252

9.1 Indicators and switches ....................................................................................... 252

9.1.1 General indicator requirements .................................................................... 252

9.1.2 LED indications for setting the device UNID ................................................. 252

9.1.3 Module Status LED ...................................................................................... 252

9.1.4 Indicator warning ......................................................................................... 253

9.1.5 Network Status LED .................................................................................... 253

9.1.6 Switches ...................................................................................................... 254

9.2 Installation guidelines ......................................................................................... 256

9.3 Safety function response time ............................................................................. 257

9.3.1 Overview ..................................................................................................... 257

9.3.2 Network time expectation ............................................................................. 257

9.3.3 Equations for calculating network reaction times .......................................... 258

9.4 Duration of demands ........................................................................................... 260

9.5 Constraints for calculation of system characteristics ........................................... 260

9.5.1 Number of nodes ......................................................................................... 260

9.5.2 Network PFH of Extended Format ................................................................ 260

---------------------- Page: 7 ----------------------
– 6 – IEC 61784-3-2:2021  IEC 2021

9.5.3 Bit Error Rate (BER) .................................................................................... 261

9.6 Maintenance ....................................................................................................... 262

9.7 Safety manual ..................................................................................................... 262

10 Assessment ................................................................................................................. 262

Annex A (informative) Additional information for functional safety communication

profiles of CPF 2 ................................................................................................................. 263

A.1 Hash function example code ............................................................................... 263

A.2 Void .................................................................................................................... 277

Annex B (informative) Information for assessment of the functional safety

communication profiles of CPF 2......................................................................................... 278

Bibliography ........................................................................................................................ 279

Figure 1
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.