Results 1 to 22 of 22

Thread: Selenoid auto shut off

  1. #1
    Frequent Visitor
    Join Date
    Jan 2018
    Location
    california
    Posts
    138

    Selenoid auto shut off

    Need help with coding. On my ro system I have a 1/4 flow sensor along with a selenoid valve.
    I would like for the selenoid valve to shut off if flow sensor detects water flow for to long.

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Assuming your RO Is actually high enough flow to trigger the 3 gph min of the flow sensor. And you want it to latch in.

    VOname
    Set OFF
    If Flow > X Then ON
    Defer XXX:XX Then ON
    When On > 000:01 Then ON
    Defer 000:02 Then OFF

    In solenoid add

    If Output VOname = ON Then OFF


    The VO will latch to Manual ON If the flow X is exceeded longer than the defer length.


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

  3. #3
    Frequent Visitor
    Join Date
    Jan 2018
    Location
    california
    Posts
    138
    im sorry i dont know what VOname is
    and all the "x's" is a time i would like to put?

  4. #4
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    VOname is whatever you name the virtual outlet. X in the defer is time, X in the flow is your desired minimum flow (3 is the lowest for that size meter).

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

  5. #5
    Frequent Visitor
    Join Date
    Jan 2018
    Location
    california
    Posts
    138
    i cant tell the valve to shut off after 4 hours if it detects a flow of 3 or over?

  6. #6
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    You can as long as your RO Is at least 3 gph. Like this

    VOname
    Set OFF
    If Flow > 2 Then ON
    Defer 240:00 Then ON
    When On > 000:01 Then ON
    Defer 000:02 Then OFF

    In solenoid add

    If Output VOname = ON Then OFF



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

  7. #7
    Frequent Visitor
    Join Date
    Jan 2018
    Location
    california
    Posts
    138
    might be a bad idea for me to have this coming off my main of the house and before the booster. i might fry the booster. i think the best spot will be after the pressure switch for the solenoid valve and the flow sensor before the pump. it reads 14 gph there

  8. #8
    Frequent Visitor
    Join Date
    Jan 2018
    Location
    california
    Posts
    138
    VOname
    Set OFF
    If Flow > 2 Then ON
    Defer 240:00 Then ON
    When On > 000:01 Then ON
    Defer 000:02 Then OFF

    this goes on the solenoid configuration correct?

    you say:
    in solenoid add
    if out put VOname= on then off

    dont understand where this goes

  9. #9
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    In your solenoids code. Wherever that is plugged in. And rename VOname to whatever will make sense to you later. I don't know what your current solenoid program is, but you would just add that to the end.

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

  10. #10
    Frequent Visitor
    Join Date
    Jan 2018
    Location
    california
    Posts
    138
    just got done also talking with brs. and found my set up to be flawed to my liking. i wanted a solenoid valve right at my main source of water in case my ro station gets a leak. shutting off water before the booster will not allow for the boosters pressure switch to trip and turn off the booster.
    i.e. the booster will run indefinetly until a possible melt down im guessing.
    for now i will just save the code maybe move the valve

  11. #11
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by jgarcia View Post
    just got done also talking with brs. and found my set up to be flawed to my liking. i wanted a solenoid valve right at my main source of water in case my ro station gets a leak. shutting off water before the booster will not allow for the boosters pressure switch to trip and turn off the booster.
    i.e. the booster will run indefinetly until a possible melt down im guessing.
    for now i will just save the code maybe move the valve
    You could always connect the booster to an energy bar and shut it off when the solenoid trips.

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

  12. #12
    Frequent Visitor
    Join Date
    Jan 2018
    Location
    california
    Posts
    138
    was thinking the same thing haha maybe a future expense
    having problem with the code.
    Set OFF
    If water > 0.2 Then on
    Defer 001:00 Then ON "testing"
    When On > 000:01 Then on
    Defer 000:02 Then OFF

    let it run for 5 min and it still stayed on

  13. #13
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by jgarcia View Post
    was thinking the same thing haha maybe a future expense
    having problem with the code.
    Set OFF
    If water > 0.2 Then on
    Defer 001:00 Then ON "testing"
    When On > 000:01 Then on
    Defer 000:02 Then OFF

    let it run for 5 min and it still stayed on
    Is that code in a virtual outlet seperate from the solenoid? If not it needs to be.

    What is your solenoid code?

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

  14. #14
    Frequent Visitor
    Join Date
    Jan 2018
    Location
    california
    Posts
    138
    i put this code in the solenoid configuration.
    sorry im still not sure with virtual outlet is..

    is there a thread that i can read and teach me all the lingo?

  15. #15
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    You add one like this

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

  16. #16
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Name it what you want, and the solenoid code should be

    Fallback OFF
    Set ON
    If Outlet VOname = ON Then OFF

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

  17. #17
    Frequent Visitor
    Join Date
    Jan 2018
    Location
    california
    Posts
    138
    thanks zombie it all works. i will have much tougher coding questions coming.
    their isnt anything i can read to learn the lingo? so i can shorten the time to get a problem solved?

  18. #18
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by jgarcia View Post
    thanks zombie it all works. i will have much tougher coding questions coming.
    their isnt anything i can read to learn the lingo? so i can shorten the time to get a problem solved?
    The vast majority is names that come from the Neptune Documentation.

    https://www.neptunesystems.com/support/docs/

    It's a good idea to skim through the CRM and the manuals for any modules you own and you should have a very good grasp of everything. Some jargon just kinda evolves from this forum and other reef forums though especially abbreviations.

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

  19. #19
    Frequent Visitor
    Join Date
    Jan 2018
    Location
    california
    Posts
    138
    i keep hearing a single click sound from the solenoid valve maybe every hour. i think something is in the code causing this

    rovalveFallback OFF
    Set ON
    If Output VOname = ON Then OFF
    If leakRO CLOSED Then OFF

    vo_name
    Set OFF
    If water > 2.0 Then ON
    Defer 120:00 Then ON
    When On > 000:01 Then ON
    Defer 000:02 Then OFF

  20. #20
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Is your leak sensor picking?

    Also, you should probably rename VO_name. That gave me a good chuckle that you just left that placeholder name as the actual name

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

  21. #21
    Frequent Visitor
    Join Date
    Jan 2018
    Location
    california
    Posts
    138
    no its been doing this before i put it on
    haha ya i need to change it. that was back when i knew 0 of what im doing

  22. #22
    Frequent Visitor
    Join Date
    Jan 2018
    Location
    california
    Posts
    138
    so looking at the log "finally found"
    it only shows for today idk why tho its been on for a week
    so today
    on @21:30
    off @21:34
    on@ 21:43

Similar Threads

  1. Question: how to set up auto shut off on skimmer
    By cagg32 in forum Misc Apex Usage & Programming
    Replies: 18
    Last Post: 10-17-2021, 02:40
  2. Question: PMUP v2 auto shut off
    By sg88 in forum DC24 Ports and Peripherals
    Replies: 0
    Last Post: 11-21-2020, 15:28
  3. ATO Auto Shut off???
    By szl in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 4
    Last Post: 05-12-2017, 16:49
  4. Question: Auto shut off problem
    By mixalakis in forum Misc Apex Usage & Programming
    Replies: 3
    Last Post: 06-28-2015, 17:26
  5. Help! Auto Feeder, how to program auto feed/ pump shut off ?
    By Bambam507 in forum Misc Apex Usage & Programming
    Replies: 23
    Last Post: 02-09-2015, 16:46

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
  •