FB_BA_Facade_Maintenance

FB_BA_Facade_Maintenance 1:

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.

FB_BA_Facade_Maintenance 2:

The initialization of the template takes place within the method FB_Init.

Block diagram

FB_BA_Facade_Maintenance 3:

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

FB_BA_Facade_Maintenance 4: Outputs

Name

Type

Description

stSunBld

ST_BA_SunBld

Maintenance telegram.

bMntnActv

BOOL

Control output "Maintenance active".

FB_BA_Facade_Maintenance 5: Inputs CONSTANT

Name

Type

Description

MntnEn

FB_BA_BV_Op

Function block for activating the maintenance telegram.

MntnPos

FB_BA_AV_Op

Function block for entering the position.

MntnAngl

FB_BA_AV_Op

Function block for entering the angle.

MntnEvent

FB_BA_SunBldEvt

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