1. Do you have an old account but can't access it?


    See Accessing your GIRS Account or Contact Us - We are here to help!

Dosing CA and ALk with Apex

Discussion in 'General Discussion' started by Sponge, Feb 19, 2014.

  1. Sponge Expert Reefkeeper Vendor

    Marshalltown, IA
    Ratings:
    +233 / 1 / -0

    I need help with Apex programming as I need to dose CA along with Alk now. All I know how to do is program using OSC but I need to dose them separately/at different hours so that there's no precipitation. I want to dose the Alk during lights out/DesktopModules/ActiveForums/themes/_default/emoticons/smile.gif Can someone provide the programming?
     
  2. Kpotter2 Expert Reefkeeper

    North liberty, IA
    Ratings:
    +7 / 0 / -0
    I would like to know this too. I have had the pumps for a year and just been dosing by hand. Lol
     
    Last edited by a moderator: Oct 24, 2015
  3. blackx-runner Administrator Website Team Leadership Team

    Cedar Rapids, IA
    Ratings:
    +738 / 5 / -0
    You can just add a time function to the code in addition to the OSC you already have.

    If time 08:00 to 20:00 then OFF or something like that.
    I'd have to double check what the exact code would be.
     
  4. Sponge Expert Reefkeeper Vendor

    Marshalltown, IA
    Ratings:
    +233 / 1 / -0
    Does the Time code go before the OSC, David?
     
  5. blackx-runner Administrator Website Team Leadership Team

    Cedar Rapids, IA
    Ratings:
    +738 / 5 / -0
    Nope, after. Here is a sample and explanation.

    Fallback off
    OSC 000:00/003:55/056:05 then ON
    If Time 12:00 to 00:59 Then OFF
    If pH > 8.45 then OFF



    the OSC function runs continuous, so starting on the hour it would turn the outlet ON for 3:55 then off for the remaining 56:05 of the hour. Then repeat the cycle.
    Adding the time constraint it will shut the outlet OFF from 12:00 (noon) to 12:59 am. Effectively allowing the outlet to be only turned on at all from from 1am to 11:59:59 am. Regardless of any other code.
    the pH constraint is just another level of safety since the ALK supplement does have an effect on pH, but small doses, and only at night this shouldn't be an issue.

    As with anything in this hobby there are several ways to accomplish the exact same thing. Since you mentioned dosing during lights out, you could also tie it to your light outlet.

    Fallback off
    OSC 000:00/003:55/056:05 then ON
    If outlet Lights = ON then OFF
    If pH > 8.45 then OFF

    Pretty strait forward there I hope. If the lights are ON, the dosing outlet is OFF.
    Just replace the word light with whatever you actually have set up as the outlet name on your lights.
     
  6. Sponge Expert Reefkeeper Vendor

    Marshalltown, IA
    Ratings:
    +233 / 1 / -0
    Thanks David! Hopefully I get it right ;0)
     
  7. Sponge Expert Reefkeeper Vendor

    Marshalltown, IA
    Ratings:
    +233 / 1 / -0
    How's this look for Alk David?

    Fallback OFF

    OSC 000:00/002:00/058:00 Then ON

    If Time 22:00 to 10:00 Then ON {10pm-10 am}

    If 135pH > 08.55 Then OFF
     
  8. Waverz

    Waverz Expert Reefkeeper

    Ratings:
    +5 / 0 / -0



    It's been awhile since I've done apex programming but this program it would do the following.


    Off for 0 seconds


    On for 2 seconds


    Off for 58 minutes


    On from 10pm to 10 am


    Off if ph is greater than 8.55





    Pretty sure you aren't wanting it to dose all night. I think you want to tell it when to be OFF.


    Replace If Time 22:00 to 10:00 Then ON with If Time 10:00 to 22:00 Then OFF





    HTH









     
  9. Sponge Expert Reefkeeper Vendor

    Marshalltown, IA
    Ratings:
    +233 / 1 / -0
    OK, that didn't work because the doser kept running. So I went to this:

    FallBack OFF

    OSC 000:00/001:30/058:30 Then ON

    If Time 11:00 to 22:00 Then OFF (11AM-10PM)

    If 135pH > 8.55 Then OFF
     
  10. Sponge Expert Reefkeeper Vendor

    Marshalltown, IA
    Ratings:
    +233 / 1 / -0
    OMG!! Sometimes I can be SO DENSE that I make myself mad! Dam(n)!

    This is what I want so maybe you can tell me 'exactly' how to program it:

    I want to run the ALK at night and the CA during the day. My lights are on from 11AM to 10PM. So, run CA from 11:00 TO 22:00 and run ALK from 23:00 to 10:00.(and essentially having a 1 hour "no dose" so there's no precipitation) Whatever I did wrong resulted in 380 CA for the DT and 330 CA for the 40B........YIKES!!!
     
  11. Sponge Expert Reefkeeper Vendor

    Marshalltown, IA
    Ratings:
    +233 / 1 / -0
    Thanks Jeremy/DesktopModules/ActiveForums/themes/_default/emoticons/biggrin.gif Nope, don't want to dose all night/DesktopModules/ActiveForums/themes/_default/emoticons/whistling.gif Thank God I was watching it so it didn't dose all night! As you can see above, I messed up anyway/DesktopModules/ActiveForums/themes/_default/emoticons/ermm.gif Geesh!






     
  12. blackx-runner Administrator Website Team Leadership Team

    Cedar Rapids, IA
    Ratings:
    +738 / 5 / -0
    Did this work Teri?
    Fallback OFF

    OSC 000:00/002:00/058:00 Then ON

    If Time 22:00 to 10:00 Then OFF {10pm-10 am}

    If 135pH > 08.55 Then OFF

     
  13. Sponge Expert Reefkeeper Vendor

    Marshalltown, IA
    Ratings:
    +233 / 1 / -0



    Bump.



     
  14. blackx-runner Administrator Website Team Leadership Team

    Cedar Rapids, IA
    Ratings:
    +738 / 5 / -0
    Teri, did the code I posted earlier as a reply work for you for the ALK? If it worked for that part I will post the code you need for the other one. If it did not work correctly we will try something else.
     
  15. Sponge Expert Reefkeeper Vendor

    Marshalltown, IA
    Ratings:
    +233 / 1 / -0
    Sorry for the late response David :9( I had to go out of town. I think it worked...the Alk went up in the DT but skyrocketed in the 40B. I don't know why it went up so much in the 40B as I used BRS's calculator?! Here's the details:

    DT (135g) 2/22 Alk was 8.5. 2/23 (tonight) 8.7 Here's what I programmed: Fallback OFF OSC 000:00/001:30/058:30 Then ON If Time 11:00 to 22:00 Then OFF If pH > 08.55 Then Off {The pH got to 8.55 for 20 minutes so shouldn't have made much of a difference :0)}

    40B 2/22 Alk was 7.84 2/23 (tonight) 9.6 YIKES! Fallback OFF OSC 000:00/001:00/059:avw 00 Then ON If Time 11:00 to 22:00 Then Off If pH > 08.55 Then OFF

    I sure don't know what happened with the 40B! Have the 40 Alk off right now :0)
     
  16. Sponge Expert Reefkeeper Vendor

    Marshalltown, IA
    Ratings:
    +233 / 1 / -0



    OOps! /DesktopModules/ActiveForums/themes/_default/emoticons/whistling.gif OSC 000:00/001:00/059:00 Then ON /DesktopModules/ActiveForums/themes/_default/emoticons/smile.gif



     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.