Reef Central Online Community

Home Forum Here you can view your subscribed threads, work with private messages and edit your profile and preferences View New Posts View Today's Posts

Find other members Frequently Asked Questions Search Reefkeeping ...an online magazine for marine aquarists Support our sponsors and mention Reef Central

Go Back   Reef Central Online Community > Sponsor Forums > Neptune Systems
Register Blogs FAQ Calendar Mark Forums Read

Notices

User Tag List

Reply
Thread Tools
Old 07/16/2011, 11:02 PM   #1
supacharged21
Registered Member
 
supacharged21's Avatar
 
Join Date: Apr 2011
Posts: 49
Help me with a programming question

I have my dosing pump setup to drip alk at night. I want to set a ph saftey net to make sure things dont get crazy. The way my biocube is, it drips the alk before the ph probe, so you see a temporary swing after dosing. (maybe 10 seconds)

Is there a way to setup the program to cut off pump if ph goes above a certain level and leave a hysteresis period for the alk swing for a minute or so?

Here is the way I am doing it right now.

Fallback OFF
Set OFF
If Time 22:00 to 22:01 Then ON
If Time 23:00 to 23:01 Then ON
If Time 01:00 to 01:01 Then ON
If Time 02:00 to 02:01 Then ON
If Time 03:00 to 03:01 Then ON
If Time 04:00 to 04:01 Then ON
If Time 05:00 to 05:01 Then ON
If Time 06:00 to 06:01 Then ON
If Time 07:00 to 07:01 Then ON
If Time 08:00 to 08:01 Then ON
Defer 001:39 Then ON


supacharged21 is offline   Reply With Quote
Old 07/16/2011, 11:37 PM   #2
LOTUS50GOD
Registered Member
 
Join Date: Mar 2003
Location: Phoenix, AZ
Posts: 3,207
You could add a if PH > 8.5 then Off at the top.
Since your PH should not get above PH.
I would also consider moving the probe or the area that you put the kalk since kalk is normally north of 11.0


__________________
Vertex Alpha 300 Skimmer, AI SOL Blue, Neptune Apex Controlled 360 gallon Reef

Current Tank Info: born 6/26/2008- 340 reef + 100 fuge, 300lbs of figi LR
LOTUS50GOD is offline   Reply With Quote
Old 07/17/2011, 08:47 AM   #3
swearint
Registered Member
 
swearint's Avatar
 
Join Date: Mar 2005
Location: Huntsville, AL
Posts: 2,645
No, the pH statement needs to go after the last time statement. Apex executes top to bottom, so later code has priority. If you want to add a Defer for the pH increase, you will need to use a virtual outlet. If you add it to the existing outlet, it will interfere with the timing of the dosage.

Todd


__________________
Amendment IX

The enumeration in the Constitution, of certain rights, shall not be construed to deny or disparage others retained by the people.

Current Tank Info: 125g Reef
swearint is offline   Reply With Quote
Old 07/17/2011, 07:41 PM   #4
LOTUS50GOD
Registered Member
 
Join Date: Mar 2003
Location: Phoenix, AZ
Posts: 3,207
you are right Todd... as usual... LOL..


__________________
Vertex Alpha 300 Skimmer, AI SOL Blue, Neptune Apex Controlled 360 gallon Reef

Current Tank Info: born 6/26/2008- 340 reef + 100 fuge, 300lbs of figi LR
LOTUS50GOD is offline   Reply With Quote
Old 07/18/2011, 08:42 AM   #5
desx2501
Registered Member
 
Join Date: Oct 2010
Posts: 81
Quote:
Originally Posted by swearint View Post
If you want to add a Defer for the pH increase, you will need to use a virtual outlet. If you add it to the existing outlet, it will interfere with the timing of the dosage.
Why can't he just add this statement at the end?

If pH > [x] Then OFF
Defer 000:10 Then OFF

This way, wouldn't the dosage timing be preserved EXCEPT when the pH is higher than [x] for 10secs or more?

I would also believe that the "Defer 001:39 Then ON" would make sure it's NEVER ON. With the timing there, it would never be "ON" for more than a minute, so that last statement would prevent turning ON.

What am I understanding wrong?


desx2501 is offline   Reply With Quote
Old 07/18/2011, 09:48 AM   #6
swearint
Registered Member
 
swearint's Avatar
 
Join Date: Mar 2005
Location: Huntsville, AL
Posts: 2,645
Quote:
Originally Posted by desx2501 View Post
Why can't he just add this statement at the end?

If pH > [x] Then OFF
Defer 000:10 Then OFF

This way, wouldn't the dosage timing be preserved EXCEPT when the pH is higher than [x] for 10secs or more?
It would; however, Defer applies to the outlet as a whole, not specific statements. In this case it would also delay the Set OFF and effectively extend the Time command. So now that I think about it, all he would have to do is increase the Defer...ON by the same amount.

Quote:
I would also believe that the "Defer 001:39 Then ON" would make sure it's NEVER ON. With the timing there, it would never be "ON" for more than a minute, so that last statement would prevent turning ON.

What am I understanding wrong?
The Time command operates in whole minute increments. So the minimum duration of say 22:00 to 22:01 is actually two minutes. The Defer effectively deducts 1:39 minutes, leaving a 21 second duration.

Todd


__________________
Amendment IX

The enumeration in the Constitution, of certain rights, shall not be construed to deny or disparage others retained by the people.

Current Tank Info: 125g Reef
swearint is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another Neptune Question... but this time programming! titmouse Neptune Systems 1 07/02/2011 11:33 AM
Riddle me this...Heater Program Question staplesofficewr Neptune Systems 2 03/17/2011 07:52 PM
Programing lights APEX DaFishHead Neptune Systems 9 11/24/2009 08:13 PM
Programming Question. PrivateJoker64 Neptune Systems 2 06/15/2005 10:30 PM
Programming question - lower and upper limits Armando Neptune Systems 7 06/15/2005 10:47 AM


All times are GMT -6. The time now is 08:00 AM.


TapaTalk Enabled

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Powered by Searchlight © 2020 Axivo Inc.
Use of this web site is subject to the terms and conditions described in the user agreement.
Reef CentralTM Reef Central, LLC. Copyright 1999-2014
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.