Page 1 of 2 12 LastLast
Results 1 to 25 of 29

Thread: I need help with a program

  1. #1
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131

    I need help with a program

    I need to defer a dosing pump so it will turn on once an other pump turns off and only run for a minute.

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Post the code for your other pump.

  3. #3
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    I need to have a pump set up so it will be deferred to both of theses pumps.. once these pumps go off I need the other to turn on for 1 min.
    pump 1
    Fallback OFF
    OSC 000:00/000:12/059:48 Then ON
    If Time 14:00 to 12:59 Then OFF

    pump2
    Fallback OFF
    OSC 000:00/006:00/054:00 Then ON
    If Time 21:00 to 19:59 Then OFF

  4. #4
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    You will need to make a VO to get the behavior you want. Since pump 2 is on for longer, I am only relating it to that to avoid using a second virtual outlet.

    PumpStop (virtual outlet)
    Set OFF
    If Outlet Pump2 = OFF Then ON
    Defer 001:00 Then ON

    Pump3
    Fallback OFF
    Set OFF
    If Outlet pump2 = OFF Then ON
    If Outlet PumpStop = ON Then OFF

  5. #5
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,488
    This is confusing. Are you asking about a third pump, which needs to run after each of these two?
    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.

  6. #6
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    I need to make one vo.

  7. #7
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    Yes. I made an auto feeder and I have 2 foods I dose and the 3rd pump will be used to clear the lines. So the 3rd pump will have to run after each of the other pumps

  8. #8
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Then yes, make one VO as shown in post 4

  9. #9
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    Quote Originally Posted by RussM View Post
    This is confusing. Are you asking about a third pump, which needs to run after each of these two?
    Is there a better way of setting it up.

  10. #10
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    Just looking for the best and easiest way

  11. #11
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by jelly View Post
    Is there a better way of setting it up.
    Not really. You could use an OSC statement offset by 6 minutes, similar to pump 2, but it will require you to change code in two places if you ever change the feeding durations.

  12. #12
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    OK Thanks I'll make a vo

  13. #13
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    If I can figure out how to

  14. #14
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    I just looked at it a bit closer, and you actually will need two VOs since they each turn on at different times.

    PumpsOFF (virtual outlet that turns on when both pumps are off)
    Set OFF
    If Outlet pump1 = OFF Then ON
    If Outlet pump2 = ON Then OFF

    PumpStop (virtual outlet)
    Set OFF
    If Outlet PumpsOFF = ON Then ON
    Defer 001:00 Then ON

    Pump3
    Fallback OFF
    Set OFF
    If Outlet PumpsOFF = ON Then ON
    If Outlet PumpStop = ON Then OFF

  15. #15
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    Thanks

  16. #16
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176

  17. #17
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    Now that defer will only make the pump run one minute

  18. #18
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Yep, and if you ever need to make it flush longer or shorter, just adjust the defer length in the PumpStop VO.

  19. #19
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    Thank you.

  20. #20
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    Can you check that again pleae. If pump 1 off then on
    If pump 2 on the. Off. Is that right

  21. #21
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    Still confused but trying to understand this

  22. #22
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Thats right. AND (or in this case NOR) logic is a little odd to wrap your head around. Basically what is happening is that if pump1 turns off it allows the VO to turn on, but only if pump 2 is also off. If pump 1 turns on, neither condition is true, so it stays off. The end result is that the VO turns on when both pump 1 AND pump 2 are OFF.

  23. #23
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    And only runs for 1 minutes then off again

  24. #24
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    The middle one if outlet pumps off. Shouldn't be write like that or should I add the names of the pumps into it

  25. #25
    Frequent Visitor
    Join Date
    May 2013
    Location
    wisconsin
    Posts
    131
    Pumps real names are mysis , pods

Page 1 of 2 12 LastLast

Similar Threads

  1. Help! Program help, chiller program
    By Spud Williams in forum Apex Programming for Heaters and Chillers
    Replies: 13
    Last Post: 11-05-2018, 16:24
  2. 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
  3. 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

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
  •