Results 1 to 15 of 15

Thread: Please help me code ATO with alarms

  1. #1
    Regular Vistor
    Join Date
    Aug 2017
    Location
    Nova
    Posts
    26

    Please help me code ATO with alarms

    Looking for help code a ATO with hi and low floats with a Alarm if the hi float is opened (rises) but ATO will not activate in feed mode

    Basically. Is
    sw1 drops pump on raises pump off
    Sw2 opens alarm and pump off
    And sends email and notification on phone
    But will ATO off one feed modes
    And if sw1 is open for 5 mins turns off



    Thanks guys

    Sorry for the over load


    Sent from my iPhone using Tapatalk

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    When the switches are down, what state does each read?

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

  3. #3
    Regular Vistor
    Join Date
    Aug 2017
    Location
    Nova
    Posts
    26

    Please help me code ATO with alarms

    When the float is up like the lower one in pic there is no continuity

    Float down is closed lol ughhh


    Sent from my iPhone using Tapatalk

  4. #4
    Regular Vistor
    Join Date
    Aug 2017
    Location
    Nova
    Posts
    26
    Quote Originally Posted by Linkfalcon View Post
    When the float is up like the lower one in pic there is no continuity


    Sent from my iPhone using Tapatalk



    Sent from my iPhone using Tapatalk

  5. #5
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    If they both open when up (no continuity) and close when down, this is what you want.

    Fallback OFF
    Set OFF
    If Sw1 CLOSED Then ON
    If Sw2 OPEN Then OFF
    Defer 000:10 Then ON
    Min Time 030:00 Then OFF
    When On > 005:00 Then OFF


    Email
    (Existing code)
    If Error ATOoutletname Then ON

    This will do the following. Turn on your ATO pump when Sw1 is low for at least 10 consecutive seconds. Pump will turn off when either the low switch goes up or the high switch goes up. After it turns off, it must wait 30 minutes before it's next fill (regardless of switch state) to prevent short cycling. In the event that the pump is on for 5 minutes for a single fill, the outlet will lock out to manual OFF and send you an email. It will stay off until you log into fusion and manually change it back to AUTO.


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

  6. #6
    Regular Vistor
    Join Date
    Aug 2017
    Location
    Nova
    Posts
    26
    So kinda confused codes not working





    Sw 1 is lower one
    Sw 2 is upper one



    Sent from my iPhone using Tapatalk

  7. #7
    Regular Vistor
    Join Date
    Aug 2017
    Location
    Nova
    Posts
    26

    Please help me code ATO with alarms

    Well sorry man thanks for all the help I swapped the position on the sw2 switch and now working

    Will this still send a notification if pump is on for 30min or if sw2 is opened thanks


    Sent from my iPhone using Tapatalk

  8. #8
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    It will send an alert if the ATO runs for 5 minutes. The 30 min is the minimum wait time between fills.

    For high level alarm, just add

    If Sw2 OPEN Then ON

    To your email

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

  9. #9
    Regular Vistor
    Join Date
    Aug 2017
    Location
    Nova
    Posts
    26
    Thank u so much man


    Sent from my iPhone using Tapatalk

  10. #10
    Regular Vistor
    Join Date
    Aug 2017
    Location
    Nova
    Posts
    26

    Please help me code ATO with alarms

    Sorry for so many question I've had to many non apex ato's fail

    Is there a way to get a email or text if the pump runs for 5 mins


    Sent from my iPhone using Tapatalk

  11. #11
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    That's what the if error statement is for.

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

  12. #12
    Regular Vistor
    Join Date
    Aug 2017
    Location
    Nova
    Posts
    26
    O cool thanks the help


    Sent from my iPhone using Tapatalk

  13. #13
    Regular Vistor
    Join Date
    Aug 2017
    Location
    Nova
    Posts
    26

    Please help me code ATO with alarms

    Hey been running this for a while has been good but I do not get a text or alert when the pump has run longer then 5 mins but it will lock it out





    Sent from my iPhone using Tapatalk

  14. #14
    Regular Vistor
    Join Date
    Aug 2017
    Location
    Nova
    Posts
    26
    Any one


    Sent from my iPhone using Tapatalk

  15. #15
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463

    Please help me code ATO with alarms

    See the earlier post in this thread by zombie in which he gave an example for the email alarm.

    You need to have an If Error statement in your email output in order to get alerts about the ATO running too long.
    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. Not receiving ato alarms
    By Sthomasson72 in forum Misc Apex Usage & Programming
    Replies: 1
    Last Post: 09-21-2020, 11:22
  2. Help! Ato alarms
    By NYTRAMUK in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 3
    Last Post: 12-18-2019, 02:45
  3. 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
  4. Could this code work to utilize my DOS as an ATO pump, and How would I add the code?
    By alexx2208 in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 4
    Last Post: 08-17-2017, 08:56
  5. Alarms for ATO
    By Fishinwall in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 12
    Last Post: 05-29-2016, 14:46

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
  •