Check Apex Programming - Dosing Pump

JCOLE

Grower of the Small Polyps
View Badges
Joined
Mar 12, 2018
Messages
4,080
Reaction score
11,032
Location
Charlotte, NC
Rating - 0%
0   0   0
Hello everyone,

Could someone please review my programming and tell me if correct?

I am looking at dosing my BRS 1.1ML doser for 1 min every 10 minutes throughout the day. I also want it stopping if pH gets too high. I also have it set if both of my return pumps shut down. Please let me know if this should work.

Thank you!

Fallback OFF
OSC 000:00/001:00/059:00 Then ON
OSC 010:00/001:00/049:00 Then ON
OSC 020:00/001:00/039:00 Then ON
OSC 030:00/001:00/029:00 Then ON
OSC 040:00/001:00/019:00 Then ON
OSC 050:00/001:00/009:00 Then ON
If pH > 8.40 Then OFF
If Output VO_BOTHPUMPS = OFF Then OFF
When On > 002:00 Then OFF
 
OP
OP
JCOLE

JCOLE

Grower of the Small Polyps
View Badges
Joined
Mar 12, 2018
Messages
4,080
Reaction score
11,032
Location
Charlotte, NC
Rating - 0%
0   0   0
I’m not great at writing coding but I use this calculator for my dosing pumps and it’s never failed me. Good luck


Thank you. Yes, I have used that before
It's a great tool. It just appears to work for once an hour. I would like to dose every 10 minutes and I don't see where I can do that with the link.
 

glb

7500 Club Member
View Badges
Joined
May 12, 2013
Messages
8,129
Reaction score
3,362
Location
Miami
Rating - 0%
0   0   0
Thank you. Yes, I have used that before
It's a great tool. It just appears to work for once an hour. I would like to dose every 10 minutes and I don't see where I can do that with the link.
You’re right. It only goes down to twice an hour.
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,217
Location
Oregon
Rating - 0%
0   0   0
Hello everyone,

Could someone please review my programming and tell me if correct?

I am looking at dosing my BRS 1.1ML doser for 1 min every 10 minutes throughout the day. I also want it stopping if pH gets too high. I also have it set if both of my return pumps shut down. Please let me know if this should work.

Thank you!

Fallback OFF
OSC 000:00/001:00/059:00 Then ON
OSC 010:00/001:00/049:00 Then ON
OSC 020:00/001:00/039:00 Then ON
OSC 030:00/001:00/029:00 Then ON
OSC 040:00/001:00/019:00 Then ON
OSC 050:00/001:00/009:00 Then ON
If pH > 8.40 Then OFF
If Output VO_BOTHPUMPS = OFF Then OFF
When On > 002:00 Then OFF
There are two big problems with your code:

1. The OSC command can't be used multiple times in the same output program. Only the last OSC in your list will actually function, causing it to run for 1 minute at 50 minutes past the top of each hour.

2. Your 2 minute When timer will force your output slider to move from AUTO to OFF after it's been off for 2 minutes, so it will never run the OSC command again until you manually intervene to move the slider back to AUTO.

Instead, use this code:

Fallback OFF
OSC 000:00/001:00/009:00 Then ON
If pH > 8.40 Then OFF
If Output VO_BOTHPUMPS = OFF Then OFF

See my tutorial on OSC for a detailed description of how it works:
 
OP
OP
JCOLE

JCOLE

Grower of the Small Polyps
View Badges
Joined
Mar 12, 2018
Messages
4,080
Reaction score
11,032
Location
Charlotte, NC
Rating - 0%
0   0   0
There are two big problems with your code:

1. The OSC command can't be used multiple times in the same output program. Only the last OSC in your list will actually function, causing it to run for 1 minute at 50 minutes past the top of each hour.

2. Your 2 minute When timer will force your output slider to move from AUTO to OFF after it's been off for 2 minutes, so it will never run the OSC command again until you manually intervene to move the slider back to AUTO.

Instead, use this code:

Fallback OFF
OSC 000:00/001:00/009:00 Then ON
If pH > 8.40 Then OFF
If Output VO_BOTHPUMPS = OFF Then OFF

See my tutorial on OSC for a detailed description of how it works:


Perfect. Thank you for the video also. Makes since. It's been awhile. So if I want to dose 4 minutes every 10 minutes then I would use this code? It would also start at midnight and follow every 10 minute increment, correct?

Fallback OFF
OSC 000:00/004:00/006:00 Then ON
If pH > 8.40 Then OFF
If Output VO_BOTHPUMPS = OFF Then OFF
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,217
Location
Oregon
Rating - 0%
0   0   0
Perfect. Thank you for the video also. Makes since. It's been awhile. So if I want to dose 4 minutes every 10 minutes then I would use this code? It would also start at midnight and follow every 10 minute increment, correct?

Fallback OFF
OSC 000:00/004:00/006:00 Then ON
If pH > 8.40 Then OFF
If Output VO_BOTHPUMPS = OFF Then OFF
Yes, that's all correct.
 

SCReef'n

Valuable Member
View Badges
Joined
Dec 27, 2018
Messages
1,309
Reaction score
6,067
Location
Waponi Woo
Rating - 0%
0   0   0
Can anyone provide an example of using if then time statements with the osc function. I’m trying to control my dosing pump to dose more at night then the day
 

ZombieEngineer

Valuable Member
View Badges
Joined
Apr 3, 2022
Messages
1,310
Reaction score
1,175
Location
Broomfield
Rating - 0%
0   0   0
Can anyone provide an example of using if then time statements with the osc function. I’m trying to control my dosing pump to dose more at night then the day
You have to seperate it into VOs.

Ex

DayDose
OSC .....
If Time 18:00 to 05:59 Then OFF

NightDose
OSC. ...
If Time 06:00 to 18:00 Then OFF

Actual outlet
Fallback OFF
Set OFF
If Output DayDose = ON Then ON
If Output NightDose = ON Then ON
 

Reefing threads: Do you wear gear from reef brands?

  • I wear reef gear everywhere.

    Votes: 19 14.2%
  • I wear reef gear primarily at fish events and my LFS.

    Votes: 9 6.7%
  • I wear reef gear primarily for water changes and tank maintenance.

    Votes: 1 0.7%
  • I wear reef gear primarily to relax where I live.

    Votes: 21 15.7%
  • I don’t wear gear from reef brands.

    Votes: 75 56.0%
  • Other.

    Votes: 9 6.7%
Back
Top