FB_BA_DlyOff

The template implements a switch-off delay and can be used for the overrun control of pumps.
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram

Syntax
FUNCTION_BLOCK FB_BA_DlyOff EXTENDS FB_BA_View
VAR_INPUT
bVal : BOOL;
END_VAR
VAR_OUTPUT
bQ : BOOL;
nRT : UDINT;
END_VAR
VAR_INPUT CONSTANT
TiDly : FB_BA_AV_Op;
END_VAR
VAR
tofDlyOff : TOF;
END_VAR
Outputs
Name | Type | Description |
|---|---|---|
bQ | BOOL | State of the switch-off delay. |
nRT | UDINT | Remaining time of the switch-off delay. After this time has elapsed, bQ is set to FALSE. |
Inputs CONSTANT
Name | Type | Description |
|---|---|---|
TiDly | AV object for entering the value of the switch-off delay. |
