FB_BA_Facade_ParkPosition

Sub-template Park position.
This function allows a park position and a park angle to be entered and the corresponding sun protection telegram to be activated, 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 park position. | |
FcdParkPos | Function block for entering the position. | |
FcdParkAngl | Function block for entering the angle. | |
FcdParkPosEvent | Function block for telegram generation. |
