I would like to write a program to control 3 separate outlets to perform a water change. I would like one outlet (Drain) to come on Saturday for 30 minutes. While that is on, I want to make sure the (Pump) outlet is off. However, I need it to stay off for 90 minutes. Finally, I would like the third outlet (Refill) to come on as soon as the (Drain) outlet turns off again and stay on for only 120 minutes before shutting off. Here is what I have written so far and want to know if this is close to what is needed to do what I am describing? The drain outlet will open a drain valve. The return outlet will close a valve to shut off RO water supply and open a valve coming from my pre-mixed storage tank and also activate a pump in the pre-mix tank. I do that exact same procedure with manual valves and a switch to turn on/off the pre-mix pump. I just want to automate it.
“Drain_x1” Outlet
Fallback OFF
Set OFF
If DoW SMTWTF- Then ON
Defer 030:00 Then OFF
Return “Pump_x1” Outlet
Fallback ON
Set ON
If Outlet Drain_x1 = ON Then OFF
Min Time 090:00 Then ON
“Refill_x1” Outlet
Fallback OFF
Set OFF
If DoW SMTWTF- Then OFF
If Outlet Drain_x1 = ON Then OFF
Defer 120:00 Then OFF
Bookmarks