Skip to main content
InSource Solutions

TN IT291 Associating User-Defined Information with an InTouch Alarm Instance

InSource_Logo_Transparent (1).pngCount5.JPG

 

Description

 

This article from InSource shows how you can associate user defined information with an alarm instance in InTouch.

  • Author: Rufus Handsome
  • Published: 10/20/2017
  • Applies to: Wonderware InTouch 2014 and higher

Details

You can attach three items to an alarm record: two numbers and a
string. Use the following dotfields to add information to an alarm
record.
• .AlarmUserDefNumX Dotfields
• .AlarmUserDefStr Dotfield

To simplify setting user values, you can set these dotfields on an alarm
group as well as on a specific tag. For example, InBatch could set the
batch number in .AlarmUserDefNum1 all the way up at the $System
alarm group, causing all alarms to have the batch number attached.

The .AlarmUserDefNum1 and .AlarmUserDefNum2 dotfields
correspond to the User1 and User2 columns in the Alarm Viewer
control, respectively.

If you set .AlarmUserDefNum1 on an alarm group, it applies to all
alarms in that group and any of its sub-groups. You can also
specifically set the value of .AlarmUserDefNum1 on a tag. In this case,
it applies only to that tag and overwrites any setting of
.AlarmUserDefNum1 in the tag's alarm group.

Example Usage:

TagName.AlarmUserDefNum1 = "Some Value"
TagName.AlarmUserDefNum2 = "Some Value"