PDA

View Full Version : Help me with my program


gotfrogs
06/22/2005, 06:30 PM
If Time > 07:00 Then ACT ON
If Time > 23:59 Then ACT OFF
If Time > 12:00 Then HAL ON
If Time > 20:00 Then HAL OFF
If Temp > 80.1 Then HAL OFF
Max Change 010 M Then HAL OFF
If Temp > 76.5 Then FAN ON
If Temp < 76.5 Then FAN OFF
Max Change 005 M Then FAN OFF
OSC 010/255 ON/OFF Then MIX OFF
If pH > 8.35 Then KAL OFF
If pH < 8.35 Then KAL ON
If Time > 08:00 Then REF OFF
If Time > 20:00 Then REF ON
OSC 010/010 ON/OFF Then PWH OFF

HAL- MH lights
Fan - cooling fan
MIX - kalk reactor mixing pump
KAL - solenoid for dispensing lime-water to tank
REF - Refugium Light
PWH - powerhead

I am having problems with the FAN changing states more often than once per 10 minutes. It often cycles on and then off within about one second. If have any suggestions besides how to fix my fan issues I would love to hear them!

Thanks,
Clint

clp
06/22/2005, 06:53 PM
Expand the on/off temps for the FAN; they are too close together. Something like this:

If Temp > 76.9 Then FAN ON
If Temp < 76.5 Then FAN OFF

Max Change 010 M Then FAN OFF

In this case the max change statement just specifies the length of time that the fan must stay in the off state (10 Minutes) before being allowed to turn back on. There are no time requirements for the ON state.

Curt

gotfrogs
06/22/2005, 07:56 PM
Thanks, I will give that a try. Unfortunately I think I blew the X10 module. It was making some loud noises this morning.