Using defer command on a virtual outlet

watsonj

10 & Over Club
I want to reference my virtual feed outlet and have the skimmer come on 5 min after the outlet goes on after feeding. I have an in sump skimmer and would like the main pump to run 5 min before the skimmer restarts so as to avoid the skimmer running over while the sump level drops to operating level. I have tried the following:

If Outlet Feed_Cycle = ON 005 Then OFF
but the Apex rejects it and removes the 005. How do I code this ?

A more elegant solution would be to be able to trigger feed a cycle at a given time, is this possible?
 
You could set your virtual outlet to turn on at any given time.

Set OFF
If Time 20:00 to 20:30 Then ON

In your skimmer code:

If Outlet Feed_Cycle = ON Then OFF
Defer 005:00 then ON

The Defer statement will however impact any other code you may have so once the outlet receives the command to turn ON from the OFF state it will wait 5 minutes before actually switching the outlet ON.
 
Back
Top