Auto Water change

marcin11379

New member
Maybe is a simple think but not for all of use.I can't set up simple water change.Here is so many nice programs and ideas. Maybe you can help me.
I got:
- 2 water sensors
-1 Solenoid Valve for top off
- 2 water pump one for water to drain, second pump fresh mix water to sump
-1 pump for mix fresh water
- Water barrel 25 gal.with fresh mix

Sump;
top sensor will turn on/off top off water and turn off fresh mix water from barrel
bottom sensor will turn Off water pump to drain and turn on fresh mix
Water pump to drain will be turn on by Time at 22:00 ONLY MTWTF for 2min. and Saturday and Sunday OFF
When water will by pumped out from barrel turn off heater and pump in barrel.

I think Top sensor have to have Min. time or Defer when water change starts, same think bottom one before fresh mix start pump.

My connection in EB8:
1- Solenoid Valve ATO
2- Fresh Mix ( barrel)
3- Water to drain from sump

I hope I explained what I mean.
 
Old Salt Water Out
Fallback OFF
If DoW -M-W-F- Then ON
If Time 21:03 to 21:00 Then OFF
If Switch1 OPEN Then OFF


New Salt Water In
Fallback OFF
If DoW -M-W-F- Then ON
If Time 21:12 to 21:03 Then OFF
If Switch2 CLOSED Then OFF

i change water on monday wednesday and friday
If you have an ato make sure to tell the ato to not run when one of these two outlets are on like
Fallback OFF
Set OFF
If Outlet OldSWout_4 = ON Then OFF
If Outlet NewSWin_8 = ON Then OFF

this only adresses a few of your questions but it's a start
 
Thank you COMTEK for help. I try your setup and is not working.I don't know why.
This is my setup.
Fresh water is a mess. Is not working.I got so manny version of this and every where is something wrong.

Water_Drain
Fallback OFF
Set OFF
If Time 21:57 to 21:59 Then ON
If DoW S-----S Then off
If Switch2 CLOSED Then OFF


Fresh_Water

Fallback OFF
Set OFF
If Time 22:00 to 22:02 Then ON
If DoW S-----S Then OFF
If Switch1 OPEN Then OFF
Defer 000:06 Then OFF


ATO
Fallback OFF
Set OFF
If Switch1 CLOSED Then ON
If Switch1 OPEN Then OFF
If Outlet FRESH_WATER = ON Then OFF
If Outlet WATER_DRAIN = ON Then OFF
Defer 000:05 Then OFF
 
this is my other option all with errors

FRESH_WATER - (3_2)

Fallback OFF
Set OFF
If Switch2 CLOSED Then ON
If Switch1 OPEN Then OFF

Fallback OFF
Set OFF
If Switch2 CLOSED Then ON
If Switch1 CLOSED Then OFF

Fallback OFF
Set OFF
If Switch2 CLOSED Then Off
If Switch1 CLOSED Then On

Fallback OFF
Set OFF
If Switch1 Open Then Off
If Switch2 CLOSED Then On



Fallback OFF
Set OFF
If Time 22:53 to 22:25 Then ON
If DoW S-----S Then OFF
If Switch1 OPEN Then OFF
Defer 000:06 Then OFF
 
Last edited:
Water_Drain
Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 21:59 to 21:57 Then Off
If Switch2 CLOSED Then OFF


Fresh_Water

Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 22:02 to 22:00 Then Off
If Switch1 OPEN Then OFF
Defer 000:06 Then OFF


ATO
Fallback OFF
Set OFF
If Switch1 CLOSED Then ON
If Switch1 OPEN Then OFF
If Outlet FRESH_WATER = ON Then OFF
If Outlet WATER_DRAIN = ON Then OFF
Defer 000:05 Then OFF


try that let me know all i did was fix a few errors in it.
 
Water_Drain
Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 21:59 to 21:57 Then Off
If Switch2 CLOSED Then OFF <------ You can try removing this statement while testing to make sure things work as expected based on time


Fresh_Water

Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 22:02 to 22:00 Then Off
If Switch1 OPEN Then OFF <------ You can try removing this statement while testing to make sure things work as expected based on time
Defer 000:06 Then OFF <--------- If I read this right and understand Apex programming are you telling it to turn off after running for 6 seconds? Do you want Six Minutes? 006:00


ATO
Fallback OFF
Set OFF
If Switch1 CLOSED Then ON
If Switch1 OPEN Then OFF
If Outlet FRESH_WATER = ON Then OFF
If Outlet WATER_DRAIN = ON Then OFF
Defer 000:05 Then OFF <--------- If I read this right and understand Apex programming are you telling it to turn off after running for 5 seconds? Do you want Five Minutes? 005:00
 
Last edited:
If I understand Apex programming, a "Defer" statement delays the command for the stated defered time. It would have no affect as to how long it runs. That would be set by the "If time" statements.
 
If I understand Apex programming, a "Defer" statement delays the command for the stated defered time. It would have no affect as to how long it runs. That would be set by the "If time" statements.

That is corrent, commonly used for ATO so you are not on off on off over and over.

Defer 5 minutes from the state that is causing the command.

If float open defer 5 minutes and then do action.
 
Thank you again for your help. This is what happened today at the water change.


Water_Drain
Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 21:59 to 21:57 Then Off physically the pump turns in at 21:58 and off 21:59, does not pump out the entire water
If Switch2 CLOSED Then OFF


Fresh_Water

Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 22:02 to 22:00 Then Off pump was on at 22:01
If Switch1 OPEN Then OFF
Defer 000:06 Then OFF


ATO
Fallback OFF
Set OFF
If Switch1 CLOSED Then ON
If Switch1 OPEN Then OFF
If Outlet FRESH_WATER = ON Then OFF
If Outlet WATER_DRAIN = ON Then OFF
Defer 000:05 Then OFF
 
Thank you again for your help. This is what happened today at the water change.


Water_Drain
Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 21:59 to 21:57 Then Off physically the pump turns in at 21:58 and off 21:59, does not pump out the entire water
If Switch2 CLOSED Then OFF


Fresh_Water

Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 22:02 to 22:00 Then Off pump was on at 22:01
If Switch1 OPEN Then OFF
Defer 000:06 Then OFF


ATO
Fallback OFF
Set OFF
If Switch1 CLOSED Then ON
If Switch1 OPEN Then OFF
If Outlet FRESH_WATER = ON Then OFF
If Outlet WATER_DRAIN = ON Then OFF
Defer 000:05 Then OFF
 
Erik
Defer I setup for 000:06 and 000:05 sec. not minute.ATO is connect to solenoid valve and when switch "dancing" or water level drops because Protein skimmer needs more water then valve start kicking for 2-4 sec. then off after 1-2 min is on for 2-4 sec. So I was thinking if I ad defer Fresh Water or ATO will eliminate this.
 
WATER_DRAIN
with this setup I got On delay 1min. Pump turns ON at 22:29 and OFF 22:30( not enough water pump out)

Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 22:30 to 22:28 Then OFF

FRESH_WATER

Pump turns ON 22:31 ( 1min. to late and OFF 22:32- too much water pump in to sump)

Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 22:32 to 22:30 Then OFF
Defer 000:06 Then OFF


ATO

Fallback OFF
Set OFF
If Switch1 CLOSED Then ON
If Switch1 OPEN Then OFF
If Outlet FRESH_WATER = ON Then OFF
If Outlet WATER_DRAIN = ON Then OFF when this outlet close ATO was auto ON
Defer 000:05 Then OFF
 
to work based on time is really not the best way. you should set up two float switches.
one at the top and one at the bottom.
you allready have one float switch for your ato just add another lower into the tank and you can pump the same amount out and in based on the float switches

WATER_DRAIN
Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 22:30 to 22:27 Then OFF
If switch2 closed then OFF

this will give you two minutes on if you need longer just change 22:27 to 22:26 or 22:25
the switch2 will turn the water off when it hits the bottom switch

FRESH_WATER
Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 22:32 to 22:30 Then OFF
If switch1 Open then OFF

the if switch will turn the water off when if gets the height of the switch1 which is where it should have been when the water out pump came on.


ATO
Fallback OFF
Set OFF
If Switch1 CLOSED Then ON
If Switch1 OPEN Then OFF
Defer 010:00 Then ON

the defer staement will keep the ato from comming on for 10 minutes which should be enough time for the water change to finish
let me know how it works this time
 
Last edited:
to work based on time is really not the best way. you should set up two float switches.
one at the top and one at the bottom.
you allready have one float switch for your ato just add another lower into the tank and you can pump the same amount out and in based on the float switches

Agreed, HOWEVER - the switch that is submerged can end up getting a scale build-up that can cause it not to function properly with time. I would recommend routine maintanance on the float and also setting the If Time statements for the drain and fill conditions so that they are only a minute or two longer than what is required to allow the float switches to complete the job when working correctly.
 
Thank You Comtek for help.
Everything is perfect, only one think. Delay with two pumps , only with ON one minute. I can live with that. Next subject is Ca reactor.
I got C-1502 Calcium Reactor with Lid w/ pH Probe Port , Regulator for CO2 Tank , one more Ph probe in samp and free outlets in Apex Base Unit. do you have any idea how this can be setup?

to work based on time is really not the best way. you should set up two float switches.
one at the top and one at the bottom.
you allready have one float switch for your ato just add another lower into the tank and you can pump the same amount out and in based on the float switches

WATER_DRAIN
Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 22:30 to 22:27 Then OFF
If switch2 closed then OFF

this will give you two minutes on if you need longer just change 22:27 to 22:26 or 22:25
the switch2 will turn the water off when it hits the bottom switch

FRESH_WATER
Fallback OFF
Set OFF
If DoW -MTWTF- Then ON
If Time 22:32 to 22:30 Then OFF
If switch1 Open then OFF

the if switch will turn the water off when if gets the height of the switch1 which is where it should have been when the water out pump came on.


ATO
Fallback OFF
Set OFF
If Switch1 CLOSED Then ON
If Switch1 OPEN Then OFF
Defer 010:00 Then ON

the defer staement will keep the ato from comming on for 10 minutes which should be enough time for the water change to finish
let me know how it works this time
 
Back
Top