SMC_GetTappetValue (FB)

 

FUNCTION_BLOCK SMC_GetTappetValue

This function block evaluates the output Tappets of function block MC_CamIn and contains the current tappet status.

InOut:

Scope

Name

Type

Comment

Inout

Tappets

SMC_TappetData

Tappet signals to be evaluated by MC_GetTappetValue

Input

iID

INT

Group ID of the tappet to be evaluated.

bInitValue

BOOL

Initial value of the tappet to be assigned at first call

bSetInitValueAtReset

BOOL

TRUE: Sets the value of the tappet to bInitValue at a restart of the MC_CamIn` function block.

FALSE: Retains the tappet value at a restart of the MC_CamIn function block.

Output

bTappet

BOOL

Tappet value