Hi,
The problem I try to solve is, I have a machine with different pumps in, I need to register how many hours each pump has been running to keep track of service.
I tried the using Wago's Blink (from util.lib) to generate pulses of 1 sec (500 ms low 500 ms high) and then CTU's for counting sec, min and hours.
Of cause I can just make two counters one counting up to 3600 sec and then hours.
But is there a nicer way to do this, and at the same time make the counted time "RETAIN and PERSISTANT"?
By use of the date and time function in the OSCAT lib?