0% found this document useful (0 votes)
103 views

STEP7 Safety Programming

The document describes the STEP 7 Safety V13 SP1 software for programming safety functions on Siemens S7-1200F, S7-1500F, and S7-300F/400F programmable logic controllers, including an overview of available licenses, how failsafe projects can be used in the TIA Portal programming software, and an explanation of the Safety Administration Editor for configuring safety runtime settings and access protection.

Uploaded by

Avinash Shinde
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)
103 views

STEP7 Safety Programming

The document describes the STEP 7 Safety V13 SP1 software for programming safety functions on Siemens S7-1200F, S7-1500F, and S7-300F/400F programmable logic controllers, including an overview of available licenses, how failsafe projects can be used in the TIA Portal programming software, and an explanation of the Safety Administration Editor for configuring safety runtime settings and access protection.

Uploaded by

Avinash Shinde
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/ 50

Safety Integrated Systems Support (SISS)

STEP 7 Safety V13 SP1

Restricted / © Siemens AG 2015. All Rights Reserved. siemens.com/safety-integrated


STEP 7 Safety V13 SP1
Licenses
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Licenses for Safety Basic (Industry Mall) ►

► Functional segment
M3
► Security information

Product Name Article No.

STEP7 Safety Basic V13 SP1 6ES7833-1FB13-0YA5


Software Download 6ES7833-1FB13-0YH5
Powerpack
STEP7 Safety Basic V13 SP1 à 6ES7833-1FA13-0YE5
STEP7 Safety Advanced V13 SP1
Software Download 6ES7833-1FA13-0YK5

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 2 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Licenses
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Licenses for Safety Advanced (Industry Mall) ►

► Functional segment
M3
Description Order No. ► Security information

STEP 7 Safety Advanced V13 SP1 6ES7833-1FA13-0YA5


Software Download 6ES7833-1FA13-0YH5
STEP 7 Safety Advanced V11...V12 -> V13 SP1 Upg. 6ES7833-1FA13-0YE5
Software Download 6ES7833-1FA13-0YK5

STEP 7 Safety Advanced V13 SP1 TRIAL 6ES7833-1FA13-0YA8

Upgrade S7 Distributed Safety V5.4 SP5 -> V13 SP1 6ES7833-1FA13-0YF5


Software Download 6ES7833-1FA13-0YY5

SUS STEP 7 Safety Advanced 6ES7833-1FC00-0YX2


Software Download 6ES7833-1FC00-0YY0

SUS STEP 7 Safety Advanced compact ** 6ES7833-1FC00-0YM2

**SUS compact means that irrespective of the number of ordered packages only one data carrier and one USB stick will be delivered.

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 3 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Use of „failsafe projects“ in TIA Portal V13
S7-1200F S7-1500F S7-300F/400F

To open Safety projects is always possible (with or without Safety installed): ► STEP 7 Safety

Standard Safety ► Functional segment


Online view program M3
► Security information
Without Safety installed:

Standard program Standard HW-Config Safety program Safety HW-Config


Download

Standard program Standard HW parameter Safety program Safety HW parameter


Offline edit

With Safety V13 installed or Safety installed and Trial License invalid:
Standard program Standard HW-Config Safety program Safety HW-Config
Download

Standard program Standard HW parameter Safety program Safety HW parameter


Offline edit
Read only
Safety V13 installed, but License lost, deleted or removed:
Standard program Standard HW-Config Safety program Safety HW-Config
Download

Standard program Standard HW parameter Safety program Safety HW parameter


Offline edit
*

* Nag box, because of missing license.

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 4 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Safety Administration Editor

STEP 7 Safety
Safety Administration Editor - General: ►

► Functional segment
M3

• In "General", you find the status of safety mode, the safety program, and the collective ► Security information

F-signature are displayed to you.

“Disable safety mode”


enables modifying of
the variables in the
S7-1200F/1500F PLCs!

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 6 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Testing safety program
S7-1200F S7-1500F S7-300F/400F

Changing the safety program data by modifying tags

In addition to data in the standard user program, which can always be modified, you can
modify the following data of a safety program in deactivated safety mode:

• Process image of the F-I/O


• F-DBs (except DB for F-runtime group communication), instance DBs of F-FBs
• F-I/O DBs
• Download in RUN (only S7-300F/400F)

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 7 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Safety Administration Editor

STEP 7 Safety
Safety Administration Editor – F-runtime ►

