program dosing pumps
-
anderzon_
- Posts: 67
- Joined: Sun Oct 27, 2013 11:35 am
program dosing pumps
Can I program the dosing pump to pump one starts at 08:00 and pumps 5 sec, pump 2 at 09.00 and pumps 5 sec, pump 3 at 10:00 and pumps 5 sec in the morning? And then every three hours until 10 pm? They will not dose on the night. Want it to be so during the day if it's possible?
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: program dosing pumps
Yes, use the wizard and choose to pump every 180minutes (3 hours) for 5 seconds and then for pump 1, choose 0 minutes offset. For pump2, 60 minutes offset and pump3 120 minutes offset.
Roberto.
-
anderzon_
- Posts: 67
- Joined: Sun Oct 27, 2013 11:35 am
Re: program dosing pumps
Thank you. Are they turned off at night then?
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: program dosing pumps
Oh no... Sorry..
You can wrap the functions in an if statement to run them only during day.
You can wrap the functions in an if statement to run them only during day.
Code: Select all
if (hour() > 8 && hour() < 22)
{
// Place your code here
}
Roberto.
-
anderzon_
- Posts: 67
- Joined: Sun Oct 27, 2013 11:35 am
Re: program dosing pumps
I dont get it. How should the complete code look like and where should I place it?
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: program dosing pumps
if you look in your code, there is a section for custom code.
You should place right there.
You should place right there.
Roberto.
-
anderzon_
- Posts: 67
- Joined: Sun Oct 27, 2013 11:35 am
Re: program dosing pumps
Lift this old thread.
I cant remember how I get it done last time.
Is this correct? If I the doser should be off at night?
Is it ok to place it in the loop or should it be in custom?
Thanks for all help 
I cant remember how I get it done last time.
Is this correct? If I the doser should be off at night?
Is it ok to place it in the loop or should it be in custom?
Code: Select all
if (hour() > 8 && hour() < 22) ReefAngel.DosingPumpRepeat( Box1_Port1,0,360,6 );