0% found this document useful (0 votes)
54 views93 pages

InfoPLC Net Safety S7-1500F Lab

The document outlines a workshop for configuring the S7-1500F safety PLC using TIA Portal, focusing on the setup of ET200MP/ET200SP Failsafe I/O and Profinet safety devices. It includes instructions for programming safety functions for a bottle-filling machine, such as using ESTOP buttons and a safety relay output. The workshop also covers hardware configuration, diagnostics, and user management for the PLC.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views93 pages

InfoPLC Net Safety S7-1500F Lab

The document outlines a workshop for configuring the S7-1500F safety PLC using TIA Portal, focusing on the setup of ET200MP/ET200SP Failsafe I/O and Profinet safety devices. It includes instructions for programming safety functions for a bottle-filling machine, such as using ESTOP buttons and a safety relay output. The workshop also covers hardware configuration, diagnostics, and user management for the PLC.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 93

SIMATIC S7-1500F

Safety Workshop
Machine Safety Made Easy

Unrestricted / © Siemens Industry Inc. All


Allrights
rightsreserved.
reserved. usa.siemens.com/safety
Task: S7-1500F Configuration

Goal:

Demonstrate the ease of setup of ET200MP/ET200SP Failsafe I/O and other Profinet
safety devices and programming of a S7-1500 Failsafe PLC.

Main take away items:

• Add a S7-1500F PLC with ET200MP I/O modules. Add ET200SP distributed I/O and
other Profinet safety devices. Commission ET200SP I/O, including PROFIsafe
address.

• Add simple logic to the S7-1500 to control the lights and buttons on the demo unit.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: S7-1500F Workshop Instructions

The purpose of this workshop is to guide you through an example of


how to configure a 1500F safety PLC using TIA Portal. The requirements for this lab include
the safety demo pictured, PC with TIA Portal V15 or greater, and an Ethernet cable for
download.

This workshop is based on a bottle-filling machine and requires programming


several safety functions. These safety functions will use ESTOP buttons, a RFID door switch,
a mode switch, a HMI acknowledgement of safety mode change, a LED wheel to simulate a
conveyor, and a safety relay output to simulate a filling station.

The ESTOP pushbuttons will turn off all safety outputs The ETSOP function will
require a manual acknowledgement. When maintenance mode is active, and after HMI
acknowledgement, opening the door switch will enable or disable safe limiting speed mode for
simulated conveyor. A simulated filling position will turn on the relay output to start filling.

The hardware configuration and PLC software programming will be covered


during the workshop. Once the project has been downloaded to the PLC you will insert
hardware faults into the safety system and use the front display and the Web Server of the
PLC to diagnose them. The safety signature and safety printout will also be reviewed for
documentation.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


S7-1500F Demo Case
ESTOP 1 (SIRUS ACT)

ESTOP 2(Hardwired)
Start Pushbutton

Acknowledgement Button
Safety Door Switch(RFID)

TP700 Comfort Panel LED Wheel

Maintenance Mode Switch

Stop Pushbutton
Safe Func 1 Indicator Light

Safe Device Integrity


Indicator
1515F Safety PLC with
ET200MP F-IO modules Safety Diagnostic Function
Test Switch: F-DI
Discrepancy fault

Safety Diagnostic Function


ET200SP Remote I/O on Test Switch: F-DI shorted
Profinet with standard and to P+ fault
Fail-safe IO modules
Safety Diagnostic Function
Test Switch: F-DQ shorted
to L+ fault

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: S7-1500F Installed Software on Programmer

1. Installed TIA Portal Software on PC used to create labs.


• TIA PORTAL V16
• WinCC Advanced/Comfort V16
2. Note that Step 7 Safety software was installed as part of
V16 Step 7 Professional.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


2
1

1. Select “Create a new project”.


2. Project name “Safety with 1500F”. Please note your
path for saving the file may be different than shown.
3. Select “Create”.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1 1. Select “Configure a device”.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Select CPU type

1. Select “Add a new device”.


