NJRSAD
Subject: AquaController Program
Prev Next
You are not authorized to post a reply.

AuthorMessages
slallen User is Offline
ReefChat Staff
Moray
Moray

Posts:300
Flower Mound, TX


03/01/2007 6:37 AM  

I am still tweaking my ACIII program and was wondering what your programs look like. Since I am asking, I will start this with my listing.

If Time > 00:00       Then RPM ON
If Power 000        Then MHB OFF
Max Change 020 M      Then MHB ON
If Power 000        Then MHW OFF
Max Change 025 M      Then MHW ON
If Time > 12:00       Then MHB ON
If Time > 22:00       Then MHB OFF
If Time > 13:00       Then MHW ON
If Time > 21:00       Then MHW OFF
If Time > 21:00       Then MNL ON
If Time > 07:00       Then MNL OFF
If Time > 12:00       Then FGL OFF
If Time > 21:00       Then FGL ON
If Temp  > 82.0      Then MHW OFF
Max Change 090 M      Then MHW ON
If Temp  > 83.0      Then MHB OFF
Max Change 060 M      Then MHB ON
If Temp  < 77.0      Then HTR ON
If Temp  > 78.0      Then HTR OFF
If Temp  > 78.5      Then FNT ON
If Temp  < 77.0      Then FNT OFF
If Temp  > 78.5      Then FNB ON
If Temp  < 77.0      Then FNB OFF
If Timer MHW = ON       Then MJC ON
OSC 005/010 ON/OFF    Then MJL OFF
OSC 010/005 ON/OFF    Then MJR ON
If FeedA 000         Then MJR OFF
If FeedA 000         Then MJL OFF
If FeedA 000         Then MJC OFF
If ORP   < 340         Then OZN ON
If ORP   > 350         Then OZN OFF
If Temp  < 50.0      Then MHB OFF
If Temp  < 50.0      Then MHW OFF
If Temp  < 50.0      Then FNT OFF
If Temp  < 50.0      Then FNB OFF
If Temp  < 50.0      Then HTR OFF
If Time > 00:00       Then ALM OFF
If Temp  > 83.5      Then ALM OFF
If pH    > 08.50       Then ALM ON
If pH    < 07.90       Then ALM ON
If ORP   > 450         Then ALM ON
If ORP   < 275         Then ALM ON


real time stats
Click my stats for a graphed history.
Come Chat with Us!
Glenn User is Offline
ReefChat Staff
Goby
Goby

Posts:141
Keller, Texas


03/11/2007 3:22 PM  
Nice Steve, will try and get mine posted later today, after I update it.

slallen User is Offline
ReefChat Staff
Moray
Moray

Posts:300
Flower Mound, TX


03/14/2007 8:55 AM  
Well how about it folks? Anyone have their program ready to show the world?

real time stats
Click my stats for a graphed history.
Come Chat with Us!
Glenn User is Offline
ReefChat Staff
Goby
Goby

Posts:141
Keller, Texas


03/14/2007 9:33 AM  
I did, but made the mistake of writing it in the ac3 module, so when I updated it hiccuped and went away. So now I will do it over in word and them try and update it that way.

Serk User is Offline
Chromis
Chromis

Posts:55
Rowlett, TX


03/14/2007 10:04 AM  
Is it AC users only, or can I play too?

Here's my crontab:

57 23 * * * rm /var/www/localhost/htdocs/pumps.txt
05 0 * * * /root/scripts/kalkmixer
05 6 * * * /root/scripts/kalkmixer
05 12 * * * /root/scripts/kalkmixer
05 18 * * * /root/scripts/kalkmixer

13 12,13,14,15,16,17,18,19,20,21,22,23,00 * * * /root/scripts/waves_master
28 12,13,14,15,16,17,18,19,20,21,22,23,00 * * * /root/scripts/waves_master
43 11,12,13,14,15,16,17,18,19,20,21,22,23 * * * /root/scripts/waves_master
58 11,12,13,14,15,16,17,18,19,20,21,22,23 * * * /root/scripts/waves_master

13 01,02,03,04,05,06,07,08,09,10,11 * * * /root/scripts/waves_master_night
28 01,02,03,04,05,06,07,08,09,10,11 * * * /root/scripts/waves_master_night
43 00,01,02,03,04,05,06,07,08,09,10 * * * /root/scripts/waves_master_night
58 00,01,02,03,04,05,06,07,08,09,10 * * * /root/scripts/waves_master_night

15 10 * * * /root/scripts/r3_ro_solenoid_on
15 11 * * * /root/scripts/r3_ro_solenoid_off
15 15 * * * /root/scripts/r3_ro_solenoid_on
15 16 * * * /root/scripts/r3_ro_solenoid_off
15 22 * * * /root/scripts/r3_ro_solenoid_on
15 23 * * * /root/scripts/r3_ro_solenoid_off


#01 11 * * * /root/scripts/buddy_light_on

35 11 * * * /root/scripts/sw_fan_on

03 12 * * * /root/scripts/sw_13k_halide_L_on

11 12 * * * /root/scripts/sw_moon_both_off

#15 12 * * * /root/scripts/sw_refuguim_lights_off
20 12 * * * /root/scripts/sw_55g_fuge_lights_off
25 12 * * * /root/scripts/sw_13k_halide_R_on
30 12 * * * /root/scripts/sw_anemone_lights_on

15 12 * * * /root/scripts/r3_lights_on
30 14 * * * /root/scripts/sw_10k_halide_L_on
50 14 * * * /root/scripts/sw_10k_halide_R_on

05 15 * * * /root/scripts/sw_power_compact1_on
15 15 * * * /root/scripts/sw_power_compact2_on

#20 15 * * * /root/scripts/sw_refuguim_lights_on

25 15 * * * /root/scripts/sw_55g_fuge_lights_on

#30 16 * * * /root/scripts/55g_light_on


#30 17 * * * /root/scripts/xmas_tree_on

#00 20 * * * /root/scripts/hallway_light_on

01 22 * * * /root/scripts/sw_power_compact2_off
05 22 * * * /root/scripts/sw_power_compact1_off

50 22 * * * /root/scripts/sw_10k_halide_L_off
#45 23 * * * /root/scripts/buddy_light_off

01 23 * * * /root/scripts/sw_10k_halide_L_off
05 23 * * * /root/scripts/sw_10k_halide_L_off
15 23 * * * /root/scripts/sw_10k_halide_R_off
25 23 * * * /root/scripts/sw_10k_halide_R_off
30 23 * * * /root/scripts/sw_anemone_lights_off
35 23 * * * /root/scripts/sw_13k_halide_L_off
50 23 * * * /root/scripts/sw_13k_halide_R_off

#00 01 * * * /root/scripts/hallway_light_off

#41 23 1,2,3,4,5,6,7 * * /root/scripts/sw_moon_left_on
#41 23 8,9,10,11,12,13,14 * * /root/scripts/sw_moon_both_on
#41 23 15,16,17,18,19,20,21 * * /root/scripts/sw_moon_right_on
41 23 * * * /root/scripts/sw_moon_right_on
15 00 * * * /root/scripts/r3_lights_off
30 00 * * * /root/scripts/sw_fan_off

Brian
150G Oceanic RR up since 9/2000
2x10G display refuguims
55G display refuguim
20G Anemone tank
2x50g Anemone Prop System

---Never ask a geek "Why?", just nod your head and slowly back away...

5y5tem 0verload User is Offline
ReefChat Staff
Goby
Goby
Posts:114
Fort Worth, TX


03/14/2007 10:12 AM  
Posted By Serk on 03/14/2007 10:04 AM
Is it AC users only, or can I play too?

Here's my crontab:

57 23 * * * rm /var/www/localhost/htdocs/pumps.txt
05 0 * * * /root/scripts/kalkmixer
05 6 * * * /root/scripts/kalkmixer
05 12 * * * /root/scripts/kalkmixer
05 18 * * * /root/scripts/kalkmixer

13 12,13,14,15,16,17,18,19,20,21,22,23,00 * * * /root/scripts/waves_master
28 12,13,14,15,16,17,18,19,20,21,22,23,00 * * * /root/scripts/waves_master
43 11,12,13,14,15,16,17,18,19,20,21,22,23 * * * /root/scripts/waves_master
58 11,12,13,14,15,16,17,18,19,20,21,22,23 * * * /root/scripts/waves_master

