Program Check Please

DallasSVT

New member
Here is a list of the programs I have up and running! Please look them over and let me know if I need to make any changes!

Thanks to everyone that helped me get this far!! :thumbsup::thumbsup:

I want the lights set to [Fallback ON] so if something goes wrong I can manually turn them on and off! And, I haven't tackled PH yet as I am waiting on another probe, but will have one in the CA Reactor and one in the sump.

FeedA is a typical Feed program where I want the return pump off for 10 Min.

FeedB is a Water Change program where I want Return Pump, GFO, Skimmer and Heaters OFF.


EB8_ 4 Under Stand

PC Lights
Fallback ON
Set OFF
If Time 09:00 to 22:00 Then ON
If Temp_S > 85.0 Then OFF
Min Time 005:00 Then OFF

MH Lights
Fallback ON
Set OFF
If Time 11:00 to 19:00 Then ON
If Temp_S > 84.0 Then OFF
Min Time 030:00 Then OFF

Fan In Light Fixture
Fallback ON
Set OFF
If Outlet Light_MH = ON Then ON
If Temp_S > 83.0 Then ON

Refugium Lights
Fallback ON
Set OFF
If Time 21:30 to 08:30 Then ON
If Temp_S > 85.0 Then OFF
Min Time 005:00 Then OFF

Moon Lights
Fallback ON
Set OFF
If Time 21:30 to 08:30 Then ON

Skimmer Pump
Fallback ON
Set ON
If FeedB 000 Then OFF
Defer 005:00 Then ON

GFO Pump
Fallback ON
Set ON
If FeedB 000 Then OFF
Defer 010:00 Then ON


EB8_ 3 In Fish room

Return Pump
Fallback ON
Set ON
If FeedA 000 Then OFF
If FeedB 000 Then OFF

Heater 1
Fallback OFF
Set OFF
If Temp_S < 79.0 Then ON
If Temp_S > 80.0 Then OFF
If Temp_S < 60.0 Then OFF
Defer 002:00 Then ON
Defer 002:00 Then OFF
If FeedB 000 Then OFF
Defer 015:00 Then ON

Problem With Pumps VO
Fallback OFF
Set OFF
If Outlet Pump_RET = OFF Then ON
If Outlet Pump_Skim = OFF Then ON
If Outlet Pump_GFO = OFF Then ON
Defer 030:00 Then ON

EMAIL Alert
Fallback OFF
Set OFF
If Outlet Problem_PUMP = ON Then ON
If Temp_S > 84.0 Then ON
Defer 002:00 Then ON
If Temp_S < 76.0 Then ON
Defer 002:00 Then ON

Soon to be added on EB3 is Chiller & Chiller Pump, CA Reactor Pump, CA Feed Pump, And CA CO2. Some sort of Top Off system.

How do I set up an Email alert when the Amperage of a certain EB8 reaches a certain ammount?

Thanks again!!

Dallas
 
I'd watch the amps on EB3 once the chiller is added, if it's a decent size. My 1/2hp pulls 9A on it's own, so with the other pumps and heater, you might run into issues. Or not :)
 
I'd watch the amps on EB3 once the chiller is added, if it's a decent size. My 1/2hp pulls 9A on it's own, so with the other pumps and heater, you might run into issues. Or not :)

I am waiting on a "Socket Expansion" from Neptune to try and get the chiller on its own Breaker, Hope that will work.

A typical house breaker is 15A correct?

Dallas
 
Couple minor issues with your programming;

1) You don't need to use Fallback on virtual outlets or any of the Alarm outlets.

2) Defer and Min Time apply to the entire outlet, not individual statements. So, you can have a Defer...ON and a Defer...OFF, but it does not make sense to have more than one of each. For example, in your Heater outlet, you have Defer 2:00 Then ON and a Defer 15:00 Then ON. The last one will take precedent over the other.

3) In the code for the Fan, with a Set OFF and If Temp > 83 you may have an issue. The fan may cycle excessively as it drops to 83 momentarily and cuts OFF, and then turns back ON as it bounces back. Using Min Time...ON, Defer...OFF or If Temp < X Then OFF to replace Set OFF would solve the issue.

4) Not sure what you intend with Problem_PUMP outlet. The only thing that is turning the pumps off are Feed cycles. Once those are over, the pumps will turn back on. The Apex cannot detect a failed pump, only the state of an Outlet.

5) The Apex monitors Amps of each EB8, but there is no command to act on it. The best you can do is detect loss of power to an EB8, for example:

If Power EB8_3 OFF 000 Then ON

could be used in your email outlet.

Todd
 
Couple minor issues with your programming;

1) You don't need to use Fallback on virtual outlets or any of the Alarm outlets.

Thanks, Fixed it!

2) Defer and Min Time apply to the entire outlet, not individual statements. So, you can have a Defer...ON and a Defer...OFF, but it does not make sense to have more than one of each. For example, in your Heater outlet, you have Defer 2:00 Then ON and a Defer 15:00 Then ON. The last one will take precedent over the other.

I wanted the heater to wait 2 min if the Temp drops to avoid excessively cycling. And to stay off for 15 min during the FeedB (water Change) to let the sump fill back up with water. I will try this....

Heater 1
Fallback OFF
Set OFF
If Temp_S < 79.0 Then ON
If Temp_S > 80.0 Then OFF
If Temp_S < 60.0 Then OFF
Defer 002:00 Then ON
Defer 002:00 Then OFF
If FeedB 000 Then OFF



3) In the code for the Fan, with a Set OFF and If Temp > 83 you may have an issue. The fan may cycle excessively as it drops to 83 momentarily and cuts OFF, and then turns back ON as it bounces back. Using Min Time...ON, Defer...OFF or If Temp < X Then OFF to replace Set OFF would solve the issue.

Thanks, once chiller is set up I will just use this fan while the MH is on and if the Temp gets really hot with the MH off. I just ALWAYS want the fan ON when the MH light is on! How does this look?

Fan_ Light
Fallback ON
Set OFF
If Outlet Light_MH = ON Then ON
If Temp_S > 83.0 Then ON
Defer 005:00 Then ON

Will this wait 5min after the MH turns on or will it only Defer if the temp is above 83.0?


4) Not sure what you intend with Problem_PUMP outlet. The only thing that is turning the pumps off are Feed cycles. Once those are over, the pumps will turn back on. The Apex cannot detect a failed pump, only the state of an Outlet.

Its a VO that can hopefully alert me if, for some reason, my important pumps have been off for longer than 30min. Return, GFO, and Skimmer pumps. Then I have it in the Email_Alert to Alert me that there are Problems! At least, thats what I want it to do......

5) The Apex monitors Amps of each EB8, but there is no command to act on it. The best you can do is detect loss of power to an EB8, for example:

If Power EB8_3 OFF 000 Then ON

could be used in your email outlet.

Cool I will try that! All I really want is an alert if the power is lost. I think I am getting FALSE power failures on my AquaNotes as it said that there was a P.Failure at 7:08 and a P. Restore at 7:09 this morning. That did not happen and is not showing up online!

Todd
 
The only way to isolate a Defer command to a specific condition is with a seperate virtual outlet. A Defer...ON applies to any condition that would turn the outlet ON, vice versa for Defer...OFF.

The way you have it now, the fans would not come ON until the temp has been above 83F for a continuous five minutes. So you are delaying the start of the fans. I think you will want to use Defer...OFF. That would delay the fans from shutting OFF allowing it to adequately cool. Or you could just use a Min Time 5:00 Then ON, that would keep the fans ON for at least five minutes before allowing them to turn OFF.

Regarding the false power failures, there is a older thread concerning this issue. If you are using an external http port of 80, that is likely the cause. Apparently, there is something out there issuing an invalid command that causes the Apex to reboot.

Todd
 
The only way to isolate a Defer command to a specific condition is with a seperate virtual outlet. A Defer...ON applies to any condition that would turn the outlet ON, vice versa for Defer...OFF.

The way you have it now, the fans would not come ON until the temp has been above 83F for a continuous five minutes. So you are delaying the start of the fans. I think you will want to use Defer...OFF. That would delay the fans from shutting OFF allowing it to adequately cool. Or you could just use a Min Time 5:00 Then ON, that would keep the fans ON for at least five minutes before allowing them to turn OFF.

Regarding the false power failures, there is a older thread concerning this issue. If you are using an external http port of 80, that is likely the cause. Apparently, there is something out there issuing an invalid command that causes the Apex to reboot.



Todd


Will the fan be on if the MH outlet is on regardless of the temp?? Does the Outlet ON override the Temp Statement?


New one:

Fallback ON
Set OFF
If Outlet Light_MH = ON Then ON
If Temp_S > 83.0 Then ON
Min Time 005:00 Then ON
 
The Apex executes top to bottom, so later statements have priority over earlier ones, with the exception of Defer and Min Time that are executed last regardless of position. So, per your latest code, the fans will be ON if the halides are ON or if the temp exceeds 83F.

Todd
 
The Apex executes top to bottom, so later statements have priority over earlier ones, with the exception of Defer and Min Time that are executed last regardless of position. So, per your latest code, the fans will be ON if the halides are ON or if the temp exceeds 83F.

Todd

Perfect! it's easy after all!!!

Thanks Todd!!!! :wavehand:


Dallas
 
Back
Top