Results 1 to 5 of 5

Thread: AWC program

  1. #1
    New User
    Join Date
    Sep 2015
    Location
    Waterloo, IA
    Posts
    1

    AWC program

    I would like to write a program to control 3 separate outlets to perform a water change. I would like one outlet (Drain) to come on Saturday for 30 minutes. While that is on, I want to make sure the (Pump) outlet is off. However, I need it to stay off for 90 minutes. Finally, I would like the third outlet (Refill) to come on as soon as the (Drain) outlet turns off again and stay on for only 120 minutes before shutting off. Here is what I have written so far and want to know if this is close to what is needed to do what I am describing? The drain outlet will open a drain valve. The return outlet will close a valve to shut off RO water supply and open a valve coming from my pre-mixed storage tank and also activate a pump in the pre-mix tank. I do that exact same procedure with manual valves and a switch to turn on/off the pre-mix pump. I just want to automate it.

    “Drain_x1” Outlet
    Fallback OFF
    Set OFF
    If DoW SMTWTF- Then ON
    Defer 030:00 Then OFF


    Return “Pump_x1” Outlet
    Fallback ON
    Set ON
    If Outlet Drain_x1 = ON Then OFF
    Min Time 090:00 Then ON


    “Refill_x1” Outlet
    Fallback OFF
    Set OFF
    If DoW SMTWTF- Then OFF
    If Outlet Drain_x1 = ON Then OFF
    Defer 120:00 Then OFF

  2. #2
    Frequent Visitor
    Join Date
    Jun 2015
    Location
    Orlando
    Posts
    291

    AWC program

    I started to work on this, but then it was time for dinner. I'll try to check back later and continue, but for now, here's a program for the drain outlet.

    “Drain_x1” Outlet
    Fallback OFF
    Set OFF
    If Time 13:00 to 13:29 Then ON
    If DoW SMTWTF- Then OFF

    That will let it run for 30 minutes from 1PM to 1:30 every Saturday. Obviously you can change the time statement if you want it to run at a different time.

  3. #3
    Frequent Visitor
    Join Date
    Jun 2015
    Location
    Orlando
    Posts
    291

    AWC program

    I would do the other outlets based on time as well. It would be possible to key them off of the drain pump's operation, but because the apex doesn't support timers it would be a much more complex program with several virtual outlets.

    Return “Pump_x1” Outlet
    Fallback ON
    Set ON
    If Time 13:00 to 14:29 then OFF
    If DoW SMTWTF- Then ON


    “Refill_x1” Outlet
    Fallback OFF
    Set OFF
    If Time 13:30 to 15:29 Then ON
    If DoW SMTWTF- Then OFF

  4. #4
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,489
    Quote Originally Posted by BrettS View Post
    I started to work on this, but then it was time for dinner. I'll try to check back later and continue, but for now, here's a program for the drain outlet.

    “Drain_x1” Outlet
    Fallback OFF
    Set OFF
    If DoW SMTWTF- Then ON
    If Time 13:30 to 12:59 then OFF

    That will let it run for 30 minutes from 1PM to 1:30 every Saturday. Obviously you can change the time statement if you want it to run at a different time. The time statement is a bit odd in that it covers the time you *don't* want it to run and spans midnight.
    This will not work as described. The outlet will be ON every day from 13:00 to 13:30 except Saturday.

    This will do the trick:

    “Drain_x1” Outlet
    Fallback OFF
    Set OFF
    If Time 13:00 to 13:29 Then ON
    If DoW SMTWTF- Then OFF

    Use similar logic for other outlets.
    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.

  5. #5
    Frequent Visitor
    Join Date
    Jun 2015
    Location
    Orlando
    Posts
    291
    Thanks Russ. Apparently I shouldn't trust my brain on Friday evenings I edited my posts above to reflect the correct programming that will actually work

Similar Threads

  1. AWC program
    By Surfside74 in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 1
    Last Post: 10-18-2018, 12:41
  2. AWC program
    By Surfside74 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 1
    Last Post: 10-17-2018, 14:54
  3. ~!~!~ Need help with AWC program ~!~!~
    By clownsrcoo in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 9
    Last Post: 04-28-2017, 03:42
  4. AWC Program
    By chunk78 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 4
    Last Post: 04-09-2015, 10:45
  5. Review My Program AWC Program
    By RedReefer in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 2
    Last Post: 01-19-2014, 11:57

Tags for this Thread

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
  •