2. Select “Controllers”.
1 3. In this lab we are using a S7-1515F-2 PN CPU.
Open the folders and select the “6ES7 515-2FM01-
2 0AB0”. Note:
• This lab was created using FW V2.8. The easiest
way to check what firmware you have loaded is to
use the front display on the actual CPU. See next
4 page for example.
• Note the Device Name is assigned as “PLC_1”.
4. Make sure firmware matches your unit.
3 5. Make sure “Open device view” is checked
6. Once you have selected you CPU, select “Add”.

5 6
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
1 2

1. Once you have inserted your CPU, the following device view
should be present. Next, we add IO modules to the CPU rack.
2. From Hardware catalog, locate the F-DI module under DI→F-
DI 16x24V DC, part# 6ES7526-1BH00-0AB0, by search box
or from the catalog tree.
3. Drag and drop F-DI module to slot 2.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1

2
1. From Hardware catalog, locate the F-DQ module under
DQ→F-DQ 8x24V DC/2A PPM, part# 6ES7526-2BF00-0AB0,
by search box or from the catalog tree.
2. Drag and drop F-DQ module to slot 3.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Review ET200MP I/O addresses

1. Review ET200MP I/O addresses that are assigned


automatically when the modules are added to the slots.
• F-DI module has a starting I/O address of 0
• F-DQ module has a starting I/O address of 9

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1

Next, let’s configure hardware in the CPU rack.


1. Click CPU module in slot 1 to open the properties tab of the
3 CPU
2 2. Open the Web Server configuration page.
3. Under general, select “Activate web server on the module”.
This will enable the web server of the CPU which allows for
greater diagnostic information of the system without having to
have the programming software.
4. Acknowledge the security note.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Set Up User Management

1. Under the Web management settings we need to setup


some user management. Please locate the user
management chart under the web server settings.
Proceed to next page for steps to setup user
management.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1. Add a new user “Admin”.
2. Select the access levels shown to allow the
administrator to have access to web server functions.
Confirm the selection by pressing the button
3. Enter the password for the user. The password for this
lab will be “Admin”.

2
1
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
Task: Set Up System and Clock Memory Bits

1. While in the properties of the CPU, let’s enable the


system memory bits and the clock memory bits as
shown. These will be used later in the lab.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Set Up Startup(Optional)

1. Under Startup, Change “Startup after POWER ON” to


1 Warm restart – Run. This will enable the CPU to always
go to run mode regardless of previous operation mode.
2. The demo unit has a simple distributed I/O network,
2 with only 2 Profinet devices. Therefore, reduce
Configuration time to 6000mS to speed up startup time
if a device is missing or not powered up.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Set Up F-DI Module
3

5
2
4
Next, configure ET200MP F-DI module in the CPU rack. Channel 15 is used. This is a loopback signal to
simulate contactor feedback. The F-DI internal sensor supply is not used.
3 1. Click F-DI module in slot 2 to open the properties tab
2. Expand selections by double-clicking “Inputs 0-15”, or clicking the arrow icon next to “Inputs 0-15”.
3. Goto Sensor supply 3 for channel 12-15, Select no channels to use external 24V power.
4. Double click “Channel 7, 15” to go to the configuration page. Set Sensor evaluation to 1oo1
evaluation.
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
5. Go to Channel 15 to make sure the channel is activated
Task: Set Up F-DI Module

1. Switch to IO tags tab by clicking on “IO Tags”. Go to channel


15, address %I1.7
2. Under the “Name” column, assign tag name
“Contactor1Feedback” to %I1.7
3. Assign tag name “vs_Contactor1Feedback” to %I3.7
1 Note, please type the tag names exactly as shown.
2 The value status (VS_) provides information the validity of the
corresponding channel value.

3
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
Task: Set Up F-DQ Module

Next, configure ET200MP F-DQ module in the CPU rack. Channel


3 and 7 are used. The output is operating in PP-switching mode.
1. Click F-DQ module in slot 3 to open the properties
2. Under “General” tab, go to Outputs page.
3
3. Set Operating mode of the output to “PP-switching mode”
2 4. Go to Channel 3 and Channel 7 to make sure they are
activated

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Set Up F-DQ Module