13 01,02,03,04,05,06,07,08,09,10,11 * * * /root/scripts/waves_master_night
28 01,02,03,04,05,06,07,08,09,10,11 * * * /root/scripts/waves_master_night
43 00,01,02,03,04,05,06,07,08,09,10 * * * /root/scripts/waves_master_night
58 00,01,02,03,04,05,06,07,08,09,10 * * * /root/scripts/waves_master_night

15 10 * * * /root/scripts/r3_ro_solenoid_on
15 11 * * * /root/scripts/r3_ro_solenoid_off
15 15 * * * /root/scripts/r3_ro_solenoid_on
15 16 * * * /root/scripts/r3_ro_solenoid_off
15 22 * * * /root/scripts/r3_ro_solenoid_on
15 23 * * * /root/scripts/r3_ro_solenoid_off


#01 11 * * * /root/scripts/buddy_light_on

35 11 * * * /root/scripts/sw_fan_on

03 12 * * * /root/scripts/sw_13k_halide_L_on

11 12 * * * /root/scripts/sw_moon_both_off

#15 12 * * * /root/scripts/sw_refuguim_lights_off
20 12 * * * /root/scripts/sw_55g_fuge_lights_off
25 12 * * * /root/scripts/sw_13k_halide_R_on
30 12 * * * /root/scripts/sw_anemone_lights_on

15 12 * * * /root/scripts/r3_lights_on
30 14 * * * /root/scripts/sw_10k_halide_L_on
50 14 * * * /root/scripts/sw_10k_halide_R_on

05 15 * * * /root/scripts/sw_power_compact1_on
15 15 * * * /root/scripts/sw_power_compact2_on

#20 15 * * * /root/scripts/sw_refuguim_lights_on

25 15 * * * /root/scripts/sw_55g_fuge_lights_on

#30 16 * * * /root/scripts/55g_light_on


#30 17 * * * /root/scripts/xmas_tree_on

#00 20 * * * /root/scripts/hallway_light_on

01 22 * * * /root/scripts/sw_power_compact2_off
05 22 * * * /root/scripts/sw_power_compact1_off

50 22 * * * /root/scripts/sw_10k_halide_L_off
#45 23 * * * /root/scripts/buddy_light_off

01 23 * * * /root/scripts/sw_10k_halide_L_off
05 23 * * * /root/scripts/sw_10k_halide_L_off
15 23 * * * /root/scripts/sw_10k_halide_R_off
25 23 * * * /root/scripts/sw_10k_halide_R_off
30 23 * * * /root/scripts/sw_anemone_lights_off
35 23 * * * /root/scripts/sw_13k_halide_L_off
50 23 * * * /root/scripts/sw_13k_halide_R_off

#00 01 * * * /root/scripts/hallway_light_off

#41 23 1,2,3,4,5,6,7 * * /root/scripts/sw_moon_left_on
#41 23 8,9,10,11,12,13,14 * * /root/scripts/sw_moon_both_on
#41 23 15,16,17,18,19,20,21 * * /root/scripts/sw_moon_right_on
41 23 * * * /root/scripts/sw_moon_right_on
15 00 * * * /root/scripts/r3_lights_off
30 00 * * * /root/scripts/sw_fan_off

Ok.. That's just Greek.. lol

real time stats
Click my image for a graphed history.


Come Chat with Us!
Serk User is Offline
Chromis
Chromis

Posts:55
Rowlett, TX


03/14/2007 10:26 AM  
Pretty simple actually... I'll pick one line and dissect it for you:

05 15 * * * /root/scripts/sw_power_compact1_on

05 - Minutes after the hour

15 - Hour of the day, in military time

* * * Every day, every week, every month

/root/scripts/sw_power_compact1_on - The name and location of the script to be run.

The scripts are all simple scripts that just send the appropriate X10 commands to their appropriate devices, but I tried to name the scripts so that they'd make sense.

But for completeness, the sw_power_compact1_on script has the following one line in it:

heyu on a7



So, the above command turns the Power Compact light that I labeled 1 on at 3:05 PM every day...

