milkman55
New member
I was trying to use the seasonal variation tables for the on and off times for the light. I must have something wrong with the syntax, but I thought I copied it right out of the owner manual.
I have since changed the ON and OFF times to specific times and the lights are working, but I would like to go back to the seasonal variation.
LT1 is the MH 150w
LT2 is the white LED lights
I was trying to have the MH turn ON 60 minutes after sunrise and OFF 60 minutes before sunset.
The white light was coming on at sunrise and off two hours after sunset.
I figured out my Temp statements (lines 3&4) that turns the light ON and OFF at certain temps (for heat control) was overriding the first light statements, but still do not have it all figured out. LT2 never did come on anytime day or night.
Are they any other inefficiencies in my code?
Thanks for the help.
Here is my program (changed the order of some of the components so all the plugs would fit in the DC8) -
LT1$-A1
LT2$-A2
PM1#-A3
PM2#-A4
HET%-A5
ALM%-A6
CO2&-A7
COL&-A8
If Sun 060/-060 Then LT1 ON
If Sun 000/120 Then LT2 ON
If Temp < 80.0 Then LT1 ON
If Temp > 81.0 Then LT1 OFF
If Temp < RT+-0.5 Then HET ON
If Temp > RT+0.0 Then HET OFF
If Temp > 79.0 Then COL ON
If Temp < 79.0 Then COL OFF
If Time > 00:00 Then CO2 ON
If Time > 00:00 Then PM1 ON
If Time > 00:00 Then PM2 ON
If FeedA 000 Then PM1 OFF
If FeedA 000 Then PM2 OFF
If Time > 00:00 Then ALM OFF
If Temp > 82.0 Then ALM ON
I have since changed the ON and OFF times to specific times and the lights are working, but I would like to go back to the seasonal variation.
LT1 is the MH 150w
LT2 is the white LED lights
I was trying to have the MH turn ON 60 minutes after sunrise and OFF 60 minutes before sunset.
The white light was coming on at sunrise and off two hours after sunset.
I figured out my Temp statements (lines 3&4) that turns the light ON and OFF at certain temps (for heat control) was overriding the first light statements, but still do not have it all figured out. LT2 never did come on anytime day or night.
Are they any other inefficiencies in my code?
Thanks for the help.
Here is my program (changed the order of some of the components so all the plugs would fit in the DC8) -
LT1$-A1
LT2$-A2
PM1#-A3
PM2#-A4
HET%-A5
ALM%-A6
CO2&-A7
COL&-A8
If Sun 060/-060 Then LT1 ON
If Sun 000/120 Then LT2 ON
If Temp < 80.0 Then LT1 ON
If Temp > 81.0 Then LT1 OFF
If Temp < RT+-0.5 Then HET ON
If Temp > RT+0.0 Then HET OFF
If Temp > 79.0 Then COL ON
If Temp < 79.0 Then COL OFF
If Time > 00:00 Then CO2 ON
If Time > 00:00 Then PM1 ON
If Time > 00:00 Then PM2 ON
If FeedA 000 Then PM1 OFF
If FeedA 000 Then PM2 OFF
If Time > 00:00 Then ALM OFF
If Temp > 82.0 Then ALM ON