1. Switch to IO tags tab.


2. Assign tag name “Contactor1_LoopbackOutput” to %Q9.3
3. Assign tag name “LEDWheelGreenON” to %Q9.7
4. Assign tag name “vs_Contactor1_LoopbackOutput” to %I9.3
5. Assign tag name “vs_LEDWheelGreenON” to %I9.7
1
Note, please type the tag names exactly as shown.

5 Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1

2
Now we need to configure our Profinet ET200SP rack by
automatically detecting and uploading hardware
configuration.
3
Make sure the demo unit is powered up and connected
to the programming PC.

1. Switch to “Network View”.

3 2. Go to Online → Hardware detection → PROFINET


devices from network.
3. Make sure the PC/PG interface is selected and click
Start search.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Hardware Detection of IO Devices

1
3

1. Two Profinet devices are found. They are ET200SP I/O


rack and Profinet ACT Estop module with pushbuttons.
Select both devices for upload.(PROFINET device
names may have been assigned by previous users)
2. Select Add devices.
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
3. Confirm devices are uploaded successfully.
Task: Connecting IO Devices

2 1

Once you have uploaded IO devices, they will not show a


network connection.
1. First, to make the network selection appear, select “Not
Assigned” and select PLC_1.PROFINET.interface_1.
This will assign the PLC_1 to be the PROFINET
controller of ET200sp IO rack.
2. Only after ET200SP is added to PLC_1, then repeat for
the ACT pushbutton station.
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
1

1. We now need to configure channels on the newly


added devices. Switch to device view and select
IO_device_1.
2. Verify I/O addresses that are assigned to the I/O
modules as shown.
The ET200SP rack is already populated with IO modules as
a result of upload from the actual layout.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1

1. Select the DQ card in slot 2 and open the properties.


2. Go to IO tags page and assign tag names as shown.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


ESTOP 2(Hardwired)

ESTOP 2, PLr = Ple


1
According to the manual for ET200SP F-DI, chapter 5,
use case 3.1:
Wiring example according to the manual: 1oo2,
internal sensor supply, with short-circuit test enabled. In
our lab we use 2 NC contacts.

1. Now we need to check the setup of our safety input


2 card. Please select the F-DI card in slot 3 and open
the properties.
2. Open the DI Parameters and the channel parameters
and then Channel 0,4. This is the Estop input.
3. The Discrepancy time between the 1oo2 contacts on
the Estops needs to be extended. For this lab we will
set them at 250ms. The Estop uses F-DI module
Unrestricted / © Siemens Industry Inc. All rights reserved internal sensor supplies and they are also usa.siemens.com/safety
activated(Channel 0 and 4).
ESTOP 2, PLr = Ple
According to the manual for ET200SP F-DI, chapter 5,
use case 3.1:
Wiring example according to the manual: 1oo2,
internal sensor supply, with short-circuit test enabled. In
our lab we use 2 NC contacts.

1. Click “DI parameters” and verify Short-circuit tests are


enabled for Sensor supply channel 0 and channel 4 for
Estop 2.
Note: Short-circuit tests are enabled by default.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Safety Door Switch(RFID)

RFID Door Switch, PLr = Ple


Wiring example: 2 single-channel(1oo1) NO
contacts(OSSD), cross-monitored by safety software using
SFDoor instruction. OSSD outputs require External sensor
supply, and short-circuit test disabled.

1. Now we need to change the settings for channel 1,5.


3 These are RFID Door Switch inputs.
2. Change Sensor evaluation to “1 oo 1 evaluation”
1 3. RFID door switch has OSSD outputs. They are
supplied with external 24V power supply. We need to
change Channel 1 and Channel 5 to use external
sensor supply.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


RFID Door Switch, PLr = Ple
Wiring example: 2 single-channel(1oo1) NO
contacts(OSSD), cross-monitored by safety software using
SFDoor instruction. OSSD outputs require External sensor
supply, and short-circuit test disabled.

1. Click “DI parameters” and un-check Short-circuit tests


