Thank you guys for all your help. The last thing I am trying to add is the logic for timeouts.
The idea is when any of two pumps run, they should run only for 45 minutes and be off for another 15 minutes, next run 45 minutes and etc. Until next day, when pumps rotate and same 45/15 minutes will apply. In my code(attached) I have 10 seconds cycles for testing. The issue I experience is that when pumps cycle all three pumps come on for a second and I can not seem to avoid that.
The goal ultimately would be to allow a user to change delay and run times on HMI screen.
Could you point me where I am going wrong?
Thank you once again
The idea is when any of two pumps run, they should run only for 45 minutes and be off for another 15 minutes, next run 45 minutes and etc. Until next day, when pumps rotate and same 45/15 minutes will apply. In my code(attached) I have 10 seconds cycles for testing. The issue I experience is that when pumps cycle all three pumps come on for a second and I can not seem to avoid that.
The goal ultimately would be to allow a user to change delay and run times on HMI screen.
Could you point me where I am going wrong?
Thank you once again