# Does the hour meter transaction group still capture accurately with timer set for 1 hour?

**URL:** <https://forum.inductiveautomation.com/t/does-the-hour-meter-transaction-group-still-capture-accurately-with-timer-set-for-1-hour/76725>\
**Category:** Ignition\
**Created:** [July 21, 2023, 6:41pm UTC](https://forum.inductiveautomation.com/t/does-the-hour-meter-transaction-group-still-capture-accurately-with-timer-set-for-1-hour/76725 "2023-07-21T18:41:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [July 21, 2023, 6:41pm UTC](https://forum.inductiveautomation.com/t/does-the-hour-meter-transaction-group-still-capture-accurately-with-timer-set-for-1-hour/76725/1 "2023-07-21T18:41:14Z")

</div>

I see that milliseconds are selectable for the hour meter, but the default execution schedule is 1 second(s).

Does this mean I can set the group for executing timer 1 hour(s) and still get accurate hours every hour?

I am sorry if it is a dumb question.  
I don't know how that counter works.  
I didn't see it in the video or on the page for the hour meter.  
If it is there, I didn't catch it.

* * *

Tried with timer set for 5 minute(s), and after 5 minutes the value did show 3 minutes of uptime when I tested 3 minutes of uptime.

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [July 24, 2023, 7:23pm UTC](https://forum.inductiveautomation.com/t/does-the-hour-meter-transaction-group-still-capture-accurately-with-timer-set-for-1-hour/76725/2 "2023-07-24T19:23:59Z")

</div>

I have retentive checked, but all my hour meters reset to 0 when I reset the Boolean to 0.

I have a boolean for running.  
It sets the hour meter tags for the the machine.  
However, it was 7 earlier and now it is only 1, so it reset.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/2/b21c701783afd5e607d34c898308b0d33a67e9a4.png)

I have a script that sets the booelean to 0 at the end of shifts.  
However, my meter is never supposed to reset.

* * *

Well the reset happened 30 minutes ago for running booleans.  
They toggle on and off all the time.  
I did just add a machine to the transaction group today though. So maybe when I added that, the meters reset?  
Do hour meters reset if the gateway goes down?

Testing, setting one to 10.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/5/95b8d509ff76074d5c1a6f42140eac70dcf3630a.png)

Moments later it broke.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/e/ee0ac5d82437419b9e4fccb8c63b5922cbf75af4.png)

* * *

Oh no, this hour meter is useless?  
[Retentive Hour Meter Resets on Group Disable](https://forum.inductiveautomation.com/t/retentive-hour-meter-resets-on-group-disable/7691)]

I need an accurate hour meter from the gateway, not the plc.  
I am going to use event scripting till I learn a better way.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 24, 2023, 7:47pm UTC](https://forum.inductiveautomation.com/t/does-the-hour-meter-transaction-group-still-capture-accurately-with-timer-set-for-1-hour/76725/3 "2023-07-24T19:47:42Z")

</div>

> [@zacharyw.larson](#):
>
> I need an accurate hour meter from the gateway, not the plc.

So, magic?

Really, some things are not possible. This is a PLC task and Ignition's approximations will bite you in the [expletive] at some point.

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [July 24, 2023, 8:55pm UTC](https://forum.inductiveautomation.com/t/does-the-hour-meter-transaction-group-still-capture-accurately-with-timer-set-for-1-hour/76725/4 "2023-07-24T20:55:46Z")

</div>

Thanks, that answers my questions about the transaction group hour meter.

I am going to see if anyone knows a good non-resetting reliable hour meter.  
[Hour meter recommendation](https://forum.inductiveautomation.com/t/hour-meter-recommendation/77143)]

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 31, 2023, 3:01pm UTC](https://forum.inductiveautomation.com/t/does-the-hour-meter-transaction-group-still-capture-accurately-with-timer-set-for-1-hour/76725/5 "2023-07-31T15:01:08Z")

</div>

I normally just write PLC code to do this, and record it often enough to catch impossible discontinuities (like losing the value due to a program download).

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [July 31, 2023, 3:42pm UTC](https://forum.inductiveautomation.com/t/does-the-hour-meter-transaction-group-still-capture-accurately-with-timer-set-for-1-hour/76725/6 "2023-07-31T15:42:37Z")

</div>

I don't know how to mitigate the loss of the hour data on a download.  
So I thought that a separate device would be best.

I like the mechanical rollover because then if it fails, I still have the last value.  
Seems like there is a hole in the market though as I don't see a device that combines the mechanical rollover with having an output to read the value to the plc.

I thought it would be good to make that separate thread to ask about such a device that others might have found.
