SF_EnableSwitch_2 (FB)ΒΆ

FUNCTION_BLOCK SF_EnableSwitch_2

This function block evaluates the signals of an enable switch with two or three positions.
InOut:

Scope

Name

Type

Initial

Comment

Input

Activate

BOOL

FALSE

Activation of the FB.

S_SafetyActive

BOOL

FALSE

Confirmation of the safe mode (limitation of the speed or the power of motion, limitation of the range of motion). FALSE: Safe mode is not active. TRUE: Safe mode is active.

S_EnableIn

BOOL

FALSE

Signal of connected enable switch. The evaluation of the signals (discrepancy) will be done within the IO unit or the FB_Equivalent. FALSE: Not Enabled. TRUE: Enabled.

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_EnableSwitchOut

BOOL

FALSE

Safety related output: Indicates suspension of guard. FALSE: Disable suspension of safeguarding. TRUE: Enable suspension of safeguarding

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