FB_BA_AutomationControl

FB_BA_AutomationControl 1:

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.

FB_BA_AutomationControl 2:

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

Block diagram

FB_BA_AutomationControl 3:

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

FB_BA_AutomationControl 4: VAR_INPUT CONSTANT

Name

Type

Description

Device

FB_BA_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

FB_BA_EvtGroups

The template provides event classes (notification classes) for intrinsic reporting.

Cabinet

FB_BA_ControlCabinet

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.