Introduction to Alarms Module
The Alarms module provides features and tools to manage alarms within the software platform. To create an Alarm Item, select a Tag and associate a Condition that, when triggered, will create an alarm event. Then, assign this item to the target Alarm Group (Warning, Critical, or AuditTrail) to inherit its properties and attributes. Specify its placement within the process hierarchy through Alarm Areas.
On this page:
Purpose and Key Concepts
Below is a list of key concepts essential to understanding the Alarms Module.
Alarm Item
An Alarm Item is a tag or expression monitored by the Alarms module. It contains information such as the tag name, the alarm condition (the trigger of the alarm), and the associated Alarm Group. Each Alarm Item can have its configuration properties, such as Limit, Deadband, and Message, that define the alarm behavior and characteristics.
Alarm Group
An Alarm Group is a collection of Alarm Items with common properties and characteristics. Each Alarm Group can have configuration properties, such as Ack Required, Auto Ack Time, and Sound, that apply to all its Alarm Items.
Alarm Area
An Alarm Area is a structured grouping of Alarm Groups, providing an organized approach to alarm management. It can contain child Alarm Areas, creating a hierarchical structure for Alarm Groups and Alarm Items. This hierarchy enhances the organization and management of alarms.
Audit Trail
The Audit Trail is a feature that logs all changes made to the Alarm Group & item including creation, modification and deletion of events. Providing a clear audit trail of who made what changes and when, it is a way to track and record the history of changes made to the alarm configuration
Understanding the Alarms Module
Such as other modules, the alarm module run in a separate process from TServer.exe, it means that the alarm operations occur at the same time that other events in the solution bringing reliability to process monitoring.
When an alarm is triggered, it can be acknowledged by any client logged in with a user with matching access level through the Alarm Viewer, this also can be done through other ways like: Tag properties, Alarm Group or Alarm Item's runtime properties.
Features Highlights
The Alarms Module offers the following key features:
- The Alarm Window displays active alarms and their state changes on the screen.
- Real-time alarm processing to quickly identify and respond to critical events.
- Organizing and managing alarms in a hierarchical structure for enhanced flexibility and control.
- It considers universal time and daylight saving time for accurate timestamps.
- Dynamic language localization of alarm messages for easy understanding.
- High-precision timestamps up to 0.1ms for accurate and reliable data.
Monitoring Tags and Evaluating Conditions
The Alarms functionality allows users evaluate if tag values satisfy certain conditions in real-time. With that the FrameworkX can send notifications to users or take actions based on specific conditions.
When monitoring tags, users can set up one or more conditions to evaluate. For example, a user might set up a condition to trigger an alarm if the value of a tag exceeds a certain threshold. Also, it's possible to bind any alarm trigger with a Script Task through the property "Alarm.Item.<AlarmID>.State", chaining an automatic process.
Conditions can be based on a variety of factors, such as tag values, tag quality, or any object property.
Configuring the Alarms Module
Configuring an alarm involves creating an AlarmsItem object. Creating an AlarmsItem involves selecting a system Tag and associating a condition to generate an alarm event. Once done, it is necessary to specify which alarm group this item belongs to. The alarm item will inherit properties and attributes defined in the alarm groups. Finally, based on your process hierarchy defined on AlarmsAreas, you can specify which place the alarm item belongs to. So, to create and manage alarm items, go to Alarms/Items; to customize and fine-tune the groups of alarms, go to Alarms/Groups; and to define the process hierarchy and organize your alarm systems, go to Alarms/Areas.
Device Module Configuration Workflow | ||
---|---|---|
Action | Where | Comments |
Create Channels | Devices → Channels | Identify the required field devices and protocols the project requires, create channels accordingly. Learn more at Device Channels. |
Create Nodes | Devices → Nodes | Identify the Network addresses and relevant information to all stations and devices that need connectivity. Learn more at Devices Nodes. |
Map Tags to Point addresses | Devices → Points | Optionally, you can Copy Tags from Excel/CSV from Excel or execute Import Wizards. Learn more at Device Points. |
Create or Customize AccessTypes | Devices → AccessTypes | Optionally, you can optimize the communication, grouping Points with similar requirements to the same AccessType. Learn more at AccessType. |
Working with the Alarms Module
Once you have set up your AlarmGroup, AlarmArea, and AlarmItem, you can use the Alarms module to monitor your process and respond to any abnormal conditions.
Runtime Execution
You can control the Alarms Module execution while running your solution. You can Run, Pause, or Stop the Alarms Module directly from the platform. Access Runtime → Runtime Diagnostics to find the three buttons that you can use to control the module.
Monitoring the Module
The Alarms Monitor lets you see real-time information about the module when the solution is runtime. It showcases total, unacknowledged, active alarms, their priority, and the most recent alarm notification.
Additionally, the Runtime Diagnostic provides additional information from the modules through three essential diagnostic tools:
- Module Information
- Property Watch
- Trace Window
You can read more about these tools and see a list of properties used to monitor the module on the Alarms Monitor page.
Intra-Module Interaction
The Alarms module can be integrated with other modules to enhance its functionality. For example, the Display module can be used to display alarms on a graphical screen, and the Reporting module can be used to generate reports that include alarms and their details. Additionally, the Scripting module can be used to handle alarm notifications, as well as to create custom alarms and modify the runtime behavior of the Alarms module.
Visualizing Alarms on Displays
The Displays module can be used to create displays that visualize alarms in real-time. The alarms can be displayed in tables, custom graphics, objects and others with the ability to sort and filter based on various alarm properties. The displays can also include interactive components, such as acknowledging alarms and displaying alarm details, to allow operators to quickly respond to alarms.
Handling Notifications with Scripts
The Scripting module can be used to create custom scripts that handle alarm notifications. These scripts can define the behavior of the Notification Method property of the AlarmGroup, allowing for more customized notifications based on the type and severity of the alarm. The scripts can also define notification methods beyond the built-in options, such as sending emails or SMS messages. For Email information, go to the Alarm Email Notifications page
AlarmHistorian Database definition on Datasets
The AlarmHistorian database is where the Alarms module stores all alarm events and audit trail information. The AlarmHistorian database can be defined using datasets, which allows for easy configuration and modification of the database properties. The datasets can define the database connection settings, the schema of the database tables, and the properties of the alarm events and audit trail entries.
External System Interaction
The Alarms Module can send alarm notifications through emails or SMS messages. For more details on this feature and how to use it access the Alarm Email Notifications page.
Advanced Alarms Topics
The Alarms module also includes several advanced features and options to further customize its functionality. These include the ability to create custom alarm states, the ability to filter alarms based on specific conditions, the ability to configure alarms to only be active during certain time periods, and the ability to define custom properties for alarm events and audit trail entries. These advanced features provide additional flexibility and control over the Alarms module's behavior.
Advanced Configuration
The Alarms module can be customized to meet specific requirements. This section will cover the various configuration options available in the Alarms module.
The following are some of the settings that can be customized:
Alarm Notification: This setting allows the user to specify how alarms are notified to users.
Sound: This setting allows the user to specify the sound that should be played when an alarm is raised.
For information on sound configuration, go to the AlarmGroup Sounds page.
Display: This setting allows the user to specify the display options for the alarms.
Audit-Trail: This setting allows the user to specify whether or not to log alarms and events.
Database: This setting allows the user to specify the database where alarm information is stored.
Security: This setting allows the user to specify the security settings for the Alarms module.
In addition to the global settings, the Alarms module can be customized further by creating AlarmGroup, AlarmArea, and AlarmItem. These can be used to group and organize alarms based on specific criteria.
The next sections will cover how to create and manage AlarmGroup, AlarmArea, and AlarmItem.
Using Pre-Defined Groups
The Alarms module provides pre-defined AlarmGroup that you can use to quickly configure alarms for common applications. These pre-defined groups have pre-configured properties that make it easier to create and configure alarms for specific purposes.
To use a pre-defined Alarm Group, you simply need to select it from the list of available groups and configure any additional properties as needed. The available pre-defined groups may vary depending on the version of the Alarms module that you are using and the features that have been installed.
Some common AlarmGroup that may be available, include:
High Priority Alarms
This group is used to track critical alarms that require immediate attention. The alarms in this group will typically have a high priority and may be configured to generate notifications or take other actions automatically.Medium Priority Alarms
This group is used to track alarms that are important, but not as critical as high priority alarms. The alarms in this group may have a lower priority than those in the high priority group, and may not require immediate attention.Low Priority Alarms
This group is used to track alarms that are less critical than medium priority alarms. The alarms in this group may have a lower priority than those in the medium priority group and may not require immediate attention.Equipment Alarms
This group is used to track alarms related to specific pieces of equipment or systems. The alarms in this group may be configured to generate notifications or take other actions specific to the equipment being monitored.Production Alarms
This group is used to track alarms related to production processes or activities. The alarms in this group may be configured to generate notifications or take other actions related to the production process being monitored.
Using pre-defined AlarmGroup can save time and effort in configuring the Alarms module, as the properties of the alarms in the group are already pre-configured. However, you can still customize these pre-defined groups or create new ones as needed to fit your specific requirements.
Alarms Runtime Attributes
The Alarms Namespace exposes properties and methods from the .NET objects used by the Alarms Module execution. You can use these properties and methods on your Displays or to create Scripts. The Alarms Runtime Attributes page lists all options available.
Troubleshooting and Best Practices
Common Issues and Solutions
The Alarms module may encounter some issues in its operation. Here are some common issues and their solutions:
#Alarm not firing
Check the tag name, condition, and alarm item configuration. Ensure the tag is valid and the condition is met.
#Alarm not acknowledged
Check the alarm acknowledgement configuration. Ensure that the alarm acknowledges property is set and the acknowledgement timeout is not expired.
#Database connection error
Check the database connection string and ensure that the database is reachable.
#Alarm flooding
Check the alarm configuration and ensure that the deadband settings are properly configured.
#Notification not received
Check the notification configuration and ensure that the notification method is properly set.
Best Practices and Recommendations
To ensure the smooth operation of the Alarms module, follow these best practices:
Use clear and descriptive names for AlarmGroup, areas, and items.
Configure alarms with proper priority and severity levels.
Use deadbands and delays to prevent alarm flooding.
Regularly check and maintain the alarm configuration.
Configure notifications and acknowledge alarms in a timely manner.
In this section: