Results 1 to 8 of 8

Thread: ATO Defer + Alerr

  1. #1
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45

    ATO Defer + Alerr

    Hello,

    I'm trying to configure my ATO to run no more than 30sec at a time. See code below. Also want to add an alert for when it runs over 20sec.

    ATO Code:
    Fallback OFF
    Set OFF
    If ATO CLOSED Then ON
    If ATO_BU CLOSED Then OFF
    If FMM1 CLOSED Then OFF


    Alert Code:
    ???

  2. #2
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45
    Hello, any feedback

  3. #3
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    What do you want to happen when it does run for 30 seconds? You can latch it off until you manually intervene or you can have it try again after X time has elapsed.

    Alerting if it has run for 20 seconds will get annoying. There are better ways, but they depend on your answer to my first question.

    Sent from my SM-G965U using Tapatalk

  4. #4
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45
    Thanks. It should force the ATO to turn off after 30sec. My ATO average runtime is 10sec. I had it get stuck for 5min once so trying to prevent that from happening again. If I see longer avg run times I'll update the alert. I may also need a defer so it doesn't come right back on but I'm thinking I'd switch the ATO to off once I get that alert.

  5. #5
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by robocop1906 View Post
    Thanks. It should force the ATO to turn off after 30sec. My ATO average runtime is 10sec. I had it get stuck for 5min once so trying to prevent that from happening again. If I see longer avg run times I'll update the alert. I may also need a defer so it doesn't come right back on but I'm thinking I'd switch the ATO to off once I get that alert.
    How long do you want it to wait to try again or do you want it to go to manual OFF when it runs for 30 seconds?

    Sent from my SM-G965U using Tapatalk

  6. #6
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45
    I'd say 5min. Interested in the manual off code in case I change my approach in the future.

  7. #7
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by robocop1906 View Post
    I'd say 5min. Interested in the manual off code in case I change my approach in the future.
    5 minutes can be troublesome. 1 hour is what is typically used. This includes a complete shutoff after 4 tries. It resets the moment the ATO switch OPENs.

    ATO:
    Fallback OFF
    Set OFF
    If ATO CLOSED Then ON
    If ATO_BU CLOSED Then OFF
    If FMM1 CLOSED Then OFF
    If Output ATOtime = ON Then OFF
    If Output ATOstuck = ON Then OFF
    Min Time 060:00 Then OFF

    ATOtime
    Set OFF
    If Output ATOname = ON Then ON
    Defer 000:30 Then ON

    ATOstuck
    Set OFF
    If ATO CLOSED Then ON
    Defer 240:00 Then ON

    Email
    If Output ATOtime = ON Then ON
    If Output ATOstuck = ON Then ON



    Sent from my SM-G965U using Tapatalk

  8. #8
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45
    Thanks. I had to figure out the ATOtime and ATOstuck myself so just updating for folks who may not be familiar with Virtual Output as I wasn't either.

    Go to 'Outputs'/Select 'Add/Delete' at the top right/select 'Add a Virtual Output/ the name would be ATOtime and you would enter the code provided by zombie in the configuration section.
    Repeat the above for ATOstuck

Similar Threads

  1. ATO Defer
    By jstross94 in forum Misc Apex Usage & Programming
    Replies: 4
    Last Post: 01-16-2021, 19:55
  2. Review My Program Help - Several ATO alarms and defer code
    By JimerC in forum Misc Apex Usage & Programming
    Replies: 5
    Last Post: 09-26-2019, 09:22
  3. ATO defer statement help
    By mlewandowski61 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 10
    Last Post: 05-28-2019, 18:13
  4. ATO program using defer
    By Robmog in forum Misc Apex Usage & Programming
    Replies: 6
    Last Post: 04-10-2017, 12:23
  5. Review My Program ATO Timing and Defer
    By gpdno in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 1
    Last Post: 02-18-2014, 06:56

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
  •