FB_BA_DlyOn
The template implements a start-up delay.
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
tonDlyOn : TON;
END_VAR
Outputs
Name | Type | Description |
---|---|---|
bQ | BOOL | State of the start-up delay. |
nRT | UDINT | Remaining time of the start-up delay. After this time has elapsed, bQ is set to TRUE. |
Inputs CONSTANT
Name | Type | Description |
---|---|---|
TiDly | AV object for entering the value of the start-up delay. |
Variables
Name | Type | Description |
---|---|---|
tofDlyOn | TON | The timing element is the core of this template for start-up delay. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |