Results 1 to 19 of 19

Thread: Does this ATO seem right?

  1. #1
    Frequent Visitor
    Join Date
    Mar 2018
    Location
    Metro Detroit
    Posts
    91

    Post Does this ATO seem right?

    I'm still new to this and I think I'm catching on quickly (many thanks the expert advice from volunteers). Below is what I have for my ATO code. This is preliminary and is a setup with a lot of FMM optical sensors and other automation so final version might change and I will try to update what I have finished with to pay it forward. What is most important to me now is to confirm what I understand about the code lines (my notes in parenthesis after) and also if there are any obvious omissions or errors.

    Fallback OFF
    Set OFF
    If Sump_N OPEN Then ON (optical is low from normal)
    If Outlet Salt_Pump = ON Then OFF (AWC is doing daily change, note other system safety involved)
    If Sump_H CLOSED Then OFF (optical sump high error)
    If Salt < 32.0 Then OFF (Salinity probe low error)
    If RODI_E OPEN Then OFF (optical RODI tank empty)
    If ATO_On OPEN Then OFF (toggle switch breakout ATO off, drip feed acclimation, etc.)
    If Maint OPEN Then OFF (toggle switch maintenance mode, shuts off most pumps, etc.)
    Defer 005:00 Then ON (lets water evaporate from low signal for 5 minutes)
    Defer 000:10 Then OFF (maybe not needed, but eliminates possible Off signal noise?)
    Min Time 030:00 Then OFF (stops ATO from running for 30 minutes after last run)
    When On > 002:00 Then OFF (forces outlet out of Auto if runs over 2 minutes)

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Looks fine. The min time and/or when statement might need some tweaking but that's easy to check after the fact. Make sure log is enabled and check the outlet graph after a couple days as-is. The when statement should be 2-3 times the longest runtime in a 1-2 day test period.

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

  3. #3
    Frequent Visitor
    Join Date
    Mar 2018
    Location
    Metro Detroit
    Posts
    91

    Post

    That is a good point about setting the times generously and logging the outputs. Then you know what is the limiter (too long Min Time could be artificially increasing each on time).

    OK, so now that I might know enough to be dangerous. I have some more code for the whole AWC deal. First a brief overview of the system, since there is one thing that might be a little unique compared to most set-ups. Salt mix stored in container with PMUP. Change water removed from sump by PMUP, but it does not go directly down the drain. It goes to a spray nozzle in my skimmer cup to clean it. Then it flows into the waste canister, where another PMUP sends it down the drain. The waste canister has a high and low optical sensor. The sump return area has 4 optical sensors. A high and low limit which are only used as failsafe. The other 2 are on the ATK bracket with the float. The upper one is normal level, the lower one is daily water change removal level (works out to about a gallon). My ATO and my AWC water are both connected to the safety float (with a Y and a check valve on each line). The H/L limit optical are above/below the ATK bracket sensors.

    VO: ATO_Wait_Tst (test if ATO is in wait for evaporation 5 minutes mode before start AWC)
    Set ON (set on makes sense for logic continuity where my tests all equal positive is satisfied, but could this set on be dangerous?)
    If Sump_N OPEN Then OFF (if optical sump normal is not closed ATO is waiting for 5 minutes to fill)
    If Outlet ATO_Pump = ON Then OFF (ATO filling pump on, probably covered from above line but could prevent defer overlap)

    VO: AWC_Schedule (When I want AWC to happen, can change in one place and refer to anywhere)
    Set OFF
    If DoW SMTWTFS Then ON
    If Time 21:00 to 20:00 Then OFF (if NOT 8-9pm then off)

    VO: AWC_Drn_Tst (test if OK to drain change water)
    Set OFF
    If Output AWC_Schedule = ON Then ON
    If Output ATO_Wait_Tst = ON Then OFF
    If Salt_E OPEN Then OFF (another optical on salt mix holding tank, if empty don’t do a change)

    Outlet: Sump_Drain (PMUP that sprays change water into skimmer cup, then flows to waste canister)
    Fallback OFF
    Set OFF
    If Output AWC_Drn_Tst = ON Then ON
    If Outlet Skim_Drain = OFF Then OFF (skimmer waste canister should be pumping out simultaneously)
    If Sump_W OPEN Then OFF (Optical for when the correct amount of change water removed, lower on ATK bracket)
    If Sump_L OPEN Then OFF (Optical for sump should never be this low)
    If Wst_H CLOSED Then OFF (Optical for skimmer waste canister full, stop Skim_Drain is not working)
    Defer 000:05 Then OFF (defer OFF 5 seconds, Skim_Drain may get ahead and shut off briefly)
    Min Time 060:00 Then OFF (don’t run again for 1 hour, so effectively 24hrs due to AWC_Schedule)
    When On > 005:00 Then OFF (ran too long turn outlet OFF)

    Outlet: Skim_Drain (PMUP in skimmer waste canister)
    Fallback OFF
    Set OFF
    If Wst_H CLOSED Then ON (Optical for waste canister is full of skimate so empty)
    If Outlet Sump_Drain = ON Then ON (Sump_Drain is pumping into skimmer cup, no need to wait for Wst_H there is rising fluid level)
    If Wst_L OPEN Then OFF (Optical for waste canister is empty stop PMUP)
    Defer 000:02 Then ON
    Defer 000:02 Then OFF

    VO: AWC_Fil_Tst (test if removal of change water has completed, will make sense when looking at Outlet Salt_Pump)
    Set OFF
    If Output Sump_Drain = ON Then ON
    Defer 020:00 Then OFF (holds state of sump drain ON logic for 20 minutes)

    Outlet: Salt_Pump (PMUP that replaces water change)
    Fallback OFF
    Set OFF
    If Output AWC_Fil_Tst = ON Then ON (VO above, Sump_Drain is on or was on up to 20 minutes ago)
    If Output Sump_Drain = ON Then OFF (Sump_Drain is actually on so wait until off)
    If Sump_N CLOSED Then OFF (Optical water level back to normal)
    If Sump_H CLOSED Then OFF (Optical sump high error)
    Defer 000:30 Then ON
    Defer 000:05 Then OFF
    Min Time 060:00 Then OFF (don’t run again for 1 hour, so effectively 24hrs when Sump_Drain state changes again)
    When On > 010:00 Then OFF
    If Wet_F CLOSED Then OFF

    Now I changed my initial ATO code slightly to use the AWC_Fil_Tst to keep the ATO off until the Salt_Pump should be done returning the sump to normal level. I think this could be improved for failsafe, but the run time limits and salinity monitor should keep things in check.

    Outlet: ATO_Pump (from initial question)
    Fallback OFF
    Set OFF
    If Sump_N OPEN Then ON
    If Output AWC_Fil_Tst = ON Then OFF (only line changed)
    If Sump_H CLOSED Then OFF
    If Salt < 32.0 Then OFF
    If RODI_E OPEN Then OFF
    If ATO_On OPEN Then OFF
    If Maint OPEN Then OFF
    Defer 005:00 Then ON
    Defer 000:10 Then OFF
    Min Time 030:00 Then OFF
    When On > 002:00 Then OFF

    Times are just generalized and wet floor will get added to most outlets. Also, I will be doing some power monitoring since one EB832 will be on UPS, which could finish a water change fill, so that might add something. Mostly concerned if I did something glaringly stupid here.

  4. #4
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Comments in bold.

    VO: ATO_Wait_Tst (test if ATO is in wait for evaporation 5 minutes mode before start AWC)
    Set ON (set on makes sense for logic continuity where my tests all equal positive is satisfied, but could this set on be dangerous?)
    If Sump_N OPEN Then OFF (if optical sump normal is not closed ATO is waiting for 5 minutes to fill)
    If Outlet ATO_Pump = ON Then OFF (ATO filling pump on, probably covered from above line but could prevent defer overlap)
    This doesn't appear to be the right method. I would have this turn ON for 5 minutes if the ATO is currently ON or Sump_N is OPEN calling for water
    VO: AWC_Schedule (When I want AWC to happen, can change in one place and refer to anywhere)
    Set OFF
    If DoW SMTWTFS Then ON
    If Time 21:00 to 20:00 Then OFF (if NOT 8-9pm then off)

    VO: AWC_Drn_Tst (test if OK to drain change water)
    Set OFF
    If Output AWC_Schedule = ON Then ON
    If Output ATO_Wait_Tst = ON Then OFF
    If Salt_E OPEN Then OFF (another optical on salt mix holding tank, if empty don’t do a change)

    Outlet: Sump_Drain (PMUP that sprays change water into skimmer cup, then flows to waste canister)
    Fallback OFF
    Set OFF
    If Output AWC_Drn_Tst = ON Then ON
    If Outlet Skim_Drain = OFF Then OFF (skimmer waste canister should be pumping out simultaneously)
    This will cause problems. Remove the above line
    If Sump_W OPEN Then OFF (Optical for when the correct amount of change water removed, lower on ATK bracket)
    If Sump_L OPEN Then OFF (Optical for sump should never be this low)
    If Wst_H CLOSED Then OFF (Optical for skimmer waste canister full, stop Skim_Drain is not working)
    Defer 000:05 Then OFF (defer OFF 5 seconds, Skim_Drain may get ahead and shut off briefly)
    Min Time 060:00 Then OFF (don’t run again for 1 hour, so effectively 24hrs due to AWC_Schedule)
    When On > 005:00 Then OFF (ran too long turn outlet OFF)
    Also turn off for wet floor

    Outlet: Skim_Drain (PMUP in skimmer waste canister)
    Fallback OFF
    Set OFF
    Remove set OFF
    If Wst_H CLOSED Then ON (Optical for waste canister is full of skimate so empty)
    If Outlet Sump_Drain = ON Then ON (Sump_Drain is pumping into skimmer cup, no need to wait for Wst_H there is rising fluid level)
    If Wst_L OPEN Then OFF (Optical for waste canister is empty stop PMUP)
    Defer 000:02 Then ON
    Defer 000:02 Then OFF

    VO: AWC_Fil_Tst (test if removal of change water has completed, will make sense when looking at Outlet Salt_Pump)
    Set OFF
    If Output Sump_Drain = ON Then ON
    Defer 020:00 Then OFF (holds state of sump drain ON logic for 20 minutes)

    Outlet: Salt_Pump (PMUP that replaces water change)
    Fallback OFF
    Set OFF
    If Output AWC_Fil_Tst = ON Then ON (VO above, Sump_Drain is on or was on up to 20 minutes ago)
    If Output Sump_Drain = ON Then OFF (Sump_Drain is actually on so wait until off)
    If Sump_N CLOSED Then OFF (Optical water level back to normal)
    If Sump_H CLOSED Then OFF (Optical sump high error)
    Defer 000:30 Then ON
    Defer 000:05 Then OFF
    Min Time 060:00 Then OFF (don’t run again for 1 hour, so effectively 24hrs when Sump_Drain state changes)
    When On > 010:00 Then OFF
    If Wet_F CLOSED Then OFF

    Now I changed my initial ATO code slightly to use the AWC_Fil_Tst to keep the ATO off until the Salt_Pump should be done returning the sump to normal level. I think this could be improved for failsafe, but the run time limits and salinity monitor should keep things in check.

    Outlet: ATO_Pump (from initial question)
    Fallback OFF
    Set OFF
    If Sump_N OPEN Then ON
    If Output AWC_Fil_Tst = ON Then OFF (only line changed)
    Remove above line
    If Sump_H CLOSED Then OFF
    If Salt < 32.0 Then OFF
    If RODI_E OPEN Then OFF
    If ATO_On OPEN Then OFF
    If Maint OPEN Then OFF
    Add This
    If Output Sump_Drain = ON Then OFF
    If Output Salt_Pump = ON Then OFF

    Defer 005:00 Then ON
    Defer 000:10 Then OFF
    Min Time 030:00 Then OFF
    When On > 002:00 Then OFF




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

  5. #5
    Frequent Visitor
    Join Date
    Mar 2018
    Location
    Metro Detroit
    Posts
    91
    Thanks Zombie additional comments/questions in red

    Comments in bold.


    VO: ATO_Wait_Tst (test if ATO is in wait for evaporation 5 minutes mode before start AWC)
    Set ON (set on makes sense for logic continuity where my tests all equal positive is satisfied, but could this set on be dangerous?)
    If Sump_N OPEN Then OFF (if optical sump normal is not closed (I should have said Open instead of not Closed) ATO is waiting for 5 minutes to fill)
    If Outlet ATO_Pump = ON Then OFF (ATO filling pump on, probably covered from above line but could prevent defer overlap)
    This doesn't appear to be the right method. I would have this turn ON for 5 minutes if the ATO is currently ON or Sump_N is OPEN calling for water
    Confused here. What I am trying to accomplish is waiting for an ATO "cycle" to finish at full. I don't want to start a water change when some evap water is missing. ATO is supposed to sense Sump_N open and wait 5 minutes for more evaporation so not turning PMUP on for short cycle. So if Sump_N is Open it must be waiting and if ATO_Pump is ON it is filling for a few seconds. When ATO_pump is OFF and SUMP_N is CLOSED then a "cycle" has just finished. I could reverse the logic ON/OFF states, but not sure why it it matters, seems more of a preference of how you think?
    VO: AWC_Schedule (When I want AWC to happen, can change in one place and refer to anywhere)
    Set OFF
    If DoW SMTWTFS Then ON
    If Time 21:00 to 20:00 Then OFF (if NOT 8-9pm then off)

    VO: AWC_Drn_Tst (test if OK to drain change water)
    Set OFF
    If Output AWC_Schedule = ON Then ON
    If Output ATO_Wait_Tst = ON Then OFF
    If Salt_E OPEN Then OFF (another optical on salt mix holding tank, if empty don’t do a change)

    Outlet: Sump_Drain (PMUP that sprays change water into skimmer cup, then flows to waste canister)
    Fallback OFF
    Set OFF
    If Output AWC_Drn_Tst = ON Then ON
    If Outlet Skim_Drain = OFF Then OFF (skimmer waste canister should be pumping out simultaneously)
    This will cause problems. Remove the above line
    I was questioning this, seemed like a safety. But if the Defer is wrong it will probably make something angry.
    If Sump_W OPEN Then OFF (Optical for when the correct amount of change water removed, lower on ATK bracket)
    If Sump_L OPEN Then OFF (Optical for sump should never be this low)
    If Wst_H CLOSED Then OFF (Optical for skimmer waste canister full, stop Skim_Drain is not working)
    Defer 000:05 Then OFF (defer OFF 5 seconds, Skim_Drain may get ahead and shut off briefly)
    Min Time 060:00 Then OFF (don’t run again for 1 hour, so effectively 24hrs due to AWC_Schedule)
    When On > 005:00 Then OFF (ran too long turn outlet OFF)
    Also turn off for wet floor
    Already Done

    Outlet: Skim_Drain (PMUP in skimmer waste canister)
    Fallback OFF
    Set OFF
    Remove set OFF
    Oh Yes Duh!

    If Wst_H CLOSED Then ON (Optical for waste canister is full of skimate so empty)
    If Outlet Sump_Drain = ON Then ON (Sump_Drain is pumping into skimmer cup, no need to wait for Wst_H there is rising fluid level)
    If Wst_L OPEN Then OFF (Optical for waste canister is empty stop PMUP)
    Defer 000:02 Then ON
    Defer 000:02 Then OFF

    VO: AWC_Fil_Tst (test if removal of change water has completed, will make sense when looking at Outlet Salt_Pump)
    Set OFF
    If Output Sump_Drain = ON Then ON
    Defer 020:00 Then OFF (holds state of sump drain ON logic for 20 minutes)

    Outlet: Salt_Pump (PMUP that replaces water change)
    Fallback OFF
    Set OFF
    If Output AWC_Fil_Tst = ON Then ON (VO above, Sump_Drain is on or was on up to 20 minutes ago)
    If Output Sump_Drain = ON Then OFF (Sump_Drain is actually on so wait until off)
    If Sump_N CLOSED Then OFF (Optical water level back to normal)
    If Sump_H CLOSED Then OFF (Optical sump high error)
    Defer 000:30 Then ON
    Defer 000:05 Then OFF
    Min Time 060:00 Then OFF (don’t run again for 1 hour, so effectively 24hrs when Sump_Drain state changes)
    When On > 010:00 Then OFF
    If Wet_F CLOSED Then OFF

    Now I changed my initial ATO code slightly to use the AWC_Fil_Tst to keep the ATO off until the Salt_Pump should be done returning the sump to normal level. I think this could be improved for failsafe, but the run time limits and salinity monitor should keep things in check.

    Outlet: ATO_Pump (from initial question)
    Fallback OFF
    Set OFF
    If Sump_N OPEN Then ON
    If Output AWC_Fil_Tst = ON Then OFF (only line changed)
    Remove above line
    If Sump_H CLOSED Then OFF
    If Salt < 32.0 Then OFF
    If RODI_E OPEN Then OFF
    If ATO_On OPEN Then OFF
    If Maint OPEN Then OFF
    Add This
    If Output Sump_Drain = ON Then OFF
    If Output Salt_Pump = ON Then OFF
    Only problem here is there is a 30 second defer between Sump_Drain and Salt_Pump and I think ATO would try to run (since Sump_N is OPEN). I think AWC_Fil_Tst will probably keep ATO off a little longer than needed, but I didn't see the harm in 20 minutes (which I could probably reduce after monitoring). Even if I removed the defer there, it might be a brief period between outlet on states changing and ATO trying to run? Maybe I should make a VO for this task, I'll think on that.
    Defer 005:00 Then ON
    Defer 000:10 Then OFF
    Min Time 030:00 Then OFF
    When On > 002:00 Then OFF

    Glad the feedback on problems was isolated and I didn't create a pile of garbage.

  6. #6
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    The ATO has a defer of 5 minutes, so that 30 second wait between fill and drain won't start the ATO

    This is what I would do for the ATO test VO

    ATO_Wait_Tst (test if ATO is in wait for evaporation 5 minutes mode before start AWC)

    Set OFF
    If Sump_N OPEN Then ON
    If Outlet ATO_Pump = ON Then ON
    Defer 005:00 Then OFF

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

  7. #7
    Frequent Visitor
    Join Date
    Mar 2018
    Location
    Metro Detroit
    Posts
    91
    That makes sense!!! I'm so used to thinking about setting global variables these local defer statements trip me up.

  8. #8
    Frequent Visitor
    Join Date
    Mar 2018
    Location
    Metro Detroit
    Posts
    91
    OK, thinking about this more I think I understand I do not need to worry about the 30 second Defer between Sump_Drain and Salt_Pump. I am having difficulty understanding the difference between:

    My original code:

    Set ON
    If Sump_N OPEN Then OFF
    If Outlet ATO_Pump = ON Then OFF

    And your suggestion:

    Set OFF
    If Sump_N OPEN Then ON
    If Outlet ATO_Pump = ON Then ON
    Defer 005:00 Then OFF

    It seems like they are opposites and the 5 minute defer is just an inversion of OFF logic with a 5 minute rolling delay. This logic inversion should happen maybe every one second or whatever the Apex process cycle is. But what happens if I change my evaporation delay to 4 or 6 minutes based on charting as suggested. It seems I would need to change the same value in two places (which I despise). With my original code there would be no rolling inversion needed and it should refresh every process cycle. I'm NOT saying my way is right, I'm just trying to understand the difference.


  9. #9
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    The difference is the point in the cycle. What you were originally trying to do was to catch the point between when the level had just hit low and the ATO starts to run, however the code you provided originally would not have done that.

    The one I provided would start the drain exactly 5 minutes after the ATOs last fill cycle, which IMO is just as consistent of a level point and is easier to code. You can reduce that time from 5 minutes all the way down to 10 seconds and it will not affect the end result.

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

  10. #10
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Actually, it just dawned on me after running through the logic in my head again. You could use your original code on that if you changed OPEN to CLOSED and added a short defer to make sure level is really low (like 10-30 seconds). That would give you the window between asking for fill and the ATO actually starting to run if you would rather have that window than the one I proposed.

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

  11. #11
    Frequent Visitor
    Join Date
    Mar 2018
    Location
    Metro Detroit
    Posts
    91
    I'm actually trying to "ideally" catch the point where the ATO just finishes top-off fill. Not when it is almost about to run, or just started. The ATO only uses a single level sensor Sump_N, I want to start an AWC when the sump is full to that level. Then the AWC will run drain until it gets to it's low sensor Sump_W and then refill back to the Sump_N. At this point ATO would go back to it's routine and AWC would wait until it's next scheduled period to "look" for a full sump again. If the sump is low when AWC starts then I will be replacing evap water with salt water. It would probably take a while to stack up a meaningful amount, but why not avoid it if possible.

  12. #12
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    That would require a bit more logic to pull off. This is the logic for detecting a change in outlet state and will be ON for a specified duration following the change in state.

    ATO_ON
    Set OFF
    If Outlet ATO = ON Then ON
    Defer 005:00 Then OFF

    ATO_Wait_Tst
    Set OFF
    If Outlet ATO_ON = ON Then ON
    If Outlet ATO = ON Then OFF

    You would also need to invert the logic in the drain test to

    If Outlet ATO_Wait_Tst = OFF Then OFF

    And also add a min time statement to that to ensure the drain test is active long enough to complete the whole cycle.

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

  13. #13
    Frequent Visitor
    Join Date
    Mar 2018
    Location
    Metro Detroit
    Posts
    91
    OK, makes sense to test outlet state. So this... (also any issues if I reduce the defer for ATO_ON to one minute?)

    VO: ATO_ON
    Set OFF
    If Outlet ATO = ON Then ON
    Defer 001:00 Then OFF (Holds it ON for 1min)

    VO: ATO_Wait_Tst (test if ATO has just completed)
    Set OFF
    If Output ATO_ON = ON Then ON (on logic being held 1 minute)
    If Outlet ATO_Pump = ON Then OFF (Pump is actually on, wait until OFF)

    These two will result in a 1 minute ON after the last ATO_Pump run.

    VO: AWC_Drn_Tst (test if OK to drain change water)
    Set OFF
    If Output AWC_Schedule = ON Then ON
    If Output ATO_Wait_Tst = OFF Then OFF (if not in the 1 minute defer window then OFF)
    If Salt_E OPEN Then OFF (another optical on salt mix holding tank, if empty don’t do a change)
    Min Time 120:00 Then OFF (Do not turn back OFF for 2 hours when the 1 minute Defer from ATO_ON expired)

  14. #14
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Close. You want to change one thing.

    VO: ATO_ON
    Set OFF
    If Outlet ATO = ON Then ON
    Defer 001:00 Then OFF (Holds it ON for 1min)

    VO: ATO_Wait_Tst (test if ATO has just completed)
    Set OFF
    If Output ATO_ON = ON Then ON (on logic being held 1 minute)
    If Outlet ATO_Pump = ON Then OFF (Pump is actually on, wait until OFF)

    These two will result in a 1 minute ON after the last ATO_Pump run.

    VO: AWC_Drn_Tst (test if OK to drain change water)
    Set OFF
    If Output AWC_Schedule = ON Then ON
    If Output ATO_Wait_Tst = OFF Then OFF (if not in the 1 minute "wait" window then OFF)
    If Salt_E OPEN Then OFF (another optical on salt mix holding tank, if empty don’t do a change)
    Min Time 005:01 Then ON (hold state long enough to allow drain to complete up to when time).




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

  15. #15
    Frequent Visitor
    Join Date
    Mar 2018
    Location
    Metro Detroit
    Posts
    91
    Yes! I think that gives me everything I need. I really appreciate the help zombie. I will be polishing this up and a few other simpler items. In two weeks I plan to fill the tank and test the heck out systems. I will give a follow up update after that if you don't hear from me on this thread (or another) sooner. I owe you a beer or something for sure.

  16. #16
    Frequent Visitor
    Join Date
    Mar 2018
    Location
    Metro Detroit
    Posts
    91
    OK just one more thing (maybe). ATO polishing, new is in parenthesis and emphasis is in red

    Fallback OFF
    Set OFF
    If Sump_N OPEN Then ON
    If Sump_H CLOSED Then OFF
    If Sump_L OPEN Then OFF (something is messed up stop)
    If Salt < 32.0 Then OFF
    If RODI_E OPEN Then OFF
    If ATO_On OPEN Then OFF
    If Maint OPEN Then OFF
    If Output Sump_Drain = ON Then OFF
    If Output Salt_Pump = ON Then OFF
    If Wet_F CLOSED Then OFF (obvious safety)
    Defer 005:00 Then ON
    Defer 000:05 Then OFF
    Min Time 010:00 Then OFF (question below)
    When On > 002:00 Then OFF

    It seems that the Min Time should be slightly lower than the Defer 005:00 Then ON. This routine should run every 5 minutes-ish. Assuming that the ATO pump does not overshoot (which it will by the 5 second defer OFF). Also, assuming evaporation opens the sensor almost immediately. I think this high Min Time could override the correct operation of the system. Delaying a run and thus increasing the ON time. It seems to make sense as a safety, but it could be counterproductive and not that important due to other safety. I will monitor these times for a while and adjust the limits, but would it make sense to maybe set this at 004:00 and adjust it along with the other limits?

  17. #17
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    I would keep a min time of no less than 15 minutes and most people use 30 minutes to an hour. The entire purpose of that is to extend the life of your ATO pump. Too many starts and stops and it will die prematurely.



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

  18. #18
    Frequent Visitor
    Join Date
    Mar 2018
    Location
    Metro Detroit
    Posts
    91
    I set it Min Time 030:00, and will adjust it up if the ATO pump is short cycling. Charting outlets and evaluating after a few days per your advice.

  19. #19
    Frequent Visitor
    Join Date
    Mar 2018
    Location
    Metro Detroit
    Posts
    91
    I've been testing this whole AWC/ATO routine for a few days and it is working great. I want to change one thing and then it should be perfect. The Salt_Pump that fills back up after drain routine will stop as written if the salt water make-up mix tank level is low (Salt_E OPEN). I want it to continue until the Sump_N (Normal) has been made. There is safety room so the Salt_Pump could run beyond the low limit. The drain cycle will not start if the salt make-up tank is empty, so this change should just cover the last re-fill before I need to mix a new batch. Here is the code:

    Salt_Pump
    Fallback OFF
    Set OFF
    If Output AWC_Fil_Tst = ON Then ON
    If Output Sump_Drain = ON Then OFF
    If Sump_N CLOSED Then OFF
    If Sump_H CLOSED Then OFF
    If Salt_E OPEN Then OFF (this will stop a fill premature if tank sensor low)
    Defer 000:30 Then ON
    Defer 000:05 Then OFF
    Min Time 061:00 Then OFF
    When On > 005:00 Then OFF
    If Wet_F CLOSED Then OFF

    My revised idea below:

    VO: Last_Salt
    Set OFF
    If Salt_E CLOSED Then ON
    Defer 005:00 Then OFF

    Salt_Pump (revised)
    Fallback OFF
    Set OFF
    If Output AWC_Fil_Tst = ON Then ON
    If Output Sump_Drain = ON Then OFF
    If Sump_N CLOSED Then OFF
    If Sump_H CLOSED Then OFF
    If Output Last_Salt = OFF Then OFF (only line changed)
    Defer 000:30 Then ON
    Defer 000:05 Then OFF
    Min Time 061:00 Then OFF
    When On > 005:00 Then OFF
    If Wet_F CLOSED Then OFF

Similar Threads

  1. Help! Shut off my ATO pump once my ATO reservoir runs dry.
    By sirrichard33 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 2
    Last Post: 02-15-2020, 11:28
  2. Question: FMM/ATO issues when ATO reservoir is refilled
    By Faulker's Maze in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 12
    Last Post: 12-14-2018, 11:43
  3. Replies: 1
    Last Post: 07-05-2016, 13:46
  4. Kalk ATO which defaults to Freshwater ATO if pH is too high
    By kypdurran in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 2
    Last Post: 01-09-2014, 09:13
  5. Limiting ATO pump regardless of ATO switch state
    By eyesolator in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 5
    Last Post: 08-04-2013, 08:34

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
  •