FB_BA_EvtGroups

FB_BA_EvtGroups 1:

The template provides a group of notification classes.

FB_BA_EvtGroups 2:

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

Notification class matrix

Event category

Meaning

Priority

Notification class

NC object
EC object

Sample

Hazard notification
(Life Safety)

Danger to life

00 - 29

EC_ID.NC10

LifeSafety.EC

Fire alarm, robbery

Hazard notification
(Property Safety)

Safety message

30 - 59

EC_ID.NC20

SafetyMsg.EC

Burglary, unauthorized entry

Alarm message

Message indicates system failure or requires immediate intervention.

60 - 89

EC_ID.NC30

AlarmMsg.EC

Safety temperature limiter (STB), safety pressure limiter (SDB), excess temperature of water heating (WWB), safety valves, main pumps, V-belt monitors, frequency converters, refrigeration systems, voltage failure, etc.

Fault message

Message indicates abnormal operating state.

90 - 119

EC_ID.NC40

FaultMsg.EC

Temperature monitor (TW), pressure monitor (DW), temperature monitoring of heat exchanger (WT) and WWB, motor protection, elevator collective error message, mains pressures, etc.

Maintenance message

Indication of maintenance activity or similar.

120 - 149

EC_ID.NC50

MaintenanceMsg01.EC

Operating hours, tank level, repair switch, etc.

Maintenance message

Indication of maintenance activity or similar.

120 - 149

EC_ID.NC51

MaintenanceMsg02.EC

Filter end reached, filter dirty, etc.

System message

Fault message from the GA system.

150 - 219

EC_ID.NC60

SystemMsg.EC

Device malfunction, battery message, communication interruption, etc.

Manual intervention

Manual intervention

220

EC_ID.NC70

ManualOp.EC

Manual intervention

Subject to confirmation

Other messages

221 - 255

EC_ID.NC80

OtherMsg.EC

Operating state change, operation modes, trend memory full, etc.

Syntax

FUNCTION_BLOCK FB_BA_EvtGroups EXTENDS FB_BA_View
VAR_INPUT CONSTANT
  LifeSafety          : FB_BA_EvtCategory;
  SafetyMsg           : FB_BA_EvtCategory;
  AlarmMsg            : FB_BA_EvtCategory;
  FaultMsg            : FB_BA_EvtCategory;
  MaintenanceMsg01    : FB_BA_EvtCategory;
  MaintenanceMsg02    : FB_BA_EvtCategory;
  SystemMsg           : FB_BA_EvtCategory;
  ManualOp            : FB_BA_EvtCategory;
  OtherMsg            : FB_BA_EvtCategory;
END_VAR

FB_BA_EvtGroups 3: VAR_INPUT CONSTANT

Name

Type

Description

LifeSafety

FB_BA_EvtCategory

The template calls the "Danger to life" event category.

SafetyMsg

FB_BA_EvtCategory

The template calls the "Danger message, safety message" event category.

AlarmMsg

FB_BA_EvtCategory

The template calls the "Alarm message" event category.

FaultMsg

FB_BA_EvtCategory

The template calls the "Fault message" event category.

MaintenanceMsg01

FB_BA_EvtCategory

The template calls the event category "Maintenance message".

MaintenanceMsg02

FB_BA_EvtCategory

The template calls the event category "Maintenance message".

SystemMsg

FB_BA_EvtCategory

The template calls the event category "System message".

ManualOp

FB_BA_EvtCategory

The template calls the event category "Manual intervention".

OtherMsg

FB_BA_EvtCategory

The template calls the event category "Other messages".

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.0.0.0