Brian
150G Oceanic RR up since 9/2000
2x10G display refuguims
55G display refuguim
20G Anemone tank
2x50g Anemone Prop System

---Never ask a geek "Why?", just nod your head and slowly back away...

slallen User is Offline
ReefChat Staff
Moray
Moray

Posts:300
Flower Mound, TX


03/14/2007 12:19 PM  
Okay, while this was not a contest I think I will officially declare you as the winner. No one is going to top that. My main purpose for this post thread was to see what others have done.

real time stats
Click my stats for a graphed history.
Come Chat with Us!
Glenn User is Offline
ReefChat Staff
Goby
Goby

Posts:141
Keller, Texas


03/14/2007 2:53 PM  
Well will continue to work on mine, but it is not ready to compare to Serks yet.

Glenn User is Offline
ReefChat Staff
Goby
Goby

Posts:141
Keller, Texas


03/15/2007 11:01 PM  
Okay here is mine.

If Time > 00:00 Then ALM OFF ** Alarm reset**
If pHA1 > 08.50 Then ALM ON **Alarm PH High 115**
If pHA1< 08.00 Then ALM ON **Alarm PH Low 115**
If ORPA > 450 Then ALM ON **Alarm ORP High 115**
If ORPA< 300 Then ALM ON **Alarm ORP Low 115**
If TmpA< 75.0 Then ALM ON **Alarm Temp Low 115**
If TmpA > 80.0 Then ALM ON **Alarm Temp High 115**
If pH > 08.50 Then ALM ON **Alarm PH High 180**
If pH< 08.00 Then ALM ON **Alarm PH Low 180**
If ORP > 450 Then ALM ON **Alarm ORP High 180**
If ORP< 300 Then ALM ON **Alarm ORP Low 180**
If Temp< 75.0 Then ALM ON **Alarm Temp Low 180**
If Temp > 80.0 Then ALM ON **Alarm Temp High 180**
If Power 000 Then MH1 OFF ** Power out wait 180**
Max Change 020 M Then MH1 ON
If Power 000 Then MH2 OFF ** Power out wait 180**
Max Change 025 M Then MH2 ON
If Power 000 Then TL1 OFF ** Power out wait 180**
Max Change 020 M Then TL1 ON
If Power 000 Then TL2 OFF ** Power out wait 115**
Max Change 025 M Then TL2 ON
If Power 000 Then TL3 OFF ** Power out wait 115**
Max Change 025 M Then TL3 ON
If Time > 00:00 Then RP2 ON ** Main pump on 115**
If Time > 08:00 Then TL2 ON ** Blues on 115**
If Time > 21:30 Then TL2 OFF **Blues off 115**
If Time > 09:30 Then TL3 ON **Whites on 115**
If Time > 20:30 Then TL3 OFF **Whites off 115**
If Time > 08:30 Then ML2 OFF **Moon off 115**
If Time > 21:30 Then ML2 ON **Moon on 115**
If Time > 09:30 Then RL2 OFF **Fuge off 115**
If Time > 20:30 Then RL2 ON **Fuge on 115**
If TmpA > 77.0 Then FN2 ON **Fan's on High Temp 115**
If TmpA< 76.5 Then FN2 OFF **Fan's off after Temp 115**
If TmpA< 76.0 Then HT2 ON **Heater on Low Temp 115**
If TmpA > 76.5 Then HT2 OFF **Heater off after Temp 115**
If FeedB 040 Then RP2 OFF **Feed Mode 115**
If FeedB 030 Then MJ2 Off **Feed Mode 115**
If TmpA > 81.0 Then TL3 OFF **Whites off for hightemp 115**
Max Change 075 M Then TL3 OFF **Wait for temp drop 115**
If TmpA > 83.0 Then TL2 OFF **Blues off for hightemp 115**
Max Change 060 M Then TL2 OFF **Wait for temp drop 115**
If Time > 00:00 Then RP1 ON ** Main pump on 180**
If ORP< 365 Then ON1 ON **Ozone on 180**
If ORP > 385 Then ON1 OFF **Ozone off 180**
If pH > 08.45 Then CO2 ON **CO2 on 180**
If pH< 08.35 Then CO2 OFF **CO2 off 180**
If Temp > 77.0 Then FN1 ON **Fan's on High Temp 180**
If Temp< 76.5 Then FN1 OFF **Fan's off after Temp 180**
If Temp< 76.0 Then HT1 ON **Heater on Low Temp 180**
If Temp > 76.5 Then HT1 OFF **Heater off after Temp 180**
If FeedA 040 Then RP1 OFF **Feed Mode 180**
If FeedA 030 Then VT1 OFF **Feed Mode 180**
If FeedA 035 Then VT2 OFF **Feed Mode 180**
If FeedA 020 Then MJ1 OFF **Feed Mode 180**
If Time > 08:00 Then TL1 ON ** Blues on 180**
If Time > 21:30 Then TL1 OFF **Blues off 180**
If Time > 08:30 Then MH2 ON **Center 250 on 180**
If Time > 21:30 Then MH2 OFF **Center 250 off 180**
If Time > 09:30 Then MH1 ON **Outside 250s on 180**
If Time > 20:30 Then MH1 OFF **Outside 250s off 180**
If Time > 08:30 Then ML1 OFF **Moon off 180**
If Time > 21:30 Then ML1 ON **Moon on 180**
If Time > 09:30 Then RL1 OFF **Fuge off 180**
If Time > 20:30 Then RL1 ON **Fuge on 180**
If Temp > 81.0 Then MH1 OFF **Outside 250s off for hightemp 180**
Max Change 075 M Then MH1 OFF **Wait for temp drop 180**
If Temp > 82.0 Then MH2 OFF **Center 250 off for hightemp 180**
Max Change 060 M Then MH2 OFF **Wait for temp drop 180**
If Temp > 83.0 Then TL1 OFF **Blues off for hightemp 180**
Max Change 060 M Then TL1 OFF **Wait for temp drop 180**
OSC 010/010 ON/OFF Then VT1 ON **Vortec 1 on 180**
OSC 010/010 ON/OFF Then VT2 OFF**Vortec 2 on 180**

