Configure and monitor system alarms and events.
Reference → Alarms| Tutorial | How-to Guide | Reference
Table of Contents maxLevel 2 minLevel 2 indent 10px exclude Steps style none
Section | Designer UI Path | Purpose |
---|---|---|
Items | Alarms → Items | Define monitored conditions and limits |
Groups | Alarms → Groups | Configure shared alarm behaviors |
Areas | Alarms → Areas | Create hierarchical organization |
Global Settings | Alarms → Global Settings | System-wide configuration |
Step | Action | Purpose |
---|---|---|
1. Create AlarmItems | Define tag conditions | Set what to monitor |
2. Configure Groups | Set behaviors | Define how alarms act |
3. Build Areas | Create hierarchy | Organize by location/function |
4. Global Settings | Configure system | Set database and audit trail |
Access alarm objects at runtime:
csharp
// Alarm Items
bool isActive = @Alarm.Item.HighTemp.Active;
DateTime activeTime = @Alarm.Item.HighTemp.ActiveTime;
// Alarm Groups
int criticalCount = @Alarm.Group.Critical.ActiveCount;
bool ackRequired = @Alarm.Group.Critical.AckRequired;
// Alarm Areas
@Alarm.Area.Production.AckAll();
int areaCount = @Alarm.Area.Production.AlarmCount;
// Global Settings
@Alarm.GlobalSettings.AuditTrail.AddCustomMessage("Event logged");
bool auditEnabled = @Alarm.GlobalSettings.AuditTrail.IsEnabled;
Individual monitored condition with:
Collection sharing common properties:
Hierarchical organization structure:
System-wide configuration:
Configuration example:
xml
<AlarmViewer>
<List>OnlineAlarms</List>
<AreaFilter>Production.Line1</AreaFilter>
<ShowAcknowledged>false</ShowAcknowledged>
</AlarmViewer>
Via Script Classes:
csharp
public void SendAlarmNotification(AlarmEventArgs args)
{
// Email notification
EmailService.Send(args);
// SMS alert
SMSService.Alert(args);
// External system
SCADA.LogAlarm(args);
}
csharp
@Alarm.GlobalSettings.AuditTrail.AddCustomMessage(
message: "Batch started",
areaName: "Production",
objectName: "Reactor1",
value: "Batch#123"
);
Alarms not triggering:
Database issues:
Performance problems:
Notification failures:
For deep technical understanding: → See [Alarms Engine (Reference)]
For monitoring runtime performance: → See [Alarms Monitor (Reference)]
For custom sound configuration: → See [Alarm Groups Sounds]
For email notifications: → See [Alarm Email Notifications]Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Page Tree | ||
---|---|---|
|
...