for Sensor supply channel 1 and channel 5 for RFID
1
Door Switch inputs.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1

1. Switch to IO tags and assign tag names as shown on


the left.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Value Status

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1

1. Select the F-DQ card in slot 4 and open the properties.


2. Go to IO tags page and assign tag names as shown.
2 Default settings are used on the F-DQ card.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Configure F-RQ Module

1. Select the F-RQ card in slot 5 and open the properties.


2. Go to IO tags page and assign tag names as shown.
Default settings are used on the F-RQ card.
1

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Configure F-RQ Module

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1

1. We now need to configure the pushbutton station.


Switch to device view and select Command_Signal_1
from the list.
2. In this lab, as a practice, the slot components are
imported from a library. Click on the Library tab on the
right edge of the screen.
3. Click on the “Open Global Library” button(second
button from the group).

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Retrieve Global Library

3
2
1

1. The lab library is in a compressed format with .ZAL16 file extension. From the
“Open global library” dialog window, switch file type to “compressed libraries”.
Then go to the class folder and find the file called
Library_1500FDemo_V16.ZAL16. Leave it as read-only and click Open.
2. Select PC’s Desktop as the target directory and click OK.
3. Global library “Library_1500FDemo_V16” is open on the library page. Scroll to
Master copies folder.
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
1. Drag and drop modules from the library to 1
the corresponding slots of the pushbutton
station. Repeat for slot 4 to slot 7.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Pushbutton Station: Tag Assignment

1. Select the Integrated commanding and LED module in


slot 1 and open the properties. This is for ESTOP 1
LED output, part of the Profinet ACT Estop module.
2 2. Go to IO tags page and assign tag names as shown.
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
Task: Pushbutton Station: Tag Assignment

1. Select the F-module in slot 3 and open the properties.


This is for ESTOP 1 input, part of the Profinet ACT
Estop module.
2. Go to IO tags page and assign tag names as shown.

2
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
Task: Pushbutton Station: Tag Assignment for Green/Start

1. Select the module in slot 4 and open the properties.


2 This is for the profinet ACT pushbutton module.
Unrestricted / © Siemens Industry Inc. All rights reserved 2. Go to IO tags page and assign tag names as shown. usa.siemens.com/safety
Task: Pushbutton Station: Tag Assignment for Blue/Reset

2 1. Select the module in slot 5 and open the properties.


Unrestricted / © Siemens Industry Inc. All rights reserved 2. Go to IO tags page and assign tag names as shown. usa.siemens.com/safety
Task: Pushbutton Station: Tag Assignment for Maintenance Mode
Switch

2 1. Select the module in slot 6 and open the properties.


Unrestricted / © Siemens Industry Inc. All rights reserved 2. Go to IO tags page and assign tag names as shown. usa.siemens.com/safety
Task: Pushbutton Station: Tag Assignment for Red/Stop

1. Select the module in slot 7 and open the properties.


2 2. Go to IO tags page and assign tag names as shown.

Unrestricted / © Siemens Industry Inc. All rights reserved 3. Save the project. usa.siemens.com/safety
1

1. Please open the Safety Administration.


2. Under F-runtime group 1, change Priority to 16, so that the safety tasks are running
on the highest priority of all OB’s and communications—see next page for
explanation.
In this we can see how the safety system functions and see other important information
about our safety project. Look through the setting but do not make any changes at this
point. We will come back to this at the end of this lab to review once the program is
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
created. At this point we are now ready to program our PLC code for our demo panel!!!
Safety Runtime Priority vs Communication Priority

• From S7-1500 System Manual, 12/2017(A5E03461182-AE), Chapter 8.2:

• From SIMATIC Safety - Configuring and Programming Manual, 10/2018 (A5E02714440-AH),


Chapter 5.2.1:

• Setting F-OB priority >15 will maintain data consistence when there’s data exchange between F-
OB and HMI. It will also help F-OB not to exceed F-Monitoring Time.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1

1. Under the safety administration you may have noticed


