FB_BA_AutomationControl

The template contains basic functions and project information relevant for an automation station.
In the FB_BA_Device sub-template provides information about the project and diagnostic options. A parameterization of the BACnet device and general BACnet parameters takes place.
Below Device there are two possibilities to integrate the BACnet system time or the local NT system time of the TwinCAT system.
The EvtGroups sub-template provides event classes (notification classes) for intrinsic reporting.
The Cabinet sub-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.
![]() | 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_EvtGroups;
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. |
