controlling different pumps different times in 1 feed mode

  • Thread starter Thread starter Geoology
  • Start date Start date
  • Tagged users Tagged users None

Geoology

Community Member
View Badges
Joined
Nov 1, 2020
Messages
69
Reaction score
63
Location
Buford
What state or country do you live in
Georgia
Rating - 0%
0   0   0
Can I control my return pump time and my power head time differently in 1 feed mode setting? I what the return pump to turn off for 45 mins and the power heads to only be off for 15 mins.
 
The Apex "If Feed" command has an optional timer parameter where you can tell a device to stay off or on longer than the built-in Feed timer. The Feed A, B, C, D timers are defined under the Misc Setup screen:

Screen Shot 2021-09-04 at 10.22.37 PM.png


In my example, if I click Feed A, the timer will run for 300 seconds (5 minutes). Using the "If Feed" command, I can instruct my return pump to turn off during the Feed A cycle like this:

[ReturnPump]
Fallback ON
Set ON
If FeedA 000 Then OFF

The 000 parameter is the number of additional minutes beyond the built-in FeedA timer of 5 minutes. So in this example, the return pump will turn off when I click Feed A, and remain off for 5 minutes as the Feed A timer counts down to zero. As soon as the timer expires, the return pump will turn back on.

But If I change that 000 parameter to 005, then the return pump will wait an addition 5 minutes beyond the Feed A countdown timer, so it will remain off for a total of 10 minutes.

So using the example you requested, if your Feed A timer on the Misc Setup screen is set to 300 seconds (5 minutes), you would use this code to turn off your powerheads for 15 minutes and your return pump for 45 minutes:

[PowerHead]
Fallback ON
Set ON
If FeedA 010 Then OFF (total of 15 minutes with the 5 minute FeedA timer + 10 minutes extra delay)

[ReturnPump]
Fallback ON
Set ON
If Feed 040 Then OFF (total of 45 minutes with the 5 minute FeedA timer + 40 minutes extra delay)

See my tutorial on Apex Feed Cycles for more details and example code:
https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-7-feed-cycles.715/
 

TOP 10 Trending Threads

WHEN PLANNING CORAL PLACEMENT, WHAT USUALLY WINS? THE FUTURE COLONY, OR THE NEXT FRAG?

  • I leave plenty of open space for large future colonies

    Votes: 4 23.5%
  • I plan for growth...but occasionally squeeze coral into tight spaces

    Votes: 6 35.3%
  • I try to balance future growth with variety now

    Votes: 4 23.5%
  • I fit in as many frags as I reasonably can

    Votes: 3 17.6%
  • One more frag always wins! Future me can solve the problem...

    Votes: 1 5.9%
  • It depends on the coral and how quickly it grows

    Votes: 1 5.9%
  • I squeeze 'em in! Survival of the fittest, baby!!

    Votes: 0 0.0%
  • I’m already out of room, so apparently we know my answer...

    Votes: 1 5.9%
Back
Top
Home
Post thread…
Market
What's new