S7-1200 Functional Safety Manual
Manual, 02/2015, A5E03470344-AA
7
Preface ...................................................................................................................................................... 3
1 Product overview ..................................................................................................................................... 11
1.1 Overview ................................................................................................................................. 11
1.2 Hardware and software components ...................................................................................... 13
1.3 S7-1200 Fail-Safe CPUs ........................................................................................................ 14
1.3.1 Behavior differences between standard and fail-safe CPUs .................................................. 15
1.3.1.1 Safety mode ............................................................................................................................ 15
1.3.1.2 Fault reactions ........................................................................................................................ 16
1.3.1.3 Restart of fail-safe system ...................................................................................................... 18
1.3.1.4 Firmware update ..................................................................................................................... 18
1.4 S7-1200 Fail-Safe signal modules (SM) ................................................................................. 19
1.4.1 Overview ................................................................................................................................. 19
1.4.2 SM 1226 F-DI 16 x 24 VDC .................................................................................................... 20
1.4.3 SM 1226 F-DQ 4 x 24 VDC .................................................................................................... 21
1.4.4 SM 1226 F-DQ 2 x Relay ........................................................................................................ 23
2 Getting started ......................................................................................................................................... 25
2.1 Introduction to example .......................................................................................................... 25
2.1.1 Instructive, interactive animation files ..................................................................................... 25
2.1.2 Requirements for configuring and programming .................................................................... 26
2.1.3 Example structure and task definition ..................................................................................... 27
2.1.4 Procedure ............................................................................................................................... 28
2.2 Configuring .............................................................................................................................. 30
2.2.1 Introduction ............................................................................................................................. 30
2.2.2 Step 1: Configuring the S7-1200 CPU 1214FC or CPU 1215FC ........................................... 31
2.2.3 Step 2: Configuring fail-safe CPU standard digital inputs for user acknowledgement,
feedback circuit, and start pushbutton .................................................................................... 34
2.2.4 Step 3: Configuring an SM1226 F-DI 16 x 24 VDC for connecting an emergency stop
switch, position switches, and the laser scanner .................................................................... 35
2.2.5 Step 4: Configuring an SM 1226 F-DQ 4 x 24 VDC for connecting a motor .......................... 43
2.2.6 Summary: Configuring the Hardware ..................................................................................... 45
2.3 Programming .......................................................................................................................... 46
2.3.1 Introduction ............................................................................................................................. 46
2.3.2 Step 5: Specifying the centralized settings for the safety program ........................................ 48
2.3.3 Step 6: Creating an F-FB ........................................................................................................ 51
2.3.4 Step 7: Programming the safety door function ....................................................................... 52
2.3.5 Step 8: Programming the emergency stop function ............................................................... 54
2.3.6 Step 9: Programming the feedback monitoring ...................................................................... 56
2.3.7 Step 10: Programming the user acknowledgment for reintegration of the fail-safe SM ......... 58
2.3.8 Step 11: Programming of the main safety block ..................................................................... 59
2.3.9 Step 12: Compiling the safety program .................................................................................. 60
2.3.10 Step 13: Downloading the complete safety program to the fail-safe CPU and activating
safety mode ............................................................................................................................ 61