Hi all,
I have just implemented a CyberPower 1500 UPS for my tank and Apex, and want to change my Apex program to accomodate this. In my installation the Apex EB6 is connected to the UPS, and the EB6 powers my Main Heater, Return Pump, Wavemaker and Skimmer. All other equipment is connected via the mains power. The Apex has a Auxiliary power adapter connected to the mains for outage detection.
I do have a backup heater, but it is intentionally not connected to the Apex for separate redundancy, and I just rely on the internal thermostat, which is set just below 25 C. This is mains power connected so would be off during an outage.
I would like to allow for a 2 stage approach during an outage.
1. Initially keep all EB6 devices running.
2. If the outage exceeds a threshold (e.g. 60 mins) shut down less important equipment and allow temperature to drop a little to extend the life of the UPS to run the return pump and keep temperature above the new low limit.
Could you please review the program below and let me know if you suggest any changes?
Thanks in advance!
[ATOPump]
# Outlet for the ATO Pump connected to the FMM
# No point trying to run this during a power outage as the PMUP is powered from mains power
#
Fallback OFF
Set OFF
If ATOLo OPEN Then ON
If ATOHi CLOSED Then OFF
When On > 020:00 Then OFF
If Time 13:00 to 11:59 Then OFF
If Outlet PowerOutage = ON then OFF
Defer 000:10 Then ON
Defer 000:04 Then OFF
Min Time 120:00 Then OFF
[ATOStopped]
# VO to alert if the ATO appears to have to have stopped filling the sump
# Not currently used as the SumpLo optical switch is used for this monitoring purpose
# Perhaps turn back on for additional redundancy
#
Set OFF
If Outlet ATOPump = OFF Then ON
Defer 600:00 Then ON
If Outlet ATOPump = ON then OFF
[AutoFeeder]
Set OFF
If Outlet V-Feed = ON then ON
Defer 1:00 then ON
[EmailAlert]
Set OFF
If Power Apex Off 001 Then ON
If Power EB6_1 Off 001 Then ON
If Error ATOPump Then ON
If ATOHi CLOSED Then ON
If FlrLk CLOSED then ON
If Outlet SumpLow = ON Then ON
[MainHeater]
Fallback OFF
If Tmp < 25.0 Then ON
If Outlet PowerOutLong = ON then OFF
If Tmp < 24.0 then ON
Defer 000:20 Then ON
If Tmp > 25.2 Then OFF
Defer 000:20 Then OFF
[PowerOutage]
# VO to indicate a power outage
# Strictly speaking this is redundant but it improves the readability of other code
#
Set OFF
If Power Apex Off 001 Then ON
[PowerOutLong]
# VO to indicate a power outage has gone beyond the first threshold
# Used to turn off/reduce use of less important devices to extend life of the UPS
#
Set OFF
If Power Apex Off 001 Then ON
Defer 060:00 then ON
[ReturnPump]
Fallback ON
Set ON
If FeedA 000 Then OFF
If FeedB 000 Then OFF
If Outlet V-Feed = ON then OFF
[Skimmer]
Fallback OFF
Set ON
If Outlet ReturnPump = OFF Then OFF
If FeedB 000 Then OFF
If Power EB6_1 OFF 001 Then OFF
If Outlet PowerOutLong = ON then OFF
Defer 2:00 Then ON
[SumpLow]
# VO to detect if the sump water level is low
#
Set OFF
If SumpLo OPEN Then ON
Defer 001:00 Then ON
[V-Feed]
Set OFF
If Time 19:00 to 19:09 Then ON
[WaveMaker]
Fallback ON
Set ON
If FeedA 001 Then OFF
If FeedB 000 Then OFF
If Outlet PowerOutLong = ON then OFF
Sent from my iPad using Tapatalk
Bookmarks