I use the Apex to turn off my return pump as well as the skimmer for feeding each night. The way it is set up, once I press one of two button t0 shut off the return pump for 10 minutes, and that pump then comes back online. The skimmer has a 5 minute delay so it won't overflow with the water level being higher in the sump initially. Blog here:
http://melevsreef.com/node/1915
Button code:
Fallback OFF
Set OFF
If Sw2 CLOSED Then ON
Defer 010:00 Then OFF
The Defer command tells that pump to be off for 10 minutes.
Return pump code:
Fallback ON
Set ON
If Outlet Feed_Sw = ON Then OFF
If Outlet Blue_Button = ON Then OFF
Skimmer code:
Fallback ON
Set ON
If Outlet Skim_Float = ON Then OFF
If Outlet Feed_Sw = ON Then OFF
If Outlet Blue_Button = ON Then OFF
Defer 005:00 Then ON
The Defer command is what makes the skimmer wait 5 minutes after power is restored.
You can see extra options in my code, like to turn off the skimmer's pump if the waste collector is full.
Skimmer Swabbie code:
Fallback OFF
OSC 030:00/002:00/148:00 Then ON
If Outlet Skim_Float = ON Then OFF
This runs the skimmer swabbie motor for two minutes every three hours. If the waste collector is full, the swabbie is disabled.