Fan coding

sasharotty

Moved on to my couch
I want to have two fans for my sump but not run them both at the same time. Is there a way where you can set a certain time whereas the 1st fan doesnt cool properly it will kick in the 2nd. The 1 does fine most of the time but my wife likes to crank up the furnace sometimes and the 1 fan cant handle it.Like if it doesnt satisfy in 15 min it will kick on the 2nd fan.
 
Use the Defer command.

[Fan1]
Set OFF
If Temp > 80.0 Then ON

[Fan2]
Set OFF
If Outlet Fan1 = ON Then ON
Defer 15:00 Then ON


Todd
 
Or you could,


[Fan1]
Set OFF
If Temp > 80.0 Then ON

[Fan2]
Set OFF
If Temp > 81.0 then ON

That way if fan 1 is not keeping up #2 kicks in.
 
Great! Thanks Todd, so that code times on when the 1st fan energizes then resets if 2nd fan not needed?
Fan1 will come on when the Temp rises above 80. If it stays on for 15 minutes or more, then Fan2 will turn on. Fan2 will then run until Fan1 shuts off, ie when the Temp drops to 80 or less. If the Temp rises again, then the process will repeat.

Todd
 
Use the Defer command.

[Fan1]
Set OFF
If Temp > 80.0 Then ON

[Fan2]
Set OFF
If Outlet Fan1 = ON Then ON
Defer 15:00 Then ON


Todd

Or you could,


[Fan1]
Set OFF
If Temp > 80.0 Then ON

[Fan2]
Set OFF
If Temp > 81.0 then ON

That way if fan 1 is not keeping up #2 kicks in.

I thought i didnt use the "set" statement with my fans? I have the 1st fan like this:
Fallback ON
If Temp > 81.0 then ON
If Temp < 80.5 then OFF
Is this right? Will it turn on at 81 and off at 80.5?
 
If you have both ON and OFF logic in your outlet program then you may not need the Set command (you may still desire the Set based on what you're trying to accomplish). If you only have one or the other, then you need the Set unless you're using a command like Oscillate which has an implied ON and OFF built in.
 
I used the Set logic just as a simple example. What you have will control the fans over a wider range, and is what I use on my tank.

Todd
 
I thought i didnt use the "set" statement with my fans? I have the 1st fan like this:
Fallback ON
If Temp > 81.0 then ON
If Temp < 80.5 then OFF
Is this right? Will it turn on at 81 and off at 80.5?

Why wont my fans turn on at 81 with this code?
 
With that code, they will. If they're not, then there's something else going on. That code is fine.

Are you sure the fan outlet is set to AUTO?
 
That was and is the code, temp got up to 81.4 then the fan finally kicked on. Another problem the temp came down to 80.7 and the fan kicked back off. I think I have a problem here.
 
If you have any electrical noise on the temp probe connection, the Apex will see the temp jumping up and down. Could be half a degree or up to 2 degrees if I recall correctly. You only see one value that got recorded, but it may have seen a transient temp that trips your if statement (or doesn't until it jumps from 81.0 to 81.4 and catches it). Make sure your temp probe wire doesn't run parallel and close to any power wires and see if that helps. The code you have is pretty straightforward.
 
That was and is the code, temp got up to 81.4 then the fan finally kicked on. Another problem the temp came down to 80.7 and the fan kicked back off. I think I have a problem here.
You could add a Defer to keep the fan on a bit longer so that it does not shut off too early.

[Fan1]
If Temp > 81.0 then ON
If Temp < 80.5 then OFF
Defer 5:00 Then OFF

Todd
 
Right. You can also add a Defer ON to help with the noise, too. I think mine are both set to 30 seconds.


You could add a Defer to keep the fan on a bit longer so that it does not shut off too early.

[Fan1]
If Temp > 81.0 then ON
If Temp < 80.5 then OFF
Defer 5:00 Then OFF

Todd
 
Back
Top