SF_Guard (FB)ΒΆ
FUNCTION_BLOCK SF_Guard
- InOut:
Scope
Name
Type
Initial
Comment
Input
Activate
BOOL
FALSE
Activation of the FB.
S_GuardSwitch1
BOOL
FALSE
Guard switch 1 input. FALSE: Guard is not closed. TRUE: Guard is closed.
S_GuardSwitch2
BOOL
FALSE
Guard switch 2 input. FALSE: Guard is not closed. TRUE: Guard is closed.
DiscrepancyTime
TIME
TIME#0ms
Configures the monitored synchronous time between S_GuardSwitch1 and S_GuardSwitch2.
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_GuardOut
BOOL
FALSE
Output indicating that the guard is closed and the guarded area safe. FALSE: Guard is open. TRUE: both S_GuardSwitches are TRUE, no error and acknowledgment. Guard is closed.
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