Dosingpumprepreat1 Only Running Once
-
btorrenga
- Posts: 100
- Joined: Mon Apr 16, 2012 10:22 pm
Dosingpumprepreat1 Only Running Once
I am trying to confirm that my dosing pump will work properly in my code. To test, I have plugged in a lamp and am trying out a short interval. ReefAngel.DosingPumpRepeat1(Box1_Port6), with a runtime of 10 seconds, repeating every minute, starting one or two minutes from now. As expected, the lamp will turn on for ten seconds as soon as the start time arrives. However, the lamp does not turn on again. What could be preventing the function from repeating itself?
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Dosingpumprepreat1 Only Running Once
Which memory location are you using?
You should use: DP1RepeatInterval, DP1Timer
There is no starting time on this function.
The interval is always going to start at midnight.
So, if you set interval of 3hr, it will turn on at midnight, 3, 6, 9, 12, 3, 6 and 9.
You should use: DP1RepeatInterval, DP1Timer
There is no starting time on this function.
The interval is always going to start at midnight.
So, if you set interval of 3hr, it will turn on at midnight, 3, 6, 9, 12, 3, 6 and 9.
Roberto.