PDA

View Full Version : ACII programming


Reefer Maddness
09/08/2005, 08:35 PM
Is there a way to program a fan to turn on at a set temp during the day and at a different temp at night?

kbecker
09/08/2005, 10:11 PM
You can program it like a heater so it goes on and off at your required temps.

Reefer Maddness
09/08/2005, 11:03 PM
I have that now, But at night I dont want to hear the fans going on and off and the tank will not heat up with out the MH's on. So I want to turn the main fan off regardless of the temp after 9pm

kbecker
09/08/2005, 11:16 PM
So have statements similar to:

if time > 9:00 Fan on
if time > 21:00 FAN off
If temp > 79.0 FAN on
If temp < 78.0 FAN off

That should do it as the "if time" statement has priority over the temp statements.

RustySnail
09/27/2005, 09:15 AM
Hmm... Not sure about a couple of things here. Just interested in this issue so I'm posting in hope of some additional clarification.

In the example program posted by kbecker:

if time > 9:00 Fan on
if time > 21:00 FAN off
If temp > 79.0 FAN on
If temp < 78.0 FAN off

What happens if time is 00:01? Is 00:01 considered 'greater than' 21:00?

Also regarging priority; IIRC time commands are executed 'first' which would give them lower overall priority. Each time the AC unit steps trough the program (every 15mins or so) it reads/executes the time commands first; then reads/executes the rest. If the temp commands are always being read, they are always active/capable of being executed (regardless of the time) correct?

clp
09/27/2005, 11:04 AM
Yes, time commands are always executed first no matter where they are in the program, and have the lowest priority. The latter the statement in the program the higher its priority. The controller evaluates the statements for each timer several times per second, and if the state of the controlled device has changed a command is sent out.
The time commands should be thought of in a circular nature (i.e. they repeat everyday). So if your time statements where:

If Time > 00:05 Then LT1 ON
If Time > 04:00 Then LT1 OFF
If Time > 12:00 Then LT1 ON
If Time > 17:00 Then LT1 OFF

In this example LT1 would be on between 00:05->04:00, and 12:00->17:00, and off the rest of the time

Curt