there is no safety program password. TIA Portal allows
you to not have a password while developing and
testing your system. This makes it so you do not have
to enter a password every time you make a change
during development. Once you have completed your
safety acceptance test, you should enter a password
here. For this lab we will not enter one now.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1
2
From Global libraries page, drag and drop:
1. HMI_1—drag and drop it to under the project “Safety with 1500F”. This is a pre-built 6
HMI program for the demo unit.
2. HMI_Interface_Comfort and SafetyCouplingData under “DataBlocks” folder.
3. State Machine_Control and StateMachine_Simple and StateMachine_Simple_DB
under “StateMachineCode” folder.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1 1

Continued--From Global libraries page, drag and drop:


1. Drag and drop Main(OB1) to the program blocks and
overwrite the existing block. Save your project and
continue to next page.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1. Double-click Main(OB1) to open the program block and
look for undefined tag “machinerunning” in the first
network.
2. Right click on a blank area of the network and select
“Define tag…”,
3. then assign a global memory address to the tag
“machinerunning”(click “Define” button).

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1. From Main(OB1) continue to scroll down to network 8.
Note the tag “osStart” red-underlined due to undefined
status.
2. Right click on a blank area of the network and select
“Define tag…”,
3. then assign a global memory address to the tag
“osStart”(click “Define” button).
4. Save the changes.
1

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


4

1. Scroll down to HMI_1, double-click Device configuration.


2. From Device view of HM_1, double-click Ethernet interface
to open the properties page.
1 3. Connect the Ethernet interface to PN/IE_1 network to
establish communication path to the PLC.

2 4. Save project

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


1

1. At this point you have completed your basic


configuration for our safety system. We can now start
to write the safety PLC ladder logic. Please open
“Program Blocks” and then “Main_Safety_RTG1 [FB1].
This function block serves as our main safety block and
is automatically called from OB123 on a cyclic basis.
Right-click on FB1 and switch programming language
to LAD.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Global ACK

3
2

1. From the quick access panel,


drag and drop to add a NO
contact.
2. Select N_TRIG instruction
from the instruction list, and
drag and drop after the NO
contact.
3. From the quick access panel,
drag and drop to add an
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
output coil.
Task: Global ACK

3
1

1. Select the vertical bar and start a new branch.


2. In the Basic Instructions, locate the Safety Functions
folder. Drag the ACK_GL block to the new branch in
Network 1. This block will reintegrate F-IO modules.
2 3. When prompted, switch to Multi Instance DB for this
instruction.
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
4. Select “OK”.
Task: Global ACK

1. Select(single-click) data block “SafetyCoupling


Data”. This block was imported from the library
and contains pre-defined tags for the project.
2. The tags from SafetyCouplingData are shown in
the Details View area.
3. Drag and drop to add tags to network 1.
4
4. Add Boolean tags “fpReset” and “”osSafetyReset”
in the Static area of the interface table. Drag and
1 drop them to network 1 as shown.

4
3

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Global F-IO status

1. From the interface area of Main_Safety_RTG1,


add “SafetyInputOK”, “SafetyOutputOK”, and
“F_IO_OK” tags to the Static area of the tag
table.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Global F-IO status

1. Create network as shown here. This is for


monitoring all F-IO modules/channels safety
integrity.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: S7-1500F Demo Safety Functions

▪ Estop 1, Estop 2– These ESTOPs will cause all safety outputs to turn off. The ESTOP function will need a
manual acknowledgement once the ESTOP is cleared by pressing the blue ACK pushbutton.

▪ RFID Door Switch – In normal operation, opening the door will turn off the door switch and the LED wheel. In
Maintenance Mode, opening the door will enable Safe Limiting Speed and turn LED wheel slowly and change
color to red.

▪ Maintenance Mode Switch – This switch will enable or disable Maintenance Mode. Maintenance Mode is not
active until both the switch is enabled and HMI acknowledgement is confirmed.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Safety Function: Estop 1

1 2 3

