Laserscanner S71500 DOC V20 en
Laserscanner S71500 DOC V20 en
https://support.industry.siemens.com/cs/ww/en/view/58804919
Warranty and liability
Note The Application Examples are not binding and do not claim to be complete
regarding the circuits shown, equipping and any eventuality. The Application
Examples do not represent customer-specific solutions. They are only intended
to provide support for typical applications. You are responsible for ensuring that
the described products are used correctly. These Application Examples do not
relieve you of the responsibility to use safe practices in application, installation,
operation and maintenance. When using these Application Examples, you
recognize that we cannot be made liable for any damage/claims beyond the
liability clause described. We reserve the right to make changes to these
Application Examples at any time without prior notice.
If there are any deviations between the recommendations provided in these
Application Examples and other Siemens publications – e.g. Catalogs – the
contents of the other documents have priority.
We do not accept any liability for the information contained in this document.
Any claims against us – based on whatever legal reason – resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this Application Example shall be excluded. Such an exclusion shall
not apply in the case of mandatory liability, e.g. under the German Product Liability
Act (“Produkthaftungsgesetz”), in case of intent, gross negligence, or injury of life,
body or health, guarantee for the quality of a product, fraudulent concealment of a
Siemens AG 2016 All rights reserved
Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, systems, machines and networks.
tion 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 only
form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems,
machines and networks. Systems, machines and components should only be
connected to the enterprise network or the internet if and to the extent necessary
and with appropriate security measures (e.g. use of firewalls and network
segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be
taken into account. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them
more secure. Siemens strongly recommends to apply product updates as soon
as available and to always use the latest product versions. Use of product
versions that are no longer supported, and failure to apply latest updates may
increase customer’s exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial
Security RSS Feed under http://www.siemens.com/industrialsecurity.
Table of contents
Warranty and liability ................................................................................................... 2
1 Introduction ........................................................................................................ 4
1.1 Overview............................................................................................... 4
1.2 Mode of Operation ................................................................................ 5
1.3 Components used ................................................................................ 8
2 Engineering ...................................................................................................... 10
2.1 Hardware setup .................................................................................. 10
2.2 Configuration ...................................................................................... 11
2.2.1 Configuration in the TIA Portal ........................................................... 11
Implementing the laser scanner ......................................................... 11
Assigning the PROFIsafe address ..................................................... 14
Configuring F-DI ................................................................................. 15
2.2.2 Configuration in the Configuration & Diagnose Software (CDS) ....... 16
Connection establishment .................................................................. 16
PROFIsafe address ............................................................................ 16
Control inputs ..................................................................................... 17
Field sets ............................................................................................ 17
Monitoring cases ................................................................................ 18
2.2.3 Loading the configuration into the laser scanner ............................... 19
2.3 Operation ............................................................................................ 21
2.4 Error handling ..................................................................................... 24
Siemens AG 2016 All rights reserved
1 Introduction
1.1 Overview
An assembly cell with a robot has two workstations that can alternately be freely
accessed by an operator:
Case 1: While the robot works at station 1,
the operator can load or unload at
station 2.
Case 2: While the robot works at station 2,
the operator can load or unload at
station 1.
During operation, the situation changes due to the movement of the robot:
The hazardous area becomes the working area and vice versa.
The following figure schematically shows the two cases in the assembly cell.
Figure 1-1
Siemens AG 2016 All rights reserved
To monitor this assembly cell, a SICK safety laser scanner S3000 is to be used in
conjunction with a fail-safe SIMATIC S7-1500 (F-CPU).
Figure 1-2
The laser scanner monitors a danger area, depending on the robot’s position, and
shuts down its safe OSSD output (Output Signal Switching Device) upon entering
the protective field, which causes the F-CPU to shut down the robot.
The laser scanner S3000 is able to select between up to four monitoring cases,
each with their own protective and warning field.
F-CPU and laser scanner communicate via PROFINET with the fail-safe
“PROFIsafe” profile.
The robot’s position is detected via two sensors (e.g. SIRIUS position switch).
Note This application example does not describe how to control the robot. For this, an
error-secure output is set to which an indicator light is connected.
Monitoring cases
Two monitoring cases are implemented in the application example. Depending on
the signals from the position switches, the F-CPU switches between the two
monitoring cases. For this, the F-CPU monitors a normally-closed contact of each
position switch.
Monitoring case 1: Sensor 1 is “0“, Sensor 2 is “1“ robot is in place 1
Monitoring case 2: Sensor 1 is “1“, Sensor 2 is “0“ robot is in place 2
Note In the TIA Portal project, the monitoring of up to four monitoring cases is
prepared. By this, the application example can easily be expanded.
The maximum permissible time for switching between two monitoring cases is
Siemens AG 2016 All rights reserved
monitored by the F-CPU. The permissible switching time depends on the specific
application and can be configured in the project.
Figure 1-4 shows the correlations for four sensors and switching from monitoring
case 1 to monitoring case 2.
Hardware components
Table 1-1
Component Numbe Article number Note
r
DIN rail 1 6ES7590-1AE80-0AA0
Power Supply 1 6EP1333-4BA00 70 W
Fail-safe S7-CPU 1 6ES7516-3FN01-0AB0
SIMATIC memory card 1 6ES7954-8LF02-0AA0 24 MB
Digital input module (DI) 1 6ES7521-1BL00-0AB0
Digital output (DQ) 1 6ES7522-1BH00-0AB0
Fail-safe digital input (F- 1 6ES7526-1BH00-0AB0
DI)
Fail-safe digital output (F- 1 6ES7526-2BF00-0AB0
DQ)
Siemens AG 2016 All rights reserved
Software components
Table 1-2
Component Article number Note
STEP 7 Professional V13 SP1 6ES7822-1AA03-0YA5 Update 9
STEP 7 Safety Advanced V13 SP1 6ES7833-1FA13-0YA5 Update 5
Configuration & Diagnostic V3.7.1
Software (CDS) Supplied with laser
scanner
GSDML file SICK S3000 Supplied with laser
scanner
Downloads
Table 1-3
File Content
58793869_Laserscanner_DOC_V20_de.pdf This document
58793869_Laserscanner_PROJ_V20.zip TIA Portal project, configuration file
for CDS
Siemens AG 2016 All rights reserved
2 Engineering
2.1 Hardware setup
L+ M L+ M L+ M L+ M L+ M
CPU
DI DQ F-DI F-DQ
1516F
PN 1 2 3 1 2 1 2 21 22 1 2
Siemens AG 2016 All rights reserved
Stop
Ack AckReq
Pos. switch 1
Pos. switch 2
2.2 Configuration
2.2.1 Configuration in the TIA Portal
The enclosed project does not require any further configuration. If you want to
replicate the application example with other components, then the most important
settings are shown in this chapter.
Note When opening the project, the GSDML file is automatically installed.
Table 2-2
Siemens AG 2016 All rights reserved
Action
1. In the TIA Portal in the menu list, click on “Options > Manage general station
description files (GSD)”.
Action
2. Click on the “...” button and select the file path to the GSDML file.
Action
5. Per Drag&Drop, drag the “S3000” laser scanner from the hardware catalogue
into the work area. You can find it under “Other field devices”.
Siemens AG 2016 All rights reserved
6. Click on “Not assigned” and assign the laser scanner to the F-CPU.
4. Open the properties in the inspector window and select “PROFIsafe“ in the area
navigation.
Siemens AG 2016 All rights reserved
Configuring F-DI
Both position switches are connected to an F-DI. Since the function block
„MonitoringCaseSwitching“ checks the plausibility of the signals, the sensor
evaluation in the F-DI is set to „1oo1 evaluation“. Proceed as follows.
Table 2-4
Action
6. Open “Devices & networks” from the project navigation in the TIA Portal.
7. Double-click on the F-CPU.
8. Double-click on the F-DI to open the properties.
9. Select “Inputs 0 -15 > Inputs > Channel parameters” in the area navigation.
Siemens AG 2016 All rights reserved
This chapter describes the most important settings that were made in the
application example for the SICK safety laser scanner:
Note It is not necessary to make the settings in the application example, since they
are already included in the supplied configuration file. The present chapter is
only for your information.
Prerequisites
For the configuration, the laser scanner must be connected to the PG/PC. The
software “Configuration & Diagnose Software (CDS)” from the SICK company must
be installed on the PG/PC.
The CDS can be used to configure all available parameters of the S3000 and
define the field geometries of the protective fields and warning fields.
The result of the configuration is stored in a configuration file (.skp). The
configuration file is downloaded to the laser scanner.
Connection establishment
Siemens AG 2016 All rights reserved
For the application example, the configuration was performed via the local serial
interface of the laser scanner.
PROFIsafe address
To ensure that the laser scanner can be operated as a PROFIsafe node, it must
have its own PROFIsafe address. The PROFIsafe address of the laser scanner
was taken from the TIA Portal project (see chapter 2.2.1) and entered in the CDS.
Figure 2-2
Control inputs
Two monitoring cases are implemented in the application example, four monitoring
cases are prepared. Therefore, the “Input A-B” case is configured.
Figure 2-3
Field sets
Two field sets are configured:
Field set 1 (protective field 1, warning field 1)
Field set 2 (protective field 2, warning field 2)
Siemens AG 2016 All rights reserved
Figure 2-4
Monitoring cases
Two monitoring cases are configured:
Monitoring case 1 with field set 1
Monitoring case 2 with field set 2
Figure 2-5
Restart
Siemens AG 2016 All rights reserved
This chapter shows you how to load the configuration into the laster scanner via
TCP/IP.
NOTE You must assign an IP address to the laser scanner before you can load the
configuration into it. This happens automatically when you download the TIA
Portal project to the F-CPU.
NOTE Alternatively you can load the configuration with a USB configuration cable by
dragging the laser scanner to the COM port in CDS.
Table 2-5
Action
1. Connect the laser scanner with your computer via a network.
Siemens AG 2016 All rights reserved
Action
5. With the right mouse button, click on the device “S3000 PROFINET IO“ and
select “Configuration draft > Transfer”.
your machine.
7. Confirm the dialog with “Continue”.
8. Check the protocol and release the configuration by clicking on the “Release”
button.
2.3 Operation
Test of monitoring case 1:
Table 2-6
No. Action Explanation Indicator light Laser scanner
1)
Robot Error Display
1 Press the Acknowledgment off off No error
acknowledgment necessary
pushbutton after power on
2 Press the start --- on off No error
pushbutton
3 Press the stop --- off off No error
pushbutton
4 Press the start --- on off No error
pushbutton
5 Set object in warning Non-active on off No error
field 2 monitoring case
6 Set object in protective Non-active on off No error
field 2 monitoring case
7 Set object in warning Active on off Warning field violated
Siemens AG 2016 All rights reserved
1)
See chapter 2.4.2.
The display of the laser scanner shows the laser scanner states. The following
table shows the most important states for this application example.
Siemens AG 2016 All rights reserved
3 Useful information
3.1 SICK S3000 PROFINET IO basics
The application example focuses on the use of a safety laser scanner for SIMATIC
Safety Integrated for Factory Automation.
A safety laser scanner from SICK is used as an example.
This chapter describes the basics of the SICK S3000 PROFINET IO safety laser
scanner.
Field of Application
The S3000 PROFINET IO safety laser scanner is used for personnel and plant
protection. The laser scanner allows monitoring of hazardous areas on machines
or vehicles.
Examples of applications:
Protection of machines with changing hazardous areas
Hazardous area protection in robot cells and production systems
Siemens AG 2016 All rights reserved
Mode of Operation
The S3000 is an optical sensor that scans its surroundings in two dimensions using
infrared laser beams. The S3000 works on the principle of time of flight
measurement. The figure below shows the principle of operation.
Figure 3-1
The S3000 sends out very short light pulses (S). When the light is incident on an
object, it is reflected and received by the safety laser scanner (E). From the time
between sending and receiving (Δt), the S3000 calculates the distance to the
object.
In the S3000, there is also a mirror rotating at a constant speed that deflects the
light pulses so that they cover an arc of 190° (Figure 3-2). By determining the angle
of rotation of the mirror, the S3000 determines the direction of the object.
From the measured distance and the direction of the object, the safety laser
scanner determines the exact position of the object.
Figure 3-2
Siemens AG 2016 All rights reserved
Figure 3-3
1)
OSSD (output signal switching device): Signal output of the protective device that
is used to stop the dangerous movement.
Field set
Protective field and warning field form a pair, the so-called field set. With the aid of
the Configuration & Diagnostic Software, these field sets are configured and
transferred to the S3000. Up to eight field sets can be defined and saved in the
S3000 PROFINET IO.
Siemens AG 2016 All rights reserved
Monitoring case
With the S3000 safety laser scanner, you can define different monitoring cases to
match the protective fields and warning fields to the situation on the machine. This
allows situation-specific monitoring of changing hazardous areas, for example
during the different production phases of a machine.
When configuring using the Configuration & Diagnostic Software, a monitoring
case x is assigned a field set y (protective field y, warning field y).
Example
Figure 3-4 shows an example of hazardous area protection with two areas to be
monitored. Two monitoring cases are defined in the robot cell shown in this figure:
Monitoring case 1: Warning field 1 (WF1) and protective field 1 (SF1)
Monitoring case 2: Warning field 2 (WF2) and protective field 2 (SF2)
Depending on where the robot is located in the robot cell, the respective monitoring
case is active:
The robot is located on the left: Monitoring case 2 is active
The robot is located on the right: Monitoring case 1 is active
Figure 3-4
In the figure, the robot is located on the right of the robot cell, i.e. monitoring case 1
is active. This means:
When the operator enters protective field 1, the robot will stop.
The operator may enter protective field 2 and warning field 2.
Siemens AG 2016 All rights reserved
Secure Communication
Safety-related components and standard components can be operated together on
PROFINET. This is enabled by PROFIsafe, an extension of PROFINET.
PROFIsafe defines how safety-related IO devices (e.g., a SICK safety laser
scanner) securely communicate with safety-related IO controllers (e.g., a SIMATIC
F-CPU) via a network.
Figure 3-5
Input signals
laser scanner
6 bytes
PROFINET
Process image with
inputs PROFIsafe
6 bytes
Siemens AG 2016 All rights reserved
Output signals
laser scanner
Overview
Figure 3-6
Main StartStop
Blink
Monitoring
Main Laser
Case
Safety Scanner
Siemens AG 2016 All rights reserved
Switching
ACK_GL
The DataToSafety data block is written by the standard user program and read by
the safety program. The DataFromSafety data block is written by the safety
program and read by the standard user program.
DataTo
Safety
Standard user
Safety program
program
DataFrom
Siemens AG 2016 All rights reserved
Safety
The standard user program transmits the control signal “condition” to safety
program.
The safety program transmits the following signals to the standard user program:
Release signal “release”
“ackReq“: Acknowledgment required by the user
Note More information on the exchange of data between the standard user program
and the safety program can be found under \3\.
Function
The program block has the following functions:
Evaluating the OSSD signals
Calling up MonitoringCaseSwitching to switch the monitoring case
Evaluating errors and restart lock
Automatically re-initializing the laser scanner after an invalid control signal to
switch the monitoring case
Automatically re-integrating the laser scanner
Outputting the release signal
Figure 3-9
Figure 3-10
Function
Monitoring case switching
This block implements monitoring case switching of max. four monitoring cases.
For this purpose, the F-CPU reads in the status of max. 4 sensors, derives the
monitoring case number from this information and writes the respective control
signals (A1, A2, B1, B2) to the laser scanner. The laser scanner activates the field
set that is allocated to the monitoring case number.
One sensor (break contact) is allocated to each monitoring case:
Monitoring case 1: Sensor 1
Monitoring case 2: Sensor 2
Monitoring case 3: Sensor 3
Monitoring case 4: Sensor 4
For an evaluation of the safety function, the following versions of the standards
were used:
Table 3-6
Version Mentioned below
EN ISO 13849-1:2015 ISO 13849-1
EN 62061:2005 + A2:2015 IEC 62061
“If the laser scanner’s safety field is harmed during the current monitoring
case, the robot needs to be shut down.”
Siemens AG 2016 All rights reserved
Note This application example ignores the “React” subsystem. Therefore, the
evaluation of the safety function is incomplete.
3.3.3 Evaluation
according to IEC 62061
Detection
The subsystem “Capture” consists of the following safety-related parts:
Safety laser scanner
Position switch
Table 3-7
Error Recognition
Wire break If at the time of the wire break, the robot activates the
concerned position switch (”0” signal), the error is
recognized at the latest when the robot changes its
position (both sensors report “0”). Otherwise, the error is
Siemens AG 2016 All rights reserved
immediately recognized.
At any point, the relevant protection field is active.
Actuator break or position If at the time of the break, the robot activates the
switch break-off unconcerned position switch (”0” signal), the error is
recognized at the latest when the robot changes its
position (both sensors report “1”).
Otherwise, the error is immediately recognized.
At any point, the relevant protection field is active.
Jamming of actuator or If at the time of the error, the robot activates the
welding of a contact concerned position switch (”0” signal), the error is
recognized at the latest when the robot changes its
position (both sensors report “0”). Otherwise, the error is
immediately recognized.
At any point, the relevant protection field is active.
The following table shows the parameters of the evaluation of the position
switches.
Table 3-8
Parameter Value Explanation Definition
B10 10,000,000 Manufacturer information SIEMENS AG
Switching cycles
Percentage 0.2 (20%) Manufacturer information
of dangerous failures
T1 20 years Manufacturer information
Lifetime
Subsystem architecture D 2 channels, 2 components: User
Single fault tolerance with
diagnostic function
Operations/ 6/hour Assumption
Test interval
(CCF factor) 0.1 (10%) For installations according to
Susceptibility to common IEC 62061, a CCF factor of 0.1
cause failures (10%) is achieved.
DC ≥ 0,99 Plausibility check by the safety
Diagnostic coverage (99%) program
Siemens AG 2016 All rights reserved
Table 3-9
Component PFHD SILCL Definition
-8
S3000 safety laser scanner 8,00 ∙ 10 SILCL 2 SICK AG
-9
Position switch 1,20 ∙ 10 SILCL 3 Calculation
-8
Total 8,12 ∙ 10 SILCL 2 Calculation
Evaluation
Table 3-10
Component PFHD SILCL Definition
-9
CPU 1516F-3PN/DP 2,00 ∙ 10 SILCL 3 SIEMENS AG
incl. PROFIsafe
-9
ET 200MP F-DI 1,00 ∙ 10 SILCL 3
-9
ET 200MP F-DQ 2,00 ∙ 10 SILCL 3
-9
Total 5,00 ∙ 10 SILCL 3
Result
Table 3-11
Subsystem PFHD SIL achieved
-8
Detection 8,12 ∙ 10 SILCL 2
-9
Evaluation 5,00 ∙ 10 SILCL 3
Reaction --- ---
-8
Total 8,62 ∙ 10 SILCL 2
SIL 2
Note The “React” subsystem must comply with a SILCL 2 in order for the safety
function to reach SIL 2.
Detection
The same explanations as in chapter 3.3.3 apply.
Siemens AG 2016 All rights reserved
The following table shows the parameters of the evaluation of the position
switches.
Table 3-12
Parameter Value Explanation Definition
B10 10,000,000 Manufacturer information SIEMENS AG
Switching cycles
Percentage 0.2 (20%) Manufacturer information
of dangerous failures
T1 175,200 h Manufacturer information
Lifetime (20 years)
Architecture Category 4 2 channels, 2 component User
Table 3-13
Component PFHD PL Definition
-8
S3000 safety laser scanner 8,00 ∙ 10 PL d SICK AG
-8
Position switch 2,47 ∙ 10 PL e Calculation
-7
Total 1,04 ∙ 10 PL d Calculation
Evaluation
Table 3-14
Component PFHD PL Definition
-9
CPU 1516F-3PN/DP 2,00 ∙ 10 PL e SIEMENS AG
incl. PROFIsafe
-9
ET 200MP F-DI 1,00 ∙ 10 PL e
-9
ET 200MP F-DQ 2,00 ∙ 10 PL e
-9
Total 5,00 ∙ 10 PL e
Result
Table 3-15
Siemens AG 2016 All rights reserved
Note The “React” subsystem must comply with a PL d in order for the safety function
to reach PL d.
4 Appendix
4.1 Service and support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos
– all information is accessible with just a few mouse clicks at:
https://support.industry.siemens.com/
Technical Support
The Technical Support of Siemens Industry provides you fast and competent
support regarding all technical queries with numerous tailor-made offers
– ranging from basic support to individual support contracts. You send queries to
Technical Support via Web form:
www.siemens.com/industry/supportrequest
Siemens AG 2016 All rights reserved
Service offer
Our range of services includes, inter alia, the following:
Product trainings
Plant data services
Spare parts services
Repair services
On-site and maintenance services
Retrofitting and modernization services
Service programs and contracts
You can find detailed information on our range of services in the service catalog:
https://support.industry.siemens.com/cs/sc