program dosing pumps

Expansion modules and attachments
Post Reply
anderzon_
Posts: 69
Joined: Sun Oct 27, 2013 11:35 am

program dosing pumps

Post by anderzon_ »

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: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: program dosing pumps

Post by rimai »

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: 69
Joined: Sun Oct 27, 2013 11:35 am

Re: program dosing pumps

Post by anderzon_ »

Thank you. Are they turned off at night then?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: program dosing pumps

Post by rimai »

Oh no... Sorry..
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: 69
Joined: Sun Oct 27, 2013 11:35 am

Re: program dosing pumps

Post by anderzon_ »

I dont get it. How should the complete code look like and where should I place it?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: program dosing pumps

Post by rimai »

if you look in your code, there is a section for custom code.
You should place right there.
Roberto.
anderzon_
Posts: 69
Joined: Sun Oct 27, 2013 11:35 am

Re: program dosing pumps

Post by anderzon_ »

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?

Code: Select all

if (hour() > 8 && hour() < 22) ReefAngel.DosingPumpRepeat( Box1_Port1,0,360,6 );
Thanks for all help :)
Post Reply