FB_BA_AutomationControl

FB_BA_AutomationControl 1:

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.

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_EvtGroupsAMEV2017;
     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_EvtGroupsAMEV2017

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.

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.0.0.0