post your program here

Hi all

I will play along also....here is my program, Feedback is always welcome.

LT1%-A01
MH1%-A02
MH2%-A03
LTF%-A04
FAN%-A05
HET%-A06
SKM%-A07
FSH%-A08
CO2%-B09
RTN%-B10
ZEP%-B11
CHL%-B12
CRB%-B14
AIR%-B15
TZ1%-E01
TZ2%-E02
ALM%-G02

If Time > 00:00 Then RTN ON
If Time > 00:00 Then FSH ON
If Time > 00:00 Then CRB ON
If Time > 00:00 Then SKM ON
If Time > 00:00 Then AIR OFF
If Time > 00:00 Then ZEP ON
If Time > 00:00 Then LTF OFF
If Time > 13:00 Then LT1 ON
If Time > 22:30 Then LT1 OFF
If Time > 14:00 Then MH1 ON
If Time > 21:30 Then MH1 OFF
If Time > 14:30 Then MH2 ON
If Time > 22:00 Then MH2 OFF
If Temp < 77.6 Then HET ON
If Temp = 77.6 Then HET ON
If Temp > 77.6 Then HET OFF
If Temp > 78.5 Then LTF ON
If Temp > 78.9 Then CHL ON
If Temp < 78.0 Then CHL OFF
Max Change 020 M Then CHL OFF
If Temp > 80.5 Then FAN ON
If Temp = 80.5 Then FAN ON
If Temp < 80.5 Then FAN OFF
If Timer MH1 = ON Then TZ1 PF1
If Timer MH1 = ON Then TZ2 PF2
If Timer MH1 = OFF Then TZ1 PF3
If Timer MH1 = OFF Then TZ2 PF4
Pmp MODE sD for PF1
Pmp Int 000/095 for PF1
Pmp OSC 07/07/00 for PF1
Pmp MODE SD for PF2
Pmp Int 000/095 for PF2
Pmp OSC 00/07/07 for PF2
Pmp MODE sD for PF3
Pmp Int 000/035 for PF3
Pmp OSC 07/07/00 for PF3
Pmp MODE SD for PF4
Pmp Int 000/035 for PF4
Pmp OSC 00/07/07 for PF4
If Time > 10:00 Then AIR ON
If Time > 10:01 Then AIR OFF
If Time > 22:20 Then AIR ON
If Time > 22:21 Then AIR OFF
If Timer AIR = ON Then CRB OFF
Max Change 005 M Then CRB OFF
If Temp > 81.5 Then MH1 OFF
Max Change 060 M Then MH1 OFF
If Temp > 82.5 Then MH2 OFF
Max Change 060 M Then MH2 OFF
If Time > 09:00 Then ALM ON
If Time > 09:01 Then ALM OFF
If Time > 16:00 Then ALM ON
If Time > 16:01 Then ALM OFF
If Time > 20:00 Then ALM ON
If Time > 20:01 Then ALM OFF
If Temp < 76.0 Then ALM ON
If Temp > 82.0 Then ALM ON
If pH < 07.80 Then ALM ON
If pH > 08.50 Then ALM ON
If pH2 < 07.20 Then CO2 OFF
If pH2 > 07.25 Then CO2 ON
If FeedA 000 Then TZ1 OFF
If FeedA 000 Then TZ2 OFF
If FeedA 000 Then RTN OFF
If FeedB 000 Then TZ1 OFF
If FeedB 000 Then TZ2 OFF
If FeedC 000 Then RTN OFF
If FeedC 000 Then CRB OFF
If FeedC 000 Then SKM OFF
If FeedD 000 Then SKM OFF

einsteins
 
Nothing fancy about this setup. My float switch for top-off is an NC type. Instead of AquaNotes, I have a quick and dirty Perl script that monitors the ACIII for me.

I'm also using an X10 appliance module to control the lighting on my fresh water tank.

HET#-A01 ; Heater
FAN#-A02 ; Cooling fan
LED#-A03 ; LED Moonlight
KOR#-A04 ; Koralia Powerhead (Relay)
MHL#-A05 ; Metal Halide Lamp
SKM#-A06 ; Protein Skimmer
RET#-A07 ; Return Pump
ATO#-A08 ; ATO Pump (Relay)
FWL#-F01 ; Fresh-water light
ALM#-P01 ; Alarm (bogus control)

If Time > 00:00 Then SKM ON
If Time > 00:00 Then RET ON
If Time > 00:00 Then KOR ON

If Sun 000/000 Then FWL ON

If Sun 000/000 Then MHL ON
If Moon 000/000 Then LED ON

If Temp < RT+-0.4 Then HET ON
If Temp > RT+0.0 Then HET OFF
If Temp > RT+0.4 Then FAN ON
If Temp < RT+0.0 Then FAN OFF

If Switch1 CLOSED Then ATO ON ; More water, please
If Switch1 OPEN Then ATO OFF ; Thanks for the water

If FeedA 000 Then KOR OFF ; No powerheads for feeding
If FeedA 000 Then SKM OFF ; No skimmer for feeding
If FeedA 000 Then FAN OFF ; No fans for feeding
If FeedA 000 Then RET OFF ; No return pump for feeding

If Time > 01:00 Then ALM OFF ; Clear Alarms

If Temp > RT+1.0 Then ALM ON ; If it's too hot, set the Alarm status
If Temp < RT+-1.0 Then ALM ON ; If it's too cold, set the Alarm status

If Temp > 84.0 Then MHL OFF ; If it's WAY too hot, turn off the MH lamp
If Temp < 72.0 Then MHL ON ; If it's WAY too cold, turn on the MH lamp

If pH > 8.40 Then ALM ON
If pH < 7.80 Then ALM ON

Max Change 030 M Then ATO OFF ; Keep the ATO off for at least 30 minutes
Max Change 010 M Then MHL OFF ; Don't allow the MH lamp to be off for less than 10 minutes
 
acjr with serial port. i finally got the external switch to work for me. I have a test light LT2 to test the float switch but it constantly turns on and off LT2..is there something wrong with my program? the float switch is from the JBJ ATO but i split the wiring to go with the acjr external switch input and output on pins 1 and 2


LT1$-A1 ;MH lights
LT2$-A2 ;Fuge light
RT1#-A3 ;Return Pump
SK1#-A4 ;Skimmer Pump
PM1#-A5 ;Maxijet 1
PM2#-A6 ;Maxijet 2
PM3#-A7 ;Maxijet 3
PM4#-A8 ;Maxijet 4

If Time > 08:00 Then LT1 ON
If Time > 19:00 Then LT1 OFF
If Temp > RT+1.0 Then LT1 OFF
If Temp > RT+1.0 Then SK1 OFF
Max Change 010 M Then LT1 OFF
Max Change 010 M Then SK1 OFF
If Time > 06:30 Then LT2 ON
If Time > 20:30 Then LT2 OFF
If Time > 00:00 Then SK1 ON
If Time > 00:00 Then RT1 ON
RND 010/010 ON/OFF Then PM1 ON
RND 010/010 ON/OFF Then PM2 OFF
RND 010/010 ON/OFF Then PM3 ON
RND 010/010 ON/OFF Then PM4 OFF
If FeedA 005 Then PM1 OFF
If FeedA 005 Then PM2 OFF
If FeedA 005 Then PM3 OFF
If FeedA 005 Then PM4 OFF
If Time > 19:30 Then PM1 OFF
If Time > 19:30 Then PM4 OFF
If Switch OPEN Then PM1 ON
If Switch Closed Then PM1 OFF
If Switch CLOSED Then LT2 ON
If Switch OPEN Then LT2 OFF
 
Here is mine, please give me some input, still new at this. Note that I am using the controller for temp and ph in tank and reactor. ph is in reactor, and ph2 is in tank.

HET%-A05
COL%-A06
CO2&-A08
ALM&-A09

If Temp < RT+-0.4 Then HET ON
If Temp > RT+-0.1 Then HET OFF
If Temp < 68.0 Then HET OFF
If Temp > RT+0.4 Then CHL ON
If Temp < RT+-0.1 Then CHL OFF
If Temp > RT+5.0 Then CHL OFF
If pH > 06.52 Then CO2 ON
If pH < 06.47 Then CO2 OFF
If pH2 < 08.00 Then CO2 OFF
If Time > 00:00 Then ALM OFF
If pH2 < 07.90 Then ALM ON
If pH2 > 08.40 Then ALM ON
If pH > 06.60 Then ALM ON
If pH < 06.40 Then ALM ON
If Temp < 74.5 Then ALM ON
If Temp > 82.0 Then ALM ON
If Power 000 Then ALM ON
 
<a href=showthread.php?s=&postid=13549037#post13549037 target=_blank>Originally posted</a> by kevntw
Anyone????? :)
If Temp < 68.0 Then HET OFF
Don't understand this command??? You would want you heat on correct? You are turning your alarm on if it gets below 74.5
 
<a href=showthread.php?s=&postid=13551157#post13551157 target=_blank>Originally posted</a> by Otty
If Temp < 68.0 Then HET OFF
Don't understand this command??? You would want you heat on correct? You are turning your alarm on if it gets below 74.5

No, it makes sense. If the temp probe gets disconnected, it would read 22deg. If it goes haywire it can read as high as 120deg. While these are rare events, and should never be encountered by most users, it is a good idea to have a statement like this to make sure that your heater or chiller are not running 24/7 because the temp probe has become disconnected or gone haywire.
 
OK here is the one I have been using for a while, I have pretty much maxed out my AC3.

Timers
MON$-A01 - Moonlight
CRX$-B01 - Ca reactor
KRX$-B02 - Kalk Reactor Stir Bar
OZN$-B03 - Ozone injected into the skimmer
HET&-B04 - Heaters
TPF%-B05 - Topoff Power (topoff if on a seperate system)
RFG#-B06 - Refugium light
VOD$-B07 - Vodka Doser
PMP%-B08 - Main Circulation pump. OFF means ON as it is hooked into a UPS.**
FPH%-B09 - Frag Tank Powerheads
FMH#-B10 - Frag Tank Hetal Halids
FVH#-B11 - Frag Tank VHO
COL&-B12 - Chiller
MHL#-B13 - Main MH Left
MHC#-B14 - Main MH Center
MHR#-B15 - Main MH Right
VHO#-B16 - Main VHO
SW1&-I11 - Low Level float switch in sump
SW2&-I12 - High level float switch in sump
MNT$-I13 - Mainaintance mode. Used to turn multiple things off/on when working on the tank
VPH$-I15 - Aquasurf
ALM$-I16 - Alarm
PH1$-H01 - Aquasurf
PH2$-H02 - Aquasurf

** Main pump is hooked into a reverse socket expansion module, when the DC8 socket is not energized the pump is on (default), But if there is a problem the AC3 will energize the socket and this will turn off the main pump. Used so that the pump can be on a UPS and still work in a power failure.

Code
If Moon 000/000 Then MON ON

//DEFAULTS
If Time > 00:00 Then ALM OFF
If Time > 00:00 Then CRX ON
If Time > 00:00 Then OZN OFF
If Time > 00:00 Then VOD OFF
If Time > 00:00 Then PMP OFF
If Time > 00:00 Then MNT OFF
If Time > 00:00 Then TPF ON

//LIGHTING
If Time > 07:45 Then VHO ON
If Time > 20:50 Then VHO OFF
If Time > 07:30 Then MHR ON
If Time > 08:01 Then MHR OFF
If Time > 12:00 Then MHR ON
If Time > 20:44 Then MHR OFF
If Time > 07:35 Then MHC ON
If Time > 08:02 Then MHC OFF
If Time > 12:01 Then MHC ON
If Time > 20:49 Then MHC OFF
If Time > 07:40 Then MHL ON
If Time > 08:03 Then MHL OFF
If Time > 12:03 Then MHL ON
If Time > 20:54 Then MHL OFF
If Time > 01:00 Then FMH ON
If Time > 09:00 Then FMH OFF
If Time > 19:00 Then RFG ON
If Time > 10:00 Then RFG OFF

//DOSERS
If Time > 21:00 Then VOD ON
If Time > 21:04 Then VOD OFF
If Time > 05:00 Then KRX ON
If Time > 05:05 Then KRX OFF
If Time > 21:00 Then KRX ON
If Time > 21:05 Then KRX OFF
If Time > 12:00 Then OZN ON
If Time > 20:00 Then OZN OFF

//TEMP CONTROL
If Temp > RT+2.2 Then COL ON
If Temp < RT+1.1 Then COL OFF
If Temp < RT+-1.2 Then HET ON
If Temp > RT+-0.7 Then HET OFF
If Temp < 50.0 Then HET OFF

//ALARMS
If Temp > 84.0 Then ALM ON
If Temp < 75.5 Then ALM ON
If pH > 08.60 Then ALM ON
If Switch1 OPEN Then ALM ON
If Switch2 OPEN Then ALM ON

//SWITCHES
If Switch1 CLOSED Then SW1 OFF
If Switch1 OPEN Then SW1 ON
If Switch1 OPEN Then PMP ON
If Switch2 CLOSED Then SW2 OFF
If Switch2 OPEN Then SW2 ON
If Switch2 OPEN Then TPF OFF
If Switch2 OPEN Then OZN OFF

//KALK STOP
If pH > 08.55 Then TPF OFF

//MAX CHANGE
Max Change 001 M Then TPF OFF
Max Change 005 M Then PMP ON
Max Change 005 M Then HET OFF
Max Change 010 M Then COL OFF

//MAINTANANCE
If Timer MNT = ON Then ALM OFF
If Timer MNT = ON Then HET OFF
If Timer MNT = ON Then COL OFF
If Timer MNT = ON Then TPF OFF
If Timer MNT = ON Then RFG OFF
If Timer MNT = ON Then FPH OFF
If Timer MNT = ON Then CRX OFF
If Timer MNT = ON Then OZN OFF
If Timer PMP = ON Then ALM ON
If Timer PMP = ON Then OZN OFF
If Timer PMP = ON Then CRX OFF
If Timer PMP = ON Then HET OFF
If Timer PMP = ON Then COL OFF

//POWER FAILURES
If Power 001 Then VHO OFF
If Power 010 Then MHL OFF
If Power 011 Then MHC OFF
If Power 012 Then MHR OFF
If Power 010 Then FMH OFF
If Power 010 Then COL OFF
If Power 005 Then HET OFF

// POWERHEADS
OSC 030/003 ON/OFF Then FPH ON
If Time > 07:00 Then VPH OFF
If Time > 21:00 Then VPH ON
If Timer VPH = ON Then PH1 PF1
If Timer VPH = OFF Then PH1 PF1
If Timer VPH = ON Then PH2 PF1
If Timer VPH = OFF Then PH2 PF1
Pmp MODE sd for PF1
Pmp Int 040/080 for PF1
Pmp OSC 20/60/00 for PF1
Pmp MODE Sd for PF2
Pmp Int 080/000 for PF2
Pmp OSC 90/90/00 for PF2
Pmp MODE sD for PF3
Pmp Int 000/090 for PF3
Pmp OSC 13/13/00 for PF3
Pmp MODE SD for PF4
Pmp Int 000/090 for PF4
Pmp OSC 13/13/00 for PF4
If FeedA 000 Then PH1 OFF
If FeedA 000 Then PH2 OFF
 
<a href=showthread.php?s=&postid=13551581#post13551581 target=_blank>Originally posted</a> by Iostream
No, it makes sense. If the temp probe gets disconnected, it would read 22deg. If it goes haywire it can read as high as 120deg. While these are rare events, and should never be encountered by most users, it is a good idea to have a statement like this to make sure that your heater or chiller are not running 24/7 because the temp probe has become disconnected or gone haywire.

Maybe I am missing something, I don't know about the chiller, but regardless if the temp probe is working or not, heater will turn off by itself once temp goes above its setting (which AC manual recommends to be set about 1 degree above your program off temp).

if it is a false positive (temp reading says it is 68 when in fact it is not), then you want to keep the heater on, as it will turn off itself at its preset temp, and make sure it is not set to 90, as stated in AC manual).
if it is a false negative (temp reading says it is not 68 when in fact it is, yikes), then you most certainly want the heater on.

so I think the heater off at the lower temp reading is not needed to keep it simple.
 
<a href=showthread.php?s=&postid=13558174#post13558174 target=_blank>Originally posted</a> by d0ughb0y
Maybe I am missing something, I don't know about the chiller, but regardless if the temp probe is working or not, heater will turn off by itself once temp goes above its setting (which AC manual recommends to be set about 1 degree above your program off temp).

if it is a false positive (temp reading says it is 68 when in fact it is not), then you want to keep the heater on, as it will turn off itself at its preset temp, and make sure it is not set to 90, as stated in AC manual).
if it is a false negative (temp reading says it is not 68 when in fact it is, yikes), then you most certainly want the heater on.

so I think the heater off at the lower temp reading is not needed to keep it simple.

Sure, the heater should turn off... But heaters can have failed thermostats too, and you will likely never know it as long as the aquacontroller is operational since the AC will kill the heater power before it ever hits the heater's setting... So, it is really worth risking your entire tank to save 1 line of code in the event of a (admittedly rare) catastrophic failure?
 
<a href=showthread.php?s=&postid=13558575#post13558575 target=_blank>Originally posted</a> by Iostream
Sure, the heater should turn off... But heaters can have failed thermostats too, and you will likely never know it as long as the aquacontroller is operational since the AC will kill the heater power before it ever hits the heater's setting... So, it is really worth risking your entire tank to save 1 line of code in the event of a (admittedly rare) catastrophic failure?

that one line of code can do more harm than good if it is a false positive.
during winter, it is not uncommon to set house thermostat down low at night, let's say 67.
If AC temp reading goes haywire and reads 20 when the tank temp is still 77 (and this is the most likely scenario that will occur), it will turn off the heater unnecessarily, and you wake up in the morning with a tank at 67 degrees.

for false negative, that is a situation where you do NOT want to turn off the heater.

If you're concern is broken heater thermostat and it goes on past the temp setting, well that should not happen because you have an if TEMP>77 then htr off line. the problem with this is htr will remain off even if ambient temp is 70 if temp reading is coming as 120.

perhaps a better options is to sound the alarm or send an email.

the question is, do you trust your heater more or the AC? you should really be able to trust both ideally. But unfortunately, it seems more likely AC will give incorrect reading due to grounding or interference from ballasts, etc.

you find ac temp reading going haywire messages here quite easily, but I never recall reading or have experienced a heater thermostat going bad (and yes I am sure it can go bad). IMHO, heater thermostat is more reliable than AC temp reading based on empirical evidence.
 
Last edited:
That is where the alarm comes in. You get the alarm before it takes any action. You can always log in and check the stats to see if things are actually going nuts. At that point you can also manually turn devices on and off. It is a temporary fail safe.
 
:) So what is the final decision, to keep or not to keep???? I wish I can make the decision myself, but you had lost me :)
 
I just purchased and set up an ACIII and here is my program. My temperature is in Celsius so 26ºC is 78ºF

LT1 A01 (T5 lights)
LT2 A02 (display tank MH lights)
LT3 A03 (frag tank MH)
PM2 A04 (kalk reactor mixing pump)
HET A05 (heater)
COL A06 (cooling fan)
LT4 A07 (refugium light)
CO2 A08 (CO2 solenoid)

If Time > 11:00 Then LT1 ON
If Time > 23:00 Then LT1 OFF
If Time > 12:00 Then LT2 ON
If Time > 22:00 Then LT2 OFF
If Time > 10:00 Then LT3 ON
If Time > 20:00 Then LT3 OFF
If Time > 20:00 Then LT4 ON
If Time > 8:00 Then LT4 OFF
If Temp > 26.3 Then COL ON
If Temp < 26. Then COL OFF
If Temp < 25.7 Then HET ON
If Temp > 26 Then HET OFF
OSC 005/240 ON/OFF Then PM2 ON
If pH2 > 6.55 Then CO2 ON
If pH2 < 6. Then CO2 OFF
If pH < 7.8 Then CO2 OFF
If Temp > 28 Then LT2 OFF
If Temp > 28 Then LT3 OFF
 
I have mine set so that if the temp drops to 75 an alarm goes off and then if it hits 70 heaters go off. I do the same thing in reverse for my chiller.

I have had several heater thermostats go bad and I have a friend that had his temp probe went haywire. Also had a chiller controller go bad.

If your temp probe goes bad and your heater thermostat sticks you you may not hear the alarm or be in a position to receive it.
 
<a href=showthread.php?s=&postid=13543890#post13543890 target=_blank>Originally posted</a> by kevntw
Here is mine, please give me some input, still new at this. Note that I am using the controller for temp and ph in tank and reactor. ph is in reactor, and ph2 is in tank.

HET%-A05
COL%-A06
CO2&-A08
ALM&-A09

If Temp < RT+-0.4 Then HET ON
If Temp > RT+-0.1 Then HET OFF
If Temp < 68.0 Then HET OFF
If Temp > RT+0.4 Then CHL ON
If Temp < RT+-0.1 Then CHL OFF
If Temp > RT+5.0 Then CHL OFF
If pH > 06.52 Then CO2 ON
If pH < 06.47 Then CO2 OFF
If pH2 < 08.00 Then CO2 OFF
If Time > 00:00 Then ALM OFF
If pH2 < 07.90 Then ALM ON
If pH2 > 08.40 Then ALM ON
If pH > 06.60 Then ALM ON
If pH < 06.40 Then ALM ON
If Temp < 74.5 Then ALM ON
If Temp > 82.0 Then ALM ON
If Power 000 Then ALM ON

I was always under the impression that the ideal PH level for a Reef aquarium was 8.40-8.45. This is what is stated in all of teh books that i am currently reading and i see that you have yours set way lower and you have an alarm coming on at 8.40
 
<a href=showthread.php?s=&postid=13759236#post13759236 target=_blank>Originally posted</a> by Padrino
I was always under the impression that the ideal PH level for a Reef aquarium was 8.40-8.45. This is what is stated in all of teh books that i am currently reading and i see that you have yours set way lower and you have an alarm coming on at 8.40

Randy says 7.8 to 8.5 ok, 8.1 to 8.3 better.

http://www.reefkeeping.com/issues/2004-05/rhf/index.php

so 8.4 to 8.45 is still within the ok range Randy gave.

Did you reference say it must not go below 8.4?
 
Back
Top