Creating Alarms
This guide shows you how to configure alarm levels, categories, groups, and alarm points.
Configure Alarm Levels
Alarm levels indicate the severity of an alarm. Define levels that match your operational priorities.
Step 1: Open Alarm Level Configuration
- Navigate to Alarm Management
- Click Alarm Levels button
- The Alarm Level configuration dialog opens
📷 [Screenshot: Alarm Level configuration dialog]
Step 2: Create Alarm Levels
- Click Add to create a new level
- Enter a level name (e.g.,
Critical,High,Medium,Low) - Repeat for all required levels
- Click Save
Common Alarm Level Schemes:
| Level | Use Case | Color Convention |
|---|---|---|
| Critical | Safety hazards, equipment damage risk | Red |
| High | Process deviations requiring immediate action | Orange |
| Medium | Conditions requiring attention within hours | Yellow |
| Low | Informational, no immediate action needed | Blue |
Step 3: Manage Alarm Levels
Edit a Level:
- Click the level name to edit
- Modify the name
- Click Save
Delete a Level:
- Select one or more levels (checkbox)
- Click Delete
- Confirm deletion
Search Levels:
- Enter a level name in the search box
- Click Search
⚠️ Caution: Deleting a level that is assigned to alarms will cause those alarms to lose their level assignment.
Configure Alarm Categories
Alarm categories classify alarms by type for statistical analysis and filtering.
Step 1: Open Alarm Category Configuration
- Navigate to Alarm Management
- Click Alarm Categories button
- The Alarm Category configuration dialog opens
📷 [Screenshot: Alarm Category configuration dialog showing category groups]
Step 2: Create Category Groups
Category groups organize related categories (e.g., Process Alarms, Equipment Alarms, Safety Alarms).
- Click Add to create a new category group
- Enter a group name
- Click Save
Step 3: Create Categories within Groups
- Select a category group
- Click Manage (operations button)
- In the Category Management dialog:
- Click Add to create a category
- Enter a category name (e.g.,
Temperature,Pressure,Motor Fault) - Repeat for all categories
- Click Save
📷 [Screenshot: Category Management dialog showing categories within a group]
Example Category Structure:
📁 Process Alarms
└─ Temperature
└─ Pressure
└─ Flow
📁 Equipment Alarms
└─ Motor Fault
└─ Valve Failure
└─ Sensor Error
📁 Safety Alarms
└─ Emergency Stop
└─ Fire Detection
└─ Gas Leak
Step 4: Manage Categories
Edit a Category:
- Click the category name to edit
- Modify the name
- Click Save
Delete a Category:
- Select one or more categories (checkbox)
- Click Delete
- Confirm deletion
Reorder Category Groups:
- Drag a category group to a new position
- Click Save
Create Alarm Groups
Alarm groups organize alarms by equipment, line, or function.
Step 1: Create a Group
- Navigate to Alarm Management
- Click Add Alarm Group
- Enter a group name (e.g.,
Line1_Oven,Conveyor_System) - Click Confirm
📷 [Screenshot: Add Alarm Group dialog]
Step 2: Organize Groups with Folders
- Create folders to organize groups
- Drag alarm groups into folders
Recommended Structure:
📁 Line 1
└─ 📂 Oven_Alarms
└─ 📂 Conveyor_Alarms
📁 Line 2
└─ 📂 Press_Alarms
└─ 📂 Welding_Alarms
📁 Safety
└─ 📂 Emergency_Alarms
Step 3: Manage Alarm Groups
Rename a Group:
- Double-click the group name
- Or click the operations button (⋮) → Rename
- Enter a new name
- Press Enter
Delete a Group:
- Click the operations button (⋮) → Delete
- Confirm deletion
⚠️ Caution: Deleting a group also deletes all alarms within it.
Search Groups:
- Enter a group name in the search box
- Matching groups are highlighted
Create Alarm Points
Alarm points define the conditions that trigger alarms.
Step 1: Add an Alarm Point
- Select an alarm group
- Click Add in the toolbar
- A new alarm row appears in the list
📷 [Screenshot: Alarm point list with new row]
Step 2: Configure Alarm Properties
| Property | Description | Example |
|---|---|---|
| Alarm Name | Unique identifier | Oven_Temperature_High |
| Alarm Message | Description shown to operators | Oven temperature exceeds safe limit |
| Trigger Condition | Logical expression | {Oven_Temperature} > 200 |
| Alarm Level | Severity level | Critical |
| Alarm Category | Classification (optional) | Temperature |
Step 3: Configure Trigger Condition
- Click the Trigger Condition button for the alarm
- The Expression Builder dialog opens
- Build a logical expression using tags and operators
📷 [Screenshot: Expression Builder dialog with tag picker and operators]
Expression Syntax:
| Operator | Description | Example |
|---|---|---|
> | Greater than | {Temperature} > 80 |
< | Less than | {Pressure} < 10 |
>= | Greater than or equal | {Level} >= 100 |
<= | Less than or equal | {Flow} <= 5 |
== | Equal to | {Status} == 1 |
!= | Not equal to | {Mode} != 0 |
&& | Logical AND | {Temp} > 80 && {Pressure} > 50 |
|| | Logical OR | {Alarm1} == 1 || {Alarm2} == 1 |
Common Alarm Patterns:
| Alarm Type | Expression | Description |
|---|---|---|
| High-High Limit | {X} >= 200 | Critical high threshold |
| High Limit | {X} >= 150 && {X} < 200 | Warning high threshold |
| Low Limit | {X} > 5 && {X} <= 10 | Warning low threshold |
| Low-Low Limit | {X} <= 5 | Critical low threshold |
| Range Violation | {X} < 10 || {X} > 90 | Outside acceptable range |
| Equipment Fault | {FaultCode} != 0 | Non-zero fault code |
| Communication Loss | {Dev_PLC1_State} == false | Device disconnected |
💡 Tip: Use descriptive tag names in expressions for easier troubleshooting. For example,
{Oven_Temperature}is clearer than{Tag001}.
Step 4: Configure Alarm Constraint (Optional)
Alarm constraints prevent nuisance alarms by requiring the condition to persist for a minimum duration.
- Click the Alarm Constraint button for the alarm
- Enable the constraint
- Set the Duration (e.g.,
5 seconds,1 minute) - Click Confirm
📷 [Screenshot: Alarm Constraint dialog with duration setting]
When to Use Constraints:
- Noisy Sensors: Prevent alarms from flickering on/off due to sensor noise
- Transient Conditions: Ignore brief spikes that don't indicate real problems
- Startup Sequences: Avoid alarms during normal startup when values temporarily exceed limits
Example:
- Without constraint: Temperature briefly spikes to 201°C for 2 seconds → Alarm triggers
- With 5-second constraint: Temperature must stay above 200°C for 5 seconds → Alarm triggers only if sustained
Step 5: Save Alarm Configuration
- Click Save in the toolbar
- All changes are committed to the project
Configure Alarm History Recording
By default, all alarms are recorded in the historical table when they recover. You can customize which alarms are recorded.
Step 1: Open Alarm Recording Configuration
- Navigate to Alarm Management
- Click Alarm Recording button
- The Alarm Recording dialog opens
📷 [Screenshot: Alarm Recording dialog showing alarm list with checkboxes]
Step 2: Select Alarms to Record
Record All Alarms (default):
- All checkboxes are selected
- All alarms are saved to the historical table when recovered
Record Specific Alarms:
- Uncheck alarms you don't want to record
- Only checked alarms will be saved to history
Filter Alarms:
- By Group: Select an alarm group from the dropdown
- By Level: Select an alarm level from the dropdown
- By Category: Select a category from the dropdown
- By Name: Enter text to search alarm names, messages, or conditions
- Show Selected Only: Display only checked alarms
Step 3: Save Recording Configuration
- Click Save
- The configuration is applied
💡 Tip: Disable history recording for low-priority informational alarms to reduce database size.
Import/Export Alarms
Export Alarms
- Select an alarm group
- Click Export in the toolbar
- Choose a save location
- An Excel file is created with all alarm configurations
Use Cases:
- Backup alarm configurations
- Share alarms between projects
- Document alarm settings for compliance
Import Alarms
- Select an alarm group
- Click Import in the toolbar
- Select an Excel file
- Alarms are imported based on Alarm Name:
- If the name exists: Update the alarm configuration
- If the name doesn't exist: Create a new alarm
⚠️ Caution: Alarm levels and categories referenced in the import file must already exist in the system.
Next Steps
- Displaying Alarms: Show alarms on views and create analysis dashboards
- Alarms Reference: Expression syntax, best practices, and troubleshooting
- Understanding Alarms: Review alarm concepts and data flow