AbbLConC3 (FB)

FUNCTION_BLOCK AbbLConC3 IMPLEMENTS IAbbLConC3

State machine for level controlled continuous behaviour function blocks

InOut:

Scope

Name

Type

Initial

Comment

Input

Enable

BOOL

FALSE

A rising edge (Enable = TRUE) starts the operation, the output Busy goes to TRUE. All other inputs are read and considered continuously. Execution will continue forever until a falling edge (Enable = FALSE) aborts the operation. During Aborting the Busy is still TRUE. Afterward all outputs are reset.

Output

Busy

BOOL

FALSE

Operation is running (while output Error is FALSE)

Error

BOOL

FALSE

Operation is stopped with error (while output Busy is FALSE). This output is TRUE for at least one cycle or until Enable is set to FALSE. The output ErrorID gives more details about the error.