1. Add/edit network 3 as shown, using ESTOP1 from safety instructions, with multi-
instance.
2. The ACK_NEC input is set true so that when the ESTOP is reset that a separate
Acknowledgement is necessary. Set this to “True”.
3. Create undefined tags and add to the ESTOP1 instruction. Then, right click on a blank
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
area of the network and assign these tags to the static area of the function block.
Task: Safety Function: Estop 1

1. A finished network 3 is shown

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Safety Instruction ESTOP1: Emergency STOP up to stop cat 1

Enable signal Q is reset to 0, as soon as input E_STOP


takes a signal state of 0 (Stop Category 0). Enable signal
Q_DELAY is reset to 0 after the time delay set at input
TIME_DEL (Stop Category 1).
Stop Category 0: “Coast”, “pull the plug”.
Stop Category 1: “Controlled stop, then pull the plug”

Enable signal Q is reset to 1 not before input E_STOP


takes a signal state of 1 and an acknowledgment occurs.
The acknowledgment for the enable takes place according
to the parameter assignment at input ACK_NEC:
ACK_NEC = 0, the acknowledgment is automatic.
ACK_NEC = 1, you must use a rising edge at input ACK for
acknowledging the enable.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Safety Function: Estop 2

1. Continue to program Estop 2 in network 4


as shown here. Note the new tags being
added to the local Static area.
• Refer to Estop 1 block in network 3 when
adding tags

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Safety Function: RFID Door Monitor

1. Next, in network 5, we program door


monitoring logic using SFDOOR safety
instruction.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Safety Instruction SFDOOR: Safety door monitoring

Enable signal Q is reset to 0 as soon as one of the inputs IN1


or IN2 take a signal state of 0 (safety door is opened). The
enable signal can be reset to 1, only if:
• Inputs IN1 and IN2 both take a signal state of 0 prior to
opening the door (safety door has been completely
opened)
• Inputs IN1 and IN2 then both take a signal state of 1 (safety
door is closed)
• An acknowledgment occurs

The acknowledgment for the enable takes place according to


the parameter assignment at input ACK_NEC:
If ACK_NEC = 0, the acknowledgment is automatic.
If ACK_NEC = 1, you must use a rising edge at input ACK for
acknowledging the enable.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Safety Function: HMI Acknowledgement of Maintenance
Mode Switch

1. In network 6, we implement HMI user


acknowledgement of mode change using
ACK_OP safety instruction.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Safety Instruction ACK_OP: Fail-safe Acknowledgement

This instruction enables fail-safe acknowledgment from an HMI


system. It allows, for example, reintegration of F-I/O to be controlled
from the HMI system. Acknowledgment takes place in two steps:
1. Input/output parameter IN changes to a value of 6 for exactly one
cycle.
2. Input/output parameter IN changes to a value of 9 within a minute
for exactly one cycle
Once the in/out parameter IN has changed to a value of 6, the
instruction evaluates whether this parameter has changed to a value
of 9 after 1 second, at the earliest, or one minute, at the latest.
Output OUT (output for acknowledgment) is then set to 1 for one
cycle.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Safety Function: Contactor Output and Monitor

1. The next safety function(Network 7) to


implement is the contactor monitoring logic
using safety instruction FDBACK.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Safety Instruction FDBACK: Feedback Monitoring

The signal state of output Q is checked to see


whether it corresponds to the inverse signal state of
the feedback input FEEDBACK.
A feedback error ERROR = 1 is detected if the
inverse signal state of the feedback input
FEEDBACK (to input Q) does not follow the signal
state of output Q within the maximum tolerable
feedback time(FDB_Time). The feedback error is
saved.
The feedback error is acknowledged in accordance
with the parameter assignment of ACK_NEC:
If ACK_NEC = 0, the acknowledgment is automatic.
If ACK_NEC = 1, you must acknowledge the
feedback error with a rising edge at input ACK.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Safety Function: Contactor Output and Monitor

1. Network 8 uses the contactor output with


monitor to drive the green LED wheel.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Safety Function: Safety Relay Output and Monitor

1. Driven by a simulated position feedback


