SF_TwoHandControlTypeII (FB)ΒΆ

FUNCTION_BLOCK SF_TwoHandControlTypeII

This function block provides the two-hand control functionality (see EN 574, Section 4 Type II).
InOut:

Scope

Name

Type

Initial

Comment

Input

Activate

BOOL

FALSE

Activation of the FB.

S_Button1

BOOL

FALSE

Input of button 1, FALSE: Button 1 released, TRUE: Button 1 actuated.

S_Button2

BOOL

FALSE

Input of button 2, FALSE: Button 2 released, TRUE: Button 2 actuated.

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_TwoHandOut

BOOL

FALSE

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.

SafetyDemand

BOOL

FALSE

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

Error

BOOL

FALSE

Error flag

DiagCode

WORD

0

Diagnostic register