Reef Central Online Community

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

Notices

User Tag List

Reply
Thread Tools
Unread 07/16/2011, 10: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
Unread 07/16/2011, 10:37 PM   #2
LOTUS50GOD
Registered Member
 
Join Date: Mar 2003
Location: Phoenix, AZ
Posts: 3,210
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
Unread 07/17/2011, 07: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
Unread 07/17/2011, 06:41 PM   #4
LOTUS50GOD
Registered Member
 
Join Date: Mar 2003
Location: Phoenix, AZ
Posts: 3,210
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
Unread 07/18/2011, 07: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
Unread 07/18/2011, 08: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


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


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


All times are GMT -6. The time now is 11:42 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Powered by Searchlight © 2024 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-2022
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.