HTML |
---|
<style>
.text-span-6 {
background-image: linear-gradient(99deg, rgba(170, 163, 239, .5), rgba(125, 203, 207, .5));
border-radius: 50px;
padding-left: 15px;
padding-right: 15px;
}
#title-text {
display: none;
}
.panelgradient {
background-image: linear-gradient(180deg, #d5def0, whitesmoke);
border-radius: 8px;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 4rem;
display: flex;
position: relative;
}
</style>
<div class ="panelgradient">
<h1 style="text-align: center;">Alarms<br>(Audit Trail and Alerts)</h1>
</div> |
Introduction to the Alarms Module
The Alarms Module monitors and manages real-time alarm events, alerts, notifications, and Audit Trail information. It provides alerts for critical events and stores data for future analysis. Key functions include:
Real-time alarm states processing
Storage on any database provider
Hierarchical organization of alarms
System AuditTrail events and operator actions tracking
On this page:
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Key Concepts and Terms
AlarmItem
A tag monitored by the Alarm Module, containing information such as tag name, alarm condition, AlarmGroup, Limit, Deadband, and Message.
AlarmGroup
Collection of AlarmItems sharing properties such as AckRequired and AutoAckTime.
AlarmArea
Hierarchical grouping of AlarmGroups for better organization.
Audit Trail
Logs changes and events when executing the solution, tracking who made changes and when. Useful for troubleshooting, analysis, and compliance.
Understanding the Alarms Module
Module Features
- AlarmViewer Control and AlarmAreas Control for displays.
- Real-time alarm processing
- Hierarchical alarm management
- Dynamic language localization for messages
- High-precision timestamps
- Custom notifications (e.g., SMS, email)
- Store and Forward archiving
- Automated replication in hot-standby scenarios
Monitoring Tags and Evaluating Conditions
When the Module Alarm is execution, all tags defined on AlarmItems are subscribed, so the alarm conditions are evaluated every time the tag as new value.
If a condition is reached, the alarm is issued, according to the behavior defined by its AlarmGroup. Notifications are sent if enabled to that group.
Configuring the Alarms Module
Configuration Workflow
Alarms Module Configuration Workflow | ||
---|---|---|
Action | Where | Comments |
Create AlarmItems | Alarms / Items | Create an AlarmItem. It will be associated with a tag by inserting the tag's name into the Tag Name column. Learn more at AlarmItems. |
Define conditions | Alarms / Items | Define the alarm behavior, configuring the Condition to trigger the alarm and the Limit for the threshold value. Learn more at AlarmItems. |
Create or edit AlarmGroups | Alarms / Groups | Define the AlarmItems that share common characteristics and use them to define several alarm attributes. Learn more at AlarmGroups. |
Create or edit AlarmAreas | Alarms / Areas | Create a hierarchically structured group of Alarms. Learn more at AlarmAreas. |
Define settings | Alarms / Global Settings | Configure database settings for logging alarm events, behavior upon system startup, and specific alarm handling parameters. Learn more at Global Settings. |
Pre-Defined AlarmGroups
The Alarms module provides a predefined AlarmGroup to quickly configure alarms for common applications. These
Introducing the Alarm Module
The Alarm Module is a powerful tool designed to monitor and manage alarm events within your projects, providing alerts for critical events, and storing data for future analysis. It is a crucial component for most projects and can be used in a wide range of industries to improve efficiency and productivity.
This comprehensive solution is essential to any modern control system and can be tailored to your specific application requirements. By leveraging the Alarm Module, you can create a comprehensive alarm management system that ensures a high level of control and automation for your application.
The documentation provides an overview of the Alarm Module's purpose and key concepts, how it works, and the steps required to configure and work with the module. Additionally, the documentation includes troubleshooting information and best practices to ensure optimal performance of your alarm management system.
By understanding and implementing the Alarm Module effectively, you can enhance your projects' responsiveness to critical events and ensure a high level of control and automation for your application.
Table of Contents | ||
---|---|---|
|
Key Concepts and Terminology
Purpose
The Alarm Module is designed to provide real-time monitoring and notification of events or conditions that require immediate attention. The configuration of the Alarm module is performed on the sections: AlarmGroup, AlarmArea, AlarmItem, and AuditTrail.
AlarmGroup
An AlarmGroup is a collection of AlarmItems that share common properties and characteristics. Each AlarmGroup can have its own configuration properties, such as AckRequired, AutoAckTime, and Sound, that apply to all of its AlarmItems. The configuration of AlarmGroups is on the Project Explorer, at Alarms → AlarmGroups.
AlarmArea
An AlarmArea is a hierarchical grouping of AlarmGroups that allows for a more organized and structured approach to managing alarms. An AlarmArea can have child AlarmAreas, allowing for a hierarchical structure of AlarmGroups and AlarmItems. The configuration of AlarmAreas is on the Project Explorer, at Alarms → AlarmAreas.
AlarmItem
An AlarmItem is a tag or expression that is monitored by the Alarm Module. It contains information such as the tag name, the alarm condition (what triggers the alarm), and the associated AlarmGroup. Each AlarmItem can have its own configuration properties, such as Limit, Deadband, and Message, that define the alarm behavior and characteristics. The configuration of AlarmItems is on the Project Explorer, at Alarms → AlarmItems.
AuditTrail
he AuditTrail is a feature of the Alarm Module that logs all changes made to the AlarmGroups and AlarmItems, including creation, modification, and deletion events. It is a way to track and record the history of changes made to the alarm configuration, providing a clear audit trail of who made what changes and when. The configuration of the AuditTrail is on the Project Explorer, at Alarms → AuditTrail.
Understading the Alarm Module
This section expelling the execution and features of the Alarm Module, organize in the the following topics:
The Alarm Module monitors and evaluates tags in real-time to generate alarms when the monitored value reaches a defined limit or condition. The module evaluates the conditions of AlarmItems and compares their current value with the set limit to determine whether an alarm should be triggered or not. The module can evaluate conditions such as exceeding a limit, falling below a limit, or entering/exiting a range.
The AlarmGroups can be used to group similar alarms together and define their behavior, such as whether they require acknowledgment, their sound and color settings, and their notification settings. The AlarmAreas allow organizing the alarms into a hierarchical structure to reflect the plant's physical layout. The AuditTrail feature logs all alarm and acknowledgment events and allows for tracking changes made to the alarm configuration.
The AlarmHistorian feature allows the Alarm Module to save alarms and their state changes in a separate database, allowing for efficient storage and retrieval of alarms data. The Alarm Module can be configured to store alarms data on a target database of your choice.
When an alarm is triggered, it can be acknowledged by operators and maintenance personnel through the Alarm Visualization object, Tag properties, or Alarm Group or Alarm Item's runtime properties. The alarm visualization object allows for displaying active alarms and their state changes on displays, while the Tag properties allow for viewing and acknowledging alarms on the HMI/SCADA system.
The Alarm Module can be integrated with other modules such as the Historian Module to allow for storing alarms data alongside process data. Overall, the Alarm Module provides an efficient and comprehensive solution for monitoring and managing alarms in real-time.
The Alarm Module offers the following key features:
Real-time alarm processing to quickly identify and respond to critical events
Agnostic storage on any database provider, making it flexible and easy to use
Hierarchy organization and management of alarms for greater flexibility and control
Notification events via SMS or email to keep users informed of critical events
Universal time and daylight saving considered for accurate timestamps
Dynamic language localization of alarm messages for easy understanding
High-precision timestamps up to 0.1ms for accurate and reliable data
With these features, the Alarm Module enables users to efficiently manage real-time alarms and notifications, while providing a comprehensive record of all related activities for analysis and troubleshooting.Overall, the Alarm Module is a powerful tool that can help users monitor their systems effectively, quickly identify and respond to issues, and keep their operations running smoothly.
The Alarm Module allows users to monitor tags and evaluate conditions in real-time. This allows users to receive notifications or take actions based on specific conditions, such as when a value exceeds a certain limit.
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. The Alarm Module continuously monitors the tag and evaluates the condition, triggering an alarm if the condition is met.
Conditions can be based on a variety of factors, such as tag values, tag quality, or the state of other alarms. Users can also define complex conditions by combining multiple factors using logical operators.
In addition to monitoring tags, the Alarm Module allows users to evaluate conditions based on the state of other alarms. This enables users to create more complex alarm scenarios, such as triggering an alarm only if two or more conditions are met simultaneously.
Overall, the Alarm Module provides powerful tools for monitoring tags and evaluating conditions in real-time, enabling users to respond quickly and effectively to critical events.
Configuring the Alarm Module
The Alarm Module can be customized to meet specific requirements. This section will cover the various configuration options available in the Alarm Module.
Global Settings and Customization
The Alarm Module has several global settings that can be customized to suit specific needs. These settings are available in the Alarm Configuration window.
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.
Info |
---|
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 Alarm Module.
In addition to the global settings, the Alarm Module can be customized further by creating Alarm Groups, Alarm Areas, and Alarm Items. These can be used to group and organize alarms based on specific criteria.
The next sections will cover how to create and manage Alarm Groups, Alarm Areas, and Alarm Items.
Creating and Managing Alarm Groups
Alarm Groups are a way to group together alarms that share common characteristics, such as the same priority, area, or notification method. In FactoryStudio, Alarm Groups are created and managed using the Alarm Journal's "Alarm Groups" tab.
To create a new Alarm Group, follow these steps:
Open the Alarm in the Designer.
Click on the "Alarm Groups" tab.
Click the "New Group" button.
Give the group a name, description, and choose the desired settings for that group, such as the priority level, notification method, etc.
Click "Save" to create the new group.
Once an Alarm Group has been created, it can be edited, disabled, or deleted. To edit an existing Alarm Group, follow these steps:
Open the Alarm in the Designer.
Click on the "Alarm Groups" tab.
Select the group you want to edit from the list of groups.
Click the "Edit" button.
Make the desired changes to the group settings.
Click "Save" to save the changes.
To disable an Alarm Group, follow these steps:
Open the Alarm in the Designer.
Click on the "Alarm Groups" tab.
Select the group you want to disable from the list of groups.
Click the "Disable" button.
Confirm that you want to disable the group.
To delete an Alarm Group, follow these steps:
Open the Alarm in the Designer.
Click on the "Alarm Groups" tab.
Select the group you want to delete from the list of groups.
Click the "Delete" button.
Confirm that you want to delete the group.
Note that deleting an Alarm Group will also delete all of the alarms associated with that group.
Using Pre-Defined Groups
The Alarm Module provides pre-defined Alarm Groups 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 standard purposes.
To use a pre-defined Alarm Grouppredefined AlarmGroup, 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 Alarm Module that you are using and the features that have been installed.
Some common Alarm Groups 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 Alarm Groups can save time and effort in configuring the Alarm 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.
Defining and Organizing Alarms Areas Hierarchy
The Alarm Areas Hierarchy allows you to organize your alarms based on location, equipment, or process hierarchy. This enables you to easily identify and prioritize alarms and alerts based on their importance.
To define and organize alarms areas hierarchy, follow these steps:
In the Alarm Configuration window, select the Alarm Areas tab.
Click the Add button to create a new Alarm Area.
Enter a unique name and description for the Alarm Area.
Optionally, set the priority for the Alarm Area. The priority determines the order in which the Alarm Areas appear in the Alarm Group tree.
Repeat steps 2-4 to add additional Alarm Areas.
To create a hierarchy, drag and drop Alarm Areas onto each other to create parent-child relationships.
To edit an Alarm Area, select it in the Alarm Group tree and click the Edit button.
To delete an Alarm Area, select it in the Alarm Group tree and click the Delete button.
Organizing your alarms into an Alarm Areas Hierarchy can greatly simplify alarm management, allowing you to quickly identify the source of an alarm and take appropriate action. It also allows you to easily customize alarm priorities and notifications based on your specific needs.
Adding and Editing Alarm Items
The Alarm Item is the core object of the Alarm Module, which represents a condition that triggers an alarm event when a certain criterion is met. Here we will discuss how to add new alarm items or modify the existing ones.
To add a new alarm item, follow these steps:
Open the Alarm Items configuration page by selecting Alarms > Alarm Items in the Project Browser.
Click the Add New button at the bottom of the Alarm Items list.
Enter the required fields, which include Tag Name, Condition, and Alarm Group.
You can also configure optional fields such as Limit, Deadband, Setpoint, Setpoint Deadband, Group, Area, Priority, Message, and Priority Order.
Click OK to save the new Alarm Item.
To modify an existing Alarm Item, follow these steps:
Open the Alarm Items configuration page by selecting Alarms > Alarm Items in the Project Browser.
Select the Alarm Item you want to modify from the list.
Modify the fields as required.
Click OK to save the changes.
It is important to note that any changes made to the Alarm Items will take effect immediately, and the new or modified alarm items will be evaluated against the tag values in real-time.
AlarmGroups are:
- Critical: High Priority Alarms that requires acknowledgement and History logging.
- Warning: Medium Priority Alarms and Low Priority Alarms, which don't require acknowledgment, but are logged.
- Audit Trail: Alarms and Events that don't show on Operator Displays, but are records on the History log.
AlarmHistorian Database on Datasets
The Alarm Historian 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.
Working with the Alarms Module
Once you have set up your AlarmGroup, AlarmArea, and AlarmItem, you can use the Alarms module
Working with the Alarm Module
The Alarm Module is a powerful tool for monitoring and alerting on process conditions. Once you have set up your Alarm Groups, Alarm Areas, and Alarm Items, you can use the Alarm Module to monitor your process and respond to any abnormal changes in conditions.
Runtime Execution
Once the alarm groups and items have been configured, the Alarm Module can be executed to start monitoring the specified tags and conditions. During runtime, the Alarm Module continuously evaluates the conditions of the alarm items and generates alarms when the conditions are met. The alarms are then added to the alarm database and can be visualized and acknowledged by the operators. The runtime behavior of the Alarm Module can be controlled through runtime attributes such as alarm logging level, acknowledge timeout, and alarm retention time.
Integration with Other Modules
The Alarm Module can be integrated with other FactoryStudio 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 Alarm Module.
AlarmHistorian Database definition on Datasets
The AlarmHistorian database is where the Alarm Module stores all alarm events and audit trail information. The AlarmHistorian database can be defined using datasets in FactoryStudio, 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.
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 tools you can use to control the module.
Monitoring the Alarms Module Execution
The Alarms Monitor lets you see real-time information about the module when the solution is running. It showcases total, unacknowledged, active alarms, their priority, and the most recent alarm notification.
→ Read more about Alarms Monitor.
Visualizing Alarms on Displays
Visualizing Alarms on DislaysThe 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.
→ Read more about the AlarmViewer Control and AlarmAreas Control.
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 Alarm Groups 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.
Info |
---|
For Email information, go to the Alarm Email Notifications page. |
Advanced Features and Options
The Alarm 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 Alarm Module's behavior.
Troubleshooting and Best Practices
Troubleshooting is an essential part of maintaining and optimizing any system, and the Alarm Module is no exception. As with any system, it is important to identify and resolve issues as quickly as possible to ensure that the Alarm Module is running smoothly and alarms are being properly monitored and acknowledged.
Common issues with the Alarm Module can include failure to acknowledge alarms, alarms not triggering when they should, and issues with the alarm visualization object. These issues can often be resolved by checking the alarm configuration, verifying the condition logic, and checking any relevant system settings. If the issue persists, it may be necessary to consult with technical support or review system logs to identify the root cause of the problem.
In addition to troubleshooting, there are also several best practices that can help to optimize the performance of the Alarm Module. These include regularly reviewing and updating alarm configurations, avoiding overloading the system with too many alarms, and using alarm areas and groups to organize and prioritize alarms. It is also important to regularly review and optimize system resources such as memory usage and CPU utilization to ensure that the system is running efficiently.
→ Read more about Alarm Email Notifications.
Customizing Alarm Sounds
Sets the sound played when an alarm goes off.
→ Read more about at AlarmGroup Sounds.
Alarms Advanced Topics
Alarm Execution Process
Presents in the detail the processes when executing the Alarm Engine.
→ Read more about Alarm Execution Process
Alarm Runtime Attributes
The Alarms Namespace exposes properties and methods from the .NET objects used by the Alarm Module execution.
→ Read more about Alarms Runtime Attributes
Anchor | ||||
---|---|---|---|---|
|
Best Practices and Recommendations
To ensure the smooth operation of the Alarms module, follow these best practices:
- Use clear and descriptive names for Alarm Group, Alarm Area, and Alarm Item.
- 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
- .
Common Issues and Solutions
The Alarm Module 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 Alarm Module, follow these best practices:
- Use clear and descriptive names for alarm groups, 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.
Alarm Module Runtime Attributes
To ensure the smooth operation of the Alarm Module, follow these best practices:
.
The Alarm Namespace
The Alarm namespace has the properties of the alarm server.The Alarm.Group object has the list of all defined groups and their properties.The Alarm.Item object has all alarm items and their properties.The tag properties are connected with the alarm module.
Example
tag.tagname.Hi
Configuration and runtime status of the HI alarm. The naming of all tag properties follow this same method.
Info |
---|
See Namespaces API for the complete programming reference on runtime objects. |
In this section:
Page Tree | ||||
---|---|---|---|---|
|
...