Results 1 to 7 of 7

Thread: Using Virtual Outlets to Create a water change profile

  1. #1
    Regular Vistor
    Join Date
    Mar 2018
    Location
    Upstate NY
    Posts
    20

    Using Virtual Outlets to Create a water change profile

    I need help programming my Automatic water changing system. I currently have it set up and it is working off outlets and timers. My current system works well except I can not trigger the system to do random water changes outside of the scheduled time. I can only do water changes at the pre-programmed times.

    Is there a way to set up a program for a feed cycle or a virtual outlet that will:
    1: run daily water changes at a set time,
    2: run a single water change when triggered then return to set time schedule.

    The water change system currently has the ATO top off the sump, then wait a minute for the water to mix, then a pump drains to a low level float switch, then a pump fills the sump to the operating ATO level switch. All this is done based time and not by the action and it takes about 15 minutes to complete. I would like to do something like if AWC runs at 13:00 then turns off then initiate the drain pump; If drain pump runs then off; then initiate the fill pump. Im wondering if this could be done with virtual outlets and then create another virtual outlet that runs the schedule or can be triggered by an event (feed cycle)

  2. #2
    Regular Vistor
    Join Date
    Mar 2018
    Location
    Upstate NY
    Posts
    20
    Ok let me know your thoughts on this. Can this be streamlined. It feels clunky and I'm not sure I have everything covered.

    AWCEvent (Virtual)
    Fallback off
    Set off
    If time 00:00 then on
    If Feed C on then on
    Defer 005:59 then off

    AWCATOEvent (Virtual)
    Fallback off
    Set off
    If AWCEvent on then on
    If Output AWCEvent on > 002:00 then off

    AWCDrainEvent (Virtual)
    Fallback off
    Set off
    If Output AWCEvent On then On
    Defer 002:00 then on
    If Output AWCEvent on > 004:00 then off

    AWCFillEvent (Virtual)
    Fallback off
    Set off
    If Output AWCEvent On then On
    Defer 004:00 then on
    If Output AWCEvent on > 006:00 then off

    ATOOutlet (Outlet)
    Fallback off
    Set off
    If Output AWCATOEvent on then on
    If time 00:00 then on
    If time 06:00 then on
    If time 12:00 then on
    If time 18:00 then on
    If sw1 open then off
    Defer 000:05 then off

    AWCDrain (Outlet)
    Fallback off
    Set off
    If output AWCDrainEvent on then on
    If Sw3 open then off

    AWCFill (Outlet)
    Fallback off
    Set off
    If output AWCFillEvent on then on
    If Sw1 Open then off

  3. #3
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    That is not valid syntax at all. Please post the sequence you want so we don't have to dig through your attempt to try and figure it out.

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

  4. #4
    Regular Vistor
    Join Date
    Mar 2018
    Location
    Upstate NY
    Posts
    20
    I am looking to have an event that is triggered at a set time each day and/or if i manually trigger the event via a feed mode.

    When the event (AWCEvent) is triggered then i want the ATO to fill the sump to Sw1=open then turn off. Then I want AWCDrain to turn on until SW3 = open and then turn off. Then i want AWCFill to turn on until Sw1 = open then turn off. Then I want the ATO to resume regular ato function.

  5. #5
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    You need to run the sequence manually first and time how long each event takes as well before a complete code can be developed.

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

  6. #6
    Regular Vistor
    Join Date
    Mar 2018
    Location
    Upstate NY
    Posts
    20
    Each sequence takes approximately 1 minute but i figure 2 minutes to be safe in case a pump starts running slow.

    2 minutes for ATO
    2 minutes for Drain
    2 minutes to refill.

  7. #7
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    AWCEvent (Virtual)
    Fallback off
    Set off
    If time 00:00 to 00:05 then on
    If FeedC 000 then on

    AWCATOEvent (Virtual)
    Fallback off
    Set off
    If output AWCEvent = on then on
    Defer 002:00 Then ON

    AWCDrainEvent (Virtual)
    Fallback off
    Set off
    If Output AWCEvent = On then On
    Defer 004:00 then on

    AWCFillEvent (Virtual)
    Fallback off
    Set off
    If Output AWCEvent = On then On
    Defer 006:00 then on

    ATOOutlet (Outlet)
    Fallback off
    Set off
    If Output AWCEvent = ON Then ON
    If Output AWCATOEvent on then OFF
    (Fix these with proper syntax. They need an end time)
    If time 00:00 then on
    If time 06:00 then on
    If time 12:00 then on
    If time 18:00 then on
    If sw1 open then off
    Defer 000:05 then off


    AWCDrain (Outlet)
    Fallback off
    Set off
    If Output AWCEvent = ON Then ON
    If Output AWCATOEvent OFF then OFF
    If output AWCDrainEvent ON then OFF
    If Sw3 open then off

    AWCFill (Outlet)
    Fallback off
    Set off
    If Output AWCEvent = ON Then ON
    If output AWCDrainEvent OFF then OFF
    If output AWCFillEvent ON then OFF
    If Sw1 Open then off



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

Similar Threads

  1. Help! DOS for auto water change, ATK adding water while water Change takes place
    By Tundra in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 6
    Last Post: 09-14-2020, 10:54
  2. Question: How do I quickly turn off selected outlets when I do a water change?
    By MtnRunner in forum Misc Apex Usage & Programming
    Replies: 23
    Last Post: 04-21-2020, 05:43
  3. Review My Program Virtual Outlet for Manual Water Change
    By civlant98 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 1
    Last Post: 08-31-2019, 13:47
  4. Question: virtual output water change coding
    By savagereef in forum Misc Apex Usage & Programming
    Replies: 1
    Last Post: 06-15-2019, 16:27
  5. Triggering water change, but want to run profile only at night
    By TylerRobertson in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 2
    Last Post: 02-09-2019, 12:41

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
  •