Timer counting seconds

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

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

Best,

thanks that worked.