Results 1 to 9 of 9

Thread: Something wrong with code for channel controlling Tunze ATO.

  1. #1
    Frequent Visitor powers2001's Avatar
    Join Date
    Aug 2013
    Location
    Montana
    Posts
    319

    Something wrong with code for channel controlling Tunze ATO.

    When I move the channel slider from auto to on, I get power to the ato and it works perfectly. When it's in auto I get no power at all.

    Fallback ON
    Set ON
    If FeedA 010 Then OFF
    If Time 18:30 to 18:55 Then OFF
    If Output return = OFF Then OFF
    If Power Apex Off 003 Then OFF
    Defer 003:00 Then ON

    ???

  2. #2
    Frequent Contributor iamchadster's Avatar
    Join Date
    Aug 2013
    Location
    Wilsonville, Oregon
    Posts
    2,639
    I'm not familiar with tunze ato, but the defer statement will keep the outlet off for 3 minutes after being turned off before it will turn on. Are you waiting?
    Chad

  3. #3
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    It's your 3 minute defer. Either slide from ON to auto or wait 3 minutes.

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

  4. #4
    Frequent Visitor powers2001's Avatar
    Join Date
    Aug 2013
    Location
    Montana
    Posts
    319
    1. set to OFF
    2. changed defer time to 1 min
    3. changed slider to Auto
    4 waited several minutes

    no power still

  5. #5
    Frequent Visitor powers2001's Avatar
    Join Date
    Aug 2013
    Location
    Montana
    Posts
    319
    Just slid slider back to ON and every thing worked fine.

  6. #6
    Frequent Contributor iamchadster's Avatar
    Join Date
    Aug 2013
    Location
    Wilsonville, Oregon
    Posts
    2,639
    Why change your set off, nothing would ever turn it on. Set tells the outlet what state to be in normally. Change the set back to on and try that in Auto.
    Chad

  7. #7
    Frequent Visitor powers2001's Avatar
    Join Date
    Aug 2013
    Location
    Montana
    Posts
    319
    Sorry, I meant the slider set to off.

  8. #8
    Frequent Visitor powers2001's Avatar
    Join Date
    Aug 2013
    Location
    Montana
    Posts
    319
    Quote Originally Posted by powers2001 View Post
    When I move the channel slider from auto to on, I get power to the ato and it works perfectly. When it's in auto I get no power at all.

    Fallback ON
    Set ON
    If FeedA 010 Then OFF
    If Time 18:30 to 18:55 Then OFF
    If Output return = OFF Then OFF
    If Power Apex Off 003 Then OFF
    Defer 003:00 Then ON

    ???
    I deleted the last two lines and set the slider to auto and everything is working fine.

  9. #9
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    Using the Classic Dashboard, go to XML->XML Status. Look at the first part of the data displayed, which might look a different in format depending on which browser you use, but the words will be similar:

    <status software="4.52_5A17" hardware="1.0">
    <hostname>apex</hostname>
    <serial>AC4:12345</serial>
    <timezone>-7.00</timezone>
    <date>08/11/2017 20:10:54</date>
    <power>
    <failed>07/11/2017 10:41:21</failed>
    <restored>07/11/2017 10:42:02</restored>
    </power>

    I think that you'll find that instead of a date and time between the <restored> and <restored> tags, as seen above, the "restored" data will show "none".

    If my hunch is correct, then you have enabled the Power Monitor feature but do not have the conditions required for the use of that feature. Do this:

    1. add the two lines you deleted back into the ATO outlet
    2. make sure the ATO outlet slider is in AUTO
    3. go to the Configuration->Misc Setup page
    4. disable Power Monitor
    5. click the checkbox for the Reboot system after update item on that page
    6. click the Update Misc Settings button


    The Apex will reboot. The two lines you added back in together will delay the ATO outlet from turning on for a total of 6 minutes (3 due to the If Power statement and 3 due to the Defer statement. So wait at least 7 minutes after the Apex comes back online, then check the state of the ATO outlet. I think you'll find that it is ON (unless the time is 18:30 to 18:55 or the return pump is turned off for some reason)
    Please do not send me PMs with technical questions or requesting assistance - use the forums for Apex help. PM me ONLY if the matter is of a private or personal nature. Thanks.

Similar Threads

  1. Help! My ATO reservoir refilling process code seems to be wrong, but I REALLY don't know why!
    By kaobang in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 9
    Last Post: 04-08-2018, 13:17
  2. Review My Program Tunze ATO Kalk day and night code
    By 6check in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 10
    Last Post: 01-28-2016, 22:00
  3. whats wrong with my ATO code
    By jelly in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 11
    Last Post: 01-19-2016, 06:11
  4. Help! ATO code failed, saved by backup switch. What did I do wrong?
    By ojonas in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 9
    Last Post: 01-14-2015, 20:31
  5. Help! 2 Channel Stream Cable (SURFCAB2) very loose plug into Tunze
    By catman78 in forum Apex Programming for Vortech, Tunze, & Other Controllable Pumps
    Replies: 7
    Last Post: 01-05-2014, 15:09

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
  •