# Timeout Alarm Setting

**URL:** <https://forum.inductiveautomation.com/t/timeout-alarm-setting/63217>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [August 19, 2022, 5:41pm UTC](https://forum.inductiveautomation.com/t/timeout-alarm-setting/63217 "2022-08-19T17:41:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cbarker](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@cbarker](https://forum.inductiveautomation.com/u/cbarker)\
**Post date:** [August 19, 2022, 5:41pm UTC](https://forum.inductiveautomation.com/t/timeout-alarm-setting/63217/1 "2022-08-19T17:41:52Z")

</div>

Hello All  
I am wondering if there is an alarm setting for timeouts. As in the value of a tag has not changed for x time, therefore something is wrong. This ignores the timestamp of the tag, checking only the value. This is to detect faults in the sensor system I am monitoring, where the sensor messes up, but the OPC part still functions, causing it to report "live" data that never changes.  
Similar thing I found was the following link, but it is really old:

> [@"No change" alarming](https://forum.inductiveautomation.com/t/no-change-alarming/8617/12):
>
> Piotr you saved me some time though it still took a bit to get this to work to my liking. Here is my slightly modified version of your solution: Here is the on change event script inside the desired tag. # make sure this change wasn't caused by ignition restarting if initialChange == False: # detect change with the built in currentValue and previousValue provided by the Value Changed event handler if currentValue \> previousValue or currentValue \< previousValue: # write current time …

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 19, 2022, 6:29pm UTC](https://forum.inductiveautomation.com/t/timeout-alarm-setting/63217/2 "2022-08-19T18:29:32Z")

</div>

Not directly. I make an expression tag that monitors the diffference between the monitored tag and now, and alarm off that.

---

<div class="post-metadata">

**Author:** ![cbarker](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@cbarker](https://forum.inductiveautomation.com/u/cbarker)\
**Post date:** [August 19, 2022, 6:40pm UTC](https://forum.inductiveautomation.com/t/timeout-alarm-setting/63217/3 "2022-08-19T18:40:53Z")

</div>

Ok, thank you  
Hopefully it will be added one day
