Professional Documents
Culture Documents
Safety With S7 1200FCPU v20 en
Safety With S7 1200FCPU v20 en
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG ("Siemens"). They are non-
binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
Siemens AG 2018 All rights reserved
foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.
Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.
Security information
Siemens provides products and solutions with industrial security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens' products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
https://www.siemens.com/industrialsecurity.
Siemens' products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: http://www.siemens.com/industrialsecurity.
Table of Contents
Legal information ......................................................................................................... 2
1 How to Use this Document ............................................................................... 9
2 Why Safety with the S7-1200 FC CPU? ........................................................... 9
3 Description of an Automation Task ............................................................... 10
4 PL and SIL ........................................................................................................ 11
4.1 Achieving PL c/SIL 1 .......................................................................... 12
4.1.1 Interconnection examples .................................................................. 12
4.1.2 Settings in the STEP 7 hardware configuration ................................. 13
4.2 Achieving PL d/SIL 2 .......................................................................... 14
4.2.1 Interconnection examples .................................................................. 14
4.2.2 Settings in the STEP 7 hardware configuration ................................. 15
4.3 Achieving PL e/SIL 3 .......................................................................... 18
4.3.1 Interconnection examples .................................................................. 18
4.3.2 Settings in the STEP 7 hardware configuration ................................. 18
5 Prepared User Scenarios ................................................................................ 19
6 What applies to all user scenarios ................................................................. 22
6.1 Installing the user scenario................................................................. 22
6.2 Interlocking mechanisms for safety doors with guard locking ............ 25
6.3 RFID safety switches .......................................................................... 28
Siemens AG 2018 All rights reserved
32 History............................................................................................................. 221
Siemens AG 2018 All rights reserved
F-blocks certified by TÜV are available for support. You can integrate these blocks
into your solutions. This document supports you in doing so.
Siemens AG 2018 All rights reserved
PROFIsafe
The S7-1200 FC CPU also supports distributed solutions. In this context, the
PROFIsafe profile allows safety-related applications.
Economic efficiency
As part of Safety Integrated, the S7-1200 FC CPU stands for the consistent
implementation of safety technology in the sense of Totally Integrated Automation.
This includes consistent and convenient integration of safety technology into
standard automation. This results in tremendous advantages for machine
manufacturers and plant operators – particularly in economic terms.
This document provides specific answers to these questions. Before chapter 5 and
the following chapters refer to specific user scenarios, chapter 4 provides basic
information on the safety integrity and performance level.
4 PL and SIL
The performance level (PL) or safety integrity level (SIL) classifies electrical and
(programmable) electronic systems in terms of the reliability of safety functions.
You implement a
PL when you follow EN ISO 13849-1:2015.
SIL when you follow IEC 61508 (basic standard) or IEC 62061:2005 + A1:2012
+ A2:2015 (sector standard).
NOTICE This document does not replace the standards for functional safety!
However, it shows concise aspects of engineering and its aim is to contribute to
their clarification.
Note The statements in this chapter are of a general nature. They do not directly relate
to the F-library blocks offered for this documentation or settings of the associated
hardware configuration.
Note The following sections list the numerical values for the probability of a dangerous
failure per hour. You need these PFHD values to assess your safety function.
This assessment can be made conveniently using the Safety Evaluation Tool
(SET). For the SET, visit www.siemens.com/safety-evaluation-tool.
F-DI
Siemens AG 2018 All rights reserved
E-stop
F-DI
Position switch
You can assign – on a single-channel basis – the emergency stop pushbutton (or
position switch) to any channel (shown for channel 0 in the below figure).
Figure 4-3 Settings for the F-DI in the hardware configuration
4
Siemens AG 2018 All rights reserved
Note The correlation between HFT and SFF can be found in table 5 of
IEC 62061:2005 + A1:2012 + A2:2015 (see \4\). For help with
IEC 62061, please refer to
https://support.industry.siemens.com/cs/en/en/view/23996473.
Siemens AG 2018 All rights reserved
E-stop
Position switch 1
Position switch 2
Emergency stop
You can assign the emergency stop to any provided channel pair (this is shown for
the channel pair 0 and 8 in the below figure).
Siemens AG 2018 All rights reserved
Figure 4-6 Settings of the F-DI for the emergency stop in the hardware configuration
Position switches
In the prepared examples, the 1oo2 evaluation of the position switches is
performed by the FB SFDOOR F-library block. This block requires a single-channel
signal at each of two inputs. For this reason, each of the two inputs is
parameterized as a 1oo1 evaluation in the hardware configuration.
Siemens AG 2018 All rights reserved
Figure 4-7 Settings of the F-DI for the position switches in the hardware configuration
Note To implement a 1oo1 evaluation with two sensors for each switch, it is not
mandatory to select a channel pair (e.g., 0, 8 or 1, 9 or …).
1oo2 evaluation is
performed in the block
Siemens AG 2018 All rights reserved
Emergency stop
The settings of PL d/SIL 2 apply. In addition, the following applies:
The ability to withstand crossover required by PL e/SIL 3 can only be implemented
using internal sensor supply.
Figure 4-9 Activating the short-circuit test
Note You can deactivate the short-circuit test if you can otherwise rule out a cross-
circuit, for example, by installing protected lines. The short-circuit test must be
deactivated for sensors that perform internal short-circuit monitoring.
Position switches
The statements under "Position switches" in chapter 4.2.2 apply. In addition, the
statements made on the emergency stop earlier in this chapter (4.3.2) apply
accordingly.
d 2
11 d, e 2, 3 X X Chapter 17
12 c 1 X X Chapter 18
13 d 2 X X Chapter 19
14 c 1 X X Chapter 20
15 d, e 2, 3 X X X Chapter 21
16 c 1 X X X Chapter 22
17 d 2 X X X Chapter 23
18 c 1 X X X Chapter 24
19 d, e 2, 3 X X X Chapter 25
20 d 2 X X X Chapter 26
21 d, e 2, 3 X X X Chapter 27
The row highlighted in color in the above table shows scenarios that provide additional information on engineering and are also valid for
other scenarios. These additional scenarios comprise:
Emergency stop
Safety door including guard locking
SINAMICS G120
Password
Password for changes in the safety program: siemens
Note If you make changes to safety-related settings or the safety program, you will be
prompted for a password. This password is siemens.
When you have selected your user scenario, the following instructions help you
download and use it.
F-DQ
Siemens AG 2018 All rights reserved
fDoorCoil
eMagnet
sepAct
hingedSwitch
are variables of the safety program of your user scenario.
Figure 6-8 Correlation between control of guard locking (fDoorCoil variable) and monitoring
of guard locking (eMagnet variable)
“fDoorCoil” = 0
(0 signal from F-DQ) 41
causes
“eMagnet” = 1
E1 E2
42
“fDoorCoil” = 1
(1 signal from F-DQ) 41
causes “eMagnet” = 0
E1 E2
42
Siemens AG 2018 All rights reserved
Figure 6-9 Correlation between the actuator and the "sepAct" variable
Actuator inserted 11
(door closed)
causes “sepAct” = 1
12
Actuator not inserted 11
(door open)
causes “sepAct” = 0
12
Hinge switch
12
11
Operated
“sepAct” = 0
(door open)
12
When parameterizing, keep in mind that the RFID safety switch performs an
internal short-circuit test. Therefore, deselect short-circuit monitoring in the DI
parameters (see Figure 4-9). If you need short-circuit monitoring for other sensors
connected to the F-DI, set "external power supply" for the RFID safety switch. Then
short-circuit monitoring can remain selected.
Siemens AG 2018 All rights reserved
F-library blocks
To implement the respective safety function, the F-user FBs access certified F-
library blocks included in STEP 7 Safety. The following F-library blocks are used in
the application examples shown here:
Emergency stop (FB ESTOP1)
Safety door (FB SFDOOR)
Readback (FB FDBACK)
Reintegration via all F-I/O (FB ACK_GL)
F-user FB
The F-user FB of your selected user scenario includes at least two of the above-
listed F-library blocks.
F-user FB
FB SFDOOR
FB ESTOP1
FB ACK_GL
Siemens AG 2018 All rights reserved
Note The F-user FBs are also provided to you in a block library. However, this is not
the F-library included in STEP 7 Safety.
Note For related information on the individual F-library blocks, please refer to the
STEP 7 online help.
Select the F-library block in the safety program editor > Press "F5"
E-stop F-DI
Chnl 1
Discrepancy
analysis
Chnl 2
Siemens AG 2018 All rights reserved
The evaluation of the two channels is performed in the F-DI. In the safety program,
the processed signal is available as an input in the process image. This always
corresponds to the lower address of the two channels.
Position switch
Actuator
Hinge switch
If the two signals do not correlate as expected, this will be detected as a fault and
the Q output will not be set/reset.
Example:
An actuator – that has broken off the swinging part of the safety door – inserted in
the position switch outputs the information "safety door closed" when the safety
door is opened. The hinge switch, in contrast, outputs the information "safety door
open". This discrepancy is detected by FB SFDOOR and the Q output is reset to 0
signal.
After such a fault, it is always necessary to completely open and close the safety
door before the fault can be acknowledged. This ensures that, for example, an
actuator that has broken off is safely detected.
Readback: FB FDBACK
This block compares, for example for a contactor, whether the state of the
contactor coil correctly correlates with the state of the contactor auxiliary contact.
Figure 6-16 FB FDBACK
Contactor
auxiliary contact
K1
Contactor coil
Siemens AG 2018 All rights reserved
K1
If these two states are not plausible to each other after a configurable period of
time, the Q output (here: the contactor coil) will be safely disabled. This allows you
to react, for example, to a welded contactor.
Reintegration: FB ACK_GL
Passivated F-modules/channels cannot output process values until the fault has
been cleared and the F-module/channel has been reintegrated (see also chapter
6.6). With FB ACK_GL used here, you reintegrate the entire F-I/O of an F-runtime
group.
time – by the sensor on the other channel; otherwise, the F-system detects a
functional error (here: discrepancy error).
Figure 6-17 Passivation due to discrepancy error
F-DI
Sensor 1 Chnl 1
Discrepancy Time Discrepancy
Sensor 2 Chnl 2 analysis elapsed error
Reintegration
Even if the error that caused passivation is no longer present, passivation persists.
To enable the passivated channel to output process values, reintegration is
required.
Note The term "depassivation" is also used as a synonym for reintegration. This
document uses only the term reintegration.
Siemens AG 2018 All rights reserved
Reintegration of the F-I/O after clearing the errors requires user acknowledgment
with a positive edge at the ACK_REI variable of the F-I/O DB. For this purpose, you
can provide, for example, the acknowledgment button, a separate button or also an
HMI.
In addition, the FB ACK_GL F-library block provides you with the option to
reintegrate the entire F-I/O (see chapter 6.5).
The table below shows an example of the address assignment in the PII for the 16-
channel F-DI:
Table 6-1 Example of the address assignment in the PII for a fail-safe digital input module with 16
channels
Byte in Assigned bits in the F-CPU per F-module:
the
F-CPU 7 6 5 4 3 2 1 0
Example:
The address of the value status of a fail-safe input E0.0 would be E2.0.
Hardware components
Siemens AG 2018 All rights reserved
Software components
Table 7-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety Basic 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
V15 V15
7.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 7-1 Emergency stop PL e/SIL 3 wiring
24V DC
M
.0
.1
.2
L1
K2 K1
M
Siemens AG 2018 All rights reserved
L+ Vs1
.3 L+ 0+
K1
.0
.4 M
K2
0-
.0
Vs2
eStop
Note In the safety program, the auxiliary contacts of the contactors K1 and K2 are
termed "feedback1" and "feedback2".
Start
No No
E-stop
released
?
Yes
No
Stop caused by
e-stop or
1st start?
Yes
Siemens AG 2018 All rights reserved
Acknowledge
Actuators Yes
Operational stop?
switch off
Start condition No
met
Actuators
on
Note The names of the prepared F-user FBs start with an "F" and a number for the
block number that refers to the user scenario number (e.g., FB
F20EStopFDoorPLdSIL2 refers to User Scenario 20). The only exception to this
convention is FB F100EStopPLdeSIL23, which refers to User Scenario 1. "100"
was used instead of "1", because the block number "1" is assigned to the
Main_Safety_RTG1 by default.
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
The following section describes the inputs and outputs of FB
F100EStopPLdeSIL23.
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.3.2.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Hardware components
Siemens AG 2018 All rights reserved
Software components
Table 8-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
8.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 8-1 Emergency stop PL c/SIL 1 wiring
24V DC
M
.0
.1
.2
L1
K1
M
Siemens AG 2018 All rights reserved
Vs1 0+
L+
.3 L+
K1
.0
M 0-
eStop
Note In the safety program, the auxiliary contact of contactor K1 is termed "feedback".
Note Due to the use of the FB FDBACK F-library block, it is useful to monitor
readback. Basically, monitoring the readback signals is not required for PL c/SIL
1.
Start
No No
E-stop
released
?
Yes
No
Stop caused by
e-stop or
1st start?
Yes
Acknowledge
Siemens AG 2018 All rights reserved
Actuator Yes
Operational stop?
switches off
Start condition No
met
Actuator
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
The following section describes the inputs and outputs of FB F02EStopPLcSIL1.
Siemens AG 2018 All rights reserved
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.1.2.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Hardware components
Table 9-1 Hardware
Siemens AG 2018 All rights reserved
Software components
Table 9-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional
V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
SINAMICS 1 6SL3072-4EA02-0XG0 SINAMICS Startdrive
Startdrive V15
9.4 Wiring
The figure below shows the wiring of the hardware components.
24V DC
M
.0
.1
.2
L1
M
Siemens AG 2018 All rights reserved
L+ Vs1
L+
.0
M
PROFINET IE
eStop
Note For the actuators used in this user scenario, please also refer to chapter 6.8.
Start
No No
E-stop
released
?
Yes
No
Stop caused by
e-stop or
1st start?
Yes
Siemens AG 2018 All rights reserved
Acknowledge
Actuator Yes
Operational stop?
switches off
Start condition No
met
Actuator
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
The following section describes the inputs and outputs of FB F03EStopPLdSIL2.
Siemens AG 2018 All rights reserved
NOTE The provided block library includes the drive project "Drive_1". This includes our
individual parametrization for testing the functionalities of the examples. You
have to execute your own commissioning of the SINAMICS G120 in case of use.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.2.2.
Note For information on the SINAMICS G120, please refer to chapter 29.9.3.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Hardware components
Siemens AG 2018 All rights reserved
Software components
Table 10-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional
V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
SINAMICS 1 6SL3072-4EA02-0XG0 SINAMICS Startdrive
Startdrive V15
10.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 10-1 Emergency stop PL c/SIL 1 wiring
24V DC
M
.0
.1
.2
L1
L+ Vs1
Siemens AG 2018 All rights reserved
L+
.0
M
PROFINET IE
eStop
Note For the actuators used in this user scenario, please also refer to chapter 6.8.
Start
No No
E-stop
released
?
Yes
No
Stop caused by
e-stop or
1st start?
Yes
Siemens AG 2018 All rights reserved
Acknowledge
Actuator Yes
Operational stop?
switches off
Start condition No
met
Actuator
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
The following section describes the inputs and outputs of FB F04EStopPLcSIL1.
NOTE The provided block library includes the drive project "Drive_1". This includes our
individual parametrization for testing the functionalities of the examples. You
have to execute your own commissioning of the SINAMICS G120 in case of use.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
Note For more information on the hardware configuration in this user scenario, please
Siemens AG 2018 All rights reserved
Note For information on the SINAMICS G120, please refer to chapter 29.9.3
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Hardware components
Table 11-1 Hardware
Component No. Article number Note
Siemens AG 2018 All rights reserved
Software components
Table 11-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
11.4 Wiring
The figure below shows the wiring of the hardware components.
24V DC
M
.0
.1
.2
L1
K2 K1
M
L+ Vs1
.3 L+ 0+
K1
.0
.4 M
K2
Siemens AG 2018 All rights reserved
0-
posSwitch2 posSwitch1
Note In the safety program, the NC auxiliary contacts of the contactors K1 and K2 are
termed "feedback1" and "feedback2".
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ACK=1.
Start
No
No
Actuators Yes
Safety door
Operational stop?
closed switch off
?
Siemens AG 2018 All rights reserved
No
Yes
No
Safety door
closed
?
Acknowledge Yes
Start condition
met
Actuators
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Siemens AG 2018 All rights reserved
Parameter description
The following section describes the inputs and outputs of FB F05FDoorPLdeSIL23.
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.3.2.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Safety door closed
Table 11-5 Start actuator
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time or in
the event of a safety door fault, open and close
the door completely.
2 Press ack Required when starting the scenario for the first
time and after each opening of the safety door.
3 Press start K1K2 picks up
4 Press stop K1K2 drops out
Siemens AG 2018 All rights reserved
Table 11-6 Safety function: Safe shutdown when the safety door is opened
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time or in
the event of a safety door fault, open and close
the door completely.
2 Press ack Required when starting the scenario for the first
time and after each opening of the safety door.
3 Press start K1K2 picks up
4 Open the safety door K1K2 drops out
5 Close the safety door
6 Start again with no. 2
Hardware components
Table 12-1 Hardware
Component No. Article number Note
Siemens AG 2018 All rights reserved
Software components
Table 12-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
12.4 Wiring
The figure below shows the wiring of the hardware components.
24V DC
M
.0
.1
.2
L1
K1
M
Vs1 0+
L+
.3 L+
K1
.0
M 0-
Siemens AG 2018 All rights reserved
posSwitch
Note In the safety program, the auxiliary contact of contactor K1 is termed "feedback".
Note Due to the use of the FB FDBACK F-library block, it is useful to monitor
readback. Basically, monitoring the readback signals is not required for
PL c/SIL 1.
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ACK=1.
Start
No
No
Actuator Yes
Safety door
Operational stop?
closed switches off
?
No
Yes
No
Safety door
closed
?
Siemens AG 2018 All rights reserved
Acknowledge Yes
Start condition
met
Actuator
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
The following section describes the inputs and outputs of FB F06FDoorPLcSIL1.
Siemens AG 2018 All rights reserved
Position switch value status posSwitchVS BOOL 0: Fault VS: value status
Output K1 value status K1VS BOOL Chapter 6.7
The STEP 7 hardware configuration (HW Config) has already been prepared for
commissioning FB F06FDoorPLcSIL1. Customizations are possible.
The associated HW Config can be found in the provided block library.
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.1.2.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Safety door closed
Table 12-6 Safety function: Safe shutdown when the safety door is opened
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time or in
the event of a safety door fault, open and close
the door completely.
2 Press ack Required when starting the scenario for the first
time and after each opening of the safety door.
Siemens AG 2018 All rights reserved
Hardware components
Table 13-1 Hardware
Component No. Article number Note
Siemens AG 2018 All rights reserved
Software components
Table 13-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety Basic 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
V15 V15
13.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 13-1 Safety door without guard locking PL d/SIL 2 wiring
24V DC
M
.0
.1
.2
L1
L+ Vs1
L+
Siemens AG 2018 All rights reserved
.0
M
.0
Vs2
PROFINET IE
posSwitch2 posSwitch1
Note For the actuators used in this user scenario, please also refer to chapter 6.8.
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ack=1.
Start
No
No
Actuator Yes
Safety door
Operational stop?
closed switches off
Siemens AG 2018 All rights reserved
?
No
Yes
No
Safety door
closed
?
Acknowledge Yes
Start condition
met
Actuator
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
The following section describes the inputs and outputs of FB F07FDoorSIL2PL.
Siemens AG 2018 All rights reserved
The STEP 7 hardware configuration (HW Config) has already been prepared for
commissioning FB F07FDoorSIL2PL. Customizations are possible.
The associated HW Config can be found in the provided block library.
NOTE The provided block library includes the drive project "Drive_1". This includes our
individual parametrization for testing the functionalities of the examples. You
have to execute your own commissioning of the SINAMICS G120 in case of use.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.2.2.
Note For information on the SINAMICS G120, please refer to chapter 29.9.3
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Safety door closed
Table 13-6 Safety function: Safe shutdown when the safety door is opened
No. Action Comment
1 Open and close the safety door. When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
2 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
3 Press start DB "Drive".enableAxis = 1; STO = 1
4 Open the safety door DB "Drive".enableAxis = 0; STO = 0
5 Close the safety door
6 Start again with no. 2
Hardware components
Table 14-1 Hardware
Component No. Article number Note
Siemens AG 2018 All rights reserved
Software components
Table 14-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional
V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
SINAMICS 1 6SL3072-4EA02-0XG0 SINAMICS Startdrive V15
Startdrive
14.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 14-1 Safety door without guard locking PL c/SIL 1 wiring
24V DC
M
.0
.1
.2
L1
L+ Vs1
Siemens AG 2018 All rights reserved
L+
.0
M
PROFINET IE
posSwitch
Note For the actuators used in this user scenario, please also refer to chapter 6.8.
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ack=1.
Start
No
No
Actuator Yes
Safety door
Operational stop?
closed switches off
Siemens AG 2018 All rights reserved
?
No
Yes
No
Safety door
closed
?
Acknowledge Yes
Start condition
met
Actuator
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
The following section describes the inputs and outputs of FB F08FDoorPLcSIL1.
Siemens AG 2018 All rights reserved
NOTE The provided block library includes the drive project "Drive_1". This includes our
individual parametrization for testing the functionalities of the examples. You
have to execute your own commissioning of the SINAMICS G120 in case of use.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.1.2.
Note For information on the SINAMICS G120, please refer to chapter 29.9.3
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Safety door closed
Table 14-5 Start actuator
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
2 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
3 Press start DB "Drive".enableAxis = 1; STO = 1
Siemens AG 2018 All rights reserved
Table 14-6 Safety function: Safe shutdown when the safety door is opened
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
2 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
3 Press start DB "Drive".enableAxis = 1; STO = 1
4 Open the safety door DB "Drive".enableAxis = 0; STO = 0
5 Close the safety door
6 Start again with no. 2
Hardware components
Table 15-1 Hardware
Component No. Article number Note
Siemens AG 2018 All rights reserved
Software components
Table 15-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
15.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 15-1 Safety door without guard locking PL e/SIL 3 wiring
24V DC
M
.0
.1
.2
L1
K2 K1
M
Siemens AG 2018 All rights reserved
L+
.3 L+ 0+
K1
.0
.4 M
K2
0-
.0
M
L+
A2 A1 X1 X2
RFID
OSSD1 OSSD2
Note In the safety program, the NC auxiliary contacts of the contactors K1 and K2 are
termed "feedback1" and "feedback2".
Note When using RFID safety switches, the short-circuit test in the hardware
configuration must be deactivated.
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ACK=1.
Start
No
Siemens AG 2018 All rights reserved
No
Actuators Yes
Safety door
Operational stop?
closed switch off
?
No
Yes
No
Safety door
closed
?
Acknowledge Yes
Start condition
met
Actuators
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Siemens AG 2018 All rights reserved
Parameter description
The following section describes the inputs and outputs of FB F09FDoorPLdeSIL23.
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.3.2.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Safety door closed
Table 15-5 Start actuator
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time or in
the event of a safety door fault, open and close
the door completely.
2 Press ack Required when starting the scenario for the first
time and after each opening of the safety door.
3 Press start K1K2 picks up
4 Press stop K1K2 drops out
Table 15-6 Safety function: Safe shutdown when the safety door is opened
Siemens AG 2018 All rights reserved
Hardware components
Table 16-1 Hardware
Siemens AG 2018 All rights reserved
Software components
Table 16-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
SINAMICS 1 6SL3072-4EA02-0XG0 SINAMICS Startdrive V15
Startdrive
16.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 16-1 Safety door without guard locking PL d/SIL 2 wiring
24V DC
M
.0
.1
.2
L1
L+
L+
.0
M
Siemens AG 2018 All rights reserved
A2 A1 X1 X2
RFID
OSSD1 OSSD2
PROFINET IE .0
Note For the actuators used in this user scenario, please also refer to chapter 6.8.
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ACK=1.
Start
No
No
Actuator Yes
Safety door
Operational stop?
closed switches off
Siemens AG 2018 All rights reserved
?
No
Yes
No
Safety door
closed
?
Acknowledge Yes
Start condition
met
Actuator
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
The following section describes the inputs and outputs of FB F10FDoorPldSIL2.
Siemens AG 2018 All rights reserved
NOTE The provided block library includes the drive project "Drive_1". This includes our
individual parametrization for testing the functionalities of the examples. You
have to execute your own commissioning of the SINAMICS G120 in case of use.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.2.2.
Note For information on the SINAMICS G120, please refer to chapter 29.9.3
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Safety door closed
Table 16-6 Safety function: Safe shutdown when the safety door is opened
No. Action Comment
1 Open and close the safety door. When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
2 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
3 Press start DB "Drive".enableAxis = 1; STO = 1
4 Open the safety door DB "Drive".enableAxis = 0; STO = 0
5 Close the safety door
6 Start again with no. 2
Note Under "Normative assessment of guard locking", chapter 6.2 addresses the
situation where there is a safety function with regard to guard locking.
Siemens AG 2018 All rights reserved
Hardware components
Table 17-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
SM 1226 F-DQ 1 6ES7 226-6DA32-0XB0
4x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Position switch with 1 3SE5322-0SD21
solenoid interlocking
(spring-locked)
Hinge switch 1 3SE5132-0LU21
Actuator for position 1 3SE5000-0AV0
switch
Contactors 2 3RT2015-2BB42
Software components
Table 17-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
17.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 17-1 Safety door with guard locking PL e/SIL 3 wiring
24V DC
M
.0
.1
.2 L+
.5 M
L1 .4
0+ Vs1
K2 K1
M
.0 .1
L+ K1 K2
standstill
.3
0-
eMagnet
1-
1+
fDoorCoil
.0
Vs2
hingedSwitch sepAct
Note In the safety program, the NC auxiliary contacts of the contactors K1 and K2 are
termed "feedback1" and "feedback2".
The following signals from the above connection diagram are connected to the
position switch (sepAct):
sepAct (monitoring of the actuator position)
sepAct (monitoring of the locking device position)
fDoorCoil (control of guard locking)
The following figure shows the wiring on the position switch and therefore
complements the above connection diagram.
Figure 17-2 Internal terminals of the position switch with solenoid interlocking
L+ (F-CPU)
Vs1 (F-DI) CH – (F-DQ)
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ACK=1.
Start
No
Stop request?
No
Yes
Safety door
closed
?
Actuators stop
Yes
Previous Yes
stop was
Timer starts
operational stop
?
No
Timer No
Siemens AG 2018 All rights reserved
Acknowledge expired or
“standstill”=1
?
Yes
Actuators
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Note This example assumes that you are using a hinge switch (hingedSwitch) as a
second channel. However, it is not mandatory to use a hinge switch. The
required dual-channel redundancy can also be implemented with a different
switch.
Parameter description
The following section describes the inputs and outputs of FB F11FDoorSIL3PLe.
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.3.2.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Safety door closed
"delayTimeUnlock" > 0
safety door.
3 Press start Guard locking is activated, then K1K2 picks
up
4 Turn the hinge switch until it outputs "0" signal. K1K2 drops out; then the timer for the
delayed release of the safety door starts.
5 Wait until the timer expires. When the timer has expired, the safety door
can be opened.
6 Close the safety door
7 Start again with no. 1
Note Under "Normative assessment of guard locking", chapter 6.2 addresses the
situation where there is a safety function with regard to guard locking.
Siemens AG 2018 All rights reserved
Hardware components
Table 18-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
SM 1226 F-DQ 1 6ES7 226-6DA32-0XB0
4x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Position switch with 1 3SE5322-0SD21
solenoid interlocking
(spring-locked)
Actuator for position 1 3SE5000-0AV0
switch
Contactors 1 3RT2015-2BB42
Software components
Table 18-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional
V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
18.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 18-1 Safety door with guard locking PL c/SIL 1 wiring
24V DC
M
.0
Siemens AG 2018 All rights reserved
.1 L+
.2
M
L1 .4
Vs1
K1
M
.3 .1
L+ 0+
.0
K1
eMagnet standstill 0-
1-
1+
fDoorCoil
sepAct
Note In the safety program, the auxiliary contact of contactor K1 is termed "feedback".
In the safety program, the signals of the position switch are defined as follows:
sepAct (monitoring of the actuator position)
sepAct (monitoring of the locking device position)
fDoorCoil (control of guard locking)
The following figure shows the wiring on the position switch and therefore
complements the above connection diagram.
Figure 18-2 Internal terminals of the position switch with solenoid interlocking
L+ (F-CPU)
Vs1 (F-DI) CH – (F-DQ)
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ACK=1.
Start
No
Stop request?
No
Yes
Safety door
closed
?
Actuator stops
Yes
Previous Yes
stop was
Timer starts
operational stop
?
No
Timer No
Siemens AG 2018 All rights reserved
Acknowledge expired or
“standstill”=1
?
Yes
Actuator
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Siemens AG 2018 All rights reserved
Parameter description
The following section describes the inputs and outputs of FB F12FDoorPLcSIL1.
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.1.2.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Safety door closed
"delayTimeUnlock" > 0
Table 18-6 Safety function: Safe shutdown when the safety door is opened
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
2 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
3 Press start Guard locking is activated, then K1 picks up
4 Release the interlocking and open the safety door K1 drops out
Note Under "Normative assessment of guard locking", chapter 6.2 addresses the
situation where there is a safety function with regard to guard locking.
Siemens AG 2018 All rights reserved
Hardware components
Table 19-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
SM 1226 F-DQ 1 6ES7 226-6DA32-0XB0
4x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Position switch with 1 3SE5322-0SD21
solenoid interlocking
(spring-locked)
Hinge switch 1 3SE5132-0LU21
Actuator for position 1 3SE5000-0AV0
switch
Software components
Table 19-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
SINAMICS 1 6SL3072-4EA02-0XG0 SINAMICS Startdrive V15
Startdrive
Siemens AG 2018 All rights reserved
19.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 19-1 Safety door with guard locking PL d/SIL 2 wiring
24V DC
M
.0
.1
L+
.2
M
L1
M
.3
L+ Vs1
Siemens AG 2018 All rights reserved
.0
eMagnet
0-
0+
fDoorCoil
PROFINET IE .0
hingedSwitch
sepAct
Vs2
In the safety program, the signals of the position switch are defined as follows:
sepAct (monitoring of the actuator position)
sepAct (monitoring of the locking device position)
fDoorCoil (control of guard locking)
The following figure shows the wiring on the position switch and therefore
complements the above connection diagram.
Figure 19-2 Internal terminals of the position switch with solenoid interlocking
L+ (F-CPU)
Vs1 (F-DI) CH – (F-DQ)
Siemens AG 2018 All rights reserved
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ACK=1.
Start
No
Stop reques?
No
Yes
Safety door
closed
?
Actuator stops
Yes
Previous
stop was Yes
operational stop Timer starts
?
Yes Safety door
No
opened after
operational stop?
Unlock No
Siemens AG 2018 All rights reserved
Acknowledge timer
expired
No ?
Yes
Safety door
Start condition interlocking
met is released
Actuator
on
In this example for electric actuators, the safety door's guard locking is
deactivated when the timer has expired. For moving parts, a hazard cannot
be automatically ruled out when the timer has expired.
WARNING
Make sure that the safety door's guard locking is deactivated only when a hazard
no longer exists.
NOTICE For F-blocks, the enable input (EN) must not be wired.
Note This example assumes that you are using a hinge switch (hingedSwitch) as a
second channel. However, it is not mandatory to use a hinge switch. The
required dual-channel redundancy can also be implemented with a different
switch.
NOTE If you want to use the extended safety function SLS in the drive, you have to set
the bit SS1 also on TRUE. This is solved in network 2 of the
FB F13FDoorGuardLockingPLdSIL2. There you can fit the address of SS1 if
necessary.
Parameter description
The following section describes the inputs and outputs of FB
F13FDoorGuardLockingPLdSIL2.
position switch
de-energized
SLS request reqSLS BOOL NO
1: SLS requested
SLS feedback from drive fdbackSLS BOOL 1: SLS active
STO feedback from drive fdbackSTO BOOL 1: STO active
Power-on inhibit of drive driveLockout BOOL 1: Power-on
inhibit active
Position switch sepAct BOOL NC
1: Actuator
inserted (safety
door closed) Chapter 6.2
Hinge switch hingedSwitch BOOL NC
1: Unoperated
(safety door
closed)
Position switch value status sepActVS BOOL
Hinge switch value status hingedSwitchVS BOOL
VS: value status
0: Fault Chapter 6.7
Output fDoorCoil value fDoorCoilVS BOOL
status
In the position switch: Time feedbackTime TIME
between the response of
the magnet and the
monitoring contact
Time delay after shutdown delayTimeUnlock TIME Set this time to a
of the actuators to release sufficiently large
the safety door. value
NOTE The provided block library includes the drive project "Drive_1". This includes our
individual parametrization for testing the functionalities of the examples. You
have to execute your own commissioning of the SINAMICS G120 in case of use.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.2.2.
Note For information on the SINAMICS G120, please refer to chapter 29.9.3
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Safety door closed
Table 19-5 Start actuator
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
2 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
3 Press start Guard locking is activated
("fDoorCoil"=0)
"onDrive"=1
Siemens AG 2018 All rights reserved
"STO"=1, "SLS"=1
4 Press stop "onDrive"=0
the timer for the delayed release of the
safety door starts.
5 Wait until the timer expires. When the timer has expired, the safety door
can be opened ("fDoorCoil"=1).
"STO"=1, "SLS"=1
NOTE In case of closing door and "onDrive"=0 (OFF1 is active in the drive), the drive
will change to STO after some seconds, if there is "reqSLS"=1 and no start
command.
Note Under "Normative assessment of guard locking", chapter 6.2 addresses the
situation where there is a safety function with regard to guard locking.
Siemens AG 2018 All rights reserved
Hardware components
Table 20-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
SM 1226 F-DQ 1 6ES7 226-6DA32-0XB0
4x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Position switch with 1 3SE5322-0SD21
solenoid interlocking
(spring-locked)
Actuator for position 1 3SE5000-0AV0
switch
SINAMICS G120 1 6SL3244-0BB13-1FA0
CU240E-2 PN-F
Software components
Table 20-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
SINAMICS 1 6SL3072-4EA02-0XG0 SINAMICS Startdrive V15 V15
Startdrive
Siemens AG 2018 All rights reserved
20.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 20-1 Safety door with guard locking SIL 1/PL d wiring
24V DC
M
.0
.1
L+
.2
M
L1
M
.3
Siemens AG 2018 All rights reserved
L+ Vs1
.0
eMagnet
0-
0+
fDoorCoil
PROFINET IE
sepAct
In the safety program, the signals of the position switch are defined as follows:
sepAct (monitoring of the actuator position)
sepAct (monitoring of the locking device position)
fDoorCoil (control of guard locking)
The following figure shows the wiring on the position switch and therefore
complements the above connection diagram.
Figure 20-2 Internal terminals of the position switch with solenoid interlocking
L+ (F-CPU)
Vs1 (F-DI) CH – (F-DQ)
Siemens AG 2018 All rights reserved
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ACK=1.
Start
No
Stop request?
No
Yes
Safety door
closed
?
Actuator stops
Yes
Previous
stop was Yes
operational stop Timer starts
?
Safety door
No Yes
opened after
operational stop
? Unlock No
Siemens AG 2018 All rights reserved
Acknowledge timer
expired
No ?
Yes
Safety door
Start condition interlocking
met is released
Actuator
on
In this example for electric actuators, the safety door's guard locking is
deactivated when the timer has expired. For moving parts, a hazard cannot
be automatically ruled out when the timer has expired.
WARNING
Make sure that the safety door's guard locking is deactivated only when a hazard
no longer exists.
NOTE If you want to use the extended safety function SLS in the drive, you have to set
Siemens AG 2018 All rights reserved
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
The following section describes the inputs and outputs of FB
F14FDoorGuardLockingPLcSIL1.
1: SLS requested
SLS feedback from drive fdbackSLS BOOL 1: SLS active
STO feedback from fdbackSTO BOOL 1: STO active
drive
Power-on inhibit of drive driveLockout BOOL 1: Power-on
inhibit active
Position switch sepAct BOOL NC
1: Actuator
Chapter 6.2
inserted (safety
door closed)
NOTE The provided block library includes the drive project "Drive_1". This includes our
individual parametrization for testing the functionalities of the examples. You
have to execute your own commissioning of the SINAMICS G120 in case of use.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.1.2.
Note For information on the SINAMICS G120, please refer to chapter 29.9.3
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Safety door closed
Table 20-5 Start actuator
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
2 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
3 Press start Guard locking is activated
("fDoorCoil"=0)
"onDrive"=1, "STO"=1
Siemens AG 2018 All rights reserved
Hardware components
Table 21-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
SM 1226 F-DQ 1 6ES7 226-6DA32-0XB0
4x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Emergency stop 1 3SU1100-1HB20-1CF0
pushbutton (NC)
nd
2 NC for 1 3SU1400-1AA10-1CA0
emergency stop
Position switch 2 3SE5132-1QV20
without tumbler
Actuator for position 2 3SE5000-0AV0
switch
Contactors 2 3RT2015-2BB42
Software components
Table 21-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
21.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 21-1 Emergency stop and safety door without guard locking PL e/SIL 3 wiring
24V DC
M
.0
.1
.2
L1
K2 K1
M
L+ Vs1
.3 L+ 0+
K1
.1
.4 M
K2
0-
.1
.0
Vs2
posSwitch2 posSwitch1
eStop
Vs1
.0
Note In the safety program, the NC auxiliary contacts of the contactors K1 and K2 are
termed "feedback1" and "feedback2".
Start
No
Stop request?
No
Safety door
Yes
closed
and e-stop
released Actuators are
? switched off
Yes
Siemens AG 2018 All rights reserved
Previous
stop was Yes
operational stop
?
No
Acknowledge
Start condition
met
Actuators
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
The following section describes the inputs and outputs of FB
F15EStopFDoorPLdeSIL23.
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.3.2.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Safety door closed
Table 21-6 Safety function: Safe shutdown when the safety door is opened
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
2 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
3 Press start K1K2 picks up
4 Open the safety door K1K2 drops out
5 Close the safety door
6 Start again with no. 2
Hardware components
Siemens AG 2018 All rights reserved
Software components
Table 22-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
22.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 22-1 Emergency stop and safety door without guard locking PL c/SIL 1 wiring
24V DC
M
.0
.1
.2
L1
K1
M
L+ Vs1 0+
.3 L+
Siemens AG 2018 All rights reserved
K1
.1
0-
M
.0
eStop posSwitch1
Vs1
Note In the safety program, the auxiliary contact of contactor K1 is termed "feedback".
Note Due to the use of the FB FDBACK F-library block, it is useful to monitor
readback. Basically, monitoring the readback signals is not required for PL c/SIL
1.
Figure 22-2 Emergency stop + safety door without guard locking – core functionality
Start
No
Stop request?
No
Safety door
Yes
closed
and e-stop
released Actuator is
? switched off
Yes
Previous
stop was Yes
operational stop
?
No
Siemens AG 2018 All rights reserved
Acknowledge
Start condition
met
Actuator
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Siemens AG 2018 All rights reserved
Parameter description
The following section describes the inputs and outputs of FB
F16EStopFDoorPLcSIL1.
contactors
Release safety releaseFDoor BOOL 1: With regard to Information of the
door safety door, start F-library blocks. Can
is possible (safety be read out, for
door closed) example, in the
Release releaseEStop BOOL 1: Emergency standard user
program.
emergency stop stop released and
acknowledged
Acknowledgment ackReqFDoor BOOL 1:
for safety door Acknowledgment
required
Acknowledgment ackReqEStop BOOL
required
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.2.2.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Safety door closed
Table 22-7 Safety function: Safe shutdown when the safety door is opened
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
2 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
3 Press start K1 picks up
4 Open the safety door K1 drops out
Hardware components
Table 23-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
SM 1226 F-DQ 1 6ES7 226-6DA32-0XB0
4x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 2 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Emergency stop 1 3SU1100-1HB20-1CF0
pushbutton (NC)
nd
2 NC for 1 3SU1400-1AA10-1CA0
emergency stop
Position switch 2 3SE5132-1QV20
without tumbler
Actuator for position 2 3SE5000-0AV0
switch
SINAMICS G120 1 6SL3244-0BB13-1FA0
CU240E-2 PN-F
SINAMICS G120 1 6SL3224-0BE17-5UA0
PM240
Software components
Table 23-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
SINAMICS 1 6SL3072-4EA02-0XG0 SINAMICS Startdrive V15 V15
Startdrive
Siemens AG 2018 All rights reserved
23.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 23-1 Emergency stop and safety door without guard locking PL d/SIL 2 wiring
24V DC
M
.0
.1
.2
.3
L1
selectSTOOrSLS
M
Siemens AG 2018 All rights reserved
L+ Vs1
L+
.1
M
PROFINET IE
.0
.1
Vs2
posSwitch2 posSwitch1
eStop
Vs1
.0
Start
No
E-stop?
No
Safety door
Yes No
closed
and e-stop Safety door open?
released Actuator is
? switched off (STO)
Yes Yes
No
STO selected
STO or No by operator?
SLS
active?
Yes
Siemens AG 2018 All rights reserved
Yes
Acknowledge
SLS active
Start condition
met
NOTICE For F-blocks, the enable input (EN) must not be wired.
Siemens AG 2018 All rights reserved
Parameter description
The following section describes the inputs and outputs of FB
F17EStopFDoorPLdSIL2.
NOTE The provided block library includes the drive project "Drive_1". This includes our
individual parametrization for testing the functionalities of the examples. You
have to execute your own commissioning of the SINAMICS G120 in case of use.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
Note For more information on the hardware configuration in this user scenario, please
Siemens AG 2018 All rights reserved
Note For information on the SINAMICS G120, please refer to chapter 29.9.3
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Safety door closed
Table 23-7 Safety function: Safe shutdown when the safety door is opened (STO)
No. Action Comment
Siemens AG 2018 All rights reserved
Table 23-8 Safety function: Safe shutdown when the safety door is opened (SLS)
No. Action Comment
1 Set "selectSTOOrSLS" = 1 STO selected
2 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
3 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
4 Press start enableAxis (SINA_SPEED) = 1
5 Open the safety door SLS = 0
6 Close the safety door SLS = 0
Start again with no. 3 SLS = 1 and startup of drive
Hardware components
Table 24-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
SM 1226 F-DQ 1 6ES7 226-6DA32-0XB0
4x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 2 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Emergency stop 1 3SU1100-1HB20-1CF0
pushbutton (NC)
Position switch 1 3SE5132-1QV20
without tumbler
Actuator for position 1 3SE5000-0AV0
switch
SINAMICS G120 1 6SL3244-0BB13-1FA0
CU240E-2 PN-F
SINAMICS G120 1 6SL3224-0BE17-5UA0
PM240
Software components
Table 24-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
SINAMICS 1 6SL3072-4EA02-0XG0 SINAMICS Startdrive V15 V15
Startdrive
Siemens AG 2018 All rights reserved
24.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 24-1 Emergency stop and safety door without guard locking PL c/SIL 1 wiring
24V DC
M
.0
.1
.2
.3
L1
selectSTOOrSLS
M
Siemens AG 2018 All rights reserved
L+ Vs1
L+
.1
M
PROFINET IE
posSwitch1
.0
eStop
Vs1
Start
No
E-stop?
No
Safety door
Yes No
closed
and e-stop Safety door open?
released Actuator is
? switched off (STO)
Yes Yes
No
STO selected
STO or No by operator?
SLS
active?
Yes
Siemens AG 2018 All rights reserved
Yes
Acknowledge
SLS active
Start condition
met
NOTICE For F-blocks, the enable input (EN) must not be wired.
Siemens AG 2018 All rights reserved
Parameter description
The following section describes the inputs and outputs of FB
F18EStopFDoorPLcSIL1.
NOTE The provided block library includes the drive project "Drive_1". This includes our
individual parametrization for testing the functionalities of the examples. You
have to execute your own commissioning of the SINAMICS G120 in case of use.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
Note For more information on the hardware configuration in this user scenario, please
Siemens AG 2018 All rights reserved
Note For information on the SINAMICS G120, please refer to chapter 29.9.3
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Safety door closed
Table 24-5 Start actuator
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
2 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
Table 24-7 Safety function: Safe shutdown when the safety door is opened (STO)
No. Action Comment
1 Set "selectSTOOrSLS" = 0 STO selected
Siemens AG 2018 All rights reserved
2 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
3 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
4 Press start enableAxis (SINA_SPEED) = 1
5 Open the safety door STO = 0
6 Close the safety door STO = 0
Start again with no. 3 STO = 1
Table 24-8 Safety function: Safe shutdown when the safety door is opened (SLS)
No. Action Comment
1 Set "selectSTOOrSLS" = 1 SLS selected
2 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
3 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
4 Press start enableAxis (SINA_SPEED) = 1
5 Open the safety door SLS = 0
6 Close the safety door SLS = 0
Start again with no. 3 SLS = 1 and startup of drive
Hardware components
Table 25-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
SM 1226 F-DQ 1 6ES7 226-6DA32-0XB0
4x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Emergency stop 1 3SU1100-1HB20-1CF0
pushbutton (NC)
nd
2 NC for 1 3SU1400-1AA10-1CA0
emergency stop
RFID safety switch 1 3SE6315-1BB01
Actuator with 1 3SE6310-1BC01
magnet latching
Contactors 2 3RT2015-2BB42
Software components
Table 25-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
25.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 25-1 Emergency stop and safety door without guard locking PL e/SIL 3 wiring
24V DC
M
.0
L+
.1
.2 M
L1 0+
K2 K1
M
L+ Vs1
.3 L+
K1
.1
.4 M
K2
0-
.0
.1 A2 A1 X1 X2
Vs2 RFID
OSSD1 OSSD2
eStop .1
.0 Vs1
Note In the safety program, the NC auxiliary contacts of the contactors K1 and K2 are
termed "feedback1" and "feedback2".
Note When using RFID safety switches, the short-circuit test in the hardware
configuration must be deactivated.
Start
No
Stop request?
No
Safety door
Yes
closed
and e-stop
Siemens AG 2018 All rights reserved
Previous
stop was Yes
operational stop
?
No
Acknowledge
Start condition
met
Actuators
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Siemens AG 2018 All rights reserved
Parameter description
The following section describes the inputs and outputs of FB
F19EStopFDoorPLdeSIL23.
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.3.2.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Safety door closed
Table 25-6 Safety function: Safe shutdown when the safety door is opened
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
2 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
3 Press start K1K2 picks up
4 Open the safety door K1K2 drops out
5 Close the safety door
6 Start again with no. 2
Hardware components
Table 26-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 2 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Emergency stop 1 3SU1100-1HB20-1CF0
pushbutton (NC)
nd
2 NC for 1 3SU1400-1AA10-1CA0
emergency stop
RFID safety switch 1 3SE6315-1BB01
Actuator with 1 3SE6310-1BC01
magnet latching
SINAMICS G120 1 6SL3244-0BB13-1FA0
CU240E-2 PN-F
SINAMICS G120 1 6SL3224-0BE17-5UA0
PM240
Software components
Table 26-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
SINAMICS 1 6SL3072-4EA02-0XG0 SINAMICS Startdrive V15
Startdrive
Siemens AG 2018 All rights reserved
26.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 26-1 Emergency stop and safety door without guard locking PL d/SIL 2 wiring
24V DC
M
.0
L+
.1
.2 M
.3
L1
selectSTOOrSLS
M
Siemens AG 2018 All rights reserved
L+ Vs1
L+
.1
M
PROFINET IE
.1
.0
A2 A1 X1 X2
Vs2
RFID
OSSD1 OSSD2
eStop .1
.0 Vs1
Start
No
E-stop?
No
Safety door
Yes No
closed
and e-stop Safety door open?
released Actuator is
? switched off (STO)
Yes Yes
No
STO selected
STO or No by operator?
SLS
active? Yes
Yes
Siemens AG 2018 All rights reserved
Acknowledge
SLS active
Start condition
met
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
Siemens AG 2018 All rights reserved
NOTE The provided block library includes the drive project "Drive_1". This includes our
individual parametrization for testing the functionalities of the examples. You
have to execute your own commissioning of the SINAMICS G120 in case of use.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
Note For more information on the hardware configuration in this user scenario, please
Siemens AG 2018 All rights reserved
Note For information on the SINAMICS G120, please refer to chapter 29.9.3
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Safety door closed
Table 26-5 Start actuator
No. Action Comment
1 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
2 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
Table 26-7 Safety function: Safe shutdown when the safety door is opened (STO)
No. Action Comment
1 Set "selectSTOOrSLS" = 0 STO selected
Siemens AG 2018 All rights reserved
2 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
3 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
4 Press start enableAxis (SINA_SPEED) = 1
5 Open the safety door STO = 0
6 Close the safety door STO = 0
Start again with no. 3 STO = 1
Table 26-8 Safety function: Safe shutdown when the safety door is opened (SLS)
No. Action Comment
1 Set "selectSTOOrSLS" = 1 SLS selected
2 Open and close the safety door When starting the scenario for the first time
or in the event of a safety door fault, open
and close the door completely.
3 Press ack Required when starting the scenario for the
first time and after each opening of the
safety door.
4 Press start enableAxis (SINA_SPEED) = 1
5 Open the safety door SLS = 0
6 Close the safety door SLS = 0
Start again with no. 3 SLS = 1 and startup of drive
Note Under "Normative assessment of guard locking", chapter 6.2 addresses the
situation where there is a safety function with regard to guard locking.
Hardware components
Table 27-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
SM 1226 F-DQ 1 6ES7 226-6DA32-0XB0
4x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Emergency stop 1 3SU1100-1HB20-1CF0
pushbutton (NC)
nd
2 NC for 1 3SU1400-1AA10-1CA0
emergency stop
Software components
Table 27-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
Siemens AG 2018 All rights reserved
27.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 27-1 Emergency stop + safety door with guard locking PL e/SIL 3 wiring
24V DC
M
.0
.1
.2 L+
.4 M
L1 .3
0+ Vs1
K2 K1
M
Siemens AG 2018 All rights reserved
.0 .2 K1 K2
L+
.1
.5
eMagnet standstill 0-
1-
1+
fDoorCoil
.1
Vs2
hingedSwitch
sepAct
.0
eStop
Note In the safety program, the NC auxiliary contacts of the contactors K1 and K2 are
termed "feedback1" and "feedback2".
In the safety program, the signals of the position switch are defined as follows:
sepAct (monitoring of the actuator position)
sepAct (monitoring of the locking device position)
fDoorCoil (control of guard locking)
The following figure shows the wiring on the position switch and therefore
complements the above connection diagram.
Figure 27-2 Internal terminals of the position switch with solenoid interlocking
L+ (F-CPU)
Vs1 (F-DI) CH – (F-DQ)
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ack=1.
Figure 27-3 Emergency stop + safety door with guard locking – core functionality
Start
No
Stop request?
No
Safety door
Yes
closed
and e-stop
released
? Actuators stop
Yes
Previous
stop was Yes
Timer starts
operational stop
?
No
No
Timer
Siemens AG 2018 All rights reserved
Acknowledge expired
or “standstill”=1?
Yes
Actuators
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Note This example assumes that you are using a hinge switch (hingedSwitch) as a
second channel. However, it is not mandatory to use a hinge switch. The
required dual-channel redundancy can also be implemented with a different
switch.
Parameter description
The following section describes the inputs and outputs of FB
F21EStopFDoorPLdeSIL23.
The STEP 7 hardware configuration (HW Config) has already been prepared for
commissioning FB F21EStopFDoorPLdeSIL23. Customizations are possible.
The associated HW Config can be found in the provided block library.
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.3.2.
Death or severe personal injury may result if the actuator starts before the
safety door is interlocked.
WARNING For the following reason, this risk does not exist in the user scenarios described
in this document: The guard locking, incl. monitoring, was programmed in a
network following the switching of the actuator. This means that the actuator
only starts one program cycle after the safety door has been interlocked (switch-
on condition due to eMagnet).
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Safety door closed
"delayTimeUnlock" > 0
Note Under "Normative assessment of guard locking", chapter 6.2 addresses the
situation where there is a safety function with regard to guard locking.
Hardware components
Table 28-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
SM 1226 F-DQ 1 6ES7 226-6DA32-0XB0
4x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Emergency stop 1 3SU1100-1HB20-1CF0
pushbutton (NC)
Position switch with 1 3SE5322-0SD21
solenoid interlocking
(spring-locked)
Software components
Table 28-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
Siemens AG 2018 All rights reserved
28.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 28-1 Emergency stop + safety door with guard locking PL c/SIL 1 wiring
24V DC
M
.0
.1
.2 L+
M
L1
.0 Vs1
K1
M
.4
0+
Siemens AG 2018 All rights reserved
.2
L+
standstill K1
.1
.3 eMagnet 0-
1-
1+
fDoorCoil
.1
sepAct
.0
eStop
Note In the safety program, the NC auxiliary contacts of the contactors K1 and K2 are
termed "feedback1" and "feedback2".
Note Due to the use of the FB FDBACK F-library block, it is useful to monitor
readback. Basically, monitoring the readback signals is not required for PL c/SIL
1.
In the safety program, the signals of the position switch are defined as follows:
sepAct (monitoring of the actuator position)
sepAct (monitoring of the locking device position)
fDoorCoil (control of guard locking)
The following figure shows the wiring on the position switch and therefore
complements the above connection diagram.
Figure 28-2 Internal terminals of the position switch with solenoid interlocking
L+ (F-CPU)
Vs1 (F-DI) CH – (F-DQ)
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ack=1.
Figure 28-3 Emergency stop + safety door with guard locking – core functionality
Start
No
Stop request?
No
Safety door
Yes
closed
and e-stop
released
? Actuator stops
Yes
Previous
stop was Yes
operational stop Timer starts
?
No
Timer No
Siemens AG 2018 All rights reserved
Acknowledge expired or
“standstill”=1?
Yes
Actuator
on
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
The following section describes the inputs and outputs of FB
F22EStopFDoorPLcSIL1.
contactor K1 picked up
Emergency stop eStop BOOL NC/NC
pushbutton 0: Emergency
stop triggered
Position switch sepAct BOOL NC
1: Actuator
Chapter 6.2
inserted (safety
door closed)
The STEP 7 hardware configuration (HW Config) has already been prepared for
commissioning FB F22EStopFDoorPLcSIL1. Customizations are possible.
The associated HW Config can be found in the provided block library.
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.1.2.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Safety door closed
"delayTimeUnlock" > 0
– After shutdown of the actuator, the safety door may only be opened when
the actuator no longer constitutes a hazard.
Note Under "Normative assessment of guard locking", chapter 6.2 addresses the
situation where there is a safety function with regard to guard locking.
Hardware components
Table 29-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
SM 1226 F-DQ 1 6ES7 226-6DA32-0XB0
4x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 2 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Emergency stop 1 3SU1100-1HB20-1CF0
pushbutton (NC)
nd
2 NC for 1 3SU1400-1AA10-1CA0
emergency stop
Position switch with 1 3SE5322-0SD21
solenoid interlocking
(spring-locked)
Hinge switch 1 3SE5132-0LU21
Actuator for position 1 3SE5000-0AV0
switch
SINAMICS G120 1 6SL3244-0BB13-1FA0
CU240E-2 PN-F
SINAMICS G120 1 6SL3224-0BE17-5UA0
PM240
Software components
Table 29-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
Siemens AG 2018 All rights reserved
Figure 29-1 Emergency stop + safety door with guard locking PL d/SIL 2 wiring
24V DC
M
.0
.1
.2 L+
M
L1
Vs1
M
.3 .0
L+
.1
eMagnet
Siemens AG 2018 All rights reserved
1-
1+
fDoorCoil
PROFINET IE .1
hingedSwitch
Vs2 .0
sepAct
eStop
Note In the safety program, the NC auxiliary contacts of the contactors K1 and K2 are
termed "feedback1" and "feedback2".
In the safety program, the signals of the position switch are defined as follows:
sepAct (monitoring of the actuator position)
sepAct (monitoring of the locking device position)
fDoorCoil (control of guard locking)
The following figure shows the wiring on the position switch and therefore
complements the above connection diagram.
Figure 29-2 Internal terminals of the position switch with solenoid interlocking
L+ (F-CPU)
Vs1 (F-DI) CH – (F-DQ)
Siemens AG 2018 All rights reserved
29.4 Wiring
The figure below shows the wiring of the hardware components.
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ack=1.
Figure 29-3 Emergency stop + safety door with guard locking – core functionality
Start
No
Safety door No
closed
No
? Door interlocking
deactivated
Yes Stop command
?
Yes No Yes
STO active
? Stop command
Siemens AG 2018 All rights reserved
?
No Acknowledgment
request Yes No
Operational stop
Yes ?
Acknowledgment
request Actuator stops
? (STO) Yes
No Acknowledged
Actuator stops
Start conditions
met
Timer expired
? No
Door interlocking
active
Yes
In this example for electric actuators, the safety door's guard locking is
deactivated when the timer has expired. For moving parts, a hazard cannot
be automatically ruled out when the timer has expired.
WARNING
Make sure that the safety door's guard locking is deactivated only when a hazard
no longer exists.
NOTICE For F-blocks, the enable input (EN) must not be wired.
Note This example assumes that you are using a hinge switch (hingedSwitch) as a
second channel. However, it is not mandatory to use a hinge switch. The
required dual-channel redundancy can also be implemented with a different
switch.
NOTE If you want to use the extended safety function SLS in the drive, you have to set
the bit SS1 also on TRUE. This is solved in network 3 of the
FB F23EStopFDoorGuardLockingPLdSIL2. There you can fit the address of SS1
if necessary.
Parameter description
The following section describes the inputs and outputs of FB
F23EStopFDoorSIL2PLd.
energized
1: Magnet in
position switch
de-energized
Emergency stop eStop BOOL NC/NC
pushbutton 0: Emergency
stop triggered
SLS request reqSLS BOOL NO
1: SLS requested
SLS feedback from drive fdbackSLS BOOL 1: SLS active
STO feedback from drive fdbackSTO BOOL 1: STO active
Power-on inhibit of drive driveLockout BOOL 1: Power-on
inhibit active
Position switch sepAct BOOL NC
1: Actuator
inserted (safety
door closed) Chapter 6.2
Hinge switch hingedSwitch BOOL NC
1: Unoperated
(safety door
closed)
Position switch value status sepActVS BOOL
Hinge switch value status hingedSwitchVS BOOL
NOTE The provided block library includes the drive project "Drive_1". This includes our
individual parametrization for testing the functionalities of the examples. You
have to execute your own commissioning of the SINAMICS G120 in case of use.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.2.2.
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Safety door closed
No power-on inhibit on the SINAMICS G120
Note Acknowledge a power-on inhibit on the SINAMICS G120 in the same way as
internal faults with "ack".
"STO"=1, "SLS"=1
Note When switching to SLS with the safety door closed and "onDrive"=0 (OFF1
active in the drive) and the drive does not start, it goes to STO after a few
seconds.
In addition to the explanation in chapter 4.2, the following section provides you with
information on implementing the emergency stop in the safety program.
The "ESTOP1" function block certified by TÜV is used to implement the emergency
stop. In TIA Portal, you will find this function block in "Basic instructions > Safety
functions".
Figure 29-5 TÜV-certified FB ESTOP1 in the "Safety functions" folder of TIA Portal
Siemens AG 2018 All rights reserved
The Q output ensures safe shutdown in STO and prevents the system from
restarting as long as the emergency stop has not yet been released and
acknowledged:
(1: Emergency stop released and available.)
In addition to the explanation in chapter 4.2, the following section provides you with
information on implementing the safety door with guard locking.
Safety door
Like for the emergency stop, a TÜV-certified function block, "SFDOOR", is
available for implementing a safety door. In TIA Portal, you will find this function
block, too, in "Basic instructions > Safety functions".
It is called in FB F23EStopFDoorGuardLockingPLdSIL2 of the safety program.
Unlike the ESTOP1 FB, the SFDOOR FB requires the signals of both position
switches (IN1 and IN2). The 1oo2 evaluation is performed within the block.
The Q output ensures safe shutdown in STO and prevents the system from
restarting as long as the safety door is open and no acknowledgment has been
made.
When the door is closed and no fault has been saved,
a 1 signal is present at the Q output.
Guard locking
Guard locking is monitored using the FDBACK FB. This TÜV-certified function
block, too, can be found in the "Safety functions" folder of TIA Portal.
Figure 29-8 FB FDBACK call
The following applies: When Q=0, the safety door's guard locking is active. In
normal mode (no SLS selected), the drive does not start until Q=0. This can be
achieved, for example, by
calling the network for starting the drive first and then calling the FDBACK FB
and
Q or "statFDoorCoil" as a switch-on condition for the drive.
The following figure illustrates that in the event of a falling edge of Q, the drive
cannot be started until the next program cycle. These conditions do not apply to
selected SLS as, in this case, the safety door may be opened during operation.
Network 5
Switch drive
Network 6
General
The S7-1200 F-CPU is operated as an IO controller. Data exchange with the
PROFINET-capable drive SINAMICS G120 also includes safety-related data.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
In this document, you will find a chapter on the "LDrvSafe" library that can be used
as an alternative for implementing the tasks described here. For this library, please
use the following link:
https://support.industry.siemens.com/cs/ww/en/view/109485794
You will find STO and SLS in control word 1 of the extended drive functions. In
Siemens AG 2018 All rights reserved
the safety program, write to these bits according to the following convention:
STO: Byte 0, bit 0
0: Select STO; 1: Deselect STO
SLS: Byte 0, bit 4
0: Select SLS; 1: Deselect SLS
To deactivate the safety door's guard locking when SLS is active, the appropriate
bit from status word 1 of the SINAMICS G120 is evaluated:
SLS: Byte 0, bit 4
0: SLS is not active; 1: SLS is active.
When SLS is active, the converter safely stops the motor torque using the STO
Note safety function.
For the user scenarios with safety door and SLS, this means: After a stop at SLS, a
restart requires that the safety door be closed.
For more information about the SINAMICS G120, please refer to the manual:
https://support.industry.siemens.com/cs/ww/en/view/109744795
Siemens AG 2018 All rights reserved
After shutdown of the actuator, the safety door may only be opened when
the actuator no longer constitutes a hazard.
Note Under "Normative assessment of guard locking", chapter 6.2 addresses the
situation where there is a safety function with regard to guard locking.
Hardware components
Table 30-1 Hardware
Component No. Article number Note
CPU 1215FC 1 6ES7215-1HF40-0XB0 FW4.2 or higher
DC/DC/RLY
SM 1226 F- 1 6ES7226-6BA32-0XB0
DI8/16x24VDC
SM 1226 F-DQ 1 6ES7 226-6DA32-0XB0
4x24VDC
Enclosed 1 3SU1100-0AB40-1BA0 Green, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB40-1BA0 Blue, screw terminal
pushbutton (NO)
Enclosed 1 3SU1100-0AB20-1CA0 Red, screw terminal
pushbutton (NC)
Emergency stop 1 3SU1100-1HB20-1CF0
pushbutton (NC)
Software components
Table 30-2 Software
Component No. Article number Note
STEP 7 Basic V15 1 6ES7822-0AA05-0YA5 Or STEP 7 Professional V15
STEP 7 Safety 1 6ES7833-1FB15-0YA5 Or STEP 7 Safety Advanced
Basic V15 V15
SINAMICS 1 6SL3072-4EA02-0XG0 SINAMICS Startdrive V15
Startdrive
Siemens AG 2018 All rights reserved
30.4 Wiring
The figure below shows the wiring of the hardware components.
Figure 30-1 Emergency stop + safety door with guard locking PL c/SIL 1 wiring
24V DC
M
.0
.1
.2 L+
M
L1
Vs1
M
.3 .0
L+
Siemens AG 2018 All rights reserved
.1
eMagnet
1-
1+
fDoorCoil
PROFINET IE
sepAct
.0
eStop
Vs1
In the safety program, the signals of the position switch are defined as follows:
sepAct (monitoring of the actuator position)
sepAct (monitoring of the locking device position)
fDoorCoil (control of guard locking)
The following figure shows the wiring on the position switch and therefore
complements the above connection diagram.
Figure 30-2 Internal terminals of the position switch with solenoid interlocking
L+ (F-CPU)
Vs1 (F-DI) CH – (F-DQ)
Siemens AG 2018 All rights reserved
Note Before starting the scenario for the first time, open and close the safety door
once. Then acknowledge with ack=1.
Figure 30-3 Emergency stop + safety door with guard locking – core functionality
Start
No
Safety door No
closed
No
? Door interlocking
deactivated
Yes Stop command
?
Yes No Yes
STO active
? Stop command
Siemens AG 2018 All rights reserved
?
No Acknowledgment
request Yes No
Operational stop
Yes ?
Acknowledgment
request Actuator stops
? (STO) Yes
No Acknowledged
Actuator stops
Start conditions
met
Timer expired
? No
Door interlocking
active
Yes
In this example for electric actuators, the safety door's guard locking is
deactivated when the timer has expired. For moving parts, a hazard cannot
be automatically ruled out when the timer has expired.
WARNING
Make sure that the safety door's guard locking is deactivated only when a hazard
no longer exists.
NOTE If you want to use the extended safety function SLS in the drive, you have to set
the bit SS1 also on TRUE. This is solved in network 3 of the
FB F24EStopFDoorGuardLockingPLcSIL1. There you can fit the address of SS1
if necessary.
NOTICE For F-blocks, the enable input (EN) must not be wired.
Parameter description
The following section describes the inputs and outputs of FB
F24EStopFDoorGuardLockingPLcSIL1.
NOTE The provided block library includes the drive project "Drive_1". This includes our
individual parametrization for testing the functionalities of the examples. You
have to execute your own commissioning of the SINAMICS G120 in case of use.
The following link takes you to a document that explains how to control the
SINAMICS G120 using the S7-1200 F-CPU via PROFIsafe:
https://support.industry.siemens.com/cs/ww/en/view/109746271
Note For more information on the hardware configuration in this user scenario, please
refer to chapter 4.1.2.
Note For information on the SINAMICS G120, please refer to chapter 29.9.3
Note For information on installing the user scenario, please refer to chapter 6.1.
Requirements:
No faults
Emergency stop released
Safety door closed
No power-on inhibit on the SINAMICS G120
Note Acknowledge a power-on inhibit on the SINAMICS G120 in the same way as
internal faults – with "ack".
Siemens AG 2018 All rights reserved
"onDrive"=1
"STO"=1, "SLS"=1
4 Switch to SLS ( "reqSLS"=1, "fdbackSLS"=1) "fDoorCoil"=1: You can open the door
"STO"=1, "SLS"=0
5 Close the door and return from SLS to normal "fDoorCoil"=0: Door interlocked
mode "STO"=1, "SLS"=1
6 Press "stop" "onDrive"=0
Timer for delayed release of safety door
starts.
"STO"=1, "SLS"=1
7 Wait until the timer expires. When the timer has expired, the safety
door can be opened ("fDoorCoil"=1).
"STO"=1, "SLS"=1
Note When switching to SLS with the safety door closed and "onDrive"=0 (OFF1
active in the drive) and the drive does not start, it goes to STO after a few
seconds.
Siemens AG 2018 All rights reserved
32 History
Table 32-1
Version Date Modifications
V1.0 11/2015 First version
V1.1 12/2015 Value status for F-DQ added
V1.2 12/2015 "ack" shown as NO in connection diagram
'Position switch with solenoid interlocking' figure
replaced
V2.0 01/2018 Update to TIA Portal V15
Examples with SINAMICS G 120 via PROFIsafe
Safety door with RFID switches