FB_BA_FdbAnalogExt
![FB_BA_FdbAnalogExt 1:](Images/png/12308790155__Web.png)
The template is used to monitor analog values with dynamic switch values, e.g. for differential pressure monitoring of a fan.
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram
![FB_BA_FdbAnalogExt 3:](Images/png/15925420171__Web.png)
Syntax
FUNCTION_BLOCK FB_BA_FdbAnalog EXTENDS FB_BA_View
VAR_INPUT
bEn : BOOL;
bCommand : BOOL;
fIn : REAL;
fOn : REAL := 10.0;
fOff : REAL := 2.0;
END_VAR
VAR_OUTPUT
bDst : BOOL;
END_VAR
VAR_INPUT CONSTANT
SwitchOnValue : FB_BA_AV_Op;
SwitchOffValue : FB_BA_AV_Op;
DelayFeedback : FB_BA_AV_Op;
DelayInterruption : FB_BA_AV_Op;
Dst : FB_BA_BV;
END_VAR
VAR
FixedLimit : FB_BA_Swi2P;
FdbCtrl : FB_BA_FdbCtrlBinary;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
bEn | BOOL | General enable of the template. |
bCommand | BOOL | The switching actuator output of the aggregate to be monitored is connected to the input. |
fIn | REAL | The analog value to be monitored is connected to the input, e.g. a differential pressure sensor. |
fOn | REAL | The switch-on value for FixedLimit is connected to the input. In the case of differential pressure monitoring, a pressure value must be selected here which must not be undershot during the running process. |
fOff | REAL | The switch-off value for FixedLimit is connected to the input. This value must be just below the switch-on value fOn. |
Inputs CONSTANT
Name | Type | Description |
---|---|---|
SwitchOnValue | Analog value object for entering the switch-on value for fOn. | |
SwitchOffValue | Analog value object for entering the switch-off value for fOff. | |
DelayFeedback | Analog value object for entering the time delay of the "Aggregate ready for operation" information. In the case of differential pressure monitoring, a time delay must be specified here after which it can be assumed that the system has built up the required differential pressure. | |
DelayInterruption | Analog value object for entering the delay time to trigger a fault message. The message from the differential pressure sensor can be delayed, in order to buffer pressure fluctuations. | |
Dst | Binary object for displaying the fault. |
Variables
Name | Type | Description |
---|---|---|
FixedLimit | Conversion of the analog value fIn into a binary switching signal for FdbCtrl. | |
FdbCtrl | Monitoring of the binary feedback. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |