Programming Help

fio1022

New member
This is what I'm trying to do.
When outlet WetSkim is ON,I want PSkimmer to turn off for 90 min. unless outlet 'SumpHi_3' is ON in which I want 'WetSkim' to turn OFF and reset to OFF.
I need 'WetSkim' to reset off when SumpHi_3 returns to off state.
PushButton2 is a momentary switch.

WetSkim
Set OFF
If Outlet PushButton2 = ON Then ON
Min Time 090:00 Then ON
If Outlet SumpHi_3 = on then off

PSkimmer
Fallback OFF
Set OFF
If Outlet SumpHi_3 = ON Then OFF
If Outlet MNPUMP = OFF Then OFF
If Outlet WetSkim = On then OFF
If FeedD 000 Then OFF

I hope this is not too confusing
 
It is a bit confusing, so I'll just make a few observations.

Min Time 90:00 Then ON will prevent SumpHi_3 = ON from resetting WetSkim to OFF until the full 90 minutes have elapsed. That is what it does, it holds an outlet in the specified state for at least the indicated duration.

Min Time and Defer commands are evaluated last, regardless of where they appear in the code.

If Pushbutton2 is only used in this one location, you can eliminate a virtual outlet by moving the code into WetSkim.

Pskimmer does not have any condition that turns it ON.

Todd
 
This was the first command and somehow was eliminated when I copied and pasted.This command turns skimmer on.
If Outlet SumpHi_3 = OFF Then ON.
Still looking for someway to have 'Wetskim' turn on for 90min but turn off w/ SumpHi_3 and reset off.
 
Can you elaborate on what you are trying to do? What purpose does WetSkim serve? The only tricky part is overriding the timing function, is that absolutely necessary? I am confused by SumpHi_3, you are wanting it to reset WetSkim, but it also keeps PSkimmer OFF.

Todd
 
It sounds complicated and harder to explain.
I created 'wetskim'(activated by pushbutton) to turn off skimmer(and stay off for 90min) if it is over reacting due to coral feedings,additives,etc.Not a everyday condition.
I have a normally scheduled an automatic water change that turns on a pump to deliver new saltwater.When water level rises,it closes float(SumpHi) and turns off pump and skimmer.
At same scheduled time,I have an aqualifter pump that turns on,slowly lowers water level and turns off at float(SumpMid).When aqualifter turns off,sump is at normal level
During a normal water change skimmer turns back on when SumpHi is OFF.Problem is if 'WetSkim' is on,skimmer is latched off.
WetSkim times out,returns to ON,lowering sump level,(SumpLo)starting ATO.

Everything works except turning off "wetSkim',which is only a problem if it occurs during auto water change.

So what I'm trying to do is unlatch Wetskim once activated.
Sorry for being long winded.
Going nuts over this!!!
 
How do you start the aqualifter oultet? If it is not time based, you could disable the aqualifter outlet until WetSkim timed out.

[Aqualifter]
set off
if sump is high then on
if new saltwater is on then off
if wetskim is on then off


Todd
 
It is time activated,but with a few changes your plan should work.
Thank you,
I wish I could see outside the box when I get stumped....
 
Back
Top