Simple code for Dosing pumps

kikireef

Active member
I have 2 of the BRS dosing pumps. I want each of them to turn on for a set period of time twice per day. Will this code work for each of the pumps?

For Alkalinity:Outlet 4

Fallback OFF
If TIME 12:00 to 12:30 Then ON
If TIME 22:00 to 22:30 Then ON

For Calcium:Outlet 8

Fallback OFF
If TIME 13:00 to 13:30 Then ON
If TIME 23:00 to 23:30 Then ON

Will that turn each one on for 30 minutes twice daily?
 
I'm not very familiar with the Apex code, but I think so. A couple things to note though - shouldn't run both Alk and Ca at the same time. Dose one and wait half an hour or so before dosing the other. Also, for the Alk - you should put in a safety statement if you are going to use Recipe 1. I use a pH stop of 8.40 to keep pH from rising too much when Alk is dosed.
 
Will that turn each one on for 30 minutes twice daily?
Actually, it will run it for 31 minutes each. The Time statement is accurate to the whole minute, so does not become false until xx:31. Otherwise, I agree with ciphros about adding a safety check if using a supplement that increases the pH.

Another approach is to spread the dosage out over a longer period using the OSC command. For example, my Alk code:

[ALK]
Fallback OFF
OSC 000:00/006:30/053:30 Then ON
If Time 05:00 to 18:59 Then OFF
If pH > 08.20 Then OFF

Todd
 
Do yourself a favor and use the OSC command to run the dosing pumps. I used the code you are showing and both pumps stayed on for two hours before I came home.
 
I agree with Todd.

The code listed in the first post lacks a means to turn those outlets off after the allocated time is up.

For Alkalinity:Outlet 4

Fallback OFF
Set OFF
If TIME 12:00 to 12:30 Then ON
If TIME 22:00 to 22:30 Then ON

For Calcium:Outlet 8

Fallback OFF
Set OFF
If TIME 13:00 to 13:30 Then ON
If TIME 23:00 to 23:30 Then ON
 
Actually, it will run it for 31 minutes each. The Time statement is accurate to the whole minute, so does not become false until xx:31. Otherwise, I agree with ciphros about adding a safety check if using a supplement that increases the pH.

Another approach is to spread the dosage out over a longer period using the OSC command. For example, my Alk code:

[ALK]
Fallback OFF
OSC 000:00/006:30/053:30 Then ON
If Time 05:00 to 18:59 Then OFF
If pH > 08.20 Then OFF

Todd

I dont understand this. My dosing pumps are on order, and I'm trying to understand before they get here:

What is 53:30?

Can someone put this in retard speak :)
 
The 6:30 is the ON time in mm:ss. The 53:30 is the OFF time. Add the two together and you get the total OSC cycle time; in this case, exactly 60 minutes.
 
The 6:30 is the ON time in mm:ss. The 53:30 is the OFF time. Add the two together and you get the total OSC cycle time; in this case, exactly 60 minutes.

I don't see anything in the unofficial guide about "OSC".

In the statement:
[ALK]
Fallback OFF
OSC 000:00/006:30/053:30 Then ON
If Time 05:00 to 18:59 Then OFF
If pH > 08.20 Then OFF

When does the dosing pump come on? I'm assuming it runs for 6 min, 30 sec then turn off. And never runs between 5 am and 7 pm? And never if the pH is above 8.20?

Geez, I can do anything with my hands, but give me computer language, and I'm a moron!

Edit: I think I got it. See next post.
 
Last edited:
I found it in the manual.

The above is going to run for the first 6 min, 30 sec of every hour between the hours of 7 pm - 5 am , correct? Am I getting it or no? LOL
 
Does this look OK for Alk:

Set OFF
Fallback OFF
OSC 000:00/000:30/059:30 Then ON
If Time 05:00 to 22:00 Then OFF
If pH > 08.40 Then OFF

Going to run for 30 sec every hour between 5 am to 10 pm.
 
Back
Top