Results 1 to 4 of 4

Thread: Apex codeing for my ATO, please help

  1. #1
    New User
    Join Date
    Jan 2018
    Location
    East Rutherford, NJ
    Posts
    2

    Apex codeing for my ATO, please help

    I have an Apex Classic and I'm having a hard time figureing out my codeing for my Tunze ATO. Here is what I want my code to do..
    1...when my return pump turns off, I want ATO outlet to turn off and then turn back on 30 mins after my return pump turns back on.
    2...but I also want my ATO to turn off if my ph > 8.45 and then only turn back on 2 hours later. So this way the ph has time to come back down and there is some evaporation time.

    Fallback ON
    Set ON
    If Output Return_3_1 = OFF Then OFF
    Defer 030:00 Then ON
    If pH > 8.48 Then OFF

    this is what I have so far but I have no idea what to write for the 2 hour off time without it overriding my defer time. I'm not sure if I'm marking sense, can someone help out?

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    You have to use a virtual outlet for different defer lengths. Ex

    pHblock
    Set OFF
    If pH > 8.4 Then ON
    Defer 090:00 Then OFF

    Replace pH line with
    If Outlet pHblock = ON Then OFF

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

  3. #3
    New User
    Join Date
    Jan 2018
    Location
    East Rutherford, NJ
    Posts
    2
    Ok I think I get it now, I created a virtual outlet and made the changes that you suggested. But why is the defer 090:00, shouldn't it be 120:00 to make it the 2 hours?

  4. #4
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    It's 90 because you have a global 30 minute defer for the other condition. If I made it 120, you would need two VOs instead of just one.

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

Similar Threads

  1. Question: apex ato
    By jimcjensen in forum Pre-Sales Questions
    Replies: 10
    Last Post: 05-08-2017, 08:04
  2. Question: Apex ato
    By Theladd in forum Misc Aquarium Automation Discussions
    Replies: 2
    Last Post: 11-19-2016, 21:54
  3. Help! Best ATO for apex
    By Skits415 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 5
    Last Post: 06-15-2016, 19:23
  4. Apex and ATO?
    By mntbighker in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 3
    Last Post: 10-27-2014, 06:31
  5. apex ato?
    By powers2001 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 3
    Last Post: 10-25-2014, 10:42

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
  •