@Adalius Ok few questions,
-So feed A and feed D, are both being set up with a ramp?
-what is theft data line?
-output water change is what? I'd remove?
-the if "output apex power" code line refers to what? I remove it?
Also how would I defer my sump ato from turning on unnessisarlilly. I want to add a defer time
I'm about to lose my mind over this. How the **** is there not a proper YouTube video for this, this is a joke.
Ok, so I'm no Apex wizard or anything so someone else can chime in if I'm wrong *but*, from what I see and how I understand it:
This bit:
[COR_RAMP] PROFILE
Name = COR_RAMP
Type = Ramp
Ramp Time = 5
Start Intensity = 1
End Intensity = 100
Just sets it to ramp over 5 seconds from 1-100.
This bit:
Fallback COR_RAMP
Set COR_RAMP
If FeedA 000 Then 1
If FeedD 000 Then 1
If Output Water_Change = ON Then OFF
Tells it to:
A) Fallback to the COR_RAMP profile (i.e. ramp up over 5 seconds to 100%) in the event if needs to fallback.
B) Sets it to the ramp profile.
C) If FeedA is 'on', then defer 0 seconds and drop to 1% (i.e. immediately)
D) If FeedD is 'on', then defer 0 seconds, and drop to 1% (i.e. immediately)
E) If the Water_Change output (which they probably had for toggling an outlet on the smartbar named 'Water_Change' which runs their water change pumps) is on, then shut off the pump.
As for your ATO question, there's an example in one of the Neptune bulletins that looks pretty close to what you'd need, with some mods depending on what your exact setup is:
[ATO_PUMP]
Fallback OFF
Set OFF
If SwATO OPEN Then ON
If SwHIGH CLOSED Then OFF
When On > 005:00 Then OFF
Defer 000:10 Then ON
Defer 000:06 Then OFF
Min Time 060:00 Then OFF
I believe this does the following: Normally off, defaults off, if the ATO probe is open, then turn on the ATO pump, if the high limit probe is closed, then shut off the pump. If it runs for more than 5 minutes, shut it off. The Defer statements then tell it that if the ATO probe is open, wait 10 seconds to make sure it stays open before turning on, and if the high limit is closed, make sure it stays closed for 6 seconds before shutting off (to prevent sloshing from triggering it open/closed repeatedly). The Min Time statement says if it is turned off, (by either the high limit or the 5 minute runtime limit) wait 60 minutes before allowing anything to turn it back on.
I hope this helps (and that I myself understand Apex programming correctly!)