Results 1 to 7 of 7

Thread: program simple water change with seconds and ATO defer

  1. #1
    New User
    Join Date
    Jan 2018
    Location
    Murrieta California
    Posts
    3

    Unhappy program simple water change with seconds and ATO defer

    Please help. I am Brand new to Apex. I have been reading and reading but can't seem to get this one.
    I set up a water change with 2 pumps. I would like to run my old water for 1 minute and 30 seconds then my new water for 1 minute and 30 seconds per day at 6:00PM. I would like to defer my ATO while this is happening.
    My old water pump is "H2OCHANGEOLD".
    My new water pump is "H2OCHANGENEW".
    My APEX ATO is on FFM2 switch swx4_1 and swx4_2.

    Feel stupid, thank you anyone that can help with this.

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Doing exactly as you requested is a bad idea. There are too many failure modes that can mess with your salinity.

    To simplify the code significantly I also am setting this up to do twice a day at 6am and 6pm so OSC can be used. What you should do is this procedure

    1. Verify that water level is between the normal and emergency sensor. Block that change if it isn't.

    2. Drain for 30 seconds

    3. Fill in a 1 minute window like ATO.

    BlockAWC
    OSC 359:50/000:10/360:00 Then ON
    If LowSw OPEN Then OFF
    If HighSw CLOSED Then OFF
    Min Time 001:40 Then ON

    Drain
    OSC 360:00/000:30/359:30 Then ON
    If Outlet BlockAWC = ON Then OFF

    Fill
    OSC 360:30/001:00/358:30 Then ON
    If LowSw CLOSED Then OFF
    If HighSw CLOSED Then OFF

    ATO
    Existing code
    If Outlet Drain = ON Then OFF
    If Outlet Fill = ON Then OFF

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

  3. #3
    New User
    Join Date
    Jan 2018
    Location
    Murrieta California
    Posts
    3
    Wow, thank you very much zombie. I need to learn how this all works. The OSC seems complicated. Do I add to this another statement if I want to drain and fill for a total of 1 minute 30 seconds? say another for 30 more seconds. I have timed my pumps and figured to drain and fill 2 gal daily It takes 1 minute 30 seconds each.

  4. #4
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    OSC is pretty simple.

    OFF time/ON time/OFF time

    The first was used to create an offset starting the check 10 seconds before 6, draining at 6, and filling at 30 seconds after 6. The on times are self explanatory and the last off time was set such that the sum of the three was 12 hours so that it would repeat twice a day at 6am and 6pm. If you want a longer drain and fill just adjust the ON times for both and the offset time for just the fill (that should always be drain offset plus drain ON time) then adjust the last off so everything still adds up to 720 minutes.

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

  5. #5
    Frequent Visitor Todd's Avatar
    Join Date
    Jan 2013
    Location
    Huntsville, AL
    Posts
    583
    Just to be clear the OSC cycles: OFF1, ON, OFF2, OFF1, ON, OFF2...

    So you can see that OFF1 and OFF2 add together after starting. Also, OFF1 is offset from midnight.

  6. #6
    New User
    Join Date
    Jan 2018
    Location
    Murrieta California
    Posts
    3
    you guys are great, thanks. I'll learn this thing!

    - - - Updated - - -

    Fantastic. Thank you. I will get this. Im setting it up now

  7. #7
    Regular Vistor
    Join Date
    Feb 2016
    Location
    Upstate NY
    Posts
    30
    zombie is right with his first reply. Simply running the 2 pumps for the same periods of time is risky. Instead, drain old water for a set period of time (or until a certain volume is removed, if you can control/test for that), then fill using a float similar to an ATO setup.

    I've been doing it this way for some time and it works really well.

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. Help with simple ATO program
    By denlinn in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 37
    Last Post: 12-20-2016, 16:19
  3. Question: How should I program dos for a continuous water change/ATO combination?
    By joosemaster in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 6
    Last Post: 12-21-2015, 09:15
  4. Simple ATO Program
    By byee in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 20
    Last Post: 03-09-2015, 09:46
  5. Review My Program How to properly activate and program a water change a program through a button?
    By Briian Loughead in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 0
    Last Post: 03-18-2014, 20:49

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
  •