SF_TwoHandControlTypeII (FB)ΒΆ
FUNCTION_BLOCK SF_TwoHandControlTypeII
- InOut:
Scope
Name
Type
Initial
Comment
Input
ActivateBOOLFALSE
Activation of the FB.
S_Button1BOOLFALSE
Input of button 1, FALSE: Button 1 released, TRUE: Button 1 actuated.
S_Button2BOOLFALSE
Input of button 2, FALSE: Button 2 released, TRUE: Button 2 actuated.
Output
ReadyBOOLFALSE
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_TwoHandOutBOOLFALSE
Safety related output signal. FALSE: No correct two hand operation. TRUE: S_Button1 and S_Button2 inputs are TRUE and no error occurred. Correct two hand operation.
SafetyDemandBOOLFALSE
Output indicating that the FB is active and the primary safety function is demanded (e.g. related to the safety functionality).
ErrorBOOLFALSE
Error flag
DiagCodeWORD0
Diagnostic register