slallen User is Offline
ReefChat Staff
Moray
Moray

Posts:300
Flower Mound, TX


03/16/2007 7:40 AM  
Great job there Glenn. I think I need to make a few changes to mine. One is to the temp/light control. THe new lights have 3 plugs for the MH so I can turn them on and off idependently like you have for yours. Also I was reading some other examples, and you can create dummy timers to use in around those functions as well. I will update the post above with changes as they get made.

I am beginning to think I should have bought a second DC8. Might have to order one since I want to add more stuff on the controller. Saw last night an example that used one of the FEED cycles for water changes and shut everything off. was a good idea IMO.

real time stats
Click my stats for a graphed history.
Come Chat with Us!
Glenn User is Offline
ReefChat Staff
Goby
Goby

Posts:141
Keller, Texas


03/16/2007 8:06 AM  
That is why I have 3 of them and some x-10 units to go with it.
I need to work on the vortec wave part.

Glenn User is Offline
ReefChat Staff
Goby
Goby

Posts:141
Keller, Texas


03/16/2007 8:09 AM  
Steve,

Just noticed you have a bunch of temp < 50 lines, what are they for.

slallen User is Offline
ReefChat Staff
Moray
Moray

Posts:300
Flower Mound, TX


03/16/2007 8:17 AM  

Got that from another user. Basically if the temp probe comes out of the water or fails then the temperature will drop less than 50. If that happens you want to turn everything off and fire an alarm. Since you would have no way of knowing what the temp is you could potentially cook you tank. (Heaters come on, lights never turn off, etc...)

BTW - just orderd a second DC8


real time stats
Click my stats for a graphed history.
Come Chat with Us!
slallen User is Offline
ReefChat Staff
Moray
Moray

Posts:300
Flower Mound, TX


04/06/2007 3:06 PM  

Latest program updates.

ACT$-A01 Actinics
HQI$-A02 Halides
MNB#-C05 Moon Lights - Blue
MNW#-C08 Moon Lights - White
RPM#-A07 Return Pump
MJL#-A04 Modded MJ - Left
MJR#-B01 Modded MJ - Right
KOR%-B02 Korellia - Right
KOL%-C02 Korellia - Left
SWL#-A06 Sea Swirl - Closed Loop
FNT%-A05 Fans - Top Canopy
FNB%-B04 Fans Bottom - Sump
HTR&-B03 Heater
OZN&-A08 Ozone Generator
SKM#-C01 Skimmer
CAR#-C04 Ca Reactor
PCR#-C06 PhosBan/Carbon Reactors
ATO#-C03 Auto Top Off
ALM&-P01 Alarm
MJT&-P02 MJ Timer
KOT&-P03 Korellia Timer
   
If Time > 00:00 Then RPM ON
If Time > 00:00 Then SKM ON
If Time > 00:00 Then MJL OFF
If Time > 00:00 Then KOL OFF
If Time > 00:00 Then ALM OFF
Set default conditions for timers
If Power 000 Then ACT OFF
Max Change 015 M Then ACT ON
If Power 000 Then HQI OFF
Max Change 020 M Then HQI ON
If power outage bring lighting on at staged intervals to prevent surge.
If Time > 12:00 Then ACT ON
If Time > 22:00 Then ACT OFF
If Time > 13:00 Then HQI ON
If Time > 21:00 Then HQI OFF
If Time > 21:00 Then MNW ON
If Time > 21:00 Then MNB ON
If Time > 02:00 Then MNW OFF
If Time > 07:00 Then MNB OFF
Turn lighting on in stages for sunrise to sunset effect.
If Temp > 82.0 Then HQI OFF
Max Change 090 M Then HQI OFF
If Temp > 83.0 Then ACT OFF
Max Change 060 M Then ACT OFF
If Temp < 76.5 Then HTR ON
If Temp > 77.0 Then HTR OFF
If Temp > 78.0 Then FNT ON
If Temp < 77.5 Then FNT OFF
If Temp > 78.5 Then FNB ON
If Temp < 78.0 Then FNB OFF
Temperature control. Halides go off when temp reaches 82.0. They will stay off for 90 minutes from the time the temp reaches < 82.0 This helps prevent bounces on the halides and gives them time to cool before refiring. Actinics go off at 83.0 and come on 60 minutes after the temp reaches less than 83.0.

 

If Timer HQI = ON Then SWL ON
If Timer HQI = OFF Then SWL OFF
Turns on the closed loop when the Halides come on.
RND 015/015 ON/OFF Then MJR ON
If Timer MJR = OFF Then MJL ON
RND 015/045 ON/OFF Then MJT OFF
If Timer MJT = ON Then MJR OFF
If Timer MJT = ON Then MJL OFF

RND 015/015 ON/OFF Then KOR ON
If Timer KOR = OFF Then KOL ON
RND 015/030 ON/OFF Then KOT OFF
If Timer KOT = ON Then KOR OFF
If Timer KOT = ON Then KOL OFF

Random timer programming for the maxi jets and korellia pumps. The use of the MJT timer and KOT timer is to balance the on off event. Using the extra timer allows for a more even timing.
If ORP < 340 Then OZN ON
If ORP > 375 Then OZN OFF
Ozone control
If Temp < 50.0 Then ACT OFF
If Temp < 50.0 Then HQI OFF
If Temp < 50.0 Then FNT OFF
If Temp < 50.0 Then FNB OFF
If Temp < 50.0 Then HTR OFF
If the temp probe comes out of the water or fails this will shut off anything that produces heat or cools. Helps prevent a melt down.
If Temp > 83.5 Then ALM ON
If pH > 08.50 Then ALM ON
If pH < 07.80 Then ALM ON
Alarm settings for pH need to add for Temp.
If pH < 07.60 Then CAR OFF If pH drops below 7.60 on the main tank shut off the Ca Reactor.
If FeedA 000 Then MJR OFF
If FeedA 000 Then MJL OFF
If FeedA 000 Then SWL OFF
If FeedA 000 Then KOL OFF
If FeedA 000 Then KOR OFF
If FeedA 000 Then SKM OFF
Feed A turns off all the pumps for a few minutes to allow the food to sit in the water column longer. I have also set up FeedB to turn off everything for performing water changes.
   
   



 


real time stats
Click my stats for a graphed history.
Come Chat with Us!
Glenn User is Offline
ReefChat Staff
Goby
Goby

Posts:141
Keller, Texas


04/06/2007 7:32 PM  
Wow Steve, nice work updating your code.

Ashlar User is Offline
ReefChat Staff
Goby
Goby
Posts:144


08/02/2007 7:48 PM  

Here's mine..

LT1$-A01
LT2$-A02
LT3$-A03
LT4$-A04
LT5$-A05
MNL$-A06
CTM$-A07
CTA$-A08
HE1%-B01
PH1#-D01
PH2#-D03
FAN&-E01
OZN&-E02
ALM&-F01
DOS&-A09
SKM#-D03
CHL%-B02 

\\ default alarm
If Time > 00:00 Then ALM OFF

\\ power fail, bring lights up in sequence
If Power 000 Then LT4 OFF
Max Change 005 M Then LT4 ON

If Power 000 Then CTA OFF
Max Change 005 M Then CTA ON

If Power 000 Then CTM OFF
Max Change 015 M Then CTM ON

If Power 000 Then LT1 OFF
Max Change 020 M Then LT1 ON

If Power 000 Then LT2 OFF
Max Change 025 M Then LT2 ON

If Power 000 Then LT3 OFF
Max Change 030 M Then LT3 ON

\\ 'dawn' on the main tank
If Time > 12:00       Then LT4 ON
If Time > 14:15       Then LT4 OFF

\\ bring the metal halides up and down in sequence
If Time > 14:00       Then LT2 ON
If Time > 14:15       Then LT1 ON
If Time > 14:15       Then LT3 ON
If Time > 21:45       Then LT1 OFF
If Time > 21:45       Then LT3 OFF
If Time > 22:00       Then LT2 OFF

\\ 'dusk' main tank lighting
If Time > 21:45       Then LT4 ON
If Time > 23:30       Then LT4 OFF

\\ moon lights
If Time > 23:30       Then MNL ON
If Time > 05:00       Then MNL OFF

\\ refugium lighting in reverse photoperiod
If Time > 16:00       Then LT5 OFF
If Time > 22:00       Then LT5 ON

\\ corner tank 'dawn'
If Time > 12:00       Then CTA ON
If Time > 14:15       Then CTA OFF

\\ corner tank 'dusk'
If Time > 21:45       Then CTA ON
If Time > 23:30       Then CTA OFF

\\ corner tank main lighting
If Time > 14:00       Then CTM ON
If Time > 22:00       Then CTM OFF

\\ dosing pump on at night
If Time > 23:30       Then DOS ON
If Time > 11:30       Then DOS OFF

\\ temp control
If Temp  < 78.5      Then HE1 ON
If Temp  > 80.5      Then HE1 OFF

If Temp  > 81.0      Then FAN ON
If Temp  < 80.5      Then FAN OFF

If Temp > 81.5 Then CHL ON
If Temp < 81.0 Then CHL OFF

\\ temp overrides lighting in case things go wrong, and stay off for a while
If Temp  > 81.5      Then LT5 OFF
Max Change 030 M Then LT5 ON

If Temp  > 82.0      Then LT2 OFF
Max Change 060 M Then LT2 ON

If Temp  > 82.5      Then LT3 OFF
Max Change 060 M Then LT3 ON

If Temp  > 83.0      Then LT1 OFF
Max Change 060 M Then LT1 ON

\\ Alarm conditions
If Temp  > 83.1      Then ALM ON
If Temp  < 82.5      Then ALM OFF
If Temp  < 77.0      Then ALM ON
If Temp  > 77.5      Then ALM OFF

\\ if the temp probe is unplugged, shut down any heating or cooling
If Temp < 50.0 Then HE1 OFF   
If Temp < 50.0 Then LT1 OFF
If Temp < 50.0 Then LT2 OFF
If Temp < 50.0 Then LT3 OFF
If Temp < 50.0 Then CTM OFF
If Temp < 50.0 Then FAN OFF
If Temp < 50.0 Then CHL OFF

\\ orp control
If ORP   > 375         Then OZN OFF
If ORP   < 370         Then OZN ON

\\ Turn the skimmer off when the button is pressed, and turn off ozone
If Switch1 CLOSED Then SKM OFF
If Switch1 OPEN Then SKM ON
IF Timer SKM = OFF Then OZN OFF

 

 


Ashlar User is Offline
ReefChat Staff
Goby
Goby
Posts:144


10/05/2007 3:15 PM  

LT1$-A01
LT2$-A02
LT3$-A03
LT4$-A04
LT5$-A05
MNL$-A06
HE1%-B01
PH1#-D01
PH2#-D03
FAN&-E01
OZN&-E02
ALM&-F01
DOS&-A09
SKM#-D03
CHL%-B02

\\ default alarm off
If Time > 00:00 Then ALM OFF

\\ on power fail, turn off mh, bring up 'dawn' and bring up mh after cool down (sequentially)
If Power 030 Then LT4 ON
If Power 015 Then LT2 OFF
If Power 020 Then LT1 OFF
If Power 025 Then LT3 OFF

\\timers
If Time > 12:00 Then LT4 ON
If Time > 14:15 Then LT4 OFF
If Time > 14:00 Then LT2 ON
If Time > 14:15 Then LT1 ON
If Time > 14:15 Then LT3 ON
If Time > 21:45 Then LT1 OFF
If Time > 21:45 Then LT3 OFF
If Time > 22:00 Then LT2 OFF
If Time > 21:45 Then LT4 ON
If Time > 23:30 Then LT4 OFF
If Time > 23:30 Then MNL ON
If Time > 05:00 Then MNL OFF
If Time > 16:00 Then LT5 OFF
If Time > 22:00 Then LT5 ON
If Time > 23:30 Then DOS ON
If Time > 11:30 Then DOS OFF

\\ heater control
If Temp < 78.5 Then HE1 ON
If Temp > 80.5 Then HE1 OFF

\\ ozone control
If ORP > 375 Then OZN OFF
If ORP < 365 Then OZN ON

\\ fan control
If Temp > 81.0 Then FAN ON
If Temp < 80.2 Then FAN OFF

\\ chiller control
If Temp > 81.5 Then CHL ON
If Temp < 80.5 Then CHL OFF

\\ temp overrides for lights
If Temp > 81.7 Then LT5 OFF
Max Change 030 M Then LT5 ON
If Temp > 82.0 Then LT2 OFF
Max Change 060 M Then LT2 ON
If Temp > 82.5 Then LT3 OFF
Max Change 060 M Then LT3 ON
If Temp > 83.0 Then LT1 OFF
Max Change 060 M Then LT1 ON

\\ alarms
If Temp > 83.1 Then ALM ON
If Temp < 83.0 Then ALM OFF
If Temp < 77.0 Then ALM ON
If Temp > 77.5 Then ALM OFF

\\ if temp probe unplugged, turn off anything that could heat / cool the tank
If Temp < 50.0 Then HE1 OFF
If Temp < 50.0 Then LT1 OFF
If Temp < 50.0 Then LT2 OFF
If Temp < 50.0 Then LT3 OFF
If Temp < 50.0 Then FAN OFF
If Temp < 50.0 Then CHL OFF

\\ skimmer button
If Switch1 CLOSED Then SKM OFF
If Switch1 OPEN Then SKM ON

\\ if skimmer off, turn off ozone
If Timer SKM=OFF Then OZN OFF


Otty User is Offline
Copepod
Copepod

Posts:12
Elizabethtown, IN


04/26/2008 11:30 AM  

Does anyone know where to find all the codes for this controller?? I have checked Neptunes website but they have nothing that I could find.


slallen User is Offline
ReefChat Staff
Moray
Moray

Posts:300
Flower Mound, TX


04/27/2008 4:48 PM  

Most of the codes are in the book. Could you be a little more specific as to what you are looking for? I mean really there is only, IF, THEN, ON, OFF, <> POWER, TIMER, MAX CHANGE, TIME, RND, OSC, ALARM.

Most others are made up by you.


real time stats
Click my stats for a graphed history.
Come Chat with Us!
You are not authorized to post a reply.



ActiveForums 3.7
Home|Forums|Links|LFS Map|Photo Galleries|Video Gallery|Sponsors
Copyright 2006 by ReefChat.org - A reef keeping communityTerms Of UsePrivacy Statement