Configure deviation alarms
- Last UpdatedNov 02, 2026
- 3 minute read
A deviation alarm is associated with integer or real tags. You can set an alarm by comparing the current tag value to a target value, and then the absolute value of the difference is compared to one or more limits, expressed as a percentage of the range of the tag value.
For example, the following values set the conditions for a tag’s minor and major deviation alarms:
Minimum Value = -1000
Maximum Value = 1000
Minor Deviation % = 10
Major Deviation % = 15
Target Value = 500
Using these values as an example, the minor and major deviation alarms points are calculated by the following steps:
-
Calculate the total value range of the tag.
1000 - (-1000) = 2000
-
Multiply the total value range of the tag by minor and major deviation percentages.
2000 x 0.10 = 200 = minor deviation limit
2000 x 0.15 = 300 = major deviation limit
-
Add and subtract the minor and major deviation limits from the target value.
500 - 200 = 300 = minor deviation lower limit
500 + 200 = 700 = minor deviation upper limit
500 - 300 = 200 = Major deviation lower limit
500 + 300 = 800 = Major deviation upper limit
Configure a deviation alarm
-
Open the Tagname Dictionary.
-
Select an existing real or integer tag or create a new tag.
-
Select either Alarms or Details & Alarms at the top of the Tagname Dictionary dialog box to show the alarm details dialog box.

-
Select the deviation (Minor and Major Deviation) alarm types you want to use to detect when the value of an analog type tag is in a major or minor deviation from the specified target value.
-
In the %Deviation box, type the percentage that the analog tag can deviate from the target value to trigger a minor or major deviation alarm condition. It is expressed as a percentage of the range of the tag. For an I/O tag, the Min EU and Max EU values entered in the tag's details dialog box define the range. For memory tags, the range is defined by the minimum value and maximum value.
-
In the Target box, type the tag reference value that minor and major deviation percentages are based.
-
In the Deviation Deadband % box, type the deviation percentage the tag value must drop below the limit before the tag is taken out of its alarm condition.
-
Select Save.
-
Select Close to close the Tagname Dictionary dialog box.
Video Tutorial:Configure a deviation alarm in InTouch HMI
In this video, you will learn how to Configure a Deviation Alarm in InTouch HMI.
To configure a deviation alarm, open the Tagname Dictionary from WindowMaker.
Select an existing integer or real tag or create a new tag.
Select the Details & Alarms to display the alarm configuration settings.
Enable the Minor Deviation and Major Deviation alarm types to detect when the tag value deviates from the target value.
In the Percent Deviation field, enter the deviation percentage that triggers the alarm condition. Calculate the percentage using the tag range as shown earlier in this video.
In the Target field, enter the reference value used to calculate the deviation alarm limits.
In the Deviation Deadband Percent field, enter the percentage by which the tag value must return below the alarm limit before the alarm condition clears.
Select Save to apply the deviation alarm settings.
You have successfully configured a deviation alarm. The system now monitors the tag value and generates alarms when the tag value exceeds the deviation limits.