DC8 or Code Problem?

Nate0729

New member
I'm still having problems with my heaters. The heaters are turning on, but not at the settings i have them set at.
Code
If temp < 79.5 HT1 ON
If temp > 80 HT1 OFF
If temp > 83 HT1 OFF
If time > 00:00 HT1 OFF

The heaters will be on between 81 and over 83
The heaters will be off at 78.
What's going on???
It's a little annoying.
I also have fans connected to the DC8 and they won't even turn on. :confused:
If temp > 80 FN1 ON
If temp < 79.8 FN1 OFF
please help
Thanks
Nate
 
I believe the codes are read in order so it take the last true statement and use that, so your last line is telling it to always turn off.

I've also read you should avoid using the "if time >00:00" statements but if you need to for some reason, put it above all other lines.
 
I'm not sure if this is it, but try the following:

1) Capitalize the "T" in Temp and the "T" in Time.

2) When using temperature, use a decimal point and a number after. IE: 80.0 and 83.0

I have an AC3 and this is the only difference between our programming info.
 
<a href=showthread.php?s=&postid=12716569#post12716569 target=_blank>Originally posted</a> by Red Sea Purple Tang
I'm not sure if this is it, but try the following:

1) Capitalize the "T" in Temp and the "T" in Time.

2) When using temperature, use a decimal point and a number after. IE: 80.0 and 83.0

I have an AC3 and this is the only difference between our programming info.

Agree, plus get rid of the time statement and change:
If temp > 83 then HT1 OFF to If Temp < 75.0 then HT1 OFF, safety net so you don't cook your tank if you have a temp probe failure.
 
You code is telling the heater to turn off. Do not set a default for the heater, give it a top and bottom range. The code is executed from top down.

Also you don't have a slack room between the heater and the fan. You heater will turn off at 80.1 (> 80), but you are also saying turn on the Fan at 80.1 (> 80).

Try This:

If temp < 79.5 then HT1 ON
If temp > 80.0 then HT1 OFF
If temp > 80.5 then FN1 ON
If temp < 80.1 then FN1 OFF

Do not use default states for fans or heaters

When you first set this up the controller will show "U" for the state. Onces it hits a top of bottom lever, the "U" will dissappear.
 
Last edited:
OK. I figured it out! It's neither the DC8 or the Code. IT's ME! I had the DC8 set as B instead of A. Anyways, thanks for giving me better ideas for the code.
I think this deserves a DE DE DE!!
Thanks alot. I feel dumb now.
Nate
 
Back
Top