BRS Dosing pumps on Apex programming

Abstract3000

New member
Hello,
I'm trying to understand the programming for the dosing pumps on the Apex, I was referred to an online generator but what I wanted to do apparently did not work and for some reason it's doing both at the same time :facepalm:

I'm wanting the 1st part to dose 1.1mL @ 12:00AM (00:00) and then again on the following hours, 2, 4, 6, 8, 10

I'm wanting the 2nd part to dose 1.1mL @ 01:00AM and then again on the following hours 3, 5, 7, 9, 11

So as of right now both would be dosing 6.6mL throughout a 12 hour stretch, the code that generated was the following for each pump:

Fallback OFF
OSC 000:00/001:05/118:55 Then ON
If Time 10:00 to 23:59 Then OFF

Fallback OFF
OSC 000:00/001:05/118:55 Then ON
If Time 11:00 to 00:59 Then OFF

What would be the correct coding needed? And exactly what do each of the parameters for OSC Mean?

Thanks
 
I have mines:
Set OFF
Fallback OFF
If Time 00:00 to 00:03 Then ON
If Time 02:00 to 02:03 Then ON
If Time 04:00 to 04:03 Then ON
If Time 06:00 to 06:03 Then ON
If Time 08:00 to 08:03 Then ON
If Time 10:00 to 10:03 Then ON
If Time 12:00 to 12:03 Then ON
If Time 14:00 to 14:03 Then ON
If Time 16:00 to 16:03 Then ON
If Time 18:00 to 18:03 Then ON
If Time 20:00 to 20:03 Then ON
If Time 22:00 to 22:03 Then ON

that's for my CA, alk looks the same but its always 30 minutes later:

Set OFF
Fallback OFF
If Time 00:30 to 00:33 Then ON
If Time 02:30 to 02:33 Then ON
If Time 04:30 to 04:33 Then ON
If Time 06:30 to 06:33 Then ON
If Time 08:30 to 08:33 Then ON
If Time 10:30 to 10:33 Then ON
If Time 12:30 to 12:33 Then ON
If Time 14:30 to 14:33 Then ON
If Time 16:30 to 16:33 Then ON
If Time 18:30 to 18:33 Then ON
If Time 20:30 to 20:33 Then ON
If Time 22:30 to 22:33 Then ON


in my case the 3min 12 times a day works ( at least for now since my tank is very new )
You can play with times/durations
 
Thank you YellowRubi that Code Makes logical sense, its also pretty simple. hkgar thats the site I got the code to start with. jwlocott the problem is I don't get "why" they are starting at the same time that does not make any logical sense to me whatsoever so for instance this is what i see:

Program A
Fallback OFF
OSC 000:00/001:05/118:55 Then ON
If Time 10:00 to 23:59 Then OFF

I see that from 10AM till 11:59PM This Socket is Off
Then It runs for 1:05 Followed by a wait of 118:15
which would be not till 2:00AM again


Program B
Fallback OFF
OSC 000:00/001:05/118:55 Then ON
If Time 11:00 to 00:59 Then OFF

whereas I see this program remaining off till 12:59AM then running for 1:05
(Program A should only be 57 or so Minutes in its 118:55 Cycle)
Then Program B Waits 118:55 till roughly 3AM

So I guess I'm not understanding this OSC thing and how it works, I see no reason why there needs to be a 30min delay and their can't be an 2 hour delay, its if the program is simply ignoring the 118:55 and just doing what it wants every hour, does that mean I could do OSC 000:00/001:05/DisneyLand and get the same effect?
 
Abstract3000;23890971...I don't get "why" they are starting at the same time that does not make any logical sense to me whatsoever so for instance this is what i see: [B said:
Program A[/B]
Fallback OFF
OSC 000:00/001:05/118:55 Then ON
If Time 10:00 to 23:59 Then OFF

I see that from 10AM till 11:59PM This Socket is Off
Then It runs for 1:05 Followed by a wait of 118:15
which would be not till 2:00AM again


Program B
Fallback OFF
OSC 000:00/001:05/118:55 Then ON
If Time 11:00 to 00:59 Then OFF

