FB_BA_BuildingSunprotection

FB_BA_BuildingSunprotection 1:

This template collects cross-building criteria for the blind functions, which are then further used in the facade instances of the FB_BA_Facade. These are in detail:

The above protection telegrams are combined on a priority switch FB_BA_SunBldTgmSel4 to a resulting telegram.

This is made available at the end of the template with the building-specific sun protection data in a globally declared variable structure stBuildingSunBlind (see global variable list Site).

FB_BA_BuildingSunprotection 2:

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

Syntax

FUNCTION_BLOCK FB_BA_BuildingSunprotection EXTENDS FB_BA_View
VAR_INPUT CONSTANT
  FireAlert                   : FB_BA_SunBldEvt := (ePrio:=E_BA_SunBldPrio.eFire);
  Burglary                    : FB_BA_SunBldEvt := (ePrio:=E_BA_SunBldPrio.eBurglary);
  IceProtection               : FB_BA_IceProtection;
  GlobalThAutoRlse            : FB_BA_Hys_03;
  GlobalTwiLgtAutoRlse        : FB_BA_Hys_03;
  SunPrtcPosIntval            : FB_BA_AV_Op_SP;
  GlobalResetManMode          : FB_BA_BV_Op_Val;
END_VAR
VAR
  BuildingAlarms              : FB_BA_SunBldTgmSel4;
  GlobalTwiLgtAutoValOnOff    : FB_BA_Swi2P;
  rtManResetEnergLvl          : R_TRIG;
END_VAR

FB_BA_BuildingSunprotection 3: Inputs CONSTANT

Name

Type

Description

FireAlert

FB_BA_SunBldEvt

Telegram block for the fire alarm: lets the blind raise completely.

Burglary

FB_BA_SunBldEvt

Telegram block for burglary: lets the blind raise completely.

IceProtection

FB_BA_IceProtection

Sub-template for presentation of the ice protection.

GlobalThAutoRlse

FB_BA_Hys_03

Hysteresis template for the presentation of the global automatic thermal release due to global radiation.

Contains limit values, delays and a binary object for display.

GlobalTwiLgtAutoRlse

FB_BA_Hys_03

Hysteresis template for the presentation of the global automatic twilight release based on the average brightness.

Contains limit values, delays and a binary object for display.

SunPrtcPosIntval

FB_BA_AV_Op_SP

Analog input object: Readjustment interval of the lamella angle [min].

GlobalResetManMode

FB_BA_BV_Op_Val

Binary input object: Operating option for resetting manual functions.

Variables

Name

Type

Description

BuildingAlarms

FB_BA_SunBldTgmSel4

Priority selection block.

GlobalTwiLgtAutoValOnOff

FB_BA_Swi2P

Hysteresis block for switching off the twilight automatic (global criterion).

rtManResetEnergLvl

R_TRIG

Trigger reset of the manual function for the criterion energy level (continuous signal).

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.0.0.0