FB_BA_AV_Op_SP

The template FB_BA_AV_Op_SP is used to enter a setpoint within a template at system level.
It is itself a shell that represents the aggregate level and sets the internal analog object at the functional level.
A label is predefined in FB_Init that describes the internal analog object as a "setpoint"; the preselected unit is [°C].
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram

Syntax
FUNCTION_BLOCK FB_BA_AV_Op_SP EXTENDS FB_BA_View
VAR_OUTPUT
fPresentValue : REAL;
END_VAR
VAR_INPUT CONSTANT
SP : FB_BA_AV_Op;
END_VAR
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |