![]() |
![]() |
![]() |
#1 |
Registered Member
Join Date: Feb 2008
Location: Miami Beach, FL
Posts: 421
|
Dosing Pump Help - Check my code
Hello:
I would like some of you gurus to check my code, this is what I want to accomplish ![]() I want to dose ALK buffer only when my tank lights are OFF I want to dose for 45 seconds every hour AFTER the lights go off Here is the code that I plan to put in my ALK dosing pump outlet... Code:
Fallback OFF Set OFF OSC 59:15/00:45/0 Then ON If 1.1_Light.1 = ON Then OFF Is this correct? Is there a better or more elegant way of doing this? Your feedback is appreciated, Estefano Last edited by eisaiasjr; 11/24/2010 at 09:18 AM. |
![]() |
![]() |
![]() |
#2 |
Registered Member
Join Date: Mar 2005
Location: Huntsville, AL
Posts: 2,645
|
In general you have it right. Couple things: First, you don't need the Set OFF since the OSC command performs both ON and OFF. Second, the syntax is 'If Outlet [name] = ON Then OFF. Also, not sure, but does the Apex allow '.' in the outlet name? I have never tried it.
Todd
__________________
Amendment IX The enumeration in the Constitution, of certain rights, shall not be construed to deny or disparage others retained by the people. Current Tank Info: 125g Reef |
![]() |
![]() |
![]() |
#3 |
Registered Member
Join Date: Dec 2008
Location: milton vt
Posts: 139
|
This is what I have. I dose every hour and my ph stays at 8.30
OSC 000:00/001:00/059:00 Then ON If pH > 08.30 Then OFF |
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DIY "Drews Doser" Peristaltic Dosing pump | killab443 | Do It Yourself |
115 | 12/13/2017 10:51 AM |
dosing pumps and check valve? | jwalters103 | GHL /ProfiLux / Mitras | 3 | 07/01/2009 07:38 PM |
Dosing pump sanity check | juniormc8704 | GHL /ProfiLux / Mitras | 2 | 12/03/2008 04:15 PM |