Results 1 to 2 of 2

Thread: Defer and Min Time help

  1. #1
    New User
    Join Date
    Apr 2015
    Location
    US, Eastern Time
    Posts
    14

    Defer and Min Time help

    In my Ato I have the following statements; trying to see if I got this correctly. Defer will make it so my Ato will make sure Sump_L is actually in closed state for 1 minute before turning on.. The Min Time statement I have will only run the ATO for 40 seconds then turn off.. Is this correct? What I am trying to achieve is to have a fail safe just in case the floats not working the ato dont run constantly. Any other suggestions for accomplishing that? Thanks

    Fallback OFF
    Set OFF
    If SUMP_L CLOSED Then ON
    If SUMP_H CLOSED Then OFF
    If ATO_LO OPEN Then OFF
    Defer 001:00 Then ON
    Min Time 000:40 Then OFF

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Min time does not mean what you think ot does.

    Min Time 000:40 Then ON

    Means stay on for at least 40 seconds even if this would otherwise have been turned OFF.

    Min Time 000:40 Then OFF

    Means stay OFF for at least 40 seconds even if this would otherwise have been turned ON.



    If you want a failsafe to limit pump time the easiest way is with the When statement.

    When On > 000:40 Then OFF

    Means if the pump runs for 40 seconds, change the outlet from AUTO to manual OFF. The error command can be used to alert you when this occurs.


    The best starting code for ATO should be like this. The time in the When statement is best left at 5 minutes for a couple days until you go through the log and see exactly how long your pump ran for each time. The ideal timing for the When statement is about 2-3 times the longest fill in a 24-48 hour test period.

    Fallback OFF
    Set OFF
    If SUMP_L CLOSED Then ON
    If SUMP_H CLOSED Then OFF
    If ATO_LO OPEN Then OFF
    Defer 000:10 Then ON
    Defer 000:04 Then OFF
    Min Time 060:00 Then OFF
    When On > 005:00 Then OFF

    Email
    (Existing code)
    If Error ATOname Then ON

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

Similar Threads

  1. Min Time and Defer Are throwing me off
    By jeffatpm in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 1
    Last Post: 09-29-2019, 10:47
  2. DEFER ... MIN TIME ... ETC Help!
    By LHillman in forum Misc Apex Usage & Programming
    Replies: 4
    Last Post: 10-08-2016, 14:35
  3. Min Time and Defer
    By jeffmcclain in forum Misc Apex Usage & Programming
    Replies: 9
    Last Post: 05-28-2015, 21:52
  4. Min Time or Defer ?
    By RT964 in forum Misc Apex Usage & Programming
    Replies: 9
    Last Post: 07-17-2014, 07:02
  5. Read This First! Defer and Min Time statements
    By aquamanic in forum Misc Apex Usage & Programming
    Replies: 0
    Last Post: 01-06-2013, 05:15

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
  •