FB_BA_Facade_Maintenance

Sub-template Maintenance position.
This function allows you to enter a position and an angle for maintenance work via objects and activate the corresponding sun protection telegram,
which is then available to the higher-level facade template at the stSunblind output.
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram

Syntax
FUNCTION_BLOCK FB_BA_Facade_Maintenance EXTENDS FB_BA_View
VAR_OUTPUT
stSunBld : ST_BA_SunBld;
bMntnActv : BOOL;
END_VAR
VAR_INPUT CONSTANT
MntnEn : FB_BA_BV_Op;
MntnPos : FB_BA_AV_Op;
MntnAngl : FB_BA_AV_Op;
MntnEvent : FB_BA_SunBldEvt := (ePrio:=E_BA_SunBldPrio.eMaintenance);
END_VAR
Outputs
Name | Type | Description |
---|---|---|
stSunBld | Maintenance telegram. | |
bMntnActv | BOOL | Control output "Maintenance active". |
Inputs CONSTANT
Name | Type | Description |
---|---|---|
MntnEn | Function block for activating the maintenance telegram. | |
MntnPos | Function block for entering the position. | |
MntnAngl | Function block for entering the angle. | |
MntnEvent | Function block for telegram generation. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.56 | TF8040 | TwinCAT Building Automation from V5.8.0.0 |