Apex Kalk Dosing Code

Luke Schnabel

I like corals...
View Badges
Joined
Mar 13, 2016
Messages
1,274
Reaction score
867
Location
Canton Ohio
Rating - 100%
3   0   0
Anyone have a better code to dose Kalk with a BRS 1.1ml on an outlet.

I’m trying to dose every hr for 15 min

AD799869-CFAC-4B3D-AEDF-F1AF92A983FF.png
 
Definitely; use the OSC command.

Fallback OFF
OSC 000:00/015:00/045:00 Then ON

That'll be on for 15 minutes at the top of the hour, every hour.

Just for reference, here is the full code I use for my kalk pump, dosing for 13 seconds every 30 minutes, starting at 15 and 45 minutes after the hour.

Fallback OFF
OSC 015:00/000:13/014:47 Then ON
When On > 000:17 Then OFF
If Sal < 33.5 Then OFF
If pH > 8.52 Then OFF
If SmpVHi OPEN Then OFF
If RODILo OPEN Then OFF
If LeakRO CLOSED Then OFF
If FeedA 000 Then OFF
If FeedB 000 Then OFF
If FeedC 000 Then OFF
If FeedD 000 Then OFF
If Output ReturnPump = OFF Then OFF
If Output LeakDetected = ON Then OFF
 
The OSC command turns the outlet on and off at regular intervals, in minutes:seconds.
You don't need and shouldn't use a Set command when you use OSC, it's built in.

If the OSC ends in 'Then ON', the first number is OFF, second number is ON, third number is OFF.
First number is offset from midnight of the first activation.
Third number + first number is total time off between activations.
The cycle restarts at midnight if the total of first, second and third numbers divides evenly into 1440 (minutes in a day.)

If the OSC command ends in 'Then OFF', it's time on/time off/time on; much less common usage than 'Then ON'.
 
Last edited:
Oh, one more thing - make sure that OSC is at the top of the code stack; only thing before it should be the Fallback statement.
 
Here's something you should take a gander at - https://www.reeftronics.net/. It is an Apex code generator for dosing. DO NOT USE IT IF YOU'RE USING AN APEX DOS FOR DOSING!

Required input data is:
- the desired total daily dosing volume (in millilitres)
- the flow rate of your dosing pump (in millilitres per minute)
(and it better be based on your own calibration of your doser, not a questionable manufacturer's spec!)
- the hour at which you want to START dosing
- the hour at which you want to STOP dosing
- the desired interval for dosing
- the offset in minutes to start dosing
(you don't want to do Ca and Alk dosing at the same time)
- and the optional capability to terminate dosing based on your pH probe's reading

Output data is:
- THE APEX CODE YOU NEED!!!
- Just cut and paste it into your advanced window pane...
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top