program dosing pumps

Expansion modules and attachments

Posts: 69
Joined: Sun Oct 27, 2013 11:35 am
PostPosted: Wed Jan 01, 2014 4:23 am
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?

Posts: 12250
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Wed Jan 01, 2014 10:24 am
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.

Posts: 69
Joined: Sun Oct 27, 2013 11:35 am
PostPosted: Thu Jan 02, 2014 3:38 pm
Thank you. Are they turned off at night then?

Posts: 12250
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Jan 02, 2014 3:52 pm
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.

Posts: 69
Joined: Sun Oct 27, 2013 11:35 am
PostPosted: Thu Jan 09, 2014 10:19 am
I dont get it. How should the complete code look like and where should I place it?

Posts: 12250
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Jan 09, 2014 10:40 am
if you look in your code, there is a section for custom code.
You should place right there.
Roberto.

Posts: 69
Joined: Sun Oct 27, 2013 11:35 am
PostPosted: Thu Mar 01, 2018 3:44 am
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 :)

Return to Addons

Who is online

Users browsing this forum: No registered users and 2 guests

cron