No problem. The Apex programming is a bit intimidating at first but it's pretty easy once you get used to looking at it. This is my programming, which I believe is different than the standard programming that you'll get by running the ATK task funtion. Just remember that the name of the sensors may be different on your tank so you can't really just copy and paste.
Fallback OFF
Set OFF
If ATO_Lo OPEN Then ON
If ATO_Hi CLOSED Then OFF
If R_Leak CLOSED Then OFF
If L_Leak CLOSED Then OFF
Defer 005:00 Then ON
Min Time 180:00 Then OFF
Here is the same code with a description of each line
Fallback OFF - This tells the ATO pump what to do if communication is lost with the Apex
Set OFF - This is what the standard setting is for the pump at any moment, unless another line tells the pump to turn on, it will remain in this state (off).
If ATO_Lo OPEN Then ON - This tells the ATO pump once the water level is below the sensor to turn on. Once the water is above the sensor then this line of code will no longer command the pump to be on, so it will turn off since the line above it (SET OFF) tells the pump to stay off unless the code below it says otherwise.
If ATO_Hi CLOSED Then OFF - This is that backup code that will override the command in the line above if the water rises above the second sensor.
If R_Leak CLOSED Then OFF - This shuts the ATO off entirely if a leak is detected
If L_Leak CLOSED Then OFF - Same as above but this is another leak detector
Defer 005:00 Then ON - This makes the ATO wait 5 minutes after the water drops below the sensor before it turns on so if I'm doing something in the sump that drops the water level for a moment, it won't immediately try to refill
Min Time 180:00 Then OFF - This line limits the top off to a single cycle every 180 minutes (3 hours). Since I am running this straight off an RODI system, it helps prevent me from wasting water but this line isn't really necessary in most applications.
I'd still recommend just running the task function, but if you don't want to do that, all that you really need to run the ATO pump is something like this:
Fallback OFF
Set OFF
If ATO_Lo OPEN Then ON
If ATO_Hi CLOSED Then OFF