Alarm Areas (Reference) provide hierarchical organization for alarm management in your FrameworX solution, Alarm Areas enable:
Areas create a tree structure for organizing alarms by location, system, or functional grouping.
| Property | Description | Required |
|---|---|---|
| Name | Area identifier | Yes |
| Parent | Parent area for hierarchy | No (root level) |
| Description | Area purpose and details | No |
| Category | Classification group for organizing alarm areas | No |
Example plant hierarchy:
Configure AlarmItems:
AlarmItem.Area = "Plant.Production.Line1"AckAll and AckAllLocal are change-triggered command properties, not methods. Each change of value acknowledges, and the value is not reset afterwards, so writing the same value again does nothing (a constant 1 acknowledges only the first time). To acknowledge again, toggle the value: use the Toggle action (ActionType ToggleValue), or write the current value + 1. Change the value once per acknowledge: setting it to 0 and back to 1 in the same script may not acknowledge.
// Acknowledge every unacknowledged alarm in Production and all its child areas
@Alarm.Area.Production.AckAll = @Alarm.Area.Production.AckAll + 1;
// Acknowledge only the items assigned directly to this area (child areas untouched)
@Alarm.Area.Production.AckAllLocal = @Alarm.Area.Production.AckAllLocal + 1;// Active alarms in an area and every area below it
int productionCount = @Alarm.Area.Production.TotalCount;
// Unacknowledged alarms in the same subtree
int productionUnAck = @Alarm.Area.Production.UnAckCount;
// Same counts restricted to items assigned directly to the area
int localCount = @Alarm.Area.Production.TotalCountLocal;
// Build a filter for this area plus its children, then apply it to the active alarm table
string filter = await @Alarm.Area.Production.GetFilterAsync();
var rows = @Alarm.QueryActive.Table.Select(filter);// Disable alarm evaluation for the whole area subtree
@Alarm.Area.Storage.Disable = 1;
// Suspend new activations without clearing already-active alarms
@Alarm.Area.Storage.Suspend = 1;
// Non-recursive variants affect only items assigned directly to the area
@Alarm.Area.Storage.DisableLocal = 1;AlarmAreas work with display controls for visualization:
Filter display to show only specific areas:
Use AlarmArea control for hierarchical navigation:
By Function
PlantSystemsFeedSystemReactorSystemProductSystemAccess areas programmatically:
// Look up an area by name
var area = @Alarm.Area["Production"];
// Identity
string areaName = area.Name; // script-stable identifier
string label = area.DisplayName; // localized label shown on operator screens
string parent = area.ParentArea; // parent area name, empty at root level
string notes = area.Description;
// Counts and status
int total = area.TotalCount; // active alarms in this area and below
int unAck = area.UnAckCount; // unacknowledged alarms in this area and below
int totalLocal = area.TotalCountLocal; // this area only
int unAckLocal = area.UnAckCountLocal; // this area only
int state = area.AlarmState; // rolled-up state of the area subtree
var worst = area.PriorityItem; // highest-priority active item in the subtree
// Operations
area.AckAll = area.AckAll + 1; // acknowledge the subtree (each change of value acknowledges)
area.Disable = 1; // disable the subtree
area.Suspend = 1; // suspend the subtree
// Child areas
string[] children = await area.GetChildrenAreasAsync(true);Alarms not appearing in area:
Cannot acknowledge by area:
Area tree not showing: