Results 1 to 2 of 2

Thread: Another ATO Program Question

  1. #1
    New User
    Join Date
    Apr 2017
    Location
    US, Central Time
    Posts
    1

    Another ATO Program Question

    I have the output of my RODI split and going to two solenoid valves. The valves are controlled by the two 24 volt ports on the Energy Bar. One solenoid valve (SV_ATO) controls water to my 5 gallon ATO reservoir and the other valve (SV_RO) sends water to my 30 gallon salt mixing tank.
    I would like to program SV_RO not to turn ON if SV_ATO is ON. And I think I got that code figured out.

    (SV_RO)
    1 Fallback OFF
    2 If OUTPUT SV_ATO = ON Then OFF
    3 If RO_PB5 CLOSED Then ON (this is a momentary push button switch)
    4 If RO_FL6 OPEN Then OFF (this is a float switch)

    The push button turns on the solenoid and starts filling the mixing tank with RODI water. When the tanks is full the float switch turns off the solenoid.
    What I would like is to push the button (RO_PB5) and have RODI water go to my 30 gallon mixing tank unless SV_ATO is already ON, then I want it to wait for the 5 gallon ATO reservoir to finish filling and then start filling the mixing tank. This all kicks off with just one push of the button switch RO_PB5.
    How do I make the program keep looping and checking the status of SV_ATO?
    Do I need some kind of DEFER statement?
    Do I need the code If OUTPUT SV_ATO = OFF Then ON?
    Can this be done with a momentary contact switch or would a regular toggle switch be better?
    The solenoid SV_RO must turn off and the program end when the float switch is tripped and I didn't know how else to make that work without using a momentary contact push button switch. Thanks.

  2. #2
    Frequent Visitor
    Join Date
    Mar 2017
    Location
    Wellington, NZ
    Posts
    114
    I suspect that you would need to have a Virtual Outlet to do what you need. I have a similar function where I have my RODI filling my ATO Res and I have a PMUP in the ATO Res to fill my salt mix barrel with a switch like you have and a optical sensor to turn off. Here is my code:

    I have a Virtual Outlet that runs the Salt Fill program:

    If SLTFIL CLOSED Then ON (Switch)
    If SLTFUL CLOSED Then OFF (Optical sensor)
    Defer 000:02 Then ON (ensure no false switch bounces)
    Defer 000:02 Then OFF (ensure no false switch bounces)

    Then in the PMUP outlet I have the following:

    Set OFF
    If Output SaltFill = ON Then ON (the VO above)
    If Output ROEmpty = ON Then OFF (This is a sensor in my ATO Res that stops the pump when the res is empty to not run the PUMP dry.)

    You should be able to replace the last line with If OUTPUT SV_ATO = ON Then OFF and that means that SV_RO will be off if SV_ATO is on. So once SV_ATO is OFF, then SV_RO will resume.

    I would say a momentary switch would be ideal (then you can't forget to turn it off)

Similar Threads

  1. Question: ATO program question
    By Awais98 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 3
    Last Post: 12-05-2020, 10:04
  2. Help! New ato program for Avast Marine Works ato
    By michaelklayland in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 5
    Last Post: 07-13-2015, 15:24
  3. Question: ATO Question
    By tink399 in forum Misc Apex Usage & Programming
    Replies: 9
    Last Post: 04-08-2015, 05:28
  4. Review My Program question with program for ATO
    By Jeff_a in forum Misc Apex Usage & Programming
    Replies: 2
    Last Post: 07-28-2014, 06:26
  5. Newbie question on Feed Program - Turning on a Feed Program with a timer
    By mondrh in forum Misc Apex Usage & Programming
    Replies: 1
    Last Post: 06-30-2014, 12:25

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
  •