whereas I see this program remaining off till 12:59AM then running for 1:05
(Program A should only be 57 or so Minutes in its 118:55 Cycle)
Then Program B Waits 118:55 till roughly 3AM

So I guess I'm not understanding this OSC thing and how it works, I see no reason why there needs to be a 30min delay and their can't be an 2 hour delay, its if the program is simply ignoring the 118:55 and just doing what it wants every hour, does that mean I could do OSC 000:00/001:05/DisneyLand and get the same effect?

Nope. It means the OSC command starts counting at midnight. That's the way it works. So as far as the OSC command goes, they're the same for both outlets - regardless of the "If Time..." statement.

You want your OSC commands to be something like this...

OSC 000:00/001:05/118:55 Then ON

and then in the 2nd outlet...

OSC 060:00/001:05/058:55 Then ON

The first command says "start at the top of the hour" and the second command is basically saying "start 60 minutes after the top of the hour". More or less.

You might also want to back those "If Time..." statements off a couple minutes so there's no confusion as to what happens right when things change state. Try this and see if it doesn't work for ya...

Fallback OFF
OSC 000:00/001:05/118:55 Then ON
If Time 10:15 to 23:45 Then OFF

Fallback OFF
OSC 060:00/001:05/058:55 Then ON
If Time 11:15 to 00:45 Then OFF
 
I have mines:
Set OFF
Fallback OFF
If Time 00:00 to 00:03 Then ON
If Time 02:00 to 02:03 Then ON
If Time 04:00 to 04:03 Then ON
If Time 06:00 to 06:03 Then ON
If Time 08:00 to 08:03 Then ON
If Time 10:00 to 10:03 Then ON
If Time 12:00 to 12:03 Then ON
If Time 14:00 to 14:03 Then ON
If Time 16:00 to 16:03 Then ON
If Time 18:00 to 18:03 Then ON
If Time 20:00 to 20:03 Then ON
If Time 22:00 to 22:03 Then ON

that's for my CA, alk looks the same but its always 30 minutes later:

Set OFF
Fallback OFF
If Time 00:30 to 00:33 Then ON
If Time 02:30 to 02:33 Then ON
If Time 04:30 to 04:33 Then ON
If Time 06:30 to 06:33 Then ON
If Time 08:30 to 08:33 Then ON
If Time 10:30 to 10:33 Then ON
If Time 12:30 to 12:33 Then ON
If Time 14:30 to 14:33 Then ON
If Time 16:30 to 16:33 Then ON
If Time 18:30 to 18:33 Then ON
If Time 20:30 to 20:33 Then ON
If Time 22:30 to 22:33 Then ON


in my case the 3min 12 times a day works ( at least for now since my tank is very new )
You can play with times/durations

I just set up 2 BRS dosers with my apex and while I'm dosing less than you are, I'm using very similar code.
 
Nope. It means the OSC command starts counting at midnight. That's the way it works. So as far as the OSC command goes, they're the same for both outlets - regardless of the "If Time..." statement.

You want your OSC commands to be something like this...

OSC 000:00/001:05/118:55 Then ON

and then in the 2nd outlet...

OSC 060:00/001:05/058:55 Then ON

The first command says "start at the top of the hour" and the second command is basically saying "start 60 minutes after the top of the hour". More or less.

You might also want to back those "If Time..." statements off a couple minutes so there's no confusion as to what happens right when things change state. Try this and see if it doesn't work for ya...

Fallback OFF
OSC 000:00/001:05/118:55 Then ON
If Time 10:15 to 23:45 Then OFF

Fallback OFF
OSC 060:00/001:05/058:55 Then ON
If Time 11:15 to 00:45 Then OFF

Thanks for clearing that up, seems a bit funky reminds me of backwards languages like Haskell :headwalls: Lisp, wonder if the creator was a fan of functional programming...
 
I just set up 2 BRS dosers with my apex and while I'm dosing less than you are, I'm using very similar code.

I need to check my ALK, my after a week of dosing my calcium was at 450 , alk was climbing slowly so I will back of a second here and there
 
Back
Top