# Timer counting seconds

**URL:** <https://forum.inductiveautomation.com/t/timer-counting-seconds/10043>\
**Category:** Ignition\
**Created:** [May 20, 2015, 10:44pm UTC](https://forum.inductiveautomation.com/t/timer-counting-seconds/10043 "2015-05-20T22:44:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoisesZV](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@MoisesZV](https://forum.inductiveautomation.com/u/MoisesZV)\
**Post date:** [May 20, 2015, 10:44pm UTC](https://forum.inductiveautomation.com/t/timer-counting-seconds/10043/1 "2015-05-20T22:44:47Z")

</div>

I need to count the seconds for an motor in OFF. For this, I have a timer that activates once the engine is in OFF state (working every single second). I’m having problems with accumulation seconds.It doesn’t work properly, because at the beginning it adds the seconds but sometimes, it adds faster. I don’t know if there is another way to solve this problem. Maybe, something like a stopwatch would be useful to count time in a more exactly way.

Thanks in adavance

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [May 20, 2015, 11:25pm UTC](https://forum.inductiveautomation.com/t/timer-counting-seconds/10043/2 "2015-05-20T23:25:49Z")

</div>

This can be done by using the hour meter functionality provided by transaction groups. Have the count of seconds written to another tag.

Here is a video that shows how to setup an hour meter: [inductiveuniversity.com/video/h … ent-meters](https://inductiveuniversity.com/video/hour-and-event-meters)

Best,

---

<div class="post-metadata">

**Author:** ![MoisesZV](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@MoisesZV](https://forum.inductiveautomation.com/u/MoisesZV)\
**Post date:** [May 22, 2015, 4:58pm UTC](https://forum.inductiveautomation.com/t/timer-counting-seconds/10043/3 "2015-05-22T16:58:05Z")

</div>

thanks that worked.
