Results 1 to 12 of 12

Thread: Coding Help

  1. #1
    Frequent Visitor
    Join Date
    Nov 2013
    Location
    Mississauga,Canada
    Posts
    93

    Coding Help

    Hi Guys
    I need some help in writing a code for my Apex ATO. I use Tunze ATO with the alarm sound on when the water goes over the sensor and it helps as my sump is in the basement. However when I do my water changes after shutting off the return pump the water raises over the ATO sensors which initiates the alarm sound hence I have to turn the ATO off manually. What I need to do is every time I turn OFF my Return pump the ATO should turn OFF instantly and once the return pump is back ON the ATO should come back ON AFTER 3 minutes which gives enough time for the water to equalize in the sump. Currently I am using the ATO's preset programming from Apex 2016 as attached.


    Sent from my iPhone using Tapatalk

  2. #2
    Frequent Visitor
    Join Date
    Nov 2013
    Location
    Mississauga,Canada
    Posts
    93
    I forgot to say I am using Tunze ATO and not Neptune ato but using the preset programming from Neptune


    Sent from my iPhone using Tapatalk

  3. #3
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    The preset program will not work with the Tunze. The only reason it works now is because unused switches will report as OPEN, which is allowing it to turn on. What you want instead is this.

    Fallback ON
    Set ON
    If Outlet Returnpumpname = OFF Then OFF
    Defer 003:00 Then ON


    Do remember using this code that the Tunze primes every time it turns from OFF to ON, so don't go nuts with turning your return OFF. If it's just once or twice a day, it shouldn't be a problem.

    You might be an engineer if...You have no life and can prove it mathematically.

  4. #4
    Frequent Visitor
    Join Date
    Nov 2013
    Location
    Mississauga,Canada
    Posts
    93
    Quote Originally Posted by zombie View Post
    The preset program will not work with the Tunze. The only reason it works now is because unused switches will report as OPEN, which is allowing it to turn on. What you want instead is this.

    Fallback ON
    Set ON
    If Outlet Returnpumpname = OFF Then OFF
    Defer 003:00 Then ON


    Do remember using this code that the Tunze primes every time it turns from OFF to ON, so don't go nuts with turning your return OFF. If it's just once or twice a day, it shouldn't be a problem.

    You might be an engineer if...You have no life and can prove it mathematically.
    Thanks Zombie much appreciated. Yeah its probably going to be done once a week or biweekly when i do my water changes.

  5. #5
    Frequent Visitor
    Join Date
    Nov 2013
    Location
    Mississauga,Canada
    Posts
    93
    Hi Zombie
    Here is another question. I run bubble scrubbing method on my tank and everytime the airpump comes on the water level raises in the sump. i already have a programme to turn off my Tunze ATO when the airpump comes on and has a deferred timing of 2 mins on it to come back on after the airpump is turned off. This is how the code reads currently which works in tandom with my Airpump.
    Fallback ON
    Set ON
    If Output Airpump = ON Then OFF
    Defer 002:00 Then ON

    you think i can enter the above coding for my return pump you gave me right after the last sentence (Defer 002:00)?
    What i am asking is if i am able to enter both the codes will there be any conflict?

  6. #6
    Frequent Visitor Todd's Avatar
    Join Date
    Jan 2013
    Location
    Huntsville, AL
    Posts
    583
    Yes, except you cant't have two DEFERs of the same state, so choose the appropriate duration. Actually, you can have two, but the last one would override the previous.

  7. #7
    Frequent Visitor
    Join Date
    Nov 2013
    Location
    Mississauga,Canada
    Posts
    93
    Hi Todd
    Can you explain it further , sorry i am not a coding geek lol...What if i change the defer timing for both (Airpump and Return Pump) to the same timing so instead of one showing 002:00 and the second showing 003:00 can i change it both the defer statement to 003:00?

  8. #8
    Frequent Visitor Todd's Avatar
    Join Date
    Jan 2013
    Location
    Huntsville, AL
    Posts
    583
    Just use one, and set it to 3:00. The DEFER command is not specific to any command, it applies to the outlet as a whole.

  9. #9
    Frequent Visitor
    Join Date
    Nov 2013
    Location
    Mississauga,Canada
    Posts
    93
    Quote Originally Posted by Todd View Post
    Just use one, and set it to 3:00. The DEFER command is not specific to any command, it applies to the outlet as a whole.
    ok so does this sounds right?
    Fallback ON
    Set ON
    If Output Bubbles = ON Then OFF
    If Output Returnpump = OFF Then OFF
    Defer 003:00 Then ON

    - - - Updated - - -

    Quote Originally Posted by Todd View Post
    Just use one, and set it to 3:00. The DEFER command is not specific to any command, it applies to the outlet as a whole.
    ok so does this sounds right?
    Fallback ON
    Set ON
    If Output Bubbles = ON Then OFF
    If Output Returnpump = OFF Then OFF
    Defer 003:00 Then ON

  10. #10
    Frequent Visitor
    Join Date
    Nov 2013
    Location
    Mississauga,Canada
    Posts
    93
    Hi Todd did u respond just making sure as I see it as an updated message but a copy of my programming not sure?


    Sent from my iPhone using Tapatalk

  11. #11
    Frequent Visitor Todd's Avatar
    Join Date
    Jan 2013
    Location
    Huntsville, AL
    Posts
    583
    That looks correct.

  12. #12
    Frequent Visitor
    Join Date
    Nov 2013
    Location
    Mississauga,Canada
    Posts
    93
    Thanks it worked. Appreciated


    Sent from my iPhone using Tapatalk

Similar Threads

  1. Alarms coding
    By tcfdff1071 in forum Misc Apex Usage & Programming
    Replies: 2
    Last Post: 07-24-2019, 17:18
  2. UV Sterilizer coding. Does this look right?
    By agiffey in forum Misc Apex Usage & Programming
    Replies: 5
    Last Post: 07-22-2019, 09:03
  3. Can’t update coding
    By Bobbydigital in forum Misc Apex Usage & Programming
    Replies: 6
    Last Post: 10-26-2018, 18:56
  4. Review My Program Coding for a UV Sterilizer
    By DarthSimon in forum Misc Apex Usage & Programming
    Replies: 4
    Last Post: 06-08-2018, 10:50
  5. Coding help
    By petere1989 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 2
    Last Post: 12-18-2013, 08:22

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •