The Plc Kid
Member
I need a little help with some logic for a pumps duty time. We want to know how much a pump is used per hour as it does cycle on and off.
What is the best way to do this and get fresh data every 10 minutes?
This is a contrologix system.
Would i run a hour timer and track the pump on time then subtract it from the hour?
Would i need to start the timer on the hour or is there a better way.
Doing it this way to make sure it is correct if the program is ever redownloaded or something i guess i can look at the system clock and start my timer when the minustes are 00?
What is the best way to do this and get fresh data every 10 minutes?
This is a contrologix system.
Would i run a hour timer and track the pump on time then subtract it from the hour?
Would i need to start the timer on the hour or is there a better way.
Doing it this way to make sure it is correct if the program is ever redownloaded or something i guess i can look at the system clock and start my timer when the minustes are 00?