Contents
1 Converting from S7 Distributed Safety, V 5.1 to V 5.2 + Service Pack 1 3
1.1 Configuration ....................................................................................................... 7
1.1.1 Configuring Safety-Related Master to I-Slave Communication ........................... 7
1.1.2 Safety-Related CPU-CPU Communication ....................................................... 12
1.1.3 Configuring Safety-Related Master to I-Slave Communication ......................... 13
1.1.4 Configuring Safety-Related I-Slave to I-Slave Communication......................... 18
1.1.5 Configuring the F-CPU ...................................................................................... 23
1.2 Programming the Safety Program ..................................................................... 28
1.2.1 Differences between F-Programming Languages and Standard
Programming Languages .................................................................................. 28
1.2.2 FBD/LAD Operations ......................................................................................... 29
1.2.3 F I/O DB............................................................................................................. 31
1.2.4 Using Substitute Values..................................................................................... 31
1.2.5 Implementing a User Acknowledgment ............................................................. 32
1.2.5.1 Implementing a User Acknowledgment in the Safety Program of the F-CPU
of a DP Master 32
1.2.5.2 Implementing a User Acknowledgment in the Safety Program of the F-CPU
of an Intelligent DP Slave 32
1.2.6 Programming Safety-related Master to I-Slave Communication and I-Slave
to I-Slave Communication.................................................................................. 35
1.2.7 F-Shared DB...................................................................................................... 39
1.2.8 Creating F-Blocks in F-FBD/F-LAD ................................................................... 40
1.2.9 Know-how Protection for F-FBs and F-FCs Written by the User....................... 40
1.2.10 Distributed Safety F-Library (V1) ....................................................................... 43
1.2.10.1 Changes 43
1.2.11 FB 179 "F_SCA_I": Scaling Values of Data Type INT ...................................... 45
1.2.12 FC 178 "F_INT_WR": Writing a Value of the Data Type INT indirectly into
an F-DB.............................................................................................................. 46
1.2.13 FC 179 "F_INT_RD": Reading a Value of the INT Data Type from an F-DB .... 47
1.2.14 FB 190 "F_1oo2DI": 1oo2 Evaluation with Discrepancy Analysis..................... 49
1.2.15 User-Created F-Libraries................................................................................... 53
1.2.16 Compiling the Safety Program........................................................................... 55
1.2.17 Complete Function Test of Safety Program or Protection through Program
Identification....................................................................................................... 55
1.2.17.1 Transferring the Safety Program to the F-CPU with a Programming
Device/PC 55
1.2.17.2 Transferring the Safety Program to the F-CPU Using a Memory Card 58
1.2.18 Deactivating Safety Mode.................................................................................. 59
1.2.19 Comparing Safety Programs ............................................................................. 60
1.2.20 Printing Out Project Data of the Safety Program............................................... 61
2 Corrections to the S7 Distributed Safety, Configuring and Programming Manual,
A5E00109537-01, Edition 03/2002 62
Product Information for the S7 Distributed Safety, Configuring and Programming Manual
2 A5E00169432-02