Lighting

The lighting functions within TF8040 are based on the shell model from the VDI 3813 standard for room automation.

There can be one or more room functions in each shell of the lighting controller model. A user function of the light sends a telegram to control the lights.

TYPE ST_BA_Lighting :
STRUCT
  {attribute 'parameterUnit':= '%'}
  fLgtVal    : REAL 
  {attribute 'parameterUnit':= 'K'}
  fLgtT      : REAL;

  bActv      : BOOL; 
  ePrio      : E_BA_LightingPrio;

  nEvtInc    : ULINT;
END_STRUCT
END_TYPE

A control value for the light intensity in % and the light temperature in Kelvin is transmitted within the telegram. The telegram also contains the variables bActv and ePrio.
To decide which of the functions in a shell has priority, each light telegram is given a priority ePrio.
A telegram selector of type FB_BA_LightingTgmSel4 /FB_BA_LightingTgmSel8 decides which of the telegrams is passed through to the next inner shell if there are several light functions in a shell.

Global lighting functions with high priorities are positioned in the building, floor and area shells.

These lighting functions are implemented within the templates FB_BA_BuildingLighting and FB_BA_FloorLighting.

Global lighting functions

In the Zone/Room shell (local lighting functions), the respective application function that meets the room's illumination requirements is selected. If there are several lighting groups in a room, a separate application function is placed for each one.

The sensor and user functions of the building shell are located in the Building Controller automation station. The functions of the shells floor to segment are located in the Floor Controller. Further details on this can be found in the ADS communication chapter within the templates

The overall functionality of the lighting controllers is determined by the selection and position of the lighting functions in the shell model. The lighting concept is very individual and strongly dependent on the use of the building.

Lighting 1: