|
![]() |
|
|
#1 |
|
Registered Member
Join Date: Oct 2000
Location: North Alabama
Posts: 437
|
Quick code check, please.
I am looking to does magnesium twice a day for 1:24, at 3am and 3pm. Will This code do it?
Code:
Fallback OFF Set OFF OSC 180:00/001:24/718:36 Then ON If Outlet PowerFail = ON Then OFF
__________________
What's the point of havin' a rapier wit if I can't use it to stab people? --Jeph Jacques Current Tank Info: 60g Solana XL - Mixed Reef |
|
|
|
|
|
#2 |
|
Recovering Reefaholic
![]() Join Date: Jan 2007
Location: El Cajon, CA
Posts: 7,573
|
No... you have a 15-hour cycle time with those settings. You need to have the total of all three time values in the OSC statement add up to 12 hours (720 minutes). I think this is what you intended, but did not account for the 180-minute initial OFF time.
|
|
|
|
|
|
#3 |
|
Registered Member
Join Date: Oct 2000
Location: North Alabama
Posts: 437
|
Thanks, Russ.
I originally wrote the code last fall I did it just as you said, but when I was reviewing it today, I could not make sense of it. Here is the original code before I brain farted: Code:
Fallback OFF Set OFF OSC 180:00/001:24/538:36 Then ON If Outlet PowerFail = ON Then OFF
__________________
What's the point of havin' a rapier wit if I can't use it to stab people? --Jeph Jacques Current Tank Info: 60g Solana XL - Mixed Reef |
|
|
|
|
|
#4 |
|
Recovering Reefaholic
![]() Join Date: Jan 2007
Location: El Cajon, CA
Posts: 7,573
|
That looks perfect.
|
|
|
|
![]() |
| Thread Tools | |
|
|