To Add an Alarm Trigger:
Open the Workbench and expand the Actions node and then the Triggers node. Right-click on the Alarm Triggers node then click on Add Alarm Trigger, as shown below.
Add Alarm Trigger from Project Explorer in the Workbench
-OR-
Select the Alarm Triggers node then click on the Add Alarm Trigger button, shown below, in the Edit section of the Home ribbon in the Workbench.
Add Alarm Trigger Button
This opens the New Alarm Trigger Properties, shown below.
New Alarm Trigger Properties
Enter a name in the Alarm Trigger Name text entry field.
Description - Enter a description for the alarm trigger in the text entry field.
Time Zone - Use the pulldown menu to select a time zone from either Coordinated Universal Time (UTC) or Local Server Time.
Start On - Click this checkbox if you would like to set a starting date and time for trigger execution. Once checked, you can enter a date and time in the text entry field or click on the button, which will open the date/time picker.
Stop On - Click this checkbox if you would like to set a stop date and time for trigger execution. Once checked, you can enter a date and time in the text entry field or click on the button, which will open the date/time picker.
Delay Trigger By - Click this checkbox if you would like to set a delay time for the trigger execution. Once checked, you can enter a delay time, in seconds, in the text entry field or use the up/down arrows.
Repeat each trigger every - Click this checkbox if you would like to repeat the selected trigger. Once checked, you can set the amount of time, in seconds before the trigger is repeated in the text entry field or use the up/down arrows.
For - Enter a duration (in seconds) in the text entry field or click on the up/down buttons.
Enable on tag - Click this checkbox if you wish to enable your trigger based on a data tag. Once checked, you can enter a tag location in the text entry field or click on the button to open the Data Browser and navigate to your selected tag.
Trigger Type - Use the pulldown menu to select from On all notifications, On alarm notification, On return to normal, or On acknowledgement.
Click on the Configure subscription fields and mapping link. This will open the Add/Remove fields from the subscription window, shown below.
Add/Remove fields from the subscription Window (Server Fields Tab Shown)
In the left side of the window, expand the selections to select from the BaseEventTypes. When a BaseEventType is selected, you'll be able to see the associated Event/Alarm Types, Field Names, and Field Types. Click the checkbox to the right of each field that you would like to include in the subscription. You also have the option to Select/Unselect all (via separate checkbox in the bottom right of the window). Click on OK to accept your changes and return to the New Alarm Trigger Properties. Your selected fields will now appear in the Alarm Subscription section.
Virtual Fields Tab
Name - Enter a name for the field to be used in the Alarm Subscription
Expression - Enter an expression in the text entry field.
Field Type - Use the pulldown menu to select from Boolean, Byte, Char, DateTime, Decimal, Double, Guid, Int16, In32, Int64, SByte, Single, StatusCode, String, TypeInfo, UInt16, UInt32, UInt64, or Object.
Click on OK to accept your changes and return to the New Alarm Trigger Properties. Your selected fields will now appear in the Alarm Subscription section.
Once you have updated the Alarm Subscription section, shown below, you can enter an individual Tag (via the text entry field or clicking on the button) and set their Min. Severity, Max. Severity and Alarm Type (via pulldown menu to select All, None, Simple, Tracking, Condition, Simple & Tracking or Simple & Condition).
Alarm Subscription Section Updated
Related Values Tab
You can enter up to 20 values.
Click on the Click to add Multiple Tags link to open the data browser to navigate to your selected tags.
Or, click on +Click here to add new item to add individual tags.
Index - Enter a number to keep track of any new tags entered here.
Data Type - Use the pulldown menu to select from NATIVE, FLOAT, DOUBLE, BOOL, BYTE, WORD, DWORD, CHAR, SHORT, LONG, or STRING.
Value - Enter a value for the tag or click on the button to open the Data Browser and navigate to your selected tag value source.
Mode - Use the pulldown menu to select from either Value or Tag.
Once you have completed your settings, click on Apply to save them and Close to return to the Workbench. Your configured Alarm Trigger will now appear in the Project Explorer.
See Also: