FB_BA_FdbAnalog
The template is used to monitor analog values with fixed switch values, such as differential pressure monitoring of a fan.
The initialization of the template takes place within the method FB_Init. |
Block diagram
Syntax
FUNCTION_BLOCK FB_BA_FdbAnalog EXTENDS FB_BA_View
VAR_INPUT
bEn : BOOL;
bCommand : BOOL;
fIn : REAL;
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. |
Inputs CONSTANT
Name | Type | Description |
---|---|---|
SwitchOnValue | Analog value object for entering the switch-on value for FixedLimit. In the case of differential pressure monitoring, a pressure value must be selected here which must not be undershot during the running process. | |
SwitchOffValue | Analog value object for entering the switch-off value for FixedLimit. This value must be just below the switch-on value SwitchOnValue. | |
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 |