FB_BA_RoomAutomationClient

Call template trade "Room automation" - client version.
This template at the "trade" level calls up all sub-templates whose data is ideally prepared in a floor computer.
On the one hand, this is data to be assigned to the "room automation" trade, which is transmitted and read by a building computer (FB_BA_AdsComClient_Room), and on the other hand, this template contains the calls of all rooms.
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram

Syntax
FUNCTION_BLOCK FB_BA_RoomAutomationClient EXTENDS FB_BA_View
VAR_INPUT CONSTANT
AdsComClientRoom : FB_BA_AdsComClient_Room;
SampleRoom : FB_BA_RoomSample1;
END_VAR
VAR_INPUT CONSTANT
Name | Type | Description |
---|---|---|
AdsComClientRoom | The sub-template has the task of reading data and parameters sent from other computers, ideally from the building computer. | |
SampleRoom | The sub-template represents an example room with shading, illumination and air conditioning. This room has a shaded area within a facade whose data it receives via site.arrFacade[2]. In terms of lighting, the room is assigned to area 1, which is expressed by the receipt of site.arrAreaLighting[1]. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.56 | TF8040 | TwinCAT Building Automation from V5.8.0.0 |