signal from HMI, the Filling Station
output(indicated by Safety Function 1 LED)
is controlled by a safety relay output with
monitoring. Network 9 and 10.
• Set “FDB_Time” to 500mS

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Safety Status to Drive Demo Unit Indicators

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Safety Status(Network 13): User Acknowledgement
Required

ACK_REQ is the safety tag indicating a user


acknowledgement is required. In this network,
ACK_REQ tags from ALL safety instructions
and F-IO modules are monitored to turn on
Blue LED light on the blue pushbutton to
prompt the user for acknowledgement.

Safety programing is done! Save your project.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Verify F-Signature

1. Open the Safety Administration.


2. Note we do not have a safety Collective F-Signature at
this point.
3. We must compile the project with no errors to get this
signature. Compile your project by highlighting PLC_1
from the project tree then clicking the compile button on
the toolbar.
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
Task: Verify F-Signature

1. Now note that we have a safety signature that is unique


to our program and hardware configuration.
2. Save your project.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Download

1. Highlight both PLC_1 and HMI_1, then click Download


to device button on the toolbar. 3
2. Note that your Interface may be different than shown
based on your computer.
3. Click “Start Search” and locate your PLC.
4
4. Click “Load” once you are ready to download.
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
Task: Download

1. This page is for Team Engineering and will be skipped


for this class. Please select “Continue without
Synchronization” to continue your download.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Download

1. Select “Stop All” to place the PLC in stop


mode for the download. For HMI_1, if there
is a difference in firmware version, check Fit
to update HMI firmware before download.
2. Select “Load” to continue download.

2
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
Task: Download

1. Once your download is complete and successful you


will be prompted to place the PLC back in run mode.
1 Select “Finish”.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Assign Profinet Device Names

After initial download, Profinet device names need to be


assigned if the devices are new or have different device
2 names. Profinet communication will not work until all device
names are assigned correctly.
1. Open Devices & Networks view as shown.
2. Click IO device_1 to highlight only the IO rack
3. Click Name button on the toolbar

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Assign Profinet Device Names

1. Ensure IO device_1 is selected


1
2. Update list. Highlight ET200SP device from
Accessible devices list.
3. Enable Checkbox “Flash LED” to verify unit.
(You will see the Link Lights Flash on the
ET200SP Interface Module)
4. Press Assign Name. Update list to verify the
name is assigned.
5. Close
• IP addresses are automatically assigned by
2 4 the software and your configuration may be
3 different from what’s shown here as an
example.
• Once the device names is assigned it’s
saved retentively to the interface module.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Assign Profinet Device Names

1. Open Devices & Networks view as shown.


2. Click Command_Signal_1 to highlight only the device
3. Click Name button on the toolbar

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Assign Profinet Device Names

1 1. Ensure Command_signal_1 is
selected
2. Update list. Highlight the device
from Accessible devices list.
3. Enable Checkbox “Flash LED” to
verify unit. (You will see the Link
Lights Flash on the Interface
Module)
4. Press Assign Name. Update list to
verify the name is assigned.

2 4 5. Close
3

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


SIMATIC Safety Integrated
ET200SP, F-Addressing

ET 200SP F-I/O modules Delivery state Module is inserted Module is pulled

✓ Addressing by means of:


coding element

Remains in
the
BU after first
insertion of
module

No more DIP Switches, now intelligent coding module


Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
Task: Assign Profisafe Address

1 1. To Assign the F-Destination address to the safety cards


open the Network View as shown.
2. Right click on the ET200SP rack.
3. Select “Assign PROFIsafe address”.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Assign Profisafe Address

1. To set the F-Dest address, click


“Assign to the safety modules
you want to modify (If your
system shows assigned as
shown here your are done).
2. Click “Identification” to have the
lights on the safety cards that
you are setting flash.
3. Click “Confirm”.
1 3 4. Click “Assign F-Destination
address”. You will be prompted
to continue and will have 60
seconds to select “Yes”.
2 4 5. Close

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Assign Profisafe Address

1. To Assign the F-Destination address to pushbutton


1 stations, open the Network View as shown.
2. Right click on the device.
3. Select “Assign PROFIsafe address”.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: Assign Profisafe Address

