|
04/25/2016, 08:19 PM | #1 |
Registered Member
Join Date: Jul 2015
Posts: 10
|
BRS dosing pump and Apex code verify.
Can you guys help me on the code for my pumps? I use BRS 1.1ml/min and I want to dosing 29ml of Alk and Ca everyday. Alk pump will start at 21:00, 1hour before my LED light completely off, and I want to start Ca pump an hour later, so I came up with this code.
Alk pump Fallback OFF OSC 000:00/002:12/057:48 Then ON If Time 09:00 to 20:59 Then OFF If pH > 8.35 Then OFF Ca pump Fallback OFF OSC 000:00/002:12/057:48 Then ON If Time 10:00 to 21:59 Then OFF Is that correct? Thanks |
05/08/2016, 12:18 PM | #2 |
Theorist
Join Date: Mar 2006
Location: St. Peters MO, 63376
Posts: 1,608
|
I do mine like this for the OSC statement.
OSC 052:/008:00/000:00 Then ON It is my understanding that this statement translates into At the top of each hour on for 8 min (middle set of #'s is the # of minutes ON) The 1st and 2nd set of #'s must total 60.....as in 60 min total. your next line of code is correct as it tells how many hours to allow this "top of the hour" ON to happen. |
05/09/2016, 07:44 AM | #3 | |
Registered Member
Join Date: Jan 2007
Location: El Cajon, CA
Posts: 7,818
|
Quote:
To get the same dosing at the top of the hour, the initial off time must be zero. OSC 000:00/008:00/052:00 Then ON. |
|
05/10/2016, 08:43 PM | #4 | |
Theorist
Join Date: Mar 2006
Location: St. Peters MO, 63376
Posts: 1,608
|
Quote:
It's starting before the top of the hour and ending on the top of the hour. |
|
06/14/2018, 07:27 AM | #5 |
Registered Member
Join Date: Jan 2003
Location: Gulfport (Mississippi Gulf Coast)
Posts: 1,405
|
Guys, if I want to dose ALK a little each hour over the course of several hours, how would I code that?
__________________
When a habit begins to cost money, it's called a hobby! Current Tank Info: Red Sea Reefer XL 425 Alive and Kick'n BOD 8-29-17 |
06/14/2018, 11:55 AM | #6 |
Ver. 2.1
Join Date: Mar 2005
Location: Rehoboth, MA
Posts: 1,803
|
How long do you want the pump to run?
One dose per hour? How many hours? When do you want the first dose to begin?
__________________
Pete "I never make mistakes... I thought I did once, but I was wrong" Current Tank Info: In the process - http://reefcentral.com/forums/showthread.php?t=2661614 |
06/14/2018, 11:59 AM | #7 |
Registered Member
Join Date: Jan 2003
Location: Gulfport (Mississippi Gulf Coast)
Posts: 1,405
|
Since I posted, I have found an easier way to understand the code. I was using the code generator web page for the BRS dosers. Quite frankly, the code was a bit confusing. I've changed my coding to read below. Much easier to tinker with it written this way.
Fallback OFF If Time 00:00 to 00:01 Then ON If Time 02:00 to 02:01 Then ON If Time 04:00 to 04:01 Then ON If Time 06:00 to 06:01 Then ON If Time 08:00 to 08:01 Then ON If Time 10:00 to 10:01 Then ON If Time 12:00 to 12:01 Then ON If Time 14:00 to 14:01 Then ON If Time 16:00 to 16:01 Then ON If Time 18:00 to 18:01 Then ON If Time 20:00 to 20:01 Then ON If pH > 8.50 Then OFF
__________________
When a habit begins to cost money, it's called a hobby! Current Tank Info: Red Sea Reefer XL 425 Alive and Kick'n BOD 8-29-17 |
06/14/2018, 12:03 PM | #8 |
Registered Member
Join Date: Jan 2003
Location: Gulfport (Mississippi Gulf Coast)
Posts: 1,405
|
Man, am I glad you responded. I went to apex to copy the code and noticed my doser is running and shouldn't be! My PH jumped from 7.5 to 8.3. Must be something I did in my code. Do you know what? Based on what I'm showing, the doser should run for 1 minute every other hour. Did I miss something?
__________________
When a habit begins to cost money, it's called a hobby! Current Tank Info: Red Sea Reefer XL 425 Alive and Kick'n BOD 8-29-17 |
06/14/2018, 03:08 PM | #9 |
Registered Member
Join Date: Sep 2013
Location: San Ramon, CA
Posts: 1,963
|
I find this to be the easiest to generate my code:
https://www.reeftronics.net/adpg/dosingcalc.php For one minute every other hour, this should work: Fallback OFF OSC 000:00/000:60/119:00 Then ON
__________________
Current Tank Info: LeeMar Rimless (40x24x22), ATI 8x39 Dimmable w/Reefbrite XHO, 2x Vortech MP40w QD w/ Battery Backup, Apex Gold, Trigger Systems Ruby30S, Reef Octopus POV-DC1 w/Auto Waste Collector |
06/14/2018, 03:38 PM | #10 |
Registered Member
Join Date: Jan 2003
Location: Gulfport (Mississippi Gulf Coast)
Posts: 1,405
|
I forgot to put in line 2, Set OFF. One small like of code. Big mistake.
__________________
When a habit begins to cost money, it's called a hobby! Current Tank Info: Red Sea Reefer XL 425 Alive and Kick'n BOD 8-29-17 |
06/15/2018, 03:24 AM | #11 | |
Ver. 2.1
Join Date: Mar 2005
Location: Rehoboth, MA
Posts: 1,803
|
Quote:
If you enter that as typed, Apex will accept the update, but will convert it to: OSC 000:00/001:00/119:00
__________________
Pete "I never make mistakes... I thought I did once, but I was wrong" Current Tank Info: In the process - http://reefcentral.com/forums/showthread.php?t=2661614 |
|
|
|