FB_BA_Facade_ParkPosition

Sub-template Park position.
This function allows you to enter a park position and a park angle 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_ParkPosition EXTENDS FB_BA_View
VAR_OUTPUT
stSunBld : ST_BA_SunBld;
bParkPosEvent : BOOL;
END_VAR
VAR_INPUT CONSTANT
FcdParkEn : FB_BA_BV_Op;
FcdParkPos : FB_BA_AV_Op;
FcdParkAngl : FB_BA_AV_Op;
FcdParkPosEvent : FB_BA_SunBldEvt := (ePrio:=E_BA_SunBldPrio.eParkPosition);
END_VAR
Outputs
Name | Type | Description |
---|---|---|
stSunBld | Parking position telegram. | |
bParkPosEvent | BOOL | Control output "Parking position enabled". |
Inputs CONSTANT
Name | Type | Description |
---|---|---|
FcdParkEn | Function block for activating the maintenance telegram. | |
FcdParkPos | Function block for entering the position. | |
FcdParkAngl | Function block for entering the angle. | |
FcdParkPosEvent | 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 |