PDA

View Full Version : Code Help


djultra
07/02/2007, 04:21 PM
Could you look through this and correct any problems with code and order. Thanks

LT1$-C3 - Actinics
LT2$-C1 - 250MH
LT3$-C2 - 250MH
PM1#-A7 - Closed Loop
PM2#-A6 - Return Pump
CO2#-A1 - Cal Reactor
FN1&-A5 - Hood Fan
FN2&-A8 - Sump Fan
MLI$-D1 - Moonlights
SKM#-A4 - Skimmer
ALM&-D2 - Alarm


If Time > 11:00 Then LT1 ON
If Time > 23:00 Then LT1 OFF
If Time > 12:30 Then LT2 ON
If Time > 21:30 Then LT2 OFF
If Time > 12:30 Then LT3 ON
If Time > 21:30 Then LT3 OFF
If Moon 120/120 Then MLI ON
If pH > 07.50 Then ALM ON
If pH < 06.00 Then ALM ON
If Temp > 76.5 Then FN1 ON
If Temp < 76.0 Then FN1 OFF
If Temp > 76.5 Then FN2 ON
If Temp < 76.0 Then FN2 OFF
If Time > 00:00 Then PM1 OFF
If Time > 08:00 Then PM1 ON
If Time > 00:00 Then PM2 ON
If FeedA 000 Then PM1 OFF
If FeedA 000 Then PM2 OFF
If Temp > 84.0 Then LT1 OFF
If Temp > 84.0 Then LT2 OFF
If Temp > 84.0 Then LT3 OFF
Max Change 010 M Then LT1 OFF
Max Change 010 M Then LT2 OFF
Max Change 010 M Then LT3 OFF
Max Change 005 M Then FN1 OFF
Max Change 005 M Then FN2 OFF
If Time > 00:00 Then ALM OFF
If Temp < 75.0 Then ALM ON
If Temp > 83.0 Then ALM ON
If Time > 00:00 Then SKM ON
If FeedA 000 Then SKM OFF
If pH < 06.60 Then CO2 OFF
If pH > 06.80 Then CO2 ON
If Power 000 Then ALM ON

djultra
07/03/2007, 05:02 PM
Anybody???

Bowman
07/04/2007, 09:51 AM
Why have you changed this statement ?

If Moon 120/120 Then MLI ON

According to what is in the book and what Curt posted fro me it should be

If Moon 000/000 Then MLI ON. HTH

djultra
07/04/2007, 02:39 PM
Since my lights are offset from sunrise, I offseted the moonlights by 120 minutes

djultra
07/04/2007, 05:10 PM
My moonlight are still 2 hours behind but 120 was the most I could increase it without changing the time on my Jr.

mano1192
07/05/2007, 11:49 PM
no heater? U run your temp at 76? Im assuming your tank always runs hot with your lights maybe....

gws294
07/06/2007, 08:43 PM
I'm certainly not an expert here, but you could reduce the amount of code by combining LT2 and LT3 since it seems that you have them doing the same thing.... also how about the fans. Could they be combined as well?

Also, is this a freshwater tank? The pH is a little low.
Good Luck,
Geoff

djultra
07/08/2007, 03:32 PM
mano1192

My temp runs between 76 (lights off) to 80 (lights on) with no chiller or heater just fans. I live in Florida so I never have used a heater.

gws294

I could combine the lights and fans but for now I dont need the extra plugs and it saves me from using splitters.
It's a saltwater reef tank and the controller measures the calcium reactor PH not the tank PH

Thank you both for your replies