1. To set the F-Dest address, click


“Assign to the safety modules
you want to modify (If your
system shows assigned as
shown here your are done).
2. Click “Identification” to have the
lights on the safety cards that
you are setting flash.
3. Click “Confirm”.
1
3 4. Click “Assign F-Destination
address”. You will be prompted
to continue and will have 60
seconds to select “Yes”.
5. Close
2 4

5
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
Task: S7-1500F Safety Testing

▪ Estop 1 and Estop 2– They will cause all safety outputs to turn off, including Green LED wheel and Safe Function 1 Yellow Indicator.
The ESTOP lights will turn on to indicate the pushbutton is pressed. The operation status will change to stop, indicated by the red LED
and Top LED. The ESTOP function will need a manual acknowledgement once the ESTOP is cleared by pressing the blue ACK
pushbutton.

▪ Zone 1 Door Switch – This safety door switch will turn off Green LED wheel under normal operation. If the Maintenance mode switch
is activated and HMI acknowledgement is issued, opening the safety door will “slow down” the LED wheel and change color to red.
The status LED also flashes during maintenance mode and when the door is open.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Task: S7-1500F Web Server
1
2

1. Open web browser and use the IP address of your PLC


to Open the Webserver. The IP address is shown on
the CPU front display.
2. If you are having troubles opening the Webserver,
5 manually enter the full address, e.g. https://192.168.0.1
3. Log into the Webserver. User “Admin” Password
“Admin”
4
4. Note the safety information.
5. Look through all the powerful functions you can
perform here and the diagnostics.
Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety
Task: S7-1500F Diagnostics

1. Using the fault injection switches, introduce safety faults, one at a time into the system and use the Web Server and CPU front display to
diagnose the problem.
2. The discrepancy fault is created by opening one NC contact of ESTOP 2.
3. F-DI Ext Voltage fault(short to P on one channel)
4. The F-DO Ext Voltage fault is a critical fault to the card that requires you to remove the card and re-insert or cycle power on the card to
clear. usa.siemens.com/safety
Unrestricted / © Siemens Industry Inc. All rights reserved
Task: Safety Summary

3
1

1. Right Click on “Safety Administration”.


2. Select “Print” (this will print the safety documentation)
3. Review Safety Documentation that should be included
in your machine documentation.

Unrestricted / © Siemens Industry Inc. All rights reserved usa.siemens.com/safety


Thank You for your time!
SIMATIC S7-1500F Safety Workshop

Unrestricted / © Siemens Industry Inc. All


Allrights
rightsreserved.
reserved. usa.siemens.com/safety
DISCLAIMER / TERMS OF USE:
THE INFORMATION PROVIDED HEREIN IS PROVIDED AS A GENERAL REFERENCE. REGARDING THE USE OF THE
APPLICABLE PRODUCTS IN GENERIC APPLICATIONS. THIS INFORMATION IS PROVIDED WITHOUT WARRANTY. IT IS YOUR
RESPONSIBILITY TO ENSURE THAT YOU ARE USING ALL MENTIONED PRODUCTS PROPERLY IN YOUR SPECIFIC
APPLICATION. ALTHOUGH THIS PRESENTATION STRIVES TO MAINTAIN ACCURATE AND RELEVANT INFORMATION, THERE IS
NO OFFICIAL GUARANTEE THAT THE INFORMATION PROVIDED HEREIN IS ACCURATE. IF YOU USE THE INFORMATION
PROVIDED HEREIN IN YOUR SPECIFIC APPLICATION, PLEASE DOUBLE CHECK ITS APPLICABILITY AND BE ADVISED THAT
YOU ARE USING THIS INFORMATION AT YOUR OWN RISK. THE PURCHASER OF THE PRODUCT MUST CONFIRM THE
SUITABILITY
UnrestrictedOF THE PRODUCT
/ © Siemens Industry Inc. AllFOR
RightsTHE INTENDED USE, AND ASSUME ALL RISK AND LIABILITY IN CONNECTION
Reserved. WITH THE
www.usa.siemens.com/safety

USE.

You might also like