Reef Central Online Community

Go Back   Reef Central Online Community > Sponsor Forums > Neptune Systems
Blogs FAQ Calendar Mark Forums Read

Notices

User Tag List

Reply
Thread Tools
Unread 04/25/2016, 08:19 PM   #1
thinguyen
Registered Member
 
Join Date: Jul 2015
Posts: 10
Question 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


thinguyen is offline   Reply With Quote
Unread 05/08/2016, 12:18 PM   #2
u4ick
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.


u4ick is offline   Reply With Quote
Unread 05/09/2016, 07:44 AM   #3
RussM
Registered Member
 
Join Date: Jan 2007
Location: El Cajon, CA
Posts: 7,818
Quote:
Originally Posted by u4ick View Post
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)
In that code, the on time will not be at the top of the hour. It will start at 52 minutes into each hour.

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.


RussM is offline   Reply With Quote
Unread 05/10/2016, 08:43 PM   #4
u4ick
Theorist
 
Join Date: Mar 2006
Location: St. Peters MO, 63376
Posts: 1,608
Quote:
Originally Posted by RussM View Post
In that code, the on time will not be at the top of the hour. It will start at 52 minutes into each hour.

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.
OK got ya, I see that now.
It's starting before the top of the hour and ending on the top of the hour.


u4ick is offline   Reply With Quote
Unread 06/14/2018, 07:27 AM   #5
RussC
Registered Member
 
RussC's Avatar
 
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
RussC is offline   Reply With Quote
Unread 06/14/2018, 11:55 AM   #6
Member No. 1
Ver. 2.1
 
Member No. 1's Avatar
 
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
Member No. 1 is offline   Reply With Quote
Unread 06/14/2018, 11:59 AM   #7
RussC
Registered Member
 
RussC's Avatar
 
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
RussC is offline   Reply With Quote
Unread 06/14/2018, 12:03 PM   #8
RussC
Registered Member
 
RussC's Avatar
 
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
RussC is offline   Reply With Quote
Unread 06/14/2018, 03:08 PM   #9
DivingTheWorld
Registered Member
 
DivingTheWorld's Avatar
 
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
DivingTheWorld is offline   Reply With Quote
Unread 06/14/2018, 03:38 PM   #10
RussC
Registered Member
 
RussC's Avatar
 
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
RussC is offline   Reply With Quote
Unread 06/15/2018, 03:24 AM   #11
Member No. 1
Ver. 2.1
 
Member No. 1's Avatar
 
Join Date: Mar 2005
Location: Rehoboth, MA
Posts: 1,803
Quote:
Originally Posted by DivingTheWorld View Post
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
Just for clarification...

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
Member No. 1 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT -6. The time now is 12:59 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Powered by Searchlight © 2024 Axivo Inc.
Use of this web site is subject to the terms and conditions described in the user agreement.
Reef CentralTM Reef Central, LLC. Copyright ©1999-2022
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.