# Setting up a timer UDT

**URL:** <https://forum.inductiveautomation.com/t/setting-up-a-timer-udt/69558>\
**Category:** Ignition\
**Created:** [February 7, 2023, 11:16pm UTC](https://forum.inductiveautomation.com/t/setting-up-a-timer-udt/69558 "2023-02-07T23:16:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bharat\_Krishnan](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@Bharat\_Krishnan](https://forum.inductiveautomation.com/u/Bharat_Krishnan)\
**Post date:** [February 7, 2023, 11:16pm UTC](https://forum.inductiveautomation.com/t/setting-up-a-timer-udt/69558/1 "2023-02-07T23:16:45Z")

</div>

Hi all,  
I have been creating a Timer UDT to capture the time required to load a tank. It has 5 timers and is enabled based on a sequence(0-100). Out of the 5 timers, one is total cycle time which enables from 0 - 100 and should reset when the trolley starts to move forward which is indicated by station open ,which sequence position 0.Since the sequence is only 0-100 it always stays enabled, how can I turn off the enable by using reset ?

 ![script](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/c/1c384af7fc08203b24b064039185531049c91cb8.png)

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [February 8, 2023, 2:08am UTC](https://forum.inductiveautomation.com/t/setting-up-a-timer-udt/69558/2 "2023-02-08T02:08:09Z")

</div>

Have you considered using timestamps instead of timers? Or, perhaps tag history to capture various events?
