FB_BA_EvtGroups
The template provides a group of notification classes.
The initialization of the template takes place within the method FB_Init. |
Notification class matrix
Event category | Meaning | Priority | Notification class | NC object | Sample |
---|---|---|---|---|---|
Hazard notification | Danger to life | 00 - 29 | EC_ID.NC10 | LifeSafety.EC | Fire alarm, robbery |
Hazard notification | 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
VAR_INPUT CONSTANT
Name | Type | Description |
---|---|---|
LifeSafety | The template calls the "Danger to life" event category. | |
SafetyMsg | The template calls the "Danger message, safety message" event category. | |
AlarmMsg | The template calls the "Alarm message" event category. | |
FaultMsg | The template calls the "Fault message" event category. | |
MaintenanceMsg01 | The template calls the event category "Maintenance message". | |
MaintenanceMsg02 | The template calls the event category "Maintenance message". | |
SystemMsg | The template calls the event category "System message". | |
ManualOp | The template calls the event category "Manual intervention". | |
OtherMsg | 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 |