16.8. A&E Event Settings

In addition to state settings, OPC A&E has several event settings.

  1. Go to the State Properties section:

  2. Configure these as follows:

    Name Message Severity Req. Ack Inactive
    HiHi input.Name + " > " + hihilimit 900 YesNo
    Hi input.Name + " > " + hilimit 700 YesNo
    LoLo input.Name + " < " + lololimit 900 YesNo
    Lo input.Name + " < " + lolimit 700 YesNo
    Normal input.Name + " is normal" 1 NoYes
  3. You can also enter an OnAcknowledge Script in the Event Settings of the Template Definition:

    For example:

     Emailer.Send(null, "[email protected]", cond.Acknowledger + 
     " has acknowledged alarm on " + input.Name, 
     input.Name + " = " + input.DblVal);

    [Note]

    This code is written here in three lines to fit the document. It should be all one line in the actual script.

    This script tells the DataHub instance to send an email whenever an alarm gets acknowledged.

With the event settings complete, you are now ready to add some Regular Expressions to your notification.