eisaiasjr
11/24/2010, 09:10 AM
Hello:
I would like some of you gurus to check my code, this is what I want to accomplish :)
I want to dose ALK buffer only when my tank lights are OFF
I want to dose for 45 seconds every hour AFTER the lights go off
Here is the code that I plan to put in my ALK dosing pump outlet...
Fallback OFF
Set OFF
OSC 59:15/00:45/0 Then ON
If 1.1_Light.1 = ON Then OFF
I have my lights on from 9:30am to 7:30pm, I would expect the above code to dose for 45 seconds every hour after 8:29:15pm.
Is this correct? Is there a better or more elegant way of doing this?
Your feedback is appreciated,
Estefano
I would like some of you gurus to check my code, this is what I want to accomplish :)
I want to dose ALK buffer only when my tank lights are OFF
I want to dose for 45 seconds every hour AFTER the lights go off
Here is the code that I plan to put in my ALK dosing pump outlet...
Fallback OFF
Set OFF
OSC 59:15/00:45/0 Then ON
If 1.1_Light.1 = ON Then OFF
I have my lights on from 9:30am to 7:30pm, I would expect the above code to dose for 45 seconds every hour after 8:29:15pm.
Is this correct? Is there a better or more elegant way of doing this?
Your feedback is appreciated,
Estefano