Sce 072 100 Safety PN Cpu1516f Et200sp r2101 en
Sce 072 100 Safety PN Cpu1516f Et200sp r2101 en
Sce 072 100 Safety PN Cpu1516f Et200sp r2101 en
siemens.com/sce
For unrestricted use in educational / R&D institutions. © Siemens 2021. All rights reserved.
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
SIMATIC controllers
• SIMATIC ET 200SP Open Controller CPU 1515SP PC2 F with WinCC RT Advanced 512 PTs
Order no.: 6ES7677-2SB42-4AB1
• SIMATIC ET 200SP Distributed Controller CPU 1512SP F-1 PN Safety
Order no.: 6ES7512-1SK00-4AB2
• SIMATIC CPU 1516F PN/DP Safety with software
Order no.: 6ES7516-3FN00-4AB2
Note:
– The SIMATIC STEP 7 Safety software for TIA Portal as of V15.1 is included in all the above-named "SIMATIC
STEP 7 Software for Training" Trainer Packages.
Please note that these trainer packages are replaced with successor packages when necessary.
An overview of the currently available SCE packages is provided under: siemens.com/sce/tp
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 2
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
Training courses
For regional Siemens SCE training courses, contact your regional SCE representative:
siemens.com/sce/contact
This document is only to be used for initial training on Siemens products/systems. This means it can be
copied in whole or in part and given to trainees/students for use within the scope of their training/course of
study. Disseminating or duplicating this document and sharing its content is permitted within public training
and advanced training facilities for training purposes or as part of a course of study.
Exceptions require written consent from Siemens. Send all related requests to
[email protected].
Offenders will be held liable. All rights including translation are reserved, particularly if a patent is granted
or a utility model or design is registered.
Use for industrial customer courses is expressly prohibited. We do not consent to commercial use of the
training documents.
We wish to thank the TU Dresden and the Michael Dziallas Engineering company and all other involved
persons for the support in the preparation of this SCE Learn-/Training Document.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 3
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
Table of contents
1 Objective ....................................................................................................................................................6
2 Requirement ..............................................................................................................................................6
3 Hardware and software required.................................................................................................................6
4 Theory .......................................................................................................................................................8
4.1 Objective of safety engineering .......................................................................................................... 8
4.2 Safety concept of SIMATIC Safety Integrated in the TIA Portal........................................................... 9
4.2.1 Principle of the safety functions in SIMATIC Safety Integrated .................................................... 9
4.2.2 Safety program .......................................................................................................................... 9
4.2.3 Program structure of safety program in the TIA Portal .............................................................. 10
4.2.4 Achievable safety requirements................................................................................................ 10
4.3 STEP 7 Safety software (TIA Portal) as of V15.1.............................................................................. 11
4.3.1 Safety concept ......................................................................................................................... 11
4.3.2 Programming ........................................................................................................................... 11
4.4 SIMATIC S7-1500 automation system with F-CPU........................................................................... 12
4.4.1 Example configuration of F-CPU .............................................................................................. 12
4.5 PROFIsafe bus profile with PROFINET IO ....................................................................................... 13
4.5.1 Fail-safe modules..................................................................................................................... 13
4.5.2 PROFIsafe address ................................................................................................................. 13
4.5.3 PROFIsafe monitoring time ...................................................................................................... 13
4.6 SIMATIC ET 200SP Distributed IO................................................................................................... 14
4.6.1 Range of modules .................................................................................................................... 15
4.6.2 Example configuration.............................................................................................................. 18
4.7 Interface settings and reset for F-CPU and ET 200SP...................................................................... 19
4.7.1 Setting the IP address in the CPU ............................................................................................ 19
4.7.2 Formatting a memory card in the CPU ..................................................................................... 22
4.7.3 Resetting the CPU to factory settings ....................................................................................... 23
4.7.4 Setting the IP address in the ET 200SP.................................................................................... 24
4.7.5 Reading out the firmware version of the ET 200SP................................................................... 27
5 Task......................................................................................................................................................... 28
6 Planning ................................................................................................................................................... 28
6.1 Connection of the F-modules ........................................................................................................... 28
6.2 Reference table ............................................................................................................................... 30
7 Structured step-by-step instructions.......................................................................................................... 31
7.1 Retrieving an existing project ........................................................................................................... 31
7.2 Activating the safety setting for the CPU 1516F-3 PN/DP ................................................................. 33
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 4
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 5
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
2 Requirement
This chapter builds on the chapter "Global data blocks for SIMATIC S7".
To implement this chapter, you can use the following project, for example:
"SCE_EN_032-600_Global_Data_Blocks…".
3 Software STEP 7 Safety as of Basic V15.1 – already included in all the "SIMATIC STEP 7 Software
for Training" Trainer Packages.
4 SIMATIC S7-1500 controller with F-CPU, e.g. CPU 1516F-3 PN/DP – as of firmware V2.0 with
memory card and 16DI/16DO
Note: The digital inputs should be fed out to a control panel.
5 ET 200SP with fail-safe input/output modules for PROFIsafe with:
– EMERGENCY STOP button, 2-channel
– Safety door with 2 channels
– Control of 2 main contactors of a load with feedback circuit
– Acknowledgment button
6 Ethernet connection between the engineering station and controller and between the controller and
ET 200SP
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 6
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
2 SIMATIC STEP 7
Professional (TIA Portal)
as of V15.1
1 Engineering station
3 STEP 7 Safety
(TIA Portal) as of V15.1
6 Ethernet connection
6 Ethernet connection
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 7
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
4 Theory
For further details, see the manuals at
support.automation.siemens.com.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 8
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 9
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
Explanation Screen
2. User-created F-blocks
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 10
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
4.3.2 Programming
The S7-1500 F-CPUs are programmed in the same manner as other SIMATIC S7 systems. The user
program for non-fail-safe parts of the system is created with the proven programming tools of STEP 7
Professional (TIA Portal) as of V15.1.
The software package "STEP 7 Safety as of V15.1" is essential for programming the safety-related
programs. It contains all the elements that are needed for engineering.
The programming for the S7-1500 F-CPUs is done with the STEP 7 F-LAD or F-FBD language. Examples
of safety functions that can be implemented here are:
– User-programmable, safe linking of sensors with actuators
– Selective safe shutdown of actuators
The scope of functions with regard to operations and data types is restricted here.
A safety-related, password-protected program is generated through a specific compilation setting.
Besides the fail-safe program, a standard program can also run in parallel on a CPU (coexistence) with
no restrictions.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 11
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
An additional component of this software package is the F-library with off-the-shelf, programming
examples for safety-related functions approved by the technical inspectorate. These programming
examples can be adapted by the user; however, the changes must then be newly certified.
① ②
③ ④ ⑤ ⑥
① Power module PM with input 120/230V AC, 50Hz / 60Hz, 190W and output
24V DC / 8A
② Central processing unit F-CPU 1516F-3 PN/DP with integrated PROFIBUS and PROFINET
IO interfaces also for PROFIsafe
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 12
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 13
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
②
④
①
The distributed IO provides inputs and outputs for the local process connection, which can be read and
written by the central module via a bus protocol. The IO modules are queried and addressed in the S7
program in the normal way using input addresses (%I) and output addresses (%Q), respectively. It is
possible to mix fail-safe and non-fail-safe IO modules in an ET 200SP configuration.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 14
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 15
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
BaseUnits
as universal base modules for electrical and mechanical connection of IO modules.
They are available in a light version BU..D, which opens a new potential group over the backplane bus
for the power supply, and a dark version BU..B, which continues the potential group. Thus, at least one
light BaseUnit BU..D must be used in order to supply at least one potential group with voltage. The IO
modules are plugged onto the BaseUnits.
IO modules
for digital input (DI) / digital output (DQ) / analog input (AI) / analog output (AQ).
They are available in versions for 24V DC ① and 400V AC ②.
① ②
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 16
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
F-IO modules
For the connection of fail-safe signals, a digital input module F-DI 8x24VDC HF ① and the digital output
modules F-DQ 4x24VDC/2A PM HF ② and F-RQ 1x24VDC/24.230VAC/5A ③, among others, are
offered.
① ② ③
You can find further details on the F-IO modules in manuals at
support.automation.siemens.com.
① ② ③
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 17
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
Server module
As termination for the ET 200SP system configuration.
It can be used as a holder for 3 standby fuses. It serves as a terminating resistor for the backplane bus
and is thus required.
④ ⑤ ⑥
① ② ③ ④ ⑤
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 18
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ To do this, select the Totally Integrated Automation Portal, which is opened with a double-click.
(→ TIA Portal V15.1)
→ Select the → "Online & diagnostics" item and open the → "Project view".
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 19
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ In the project tree, select the network adapter that was set previously under → "Online access". When
you click → "Update accessible devices", you see the IP address (if already set) or the MAC address
(if the IP address has not yet been assigned) of the connected SIMATIC S7-1500. Select → "Online
& diagnostics".
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 20
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Under → "Functions", you will find the → "Assign IP address" item. Enter the following IP address
and subnet mask, for example: → IP address: 192.168.0.1 → Subnet mask: 255.255.255.0. Click →
"Assign IP address", and this new address will be assigned to your SIMATIC S7-1500.
Note:
– The IP address of the SIMATIC S7-1500 can also be set via the display on the CPU, if this is enabled
in the hardware configuration.
→ If the assignment of the IP address was not successful, you receive a message in the → "Info" window
→ "General" tab.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 21
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ If the IP address could not be assigned, the program data on the CPU must be deleted. This is done
in 2 steps: → "Format memory card" and → "Reset to factory settings".
→ First, select the → "Format memory card" function and click the → "Format" button.
→ Confirm the prompt "Do you really want to format the memory card?" with → "Yes".
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 22
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Before you can finally reset the CPU memory, you must wait until the formatting of the CPU is finished.
You must then select again → "Update accessible devices" and → "Online & diagnostics" of your
CPU. To reset the controller, select the → "Reset to factory settings" function and click → "Reset".
→ Confirm the prompt "Do you really want to reset the module?" with → "Yes".
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 23
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Select the Totally Integrated Automation Portal and open it with a double-click. (→ TIA Portal V15.1)
→ Select the → "Online & diagnostics" item and open the → "Project view".
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 24
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ In the project tree, select the network adapter that was set previously under → "Online access". When
you click → "Update accessible devices", you see the IP address (if already set) or the MAC address
(if the IP address has not yet been assigned) of the connected ET 200SP. Select → "Online &
diagnostics".
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 25
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Under → "Functions", you will find the → "Assign IP address" item. Enter the following IP address
and subnet mask, for example: → IP address: 192.168.0.2 → Subnet mask: 255.255.255.0. Click →
"Assign IP address", and this new address will be assigned to your ET 200SP.
→ You receive feedback regarding the assignment of the IP address as a message in the → "Info"
window → "General" tab.
Note:
– If a communication connection already exists between the ET 200SP as device and a higher-level
controller as controller, the IP address cannot be changed.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 26
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Before you can read out the firmware version of the ET 200SP, you must again select → "Update
accessible devices" and → "Online & diagnostics" of your ET 200SP. In the menu item →
"Diagnostics" → "General", you can read out the short description, article number, hardware version
and firmware version.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 27
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
5 Task
In the following, a safety application is to be added to the project from chapter
"SCE_EN_032-600_Global_Data_Blocks".
The safety of the operators of a sorting station will be ensured by blocking access by a guard with safety
door. In addition, an EMERGENCY STOP will be incorporated that can be used to stop the station in an
emergency.
6 Planning
The signals for the safety engineering are connected to a distributed ET 200SP IO device, which is
assigned as a device to the CPU 1516F-3 PN/DP via PROFINET.
The safety program safely switches off all loads of the sorting station if:
– A safety door monitored by two contacts is opened or
– An EMERGENCY STOP connected via two channels is actuated.
After actuation of the EMERGENCY STOP or opening of the safety door, a local user acknowledgment
is necessary before the production operation can be restarted.
This is implemented by programming a fail-safe block with
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 28
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For the safety door, two sensors are connected via 1 channel to DI1 and DI5 of the F-module. The
evaluation of the sensors must be set to 1oo1 (1v1) evaluation for this.
A cross circuit of the inputs is also checked through the internal sensor supply of the sensors from two
different sensor supplies.
For control of the main contactors of the load, 2 relays are connected in parallel to the DQ0 of the F-
module. The feedback circuit of the main contactors is connected to a non-fail-safe input channel.
Note:
– You can find further information in the manuals for the ET 200SP and the fail-safe modules.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 29
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
Feedback loop
I 20.1 BOOL -K20_FEEDBACK_LOOP NC
main load contactors
I Input Q Output
NO Normally Open
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 30
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Next, the target directory in which the retrieved project is to be stored can be selected. Confirm your
selection with "OK". (→ Target directory → OK)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 31
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Save the opened project under the name "072-100_SAFETY PN CPU1516F and ET200SP"
(→ Project → Save as … → 072-100_SAFETY PN CPU1516F and ET200SP → Save).
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 32
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
7.2 Activating the safety setting for the CPU 1516F-3 PN/DP
→ First, it should be checked whether the "Generate default fail-safe program" check box has been
selected under "STEP 7 Safety" in the "Options" menu. (→ Options → Settings → STEP 7 Safety →
Generate default fail-safe program)
Note:
– As a result of this setting, when a fail-safe CPU is used, the fail-safe support is enabled in the TIA
Portal and a safety program is automatically created. If a fail-safe CPU without safety functions is to
be used, the "Generate default fail-safe program" check box must be cleared before using the F-CPU.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 33
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Open the "Device configuration" of the "CPU 1516F-3 PN/DP". Double-click the CPU to select it, and
in the → "Properties" window, open menu → "Fail-safe" → "F-activation". There select → "Enable F-
activation". (→ Enable F-activation)
→ Now, "F-capability activated" is displayed and the subitem " Safety Administration" appears in the
project tree.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 34
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ In menu → "Fail-safe" → "F-parameters", the ranges for the "F-addresses" and the "Default F-
monitoring time for central F-IO" are now set. (→ Fail-safe → F-parameters → Low limit for F-
destination addresses: 1 → High limit for F-destination addresses: 99 → Central F-source address:
1 → Default F-monitoring time for central IO: 150 ms)
Note:
– The safety-relevant "F-monitoring time" setting should be coordinated with the requirements from the
risk assessment of the plant. This also applies to the other safety-relevant settings in this document.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 35
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Go to the → "Protection & Security" menu and select → "Access level" → "Full access incl. fail-safe
(no protection)".
Note:
– The "Full access incl. fail-safe (no protection)" setting has been selected here because a password
will be assigned later for the safety program and then only a password has to be assigned.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 36
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Assign the field device to the CPU 1516F by first clicking on the interface of the IM155-6PN HF in the
network view and then connecting it to the PROFINET interface (X1) of the CPU 1516F.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 37
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ To configure the IM155-6PN HF, first select the IO device. In the → "General" tab in the →
"Properties" window, open the → "Ethernet addresses" menu → and set the IP address under → "IP
protocol". (→ IO device_1 → Properties → General → Ethernet addresses → IP protocol → IP
address: 192.168.0.2)
Note:
– This name is now also applied as the device name for the PROFINET communication.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 38
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ In the → "Ethernet addresses" → menu, the "PROFINET device name" and the "Diagnostics
address", which is automatically assigned for the diagnostics", can be checked under →
"PROFINET". (→ Ethernet addresses → PROFINET → PROFINET device name: io-safety →
Diagnostics address: 1)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 39
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Settings for the "IO cycle" such as the "Update time" and 'Watchdog time" can also be set for the
device here. (→ Advanced options → Real time settings → IO cycle → Update time → 1,000 ms →
Watchdog time → 3,000 ms)
Note:
– The watchdog time should always be significantly shorter than the F-monitoring time set beforehand.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 40
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ To obtain an overview of the assigned addresses within a project, you can click the " " button in
the "Network view". (→ Network view → Display addresses)
→ Change to the device view of the ET 200SP by double-clicking on the PROFINET device. (→ IO-
Safety)
Note:
– You can also open the device view of the various devices in the drop-down menu at the top left of the
device view.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 41
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Find the correct digital fail-safe input module with matching order number and version in the hardware
catalog. Insert the digital F-input module on slot 1. (→ Hardware catalog → DI → F-DI 8x24VDC HF
→ 6ES7 136-6BA00-0CA0 → Version: V1.0)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 42
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The settings for the fail-safe input module "F-DI 8x24VDC HF" must still be made in the properties.
First, the IO addresses are set to "Start address: 200". (→ IO addresses → Start address: 200).
→ For the general "F-parameters", the "F-destination address" and the "Behavior after channel fault"
are entered (→ F-parameters → F-destination address: 65534 → Behavior after channel fault:
Passivate channel).
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 43
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 44
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For the EMERGENCY STOP, a two-channel sensor is connected to the two inputs DI0 and DI1 of the F-
module. The evaluation of the sensors must be set to 1oo2 (2v2) evaluation for this.
A cross circuit of the inputs is also checked through the internal sensor supply of the sensors from two
different sensor supplies.
You can find further information in the manuals for the ET 200SP and the fail-safe modules.
→ The following DI parameters are to be set for the EMERGENCY STOP that is wired to "Channel 0,
4". (→ DI parameters → Channel parameters → Channel 0, 4)
Note:
– Through the selected sensor evaluation, the two inputs DI0 and DI4 are combined into one input
signal for the EMERGENCY STOP. The EMERGENCY STOP thus receives the address "%I200.0".
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 45
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For the safety door, two sensors are connected via 1 channel to DI1 and DI5 of the F-module. The
evaluation of the sensors must be set to 1oo1 evaluation for this.
A cross circuit of the inputs is also checked through the internal sensor supply of the sensors from two
different sensor supplies.
You can find further information in the manuals for the ET 200SP and the fail-safe modules.
→ The following DI parameters are to be set for the two safety door contacts that are wired to "Channel
1, 5". (→ DI parameters → Channel parameters → Channel 1, 5)
Note:
– Through the selected sensor evaluation, the two inputs DI1 and DI5 are designated separately for the
safety door contacts. They thus receive the addresses "%I200.1" and "%I200.5".
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 46
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Channels 2 and 6 are not needed and are therefore deactivated in the DI parameters.
(→ DI parameters → Channel parameters → Channel 2, 6)
→ Channels 3 and 7 are also deactivated in the (→ DI parameters → Channel parameters → Channel
3, 7)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 47
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Find the correct digital fail-safe output module, with matching order number and version from the
hardware catalog. Insert the digital F-output module on slot 2. (→ Hardware catalog → DQ → F-DQ
4x24VDC/2A PM HF → 6ES7 136-6DB00-0CA0 → Version: V1.0)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 48
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The settings for the fail-safe output module "F-DQ 4x24VDC/2A PM HF" must still be made in the
properties. First, the IO addresses are set to "Start address: 210". (→ IO addresses → Start address:
210)
→ For the general "F-parameters", the "F-destination address" and the "Behavior after channel fault"
are entered (→ F-parameters → F-destination address: 65533 → Behavior after channel fault:
Passivate channel).
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 49
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For control of the main contactors of the load, 2 relays are connected in parallel to the DQ0 of the
F-module.
You can find further information in the manuals for the ET 200SP and the fail-safe modules.
→ The following DQ parameters are to be set for the control of the main contactors of the load that are
wired to "Channel 0". Channels 1,2,3 are not wired and are therefore deactivated. (→ DQ parameters
→ Channel 0 → Channel 1 → Channel 2 → Channel 3)
Note:
– The output to the contactors of the load thus has address "%Q210.0".
Note:
– For each F-IO module, an associated F-IO data block is also generated for the system blocks. The
designation results from the name and address of the F-IO module.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 50
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Next, find the correct digital input module with matching order number and version in the hardware
catalog and insert it on slot 3. (→ Hardware catalog → DI → DI 8x24VDC HF → 6ES7 136-6BF00-
0CA0 → Version: V2.0)
→ In the properties, the input addresses must be set to "Start address: 20". (→ IO addresses → Start
address: 20)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 51
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
Note:
– If the new component is not displayed for selection, it is not compatible with the previous component.
In this case, the old component must be deleted first, and the new component must then be inserted
from the hardware catalog.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 52
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
Note:
– If you forget to insert the server module, it will be created automatically when the device configuration
is compiled.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 53
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 54
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The BaseUnit in the configuration has now become a light BaseUnit. Repeat these steps for slot 2
and compare the device configuration with the figure below.
→ Save your project by clicking the → button, and select menu item → " Safety
Administration" with a double-click in order to create and edit the F-runtime group there.
→ In "Safety Administration", select menu item "F-runtime group" and click on "Add new F-runtime
group". (→ F-runtime group → Add new F-runtime group)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 55
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ You can then assign a name for an F-runtime group as shown here. You can also have the fail-safe
organization block "FOB_RTG1" created with the suitable "Cycle time" for the safety application.
Likewise, the Main safety block "Main_Safety_RTG1" and the associated data block
"Main_Safety_RTG1_DB" will also be created there. (→ FOB_RTG1 → Cycle time 100ms →
Main_Safety_RTG1 → Main_Safety_RTG1_DB → OK)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 56
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Before you compile the configuration, you should save your project again by clicking the →
button. To compile your CPU with the device configuration, first select the →
"CPU_1516F [CPU1516F-3 PN/DP]" folder and click the → "Compile" button .
Note:
– You should use the "Save project" function periodically when working on a project because automatic
saving of the project does not occur. The only time you are prompted to save the project is when you
close the TIA Portal.
Note:
– Warnings appear here because no protection level has been configured and the fail-safe inputs and
outputs are not yet being used in the program. The warnings can be ignored.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 57
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ To obtain an overview of the assigned IP addresses within a project, you can click the " " button in
the "Network view". (→ Network view → Display addresses)
→ So that the controller, here the CPU1516F-3 PN/DP, can find the assigned PROFINET devices in the
network, they must be assigned device names. This is done by selecting the network in the "Network
view", which connects the devices, and then clicking on the " " button. (→ Assign device name)
Note:
– The IP addresses set in the project are assigned by the controller to the devices later during
establishment of the communication connection.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 58
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The online access must be correctly set in the dialog for assignment of the PROFINET device names.
Then, each device can be individually selected and filtered by devices of the same type. If a new
device is connected first, the list must be updated again. (→ PROFINET device name: io-safety →
Type of the PG/PC interface: PN/IE → PG/PC interface: here: Intel(R) Ethernet Connection (4)I219-
LM → Only show devices of the same type → )
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 59
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The correct device must be unambiguously determined based on the MAC address printed on the
device before the name is assigned with " ". You can also have the LEDs flash on
the device for checking purposes. (→ → )
→ The successful assignment of the PROFINET device name should still be checked before the dialog
is closed. (→ )
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 60
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The manager for configuration of connection properties (Extended download) opens. First, the
interface must be correctly selected here. This is done in three steps.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 61
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 62
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ If your CPU is displayed in the "Compatible devices in target subnet" list, select it and start the
download. (→ CPU 1516F-3 PN/DP → "Load")
→ You first receive a preview. Confirm the control window → "Consistent download" and continue with
→ "Load".
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 63
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
Note:
– In the "Load preview", you should see the " " symbol in each line. You can see additional information
in the "Message" column.
→ The → "Start module" option is now selected before the download operation can be completed with
→ "Finish".
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 64
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The project view is opened again automatically after a successful download operation. A download
report appears in the "General" tab of the Info window. This can be helpful for troubleshooting if the
download operation was unsuccessful.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 65
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The interface for online access can be selected in the following dialog. This is done in three steps.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 66
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Confirm the flashing of the LEDs on the two modules "F-DI 8x24VDC HF_1" and "F-DQ 4x24VDC/2A
PM HF_1" by setting the " " in the "Confirm" column. Then click on the "Assign PROFIsafe address"
button. (→ Confirm → Confirm → Assign PROFIsafe address)
→ Confirm the assignment of the PROFIsafe address within 55 seconds by clicking the → "Yes" button.
(→ Yes)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 67
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Close the dialog window for assigning the PROFIsafe address. (→ Close)
Note:
– For the ET 200SP, the PROFIsafe addresses are stored in the small white coding plugs of the F-
modules.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 68
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 69
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ First, the global PLC tags must be specified for the safety program. To do this, select the "CPU_1516F
[CPU 3156F-3 PN/DP]" in the project tree and create a new "Tag_table_safety" under "PLC tags".
Open the "Tag table_safety" with a double-click and enter the "Name", "Data type", "Address" and
"Comment" for the inputs and outputs of the safety program. (→ CPU_1516F [CPU 3156F-3 PN/DP]
→ PLC tags → Tag table_safety)
Note:
– The value status tags are available in the F-modules of the ET 200SP to obtain diagnostic information
on the value status of individual channels. The F-IO DBs have only a QBAD tag that indicates the
status of the overall module.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 70
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Open the "Main_Safety_RTG1" block in the Program blocks folder and change the programming
language to FBD in the Properties window under General. (→ CPU_1516F [CPU 3156F-3 PN/DP] →
Program blocks → Main_Safety_RTG1 → Properties General → FBD)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 71
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
The safety program for our plant will now be created in the "Main_Safety_RTG1" block. Additional blocks
will be called from the safety functions for this purpose. Additionally, created local (and thus fail-safe) tags
will be used to interconnect the blocks.
Only the 'Bool', 'DInt', 'DWord', 'Int', 'Time' and 'Word' data types are permitted in the safety program.
→ Create the static tag "Release_safety_door" with the "Bool" data type. (→ Static →
Release_safety_door → Bool)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 72
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Enter here, as well as in the other steps, the block title and network heading for Network 1. Using
drag-and-drop, move the block for the safety door monitoring "SFDOOR" from the safety functions to
the first network of the "Main_Safety_RTG1" block. (→ SFDOOR)
→ For the call option, select 'Multi-instance' and confirm with 'OK' (→ Multi-instance → OK)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 73
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ A safety door function is programmed with the help of "SFDOOR". Inputs "IN1" and "IN2" are
interconnected with the door contacts "QBAD_IN1" and "QBAD_IN2" are used to query the fault-free
function of the utilized channels of the F-IO. With "OPEN_NEC = TRUE", a check of the safety device
(fully open door and close again) is required after a restart of the safety program. "ACK_NEC = TRUE"
means that a user acknowledgment is required after the safety door has been opened. The signal of
the user acknowledgment is interconnected at the "ACK" input. The "Release_safety_door" occurs
at output "Q" when the safety door is in the safely closed state.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 74
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The release of the safety circuit is programmed in the second step. Additional static tags must first
be created for this, as shown here. The EMERGENCY STOP signal can be directly interconnected
because safe functioning of the "EMERGENCY STOP" is already provided due to the settings in the
device configuration of the F-IO.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 75
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The feedback monitoring is configured using the "FDBACK" block in the third network.
To do so, drag the block for the feedback circuit monitoring "FDBACK" from the safety functions to
the third network of the "Main_Safety_RTG1" block.(→ FDBACK)
→ For the call option, select 'Multi-instance' and confirm with 'OK'. (→ Multi-instance → OK)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 76
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The feedback monitoring is configured using the "FDBACK" block in the third network.
The "ON" input is connected together with the release of the safety circuit by the switch-on signal "-
K0" "main switch ON" (no). As long as a 1 signal is present, the "Q" output to the load is activated.
The signal at the "FEEDBACK" input must fall from 1 to 0 within the set "FDB_TIME" time.
Otherwise, the "Q" output will be disabled again, and a block fault occurs. A fault can be
acknowledged with the user acknowledgment at input "ACK". "QBAD_FIO" is used to query the
fault-free function of the utilized channel of the F-IO.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 77
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The depassivation of the F-IO is configured using the ACK_GL in the fourth network.
To do so, drag the block for the global acknowledgment of all F-IO of a runtime group "ACK_GL"
from the safety functions to the fourth network of the "Main_Safety_RTG1" block. (→ ACK_GL)
→ For the call option, select 'Multi-instance' and confirm with 'OK' (→ Multi-instance → OK)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 78
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The "ACK_GL" serves the global acknowledgment of all F-IO of a runtime group and thus the
depassivation of the F-IO. With the user acknowledgment at input "ACK_GLOB", a global
acknowledgment of all F-IO can be performed.
→ Before you download the safety program, however, you should save your project again by clicking
the → button. To download the safety program, select the → "CPU_1516F
[CPU1516F-3 PN/DP]" folder again and click the → "Download to device" button .
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 79
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
Note:
– In the "Load preview", you should see the " " symbol in each line. You can see additional information
in the "Message" column.
→ The → "Start module" option is now selected before the download operation can be completed with
→ "Finish".
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 80
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ By clicking on the " Monitoring On/Off" button, you can monitor the state of the input and output
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 81
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ However, a warning is still displayed at menu item " Safety Administration". To eliminate this, the
online connection must first be disconnected. Then you open → " Safety Administration" with a
double-click. (→ → Safety Administration)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 82
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Here, access protection must be activated for the safety program. Click on "Setup" under "Access
protection" and assign the password "pw_fprog" for the safety program. (→ Access protection →
Setup → pw_fprog → pw_fprog → OK)
→ You can log off from the safety program in the Access protection menu or by right clicking the
" " symbol next to "Safety Administration". However, this should not be done until later.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 83
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Activate the options indicated here in the settings for the safety program. (→ Activation of F-
change history → Enable consistent upload from the F-CPU)
→ Save your project again and download the changes to the controller.
(→ → ).
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 84
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ You first receive a preview where you must select stopping of the CPU. Continue with → "Load".
Note:
– Changes to the safety program can only be loaded consistently when the CPU is in STOP state.
→ Now, the → "Start all" option is selected before the download operation can be completed with →
"Finish".
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 85
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The status of the individual block signatures can be displayed in "F-blocks" under "Safety
Administration". This can be helpful for finding out where changes have been made.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 86
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Now, log off from the safety program. (→ Log off from offline safety program)
(→ ).
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 87
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ The diagnostics data for the "SFDOOR" and "FDBACK" blocks called in the "Main_Safety_RTG1"
block can be monitored via the multi-instances in the "Main_Safety_RTG1_DB" instance data block.
→ In the "RTG1SysInfo" data block you obtain information on the collective F-signature, generation date,
cycle time of runtime group, version of STEP 7 Safety, etc.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 88
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ You obtain diagnostic information for the F-modules in the usual way by right-clicking on the module
and selecting "Online & diagnostics".
→ You also obtain information on the state of the F-modules in the F-IO DBs.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 89
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 90
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
→ Select a folder in which you want to archive your project and save the project. ( → sce-072-100-
safety-pn-cpu1516f-et200sp… → Archive)
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 91
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 92
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
8 Exercise
8.1 Task – Exercise
Program the two displays "-P4" (display "EMERGENCY STOP activated") and "-P8" (display
"Acknowledgment requested") in a "SAFETY_DIAGNOSTICS" function and call them in organization
block "Main".
In so doing, the display "-P4" (display "EMERGENCY STOP activated") is to light up when no safe release
exists for switching on the main contractor for the load.
The display "-P8" (display "Acknowledgment requested") is always to light up when the "-
S12_Acknowledge" button is to be actuated for acknowledging an error in the safety program or an error
in the F-modules.
This is possible by programming within the "SAFETY_DIAGNOSTICS" function with access to the fail-
safe inputs and outputs and to the fail-safe data blocks.
At the block call of „MOTOR_AUTO[FB1]“ the Signal „-A1“ should be replaced by the release of the safety
circuit.
8.2 Planning
Plan the implementation of the task by yourself.
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 93
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 94
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
9 Additional information
You can find additional information as an orientation aid to familiarize yourself or deepen your knowledge,
for example: Getting Started, videos, tutorials, apps, manuals, programming guidelines and trial software/
firmware, under the following link:
siemens.com/sce/safety
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 95
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx
Learn-/Training Document | TIA Portal Module 072-100, Edition 02/2021 | Digital Industries, FA
Additional information
Siemens Automation Cooperates with Education
siemens.com/sce
SCE Learn-/Training Document
siemens.com/sce/module
SCE Trainer Packages
siemens.com/sce/tp
SCE Contact Partners
siemens.com/sce/contact
Digital Enterprise
siemens.com/digital-enterprise
Industrie 4.0
siemens.com/future-of-manufacturing
Totally Integrated Automation (TIA)
siemens.com/tia
TIA Portal
siemens.com/tia-portal
SIMATIC Controller
siemens.com/controller
SIMATIC Technical Documentation
siemens.com/simatic-docu
Industry Online Support
support.industry.siemens.com
Industry Mall catalog and ordering system
mall.industry.siemens.com
Siemens
Digital Industries, FA
P.O. Box 4848
90026 Nuremberg
Germany
siemens.com/sce
For unrestricted use in educational and R&D institutions. © Siemens 2021. All rights reserved. 96
sce-072-100-safety-pn-cpu1516f-et200sp-r2101-en.docx