Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

Download the Solution Example here: AlarmsAreas.dbsln


  • Solution Name:
Logical
  • Alarm Areas
  • Software Version:
10.0.6
  • v10
  • Keywords:
Alarms. Area. Alarm management.

Summary

The sample shows how to set up Logical Alarm Areas and how to use them to filter Alarms. It aims to demonstrate how your solutions can be enhanced with additional features in the alarming system to fit your needs. We will run through those features on this page. Going to Alarms/Areas, you'll find the Alarms Areas configuration interface.

Technical Information

In the Alarms Areas configuration interface, users can define logical areas to group Alarms, enhancing organization and alarm management.

In the Alarms Items configuration interface, there is the AuxValue column, which allows for displaying additional tag info alongside the one triggering the alarm in the alarm message.

Within the Alarm Namespace, various attributes facilitate interaction with these defined areas. The users can manage areas through attributes such as categories, descriptions, IDs, and names. Check out how to access the Alarm Area attributes in the Alarm namespace in the image below:

Image Removed

Also, it includes counts for the total number of Alarms within an area (including or excluding child areas) and the number of unacknowledged Alarms. It also offers functionalities to acknowledge all Alarms within an area, with or without including child areas, and to turn Alarms on or off for specific areas.

The solution example shows how to display these areas in a tree view during runtime using the AlarmAreas graphical component, allowing users to see and select different alarm areas. 
This feature enables the monitoring of Alarms in real time, showing active and unacknowledged Alarms within selected areas. Users can acknowledge Alarms directly from this view, and they can turn off Alarms for specific areas, preventing them from appearing in the interface. However, the system continues to process and store them as usual.

Additionally, the interface allows for selecting specific sub-areas to filter the displayed Alarms, demonstrating the flexibility and depth of control available in managing and monitoring Alarms across different areas of an operation.

  • Alarm, Areas

Summary

This solution example demonstrates the many uses of AlarmAreas. Among other things, it is possible to enable, disable, acknowledge, count and filter Alarms based on the Area they are linked to, simplifying the management of complex solutions.

Image Added


Technical Information

To create an AlarmArea, go to Alarms → Areas. It is possible to create SubAreas by selecting an existing AlarmArea and creating a new one inside of it. Next, go to Alarms → Items, right-click on the column headers, enable the Area column, and assign each AlarmItem to its corresponding Area by editing the column.
Each AlarmArea has its own alarm counts, as well as methods to acknowledge and disable all connected Alarms. These functionalities can be linked to buttons to manage Alarms. You can check these possibilities out by double-clicking this example’s components in Draw mode and looking at their Dynamics and text fields.
Additionally, Areas can be used to filter AlarmItems, simplifying and organizing the contents of AlarmViewers. To do this, go to Displays → Draw → Modules, select an AlarmAreas component and place it on the desired display. Set the SelectedArea field to a text tag, and then apply it to the AlarmAreas through the display’s CodeBehind, like this:

Code Block
public async void ApplyFilterButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
	if(String.IsNullOrEmpty(@Tag.SelectedArea))
		@Tag.AlarmFilter = "";
	else
		@Tag.AlarmFilter = @Alarm.Area[@Tag.SelectedArea].GetFilterAsync();
}


This code retrieves the Area selected by the user through the AlarmAreas component. The GetFilterAsync method then generates a text filter that includes the selected Area and all of its SubAreas. This filter is assigned to the AlarmFilter text tag, which is applied to the AlarmViewer by double-clicking on it in Draw mode and setting its Filter field to {Tag.AlarmFilter}.


Reference Information

Check out Alarm Areas and AlarmAreas Control for more information on the purpose and behavior of AlarmAreas.


In this section:

Page Tree
root@parent
spacesV10

Reference Information

Check out the Areas documentation to leverage this feature's potential.