SF_EmergencyStop (FB)ΒΆ

FUNCTION_BLOCK SF_EmergencyStop

This function block is a safety-related function block for monitoring an emergency stop button.
This Function block can be used for emergency switch off functionality (stop category 0), or - with additional peripheral support - as emergency stop (stop category 1 or 2).
Function block according to PLCopen, Technical Committee 5: Safety Software (Technical Specification), Part 1: Concepts and Function Blocks, Version 2.01 (2020-2)
InOut:

Scope

Name

Type

Initial

Comment

Input

Activate

BOOL

FALSE

Activation of the FB.

S_EStopIn

BOOL

FALSE

Safety demand input.

S_StartReset

BOOL

FALSE

Start behaviour of safety FB

S_AutoReset

BOOL

FALSE

Behaviour on error of safety FB

Reset

BOOL

FALSE

Manual reset of FB

Output

Ready

BOOL

FALSE

Activation of the FB. TRUE indicates that the FB is activated and the outputs results are valid, FALSE the FB is not active and the program is not executed.

S_EStopOut

BOOL

FALSE

Output for the safety-related response.

SafetyDemand

BOOL

FALSE

Output indicating that the FB is active and the primary safety function is demanded (e.g. related to the safety functionality).

ResetRequest

BOOL

FALSE

Output which can be used to signal the operator to press the reset functionality to continue.

Error

BOOL

FALSE

Error flag

DiagCode

WORD

0

Diagnostic register