FB_BA_AlarmMgnr

The alarm manager function block collects the alarms of all plants and pools them in a group alarm.
Internally, it passes on the system time to the plants and the associated alarm output function blocks, so that a timestamp can be output in the event of an alarm.

FB_BA_AlarmMgnr 1:

The alarm manager is the link between all alarms of a controller and their representation in the target visualisation. The display of the alarms in the target visualisation is automatically created with the template BAC_GenAlm_01.

FB_BA_AlarmMgnr 2:

Inputs/outputs

VAR_INPUT

dtSysTime    : DT;
sName        : STRING;
bAckn        : BOOL;

dtSysTime: System time used as timestamp in the event of an alarm. It is internally passed to the plants FB_BA_AlarmPlt and the associated alarm output function blocks FB_BA_Alarm.

bAckn: Input for central alarm acknowledgement of all plants. This acknowledgement is internally passed to the alarm output function blocks FB_BA_Alarm.

VAR_OUTPUT

bCriticalAlm : BOOL;
bNewAlm      : BOOL;
bInAlm       : BOOL;

bCriticalAlm: critical alarm within a plant. This is used in the templates for switching off a plant. To this end, the input byPrio in the alarm output function block FB_BA_Alarm must have the value 4.

bNewAlm: shows the new value message of an alarm within a plant.

bInAlm: indicates that an alarm is active within a plant.

Requirements

Development environment

Target system

required library

required supplement

TwinCAT 2.11 R3/x64

PC/CX

TcBA library from V1.0.0

TS8040 | TwinCAT Building Automation from V1.0.0