I have 4 leak detectors plugged into ald. If any of those switches closed I would like for it to turn off SV-1 which is plugged into fmm. Could someone please help with programming. Thank you in advance,
I have 4 leak detectors plugged into ald. If any of those switches closed I would like for it to turn off SV-1 which is plugged into fmm. Could someone please help with programming. Thank you in advance,
With this solenoid, ON is open, OFF is closed (normally-closed). So program this into your solenoid tile and set to auto. When any of your leak detector switches gets wet, it will then immediately close the solenoid (assuming this is what you want to do, the most likely scenario).
Fallback [OFF or ON, depending on specific use]
Set ON
If LeakDetect1 CLOSED Then OFF
If LeakDetect2 CLOSED Then OFF
If LeakDetect3 CLOSED Then OFF
If LeakDetect4 CLOSED Then OFF
However, using it this way, it sounds like you'll be energizing the solenoid magnet most of the time, only de-energizing it (and closing the valve) now and then. I'm not sure the SV-1 solenoid is designed to be 'on' and open most of the time. I'd be concerned about premature burnout of the device; perhaps someone else who's used the solenoid in this fashion can comment on whether it's safe/reasonable to do so.
There are more subtle things you can think about here as well. What if you're away, there's a leak, the sensor gets wet, and shuts off the solenoid as desired. Great, no more leak. But what if you can't get to it right away and the sensor dries out? If the sensor dries out and OPENs, the solenoid will turn back on, water will flow and the leak will recur. To avoid this scenario, you can set up a reset switch that you have to manually turn ON in order to reset any recently triggered leak switches. Here's how you do that.
Create a virtual output called 'LeakDetected':
If LeakDetect1 CLOSED Then ON
If LeakDetect2 CLOSED Then ON
If LeakDetect3 CLOSED Then ON
If LeakDetect4 CLOSED Then ON
If Output LeakAlmReset = ON Then OFF
Then replace the 4 individual leak switch statements in your solenoid programming with:
If Output LeakDetected = ON Then OFF
Then create another virtual output called 'LeakAlmReset'. The only program statement it needs is 'Set OFF'. Also set it's tile to OFF, not AUTO.
Now, whenever any of your leak detectors is triggered, the solenoid will close, and will stay closed until you manually reset the detectors by briefly switching 'LeakAlmReset' to ON (and then back off).
Oh, forgot to mention: For the most part, you can program associations between switches and devices plugged into different modules. Just use the appropriate names and tiles.
Last edited by rkpetersen; 09-18-2017 at 09:25. Reason: another thought
Bookmarks