|
![]() |
|
|
#151 | |
|
Registered Member
Join Date: Mar 2007
Location: Richland WA
Posts: 542
|
Re: Programming question
Quote:
|
|
|
|
|
|
|
#152 |
|
Registered Member
Join Date: Oct 2004
Location: Mpls,Mn
Posts: 577
|
alarm code for return pump
if i have this for my return:
If Time > 00:00 Then RET ON what do i have for the alarm if power 000 then alarm |
|
|
|
|
|
#153 |
|
Registered Member
Join Date: Mar 2007
Location: Richland WA
Posts: 542
|
You use the same thing, if Time > 00:00 Then ALM OFF, that initilizes the alarm to off. Then if a temp pH ORP or switch input is set to tell the alarm to turn on, it'll turn on. But, once the condition is cleared, the alarm will go back off.
|
|
|
|
|
|
#154 |
|
Registered Member
Join Date: Oct 2004
Location: Mpls,Mn
Posts: 577
|
so what do i use for the alarm to go on if power outage.
|
|
|
|
|
|
#155 | |
|
Registered Member
Join Date: Mar 2007
Location: Richland WA
Posts: 542
|
Quote:
|
|
|
|
|
|
|
#156 |
|
Registered Member
Join Date: Mar 2009
Location: Diamondhead, MS
Posts: 331
|
I just got a used AC Pro (Not the AC III Pro) today. Will all the programming techniques as stated in this thread be virtually the same for my AC Pro? What are the differences between AC Pro and AC III Pro. Figured once I understand this controller I can always upgrade to the latest and greatest.
__________________
185G Peninsula DSA Tank, 3 Radion Pro Fixtures, EcoSystem Mud Sump, Closed Loop System, EcoTech MP40's, Alpha Cone 200 Protein Skimmer, APEX and lots of other goodies. Current Tank Info: 185G |
|
|
|
|
|
#157 |
|
On Yer left!
![]() Join Date: Sep 2004
Location: Northern VA
Posts: 19,260
|
I just replaced my ACjr with an AC3 to get the web & email alarm features. I transferred my ACjr program over and added the ALM statements in. Did some tests and the email notifications work. The power fail does not seem to work. If I remove power from the AC3, I dont see anything in the power fail log or status. The delays I have for the return and skimmer do work though. Any idea there, and any other suggestions?
LT1$-A01 //lights 1 LT2$-A02 //lights 2 FAN&-A03 //canopy fans VOR#-A04 //Vortech pumps FUG$-B02 //fuge light RET#-B03 //return pump SKM#-B04 //skimmer HE1%-B05 //heater 1 HE2%-B08 //heater 2 DOS#-B01 //dosing pumps ALM&-A09 //alarm If Time > 00:00 Then RET ON If Time > 00:00 Then SKM ON If Time > 00:00 Then VOR ON If Time > 00:00 Then ALM OFF If Time > 12:00 Then LT1 ON If Time > 21:30 Then LT1 OFF If Time > 13:00 Then LT2 ON If Time > 20:30 Then LT2 OFF If Time > 12:00 Then FAN ON If Time > 21:35 Then FAN OFF If FeedA 000 Then VOR OFF If Temp < 77.3 Then HE1 ON If Temp > 78.0 Then HE1 OFF If Temp < 77.5 Then HE2 ON If Temp > 78.0 Then HE2 OFF If Power 002 Then RET OFF If Power 003 Then SKM OFF If Timer LT1 = ON Then FUG OFF If Timer LT1 = OFF Then FUG ON If Time > 01:00 Then DOS ON If Time > 02:10 Then DOS OFF If Time > 07:00 Then DOS ON If Time > 08:10 Then DOS OFF If Temp > 81.0 Then ALM ON If Temp < 77.3 Then ALM ON If pH > 08.30 Then ALM ON If Power 000 Then ALM ON
__________________
- Scott |
|
|
|
|
|
#158 |
|
Registered Member
Join Date: Mar 2007
Location: Richland WA
Posts: 542
|
program appears functional. I would suggest adding the safety statements for your heaters, so if you have a failure of the temp probe they don't run 100% of the time. Just use a temp you should never get to (60 maybe?) to shut the heaters off if the temp is less than that.
As for the power failure - do you have a battery back-up hooked up to the 2nd power port on the AC3? If not, the power statements won't work for you. |
|
|
|
|
|
#159 |
|
On Yer left!
![]() Join Date: Sep 2004
Location: Northern VA
Posts: 19,260
|
Thanks. My failsafe if the temp probe failed is the internal thermostats in the heaters. The tank will go to ~ 81 and then they will turn off. The problem is those internal thermostats are typically poor which is the reason I have the AC3 controlling the temp. If the temp probe and one of the heater thermostats failed, I could have a problem. Using the low temp program would prevent this, but my tank could get pretty cool. Not sure how cool as I have never tested this. I would get the alarm email sent to me which would help. It may be a better way to go.
No, I dont have a battery backup. What is typically used? Will the AC3 charge a rechargeable 9V?
__________________
- Scott |
|
|
|
|
|
#160 | |
|
Registered Member
Join Date: Mar 2007
Location: Richland WA
Posts: 542
|
Quote:
Most use a UPS to plug in the back-up, internet connection and maybe a pump or something to keep the tank on life support. |
|
|
|
|
|
|
#161 |
|
On Yer left!
![]() Join Date: Sep 2004
Location: Northern VA
Posts: 19,260
|
I meant the 9V backup connection on the AC3. What does that do? I was assuming it would log the power fail and send out the ALM when power was restored. I couldn't find documentation that describes how it works. My router is on a UPS, so that is there.
Yeah, I think the low temp line would be a good way to go.
__________________
- Scott |
|
|
|
|
|
#162 |
|
Registered Member
Join Date: Jul 2005
Location: Atlanta, GA
Posts: 86
|
May be a silly question, as it is not addressed in the manual, but can we use a logical test function in the AC3 program?
IF(logical_test, value_if_true, [value_if_false]) |
|
|
|
|
|
#163 | |
|
Registered Member
Join Date: Mar 2007
Location: Richland WA
Posts: 542
|
Quote:
|
|
|
|
|
|
|
#164 | |
|
Registered Member
Join Date: Mar 2007
Location: Richland WA
Posts: 542
|
Quote:
If timer xxx = ON Then xxx ON - or whatever you want to do. For example, I have a dummy timer called MNT for tank maintainance. I use that one dummy timer to turn things on/off as needed - alarm off, ATO solenoid closed (off), heater off, chiller off, exhaust fan on, skimmer air pump off...you get the idea. So, by just going into manual control and activating the MNT timer to ON, I switch everything else to the state I want without having to go in and change everything one-by-one. |
|
|
|
|
|
|
#165 |
|
Registered Member
Join Date: Jul 2005
Location: Atlanta, GA
Posts: 86
|
I can certainly see how that works in your situation and is a great idea. I will definitely add a similar feature to my program.
My problem is this. I currently have my AC3 talking to an X-10 controller that switches multiple outlets. Occasionally (well, frequently), an X-10 outlet will miss a command. I knew this was a possibility when I set it up, but did not think it would be a problem since the AC3 is set to repeat the commands at regular intervals (5 minutes in my case). I figured the worst that could happen would be that my lights would come on 5 minutes later than usual… The problem is that the X-10 controller seems to send a CHANGE command, rather than a ON or OFF command. Meaning that even if an outlet is currently ON and the AC3 tells the controller to turn it ON again (repeat interval), the X-10 controller will send a command to CHANGE and the outlet will now turn OFF. Clear as mud??? Any ideas on how to evaluate the status of an outlet and give different values when true vs. false? |
|
|
|
|
|
#166 | |
|
Registered Member
Join Date: Mar 2007
Location: Richland WA
Posts: 542
|
Quote:
|
|
|
|
|
|
|
#167 | |
|
Commencing hatred
Join Date: Apr 2006
Posts: 3,811
|
Quote:
|
|
|
|
|
|
|
#168 | |
|
Registered Member
Join Date: Mar 2007
Location: Richland WA
Posts: 542
|
Quote:
|
|
|
|
|
|
|
#169 | |
|
Registered Member
Join Date: Jul 2005
Location: Atlanta, GA
Posts: 86
|
Quote:
|
|
|
|
|
|
|
#170 | |
|
Commencing hatred
Join Date: Apr 2006
Posts: 3,811
|
Quote:
So, the power supply, and the modem/router need to be on a UPS? My computer and ac3 are rooms apart (i just snaked a long etehrnet cable to connect them). |
|
|
|
|
|
|
#171 | |
|
Registered Member
Join Date: Mar 2007
Location: Richland WA
Posts: 542
|
Quote:
|
|
|
|
|
|
|
#172 | |
|
Registered Member
Join Date: Mar 2007
Location: Richland WA
Posts: 542
|
Quote:
If your AC3 and the modem/router are in different locations and you've done the long cable, I can see 2 ideas: 1 You will need 2 UPS's, one for the modem/router and one for the AC3 and any pumps/life support you want to run when power's out. 2 Move your router and modem into the room with the tank and use the long cable to connect your computer to the router instead of the AC3, then just get a single UPS. |
|
|
|
|
|
|
#173 |
|
Commencing hatred
Join Date: Apr 2006
Posts: 3,811
|
Ok, one last question, and then I'll let you go from answering my retarded questions:
If I choose only 1 ups for the controller, it will still "remember" when a power outage occured, and notify me once power is restored, correct? |
|
|
|
|
|
#174 |
|
Registered Member
Join Date: Oct 2005
Location: Wesley Chapel, FL
Posts: 819
|
My return pump "PM1" turns off for 1 second every 5 minutes. I can't figure out why.
I have it on port A03 of my DC8 which is controlled by my AC3 running FW 3.40. The only language I have to control the return pump is If Time > 00:00 Then PM1 ON No matter whether I set PM1 to manual or auto, it keeps doing it. It started doing it after i upgraded to to FW 3.3. I've re-initialized the controller and re-uploaded the program twice. I unplugged the DC8 and the controller and plugged them back in in different orders too. Still the same behaviour. Any ideas? It's a ReefFlo Barracuda.
__________________
Non Illigitimi Carborundum Current Tank Info: 400g total volume bb sps reef |
|
|
|
|
|
#175 |
|
Registered Member
Join Date: Jun 2004
Location: Westminster, SoCal
Posts: 1,774
|
I will have my AC3 today but here is my program so far, please check it over and let me know any mistakes. Thanks.
LT1-A01 LT2-A02 LT3-A03 PM1-A04 KLK-A05 CO2-A08 ALM-A09 //Alarms If Time > 00:00 then ALM^ OFF If Power 000 then ALM^ ON If Temp > 81:9 then ALM^ ON If Temp < 77:00 then ALM^ ON If pH < 8.00 then ALM^ ON If pH > 8.50 then ALM^ ON If pH2 < 6.20 then ALM^ ON If pH2 > 6.90 then ALM^ ON //VHO Lighting If Time > 12:59 then LT1* ON If Time > 14:00 then LT1* OFF If Time > 21:58 then LT1* ON If Time > 22:59 then LT1* OFF If FeedA 000 then LT1* ON //T5 & Canopy Fan If Time > 13:59 then LT2* ON If Time > 21:59 then LT2* OFF If Temp > 80:9 then LT2* OFF //Refugium Light If Time > 23:00 then LT3* ON If Time > 12.59 then LT3* OFF //Skimmer Pumps If Time > 19:59 then PM1% ON If Time > 07:59 then PM1% OFF //Kalk Pump OSC 010/060 ON/OFF then KLK% ON If PH > 8.45 then KLK% OFF //Tank pH If pH > 8.30 then CO2$ ON If pH < 8.10 then CO2$ OFF //CArx pH If pH2 > 6.60 then CO2$ ON If pH2 < 6.40 then CO2$ OFF
__________________
There are 10 kinds of people in the world - those who understand binary and those who don't. Go Angels. Current Tank Info: 180 Reef + 150 FO |
|
|
|
![]() |
| Thread Tools | |
|
|