Alarm Groups (Reference) define shared characteristics and behaviors for collections of related alarm items in your FrameworX solution. Alarm Groups enable:
The platform provides pre-defined groups (Critical, Warning, AuditTrail) for common use cases, plus support for custom groups.
| Property | Description | Required |
|---|---|---|
| Name | Group identifier | Yes |
| AckRequired | Requires operator acknowledgment | Yes |
| ActiveTimeDeadband | Time period to ignore active alarms | No |
| AckTimeout | Timeout period for acknowledgment | No |
| AutoAckTime | Auto-acknowledge after this time | No |
| Sound | Audio file for alarm notification | No |
| Show | Display alarms from this group | Yes |
| LogEvents | Log events to historian | Yes |
| Colors | Visual identification colors | No |
| NotificationMethod | Script method for notifications. From FrameworX 10.1.6, also a webhook or MQTT broker URI (http://, https://, mqtt://, mqtts://). See Alarms Notifications Reference. | No |
| Category | Category designation | No |
| Description | Group purpose and details | No |
| Group | Purpose | Default Settings |
|---|---|---|
| Critical | High-priority alarms requiring immediate action | AckRequired=True, LogEvents=True, High Priority |
| Warning | Medium/low-priority informational alarms | AckRequired=False, LogEvents=True, Medium Priority |
| AuditTrail | Hidden alarms for audit logging only | Show=False, LogEvents=True, No Display |
Before deleting: Ensure no AlarmItems are linked to the group. Check via Alarms → Items and use Track Changes → Cross Reference.
| Property | Behavior |
|---|---|
| AckRequired | Alarm stays active until acknowledged, even if condition clears |
| AckTimeout | Maximum time allowed for acknowledgment |
| AutoAckTime | Automatically acknowledge after specified time |
Example flow:
Alarm Triggered → Wait for Ack → AutoAckTime expires → Auto-acknowledged
↓
Manual Ack → AcknowledgedNotificationMethod calls Script Class methods:
// In Script Class
public void SendCriticalAlert(AlarmEventArgs args)
{
// Send email
EmailService.Send(args.Message, args.Priority);
// Send SMS
SMSService.Alert(args.TagName, args.Value);
// Log to external system
ExternalLogger.LogAlarm(args);
}Configure: NotificationMethod = "Script.Class.ServerMain.SendCriticalAlert"
From FrameworX 10.1.6, NotificationMethod also accepts a webhook or MQTT broker URI, for example https://alerts.example.com/fx/alarms or mqtts://broker.example.com/plant1/alarms. The runtime then sends the alarm events of the group to the target with no script, and keeps them in a store-and-forward buffer while the target is unreachable. For the URI formats, the message content and the delivery rules, see Alarms Notifications Reference.
Prevents alarm flooding during startup or known conditions:
AckTimeout = 300 // Must acknowledge within 5 minutes
AutoAckTime = 600 // Auto-acknowledge after 10 minutes if not handledAccess group properties at runtime:
// Check if acknowledgment required
bool needsAck = @Alarm.Group.Critical.AckRequired;
// Get active alarm count for group
int criticalCount = @Alarm.Group.Critical.TotalCount;
// Disable group (set Disable to 0 to re-enable)
@Alarm.Group.Warning.Disable = 1;AckAll on a group is a change-triggered command property, not a method. Each change of value acknowledges every unacknowledged alarm item in the group. Writing the same value again does nothing, so a button that always writes 1 acknowledges only the first time. To acknowledge again, change the value once: use the Toggle action (ActionType ToggleValue), or write the current value + 1. Setting the value to 0 and back to 1 in the same script does not reliably acknowledge. This behavior applies to FrameworX 10.1.5 and 10.1.6.
// Acknowledge every unacknowledged alarm in the Critical group
@Alarm.Group.Critical.AckAll = @Alarm.Group.Critical.AckAll + 1;Name: ProcessCritical
AckRequired: True
Sound: Critical.wav
LogEvents: True
AutoAckTime: 0 (never)
Colors: Red
NotificationMethod: Script.Class.Notifications.SendCriticalName: InfoLog
AckRequired: False
Show: False
LogEvents: True
Category: AuditName: Maintenance
AckRequired: True
AutoAckTime: 3600 (1 hour)
LogEvents: True
NotificationMethod: Script.Class.Maintenance.ScheduleWorkAlarms not showing:
No sound playing:
Notifications not sent:
Alarm.LastErrorMessage. It says when events were buffered and why.Auto-acknowledge not working: