SF_EnableSwitch (FB)ΒΆ

FUNCTION_BLOCK SF_EnableSwitch

The function block SF_EnableSwitch FB evaluates the signals of an enable switch with 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_EnableSwitchCh1

BOOL

FALSE

Signal of contacts E1 and E2 of the connected enable switch. FALSE: Connected switches are open. TRUE: Connected switches are closed..

S_EnableSwitchCh2

BOOL

FALSE

Signal of contacts E3 and E4 of the connected enable switch. FALSE: Connected switches are open. TRUE: Connected switches are closed.

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_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