Expression to Collect Alarm Data
Previous Topic  Next Topic 


Overview


Machines regularly go into an alarm for a variety of reasons.  The purpose of this expression is  to collect all alarm codes and descriptions from a Focas, OPC UA, and MTConnect machine and provide useful information on their occurrences and durations.


Unlike traditional expressions,  there is no need to write out a start and stop expression.  Instead, only one expression needs to be added to the machine.  This expression will record all active alarms, as they start and stop.  There are three corresponding reports that work with the collected alarm data.  The Alarm Data Summary Report, Alarm Pareto Chart, and Alarm Detail Chart. An Alarm Grid view can also be set up within the RTV to display alarms.


In order to take advantage of this feature, the machine will need to be on a gold license.


Sample expression:


([PCSDB.alarms] != [source.alarms])

where the source would be either MTC, OPC UA, or Focas.


The results are:


[PCSDB.send_alarms] {[MTC.alarms]}

Or

[PCSDB.send_alarms] {[Focas.alarms]}