Check Apex Programming - Dosing Pump

  • Thread starter Thread starter JCOLE
  • Start date Start date
  • Tagged users None

JCOLE

Grower of the Small Polyps
View Badges
Joined
Mar 12, 2018
Messages
4,158
Reaction score
11,216
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
 
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.
 
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.
 
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:
 
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
 
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.
 
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
 
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
 

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