I have 2 virtual outlets: waterchange1 and waterchange2
I have 2 solenoids for removing water, T'ed off my gfo reactor, they keep the water in unless im doing a water change: waste1 and waste2
i have my fresh salt water in pump: saltpump
and my ato: ATOPUMP
Then my 2 optical sensors from my apex ATO: Optic1 and Optic2
If i want to modify amount of water changed i just change the time in waterchange1. Im going to start this tomorrow and wanted to get a second or third opinion and make sure im not missing anything. Thanks for the help!!
here is my code:
Waste1 and waste2 same code (opens solenoids to let tank water drain):
Set OFF
Fallback OFF
If Output waterchange = ON Then ON
Salt pump (fresh saltwater in, it pumps in a tad faster than it pumps out, hence the defer):
Set OFF
Fallback OFF
If optic1 CLOSED Then OFF
If optic2 CLOSED Then OFF
If Output waterchange2 = ON Then ON
Defer 001:00 Then ON
waterchange1 (12 min is about 1-1.2 gal):
Set OFF
Fallback OFF
If Time 17:20 to 17:32 Then ON
If Time 17:33 to 17:19 Then OFF
waterchange2 (defer to make sure enough salt water goes back in)
Set OFF
Fallback OFF
If Output waterchange = ON Then ON
Defer 003:00 Then OFF
ATOPUMP (off if waterchange1 or 2 is on, so i dont pump fresh water in while changing the salt water):
Fallback OFF
Set OFF
If optic1 OPEN Then ON
If optic2 CLOSED Then OFF
If WTRCSW CLOSED Then OFF
If ATOSW CLOSED Then OFF
If Output waterchange = ON Then OFF
If Outlet waterchange2 = ON Then OFF
When On > 001:00 Then OFF
Defer 000:15 Then ON
Defer 000:05 Then OFF
Min Time 030:00 Then OFF
Bookmarks