Methods For Safety Programming; Program Structures; Defining A Program Structure - Siemens SIMATIC S7-1200 Safety Programming Manualline

Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

3 Methods for Safety Programming

Methods for Safety Programming
3
3.1

Program structures

3.1.1

Defining a program structure

Recommendation
Modularly divide the program code, e.g.,
into subparts for detecting, evaluating, reacting or
plant sections.
In the preliminary stages, create a specification for each module (based on the
risk assessment requirements).
Avoid complex signal paths.
Advantages
Minimizes complexity.
Reduces programming errors.
Allows the program code to be analyzed/tested without running the program
(e.g., code review or PLCSIM).
Easily expandable. Simplifies renewed acceptance.
Reuse of program parts without renewed acceptance.
Allows advance testing and acceptance of finished program parts.
Example
The following figure shows a safety application that is divided into three machine
areas (safety zones).
As some of the sensor signals are interconnected across areas (e.g., emergency
stop functions that act globally), they are grouped into a "Sensors" FB (they could
also be split up into physical or logical areas). The respective sensors are
evaluated using standardized function blocks (e.g., "GuardDoor").
The Mobile Panels' blocks are also called here.
Separate logic and actuator FBs are created for each machine area. The actuators
are controlled using standardized function blocks (e.g., "ContactorControl").
Safety Programming Guideline
Entry ID: 109750255,
V1.0,
10/2017
14

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500

Table of Contents