PDA

View Full Version : How do I make this work?


455cutlassdave
06/04/2008, 03:25 PM
LT1 = 2 x 250w Metal Halide
LT2 = 4 x 110w VHO Actinic

I want the VHO to come on at sunrise and the halides to come on 90 an hour and a half later and shut off one hour before sunset and the VHO at sunset.

If Sun 000/000
Then LT2 ON
If Sun 090/-060
Then LT1 ON

Where I am running into a problem is while the halide are on I want the VHO off because I would be running 940w on a 120 gallon tank 48" x 24" x 24"

I tried
If Sun 090/-060
Then LT2 Off

This caused the VHO's to not go off even after sunset though.

Thanks
David

kenargo
06/04/2008, 04:24 PM
If you want the VHO OFF when the halides are on then add this AFTER the 'If Sun' command that turns on the VHOs:

If Timer LT1 = ON Then LT2 OFF

This will allow the "If Sun' to control LT2 but when LT1 turns on it will override and turn OFF LT2. Once LT1 turns back ON then the condition will be false and the 'If Sun' will take back over.

455cutlassdave
06/04/2008, 04:38 PM
Thanks I will give it a shot tonight