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!

Apex Programming

Discussion in 'Cedar Rapids & Iowa City Region' started by Kpotter2, Nov 26, 2012.

  1. Kpotter2 Expert Reefkeeper

    North liberty, IA
    Ratings:
    +7 / 0 / -0

    Hello all,

    So who would be willing to come help me learn Apex programming. I can find programs online, but I don't understand what all the commend lines are if I just copy and paste.

    I have set up my Sump light and working on a Heater program. I think I have the Sumplight figured out, but I am working on the heater program and any help would be really greatfull. I am a very quick learner, but sometime leave things out because I am constantly running with two kids. Anyway let me know. I have the whole week off and could use just an hour of help.

    Please PM or post on here if you could help me out.



    thanks



    Kyle P
     
  2. Waverz

    Waverz Expert Reefkeeper

    Ratings:
    +5 / 0 / -0
    This taught me everything I know.

    http://www.neptunesystems.com/support/docs/
    Use the search it's your friend.
     
  3. Andy The Reef Guy

    Andy The Reef Guy Inactive User

    Ratings:
    +0 / 0 / -0
    here's my settings for my heater:

    Fallback OFF
    If Temp < RT+2.0 Then ON
    If Temp > RT+1.0 Then OFF
    If Temp < 70.0 Then OFF

    -so this code says that in the event of a controller error fall back to off (so it don't cook my fish!)
    -then if the temp is less than RT (seasonal table +2 degrees) (I like to keep my water a little warmer than the seasonal table, as you will see it goes down to 75 in the cold season! Jan/Feb)
    -then if temp is greater than the seasonal temp +1.0 degree then OFF

    This effectively keeps my temp higher than seasonal average in a window that has +/-1 degree of tolerance, but this way there is overlap so it doesn't teeter on/off/on/off/on/off (clicking over back and fourth). Alternatively you can build this same command by setting a delay with the statement: Defer 000:30 Then ON (or whatever you want the delay to be (this one says 30 minutes it's the deferment I use for my email alarm)). This way it only clicks over to either on or off and then before it can switch back it has to wait for the specified amount of time.

    BTW I would recommend using a second controller for your temp as a built in redundant switch. I have a JBJ controller that is plugged into the heater outlet and if one of them fails the other has specified controls built in to override. (likewise situation if you have a heater with a built in thermostat).

    You could also build a statement that notified you of the APEX's failure if it were to occur. You would create a virtual outlet (a dummy outlet that just switches on/off based on statements and then other things function as a response to it's condition (on or off). So I'm thinking you could build an outlet based on your amperage (because the heater is going to generate the most amount of switched draw on your system (everything else static or low amperage; pumps/lights). Then you could say

    "IF Amp1 < (idk something like 6) then 003 ON
    IF Heater OFF then OFF:

    (statement "then 003" dictates that it waits for that condition to be true for 3 minutes before switching (note that this is different from the delay) The last statement here will override the previous statement and take precedence.

    The last statement in my code above; If Temp < 70.0 then OFF

    This guards me from any problems if my temp probe falls out of the water, or if I'm doing a water change. That way my heater doesn't blow up or cook my tank because a temp probe has become exposed to air.

    The APEX is a mini prologic controller, if you can think of the scenario you can find a way to program it. It's wild figuring it all out but once you understand a half dozen commands you'll be coming up with all sorts of ideas. Check out virtual outlets for a really interesting tool.
     
  4. Andy The Reef Guy

    Andy The Reef Guy Inactive User

    Ratings:
    +0 / 0 / -0
    hey wait...how the hell did you get the entire week off?! lol
     
  5. Kpotter2 Expert Reefkeeper

    North liberty, IA
    Ratings:
    +7 / 0 / -0
    Andy i am very lucky its hard to get any days off after holidays. let alone a whole week like me.





    Also thanks for the programing help. i will need to find some tume to look at it all again lol
     
  6. Kpotter2 Expert Reefkeeper

    North liberty, IA
    Ratings:
    +7 / 0 / -0
    thanks
     
  7. dead fish Dead Fish

    832
    Iowa City
    Ratings:
    +1 / 0 / -0

    Wow, this sounds way complicated.
     
  8. Andy The Reef Guy

    Andy The Reef Guy Inactive User

    Ratings:
    +0 / 0 / -0

    Nah, it's not that bad. Like I said, once you get the gist of it and have a few commands memorized (and understand what they mean) the rest is straight forward.


    ->Fallback setting

    ->command

    ->command

    ->highest priority command


    What was really difficult was figuring out how to set up a profile that would fade in over a couple of hours, then run a weather pattern throughout the day and then fade back off, and set all of it to follow the seasonal table +4 hours. Then staggering each of 3 different strings by an hour.
     
  9. JB Veteran Reefkeeper

    Marion
    Ratings:
    +3 / 0 / -0
    Like many things it can be complicated at first, but once you get the hang of it, it's really quite simple.
     
  10. Kpotter2 Expert Reefkeeper

    North liberty, IA
    Ratings:
    +7 / 0 / -0
    I just spent like 3 hours looking at all the info online. Thanks guys. I will be asking more questions soon I am sure. It funny I have been working with Computers for 25+ years and you think I knew how to talk Telnet, but never had a chance to learn it.
     
  11. Kpotter2 Expert Reefkeeper

    North liberty, IA
    Ratings:
    +7 / 0 / -0
    Andy as always you are a great source of information dude. I just sure wish we could talk more often. I am going to look at this post in more detail after I get a basic program setup. I now have my Sumplight,Heater and ATO programs setup I think. Tomorrow I want to locat a place to put everything. lol

    I also setup my Email alarm and have been email and text about 1000 time today and my wife is about to kill me. lol
     

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.