FB_BA_AutomationControl

The template contains basic functions and project information relevant for an automation station.
In the sub-template FB_BA_Device information about the project and diagnostic options are offered. A parameterization of the BACnet device and general BACnet parameters takes place.
Below FB_BA_Device there are two possibilities to integrate the BACnet system time or the local NT system time of the TwinCAT system.
The sub-template FB_BA_EvtGroupsAMEV2017 provides event classes (notification classes) for the intrinsic reporting.
The sub-template FB_BA_ControlCabinet is used to collect and display control cabinet messages. An evaluation of the alarms of the automation station takes place and a central acknowledgement can be triggered.
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram

Syntax
FUNCTION_BLOCK FB_BA_AutomationControl EXTENDS FB_BA_View
VAR_INPUT CONSTANT
Device : FB_BA_Device;
EvtGroups : FB_BA_EvtGroupsAMEV2017;
Cabinet : FB_BA_ControlCabinet;
END_VAR
VAR_INPUT CONSTANT
Name | Type | Description |
---|---|---|
Device | Information about the project and diagnostic options are offered in the template. A parameterization of the BACnet device and general BACnet parameters takes place. Below FB_BA_Device there are two possibilities to integrate the BACnet system time or the local NT system time of the TwinCAT system. | |
EvtGroups | The template provides event classes (notification classes) for intrinsic reporting. | |
Cabinet | The template is used to collect and display control cabinet messages. An evaluation of the alarms of the automation station takes place and a central acknowledgement can be triggered. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |