original kuhli
01/06/2008, 11:51 PM
I'm trying to setup an autofill sequence for a setup that will have:
-undertank plumbing (no sump)
-drain solenoid
-fill solenoid
My objective is to have a fill(FIL) sequence only run within a time window, this window will follow a timed drain(DRN) and not allow the tank to fill while draining (just a waste of water). The goal is to not have the tank capable of filling outside of the 20 or 30 minute interval following the completion of a drain.
I'm attempting this with the logic below, but the float switch that controls the fill doesn't respect the timer I've applied to the FIL cycle, it is capable of running any time of day including during DRN.
I've tried it both ways:
If Time > 20:30 Then DRN ON
If Time > 20:33 Then DRN OFF
If Time > 20:30 Then FIL OFF
If Time > 20:33 Then FIL ON
If Switch OPEN Then FIL OFF
If Switch CLOSED Then FIL ON
and
If Time > 20:55 Then DRN ON
If Time > 20:58 Then DRN OFF
If Switch OPEN Then FIL OFF
If Switch CLOSED Then FIL ON
If Time > 20:58 Then FIL ON
If Time > 20:55 Then FIL OFF
Is it possible to have a timer or other function override a 'switch' or do switches always override timers/other logic functions?
-undertank plumbing (no sump)
-drain solenoid
-fill solenoid
My objective is to have a fill(FIL) sequence only run within a time window, this window will follow a timed drain(DRN) and not allow the tank to fill while draining (just a waste of water). The goal is to not have the tank capable of filling outside of the 20 or 30 minute interval following the completion of a drain.
I'm attempting this with the logic below, but the float switch that controls the fill doesn't respect the timer I've applied to the FIL cycle, it is capable of running any time of day including during DRN.
I've tried it both ways:
If Time > 20:30 Then DRN ON
If Time > 20:33 Then DRN OFF
If Time > 20:30 Then FIL OFF
If Time > 20:33 Then FIL ON
If Switch OPEN Then FIL OFF
If Switch CLOSED Then FIL ON
and
If Time > 20:55 Then DRN ON
If Time > 20:58 Then DRN OFF
If Switch OPEN Then FIL OFF
If Switch CLOSED Then FIL ON
If Time > 20:58 Then FIL ON
If Time > 20:55 Then FIL OFF
Is it possible to have a timer or other function override a 'switch' or do switches always override timers/other logic functions?