► Functional segment
group: M3
► Security information

• A safety program consists of one or two


F-runtime groups.

• In "F-runtime groups", you determine


the blocks and properties of an F-runtime
group.

• Currently the S7-1200F/1500F doesn’t


support F-runtime group
communication

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 8 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Safety Administration Editor

STEP 7 Safety
Safety Administration Editor – Protection: ►

► Functional segment
M3

• In “Protection", you can set up, change, or revoke the password for the safety program. ► Security information

• Access protection is mandatory for productive operation!

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 9 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Safety Administration Editor
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Safety Administration Editor – Settings: ►

► Functional segment
M3

• In "Settings", you set the parameters for the safety program. ► Security information

• The number ranges assigned here are used by


the F-System for new, automatically generated
F-blocks.

• The version of the system library elements


used in safety program“.

• Selection if safety mode can be disabled.

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 10 Safety Integrated Systems Support
• STEP 7 Safety 14
• Programming 20
• Functional segment M3 45
• Security information 71

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 14 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Programming F-System blocks

STEP 7 Safety
Safety program always consists… ►

► Programming
S7-1200F/1500F ► Functional segment
M3
• User created F-blocks
► Security information
• Management in the program blocks folder
• Call in the Main Safety block

• System created F-blocks (Coded Processing)


• Are created when the user program is compiled
• Management from the system in an own block folder
• Add to the user created program
• Fault control measures
• Safety-related tests S7-300F/400F

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 15 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Programming F-System blocks
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
F_GLOBDB ►

► Programming

► Functional segment
M3
• Is a system created F-data block
► Security information

• Provides information for


• Standard program
• Safety mode of PLC
• Error while execution of safety program
• F-signature
• Time stamp of last program compilation
• Safety program
• VKE0: Constant value „0“ (FALSE)
• VKE1: Constant value „1“ (TRUE)

• Access via symbolic addressing „F_GLOBDB“.XXX

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 16 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Programming F-System blocks
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
F_RTG1SysInfo DB ►

► Programming

► Functional segment
M3
► Security information

• Is a system created F-data block

• Provides information that can


be used in the standard program

• Access via symbolic addressing


„RTG1SysInfo“.XXX

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 17 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Programming TRUE / FALSE
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
TRUE and FALSE for block calls ►

► Programming

► Functional segment
M3
The Boolean constants "FALSE" for 0 and "TRUE" for 1 are available for S7-1500 F-CPUs to
► Security information
assign parameters during block calls.

S7-1500F S7-300F/400F

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 18 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Programming TRUE / FALSE
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
TRUE and FALSE 1 for bit logic operations ►

► Programming

► Functional segment
M3
• If you require the Boolean constant 1 for bit logic operations, you can interconnect the
► Security information
corresponding input of the bit logic operation with the "Assignment" instruction. Do not
interconnect the box input of the "Assignment" instruction in FBD.

and

• If you require the Boolean constant 0 for bit logic operations, you can interconnect the
corresponding input of the bit logic operation with the "Assignment" instruction. Negate the
output of the "Assignment" instruction. Do not interconnect the box input of the
"Assignment" instruction in FBD.

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 19 Safety Integrated Systems Support
Restricted / © Siemens AG 2015. All Rights Reserved.
Page 20 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
F-I/O DB
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Use of variables in the F-I/O DB ►

► Programming
► F - I/O access

• In order to evaluate whether substitute or process values are output ►


Value status
Data exchange

• For reintegration of the F-I/O module after: ► Functional segment


M3
• PROFIsafe communication errors
► Security information
• F-I/O module and channel errors
• For manual passivation depending on specific conditions in the safety
program („group passivation“)

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 22 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
F-I/O DB
S7-1200F S7-1500F S7-300F/400F

► STEP 7 Safety

Passivate the ► Programming


► F - I/O access

F-I/O ► Value status


► Data exchange

► Functional segment
For reintegration M3
of F-I/O ► Security information

I/O evaluation
Not with
S7-1200F/1500F

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 23 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Value status
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Value status ►

► Programming
► F - I/O access

• Additional information for the channel value of a F-I/O module. ►


Value status
Data exchange

► Functional segment
M3
• Supports fail-safe modules ET200SP, ET200S, ET200iSP, ET200pro, ET200M
► Security information

• Provides information on the validity of the corresponding channel value:


• 1: A valid process value is provided for the channel.
• 0: A fail-safe value is provided for the channel.

• The channel value and value status of a F-I/O module can only be accessed
from the same F-runtime group.

• The value status is entered in the process image of the inputs (PII).

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 24 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
F - I/O access
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
As with standard I/O, ►

► Programming
via the process image (PII and ► F - I/O access

PIQ). ►


Value status
Data exchange

• F – I/O access ► Functional segment


M3
§ Process Data
► Security information
§ Fail-Safe Values
• Value status
§ 1: A valid process value is output
for the channel.
§ 0: A fail-safe value is output for the
F – I/O access
channel.

The channel value and value status of an F-I/O


can only be accessed from the same F-runtime
group.
entered in the process image of the inputs (PII). Value state
Restricted / © Siemens AG 2015. All Rights Reserved.
Page 25 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Value status

STEP 7 Safety
Differences in evaluation in S7-1200F/1500F and S7-300F/400F ►

► Programming
► F - I/O access
Value status QBAD_I/O_xx Value status
Scenario ►

(S7-1200F/1500F) (S7-300F/400F) ► Data exchange

► Functional segment
M3
Valid values on F-I/O (no fault) True False
► Security information

Channel failure occurs False True

Channel failure is gone (ACK_REQ) False True

Acknowledgement of the failure (ACK_REI) True False

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 29 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Value status

STEP 7 Safety
Differences in evaluation in S7-1200F/1500F and S7-300F/400F ►

► Programming
► F - I/O access
Tag in the F-I/O DB or Value status
F-I/O with S7-1200F/1500F-CPU F-I/O with S7-300/400F-CPU ►

value status in the PII ► Data exchange

► Functional segment
M3
ACK_NEC
► Security information

QBAD

PASS_OUT

QBAD_I_xx *

QBAD_O_xx *

Value status

* QBAD_I_xx and QBAD_O_xx indicate the validity of the channel and are therefore equivalent to the inverted value status in S7-1500

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 30 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Access Process Image
S7-1200F S7-1500F S7-300F/400F

► STEP 7 Safety

From the standard From the safety ► Programming


► F - I/O access
program program ► Value status
► Data exchange

► Functional segment
M3
reading writing reading writing
► Security information

Inputs
Standard
process image
Outputs

Inputs
Fail-safe
process image
Outputs

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 31 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Access Data Blocks
S7-1200F S7-1500F S7-300F/400F

► STEP 7 Safety

From the standard From the safety ► Programming


► F - I/O access
program program ► Value status
► Data exchange

► Functional segment
M3
reading writing reading writing
► Security information

Standard data block

Fail-safe data block

In Distributed Safety it was not possible


to use standard data block tags in the
safety program.

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 32 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Data exchange between standard and safety program
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Decoupling of the safety program from the standard program in case of data transfer ►

► Programming
► F - I/O access

For data exchange between standard user program and safety program, we recommend that ►


Value status
Data exchange
you define special data blocks (transfer blocks) in which the data to be exchanged is stored. ► Functional segment
M3
► Security information
à This action allows you to decouple the blocks of the standard and the safety program.

à The changes in the standard program do


not affect the safety program (and vice versa)
provided these data blocks are not modified.

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 33 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Safety blocks

Safety functions Descriptions


ESTOP1 This instruction implements an emergency STOP shutdown with
acknowledgment for Stop Categories 0 and 1.
TWO_H_EN This instruction implements two-hand monitoring with enable.
MUT_P This instruction performs parallel muting with two or four muting sensors.
EV1oo2DI This instruction implements a 1oo2 evaluation of two single-channel
sensors combined with a discrepancy analysis.
FDBACK This instruction implements feedback monitoring.
SFDOOR This instruction implements safety door monitoring.
ACK_GL This instruction creates an acknowledgment for the simultaneous
reintegration of all F-I/O or channels of the F-I/O of an F-runtime group after
communication errors, F-I/O errors, or channel faults.

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 35 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Safety blocks

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 36 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Safety blocks

Signal profile diagram F_ESTOP1 (ACK_NEC = 1)

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 37 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Safety blocks

Evaluation of the F-I/O in a separate F-FB „F-Periphery“

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 38 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Safety blocks

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 39 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Compile
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Compile ►

► Programming
► F - I/O access

• A consistency check is always performed, regardless of the selection. ►


Value status
Data exchange

• This consistency check extends across all selected blocks ► Functional segment
M3
• STEP 7 V5.5: „check block consistency“ was only an option
► Security information
• Search for syntax errors in the whole program
• Compile of the whole program into machine code
• For compiling a F-FB with know-how protection in S7-300F/400F, you have to open it before.
• Dependent of the project tree selection in the TIA portal is the compile content

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 42 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Download
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Downloading the Safety Program ►

► Programming
► F - I/O access

• Once the safety program was successfully compiled, it can be download to the F-CPU ►


Value status
Data exchange

• The same basic procedure and buttons as for downloading a standard user program ► Functional segment
M3
• Download of single blocks or all blocks
► Security information
• Download of blocks into “accessible devices” via Drag & Drop in the project navigation
• In the "Load preview" dialog (next slide) , enter data (e.g. password for the F-CPU) and set
the requirements for downloading (e.g. that the F-CPU is switched to STOP mode before
downloading).
• Dependent of the project tree selection in the TIA portal is the download content

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 43 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Download
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
"Load preview" dialog For a “Consistent

► Programming
download”, the F-CPU ► F - I/O access
has to be stopped ► Value status
► Data exchange

► Functional segment
F-CPU password that is M3

configuard in the HW ► Security information

The memory and the


DBs of the F-CPU will be
initialized.

Selectively or consistent
download of standard
blocks

Selectively (300F/400F)
or consistent download
of F-blocks

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 44 Safety Integrated Systems Support
• STEP 7 Safety 15
• Functional segment M3 44
• Functional signature 56
• Safety printout 59
• Security information 71

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 45 Safety Integrated Systems Support
Functional segment M3 - door monitoring and variable speed control

Description: ► STEP 7 Safety

„Auto-Mode“ ► Functional segment


M3
• If estop E2 is pressed or the protective door is open the drive will be shut down safely
► Functional signature
• In “Auto”-mode M3 starts by pressing “Start” and moves fast. For acknowledgement use “Reset”
► Safety printout

► Security information

Tasks:
• Implement safe shutdown with „ESTOP1“.
• Realize the protection door with „SFDOOR“.
• If there isn't any fault in the system. You can start with “Start” button (consider for reset: Estop.Q, auto mode, global
Qbad)

Note:
to switch on the M3 you can use the outputs „Drive_M3_slow“ .

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 46 Safety Integrated Systems Support
Functional segment M3 - door monitoring and variable speed control

Description: ► STEP 7 Safety

„Service-Mode“ ► Functional segment


M3
• If estop E1or E2 is pressed the operation will be shut down safely.
► Functional signature
• As far as the protective door is closed, M3 starts by pressing the “Start” button and moves fast. If the protective door is
► Safety printout
open M3 changes over to a low speed rotation. After the door is closed M3 goes back to the fast rotation.
• Once the protective door is open, M3 turns in a slow motion and the signal light flashes yellow ► Security information

Tasks:
• Implement safe shutdown with „ESTOP1“.
• Realize the protection door with „SFDOOR“.
• Expand / Create the block “signal lights”

Note:
For fast motion the outputs „Drive_M3_slow“ and „Drive_M3_fast “ need a “1”-signal .

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 47 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Know-How protection
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Protecting blocks ►

► Functional segment
M3

You can use a password to protect one or more blocks from unauthorized access. ►


Functional signature
Safety printout
The following actions can be performed with a know-how protected block: ► Security information
• Copying and deleting
• Calling in a program
• Online/offline comparison
• Load

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 54 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Know-How protection
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Notes regarding Know-How protected F-blocks: ►

► Functional segment
M3

• If you use the safety program to migrate F-blocks with know-how protection, remove the ►


Functional signature
Safety printout
know-how protection prior to migration! ► Security information
You can assign the F-blocks know-how protection again once the migration is completed.

• Main safety blocks, F-FBs/F-FCs and F-DBs of a S7-1200 and S7-1500 F-CPU cannot
be know-how-protected!
If they are, the safety program cannot be compiled.

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 55 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Functional signature
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Functional signature of F-blocks ►

► Functional segment
M3

Easily comparing of changes in the fail-safe program by a functional signature. ►


Functional signature
Safety printout
The functional signature of F-blocks will be changed just in case if the logic within the F-block is ► Security information
changed and not by any changed block number, block interface or new version.

Example of the signatures before a change:

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 56 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Functional signature
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Changing the F-block interface: ►

► Functional segment
M3
► Functional signature
► Safety printout

► Security information
Same
signature!

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 57 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Functional signature
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Changing the F-block logic: ►

► Functional segment
M3
► Functional signature
► Safety printout

► Security information
New
signature!

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 58 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Safety printout
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
The safety printout provides documentation of the safety program and ►

► Functional segment
provides support for the acceptance test of the system! M3
► Functional signature
► Safety printout
In the safety printout you find: ► Security information
• General information for program identification as e.g.
• Used software versions
• F-signature and time stamp of last compilation

• Information regarding the used hardware components as e.g.


• F-CPU with configured firmware version
• Used F-I/O modules and the configuration of them

• Information regarding the safety program as e.g.


• User created blocks with offline signature
• Used library blocks with offline signature

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 59 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Safety printout
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Procedure for creation of safety printout ►

► Functional segment
1 M3
Select the Safety ► Functional signature
Administration Editor of 2 ► Safety printout

the F-CPU, whose safety ► Security information


summary you want to
create.

Select "Project > Print"


in the menu bar or the
print button in the
toolbar.

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 60 Safety Integrated Systems Support
STEP 7 Safety V13 SP1
Safety printout
S7-1200F S7-1500F S7-300F/400F

STEP 7 Safety
Procedure for creation of safety printout ►

► Functional segment
M3
3
► Functional signature
► Safety printout
In the displayed dialog, you ► Security information
can make layout settings for
the printout and choose a
document template.

Select the "All" option!


This is necessary to
4
document the program code
for the acceptance test.

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 61 Safety Integrated Systems Support
Safety Integrated – Best Practices
Industry Online Support

Programming Guideline:
• Optimized Blocks, datatypes, instructions
• storage concept, symbolic addressing, libraries
• Recommentations for Step 7 Safety in TIA-Portal
• …

Programming Styleguide:
• Consistent continuous style
• Easily readable and comprehensible
• Simple maintenance and reusability
• Easy and quick troubleshooting and error correction
• Efficient working at the same project with several programmers
• …

à Industry Online Support


(https://support.industry.siemens.com/cs/document/81318674/programming-guideline-and-programming-styleguide-for-s7-1200-and-s7-1500?dti=0&lc=en-DE)

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 74 Safety Integrated Systems Support
Safety Integrated – Best Practices
Structuring of user program

ü Multiple usage similar logical constructs

ü Less effort for bug fixing


user program

ü Standardization of program structure

ü Positive influence on compile time

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 75 Safety Integrated Systems Support
Safety Integrated – Best Practices
Data exchange standard/safety program

- Changes in standard program may have


influence to safety program, according to this,
safety-program gets new functional signature,
therefore CPU-Stop is required for program
user program

download

- New F-signature because of changes in


standard-program, no changes in safety-
program

- Risk of data corruption / manipulation (à CPU-


Stop!)

à Usage of transfer data blocks (data buffer)


Restricted / © Siemens AG 2015. All Rights Reserved.
Page 76 Safety Integrated Systems Support
Safety Integrated – Best Practices
Data exchange standard/safety program

user program

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 77 Safety Integrated Systems Support
Safety Integrated – Best Practices
concept of library

2 kinds of libraries
§ Project library
§ Unique for each project
§ Attached to the project (opened, Types
saved and closed with the project).

§ Global library Master copies


Types
§ Independent from projects
§ For cross-project use of objects Common data
§ Can be opened Read-Only by
Master copies
multiple users at the same time.
Global library

Project library
Restricted / © Siemens AG 2015. All Rights Reserved.
Page 80 Safety Integrated Systems Support
Security information

Siemens provides automation and drive products with industrial security functions that support the secure
operation of plants or machines. They are an important component in a holistic industrial security concept.
With this in mind, our products undergo continuous development. We therefore recommend that you keep
yourself informed with respect to our product updates.
Please find further information and newsletters on this subject at: http://support.automation.siemens.com

To ensure the secure operation of a plant or machine it is also necessary to take suitable preventive action
(e.g. cell protection concept) and to integrate the automation and drive components into a state-of-the-art
holistic industrial security concept for the entire plant or machine. Any third-party products that may be in use
must also be taken into account.
Please find further information at: http://www.siemens.com/industrialsecurity

Restricted / © Siemens AG 2015. All Rights Reserved.


Page 89 Safety Integrated Systems Support

You might also like