APEX CODE

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

Davisc1293

Active Member
View Badges
Joined
Sep 16, 2021
Messages
402
Reaction score
94
Location
Rhode Island
What state or country do you live in
Rhode Island
Rating - 0%
0   0   0
I could look for another 20 minutes or I'm sure someone here can point me in the right direction. Im trying to configure my feed cycles on my apex i want the pumps and skimmer to turn off which i accomplished, but when the feed cycle is over i want the skimmer to remain off for another hour.
 
You can start here...
https://www.reef2reef.com/threads/apex-programming-help-skimmer-delay.829181/
Also, there are numerous articles on Apex programming, feed cycles, etc. Check the "articles" section for all the Apex tutorials. Also, @SuncrestReef is the resident expert on Apex programming.

The defer command is what you will need to use to do what you are looking for.
You will need to add a line of code in your skimmer programming:
Defer 005:00 Then ON (this example is for 5 min... you can use any time... for 1 hr, you would use 060:00)

Hope this helps!
 
Just threw it in there now ill know in an hour if it works... one great update apex could do is give more info on each outlet other then just saying on/off it would be cool if it displayed what it was doing. Such as off for feed cycle and had a timer when it would resume.
 
Just threw it in there now ill know in an hour if it works... one great update apex could do is give more info on each outlet other then just saying on/off it would be cool if it displayed what it was doing. Such as off for feed cycle and had a timer when it would resume.
The key is to test it using 1min. Then if it works you can set the value you want and not worry about it. There is a timer on the feed cycle tile.
 
The key is to test it using 1min. Then if it works you can set the value you want and not worry about it. There is a timer on the feed cycle tile.
Thank you, that makes wayyy too much sense.
 
Take a look at my tutorial on Apex Feed Cycles:

https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-7-feed-cycles.715/
If you only want the 1 hour delay during feeding, but not after any other situations (like during water changes or other maintenance), then limiting the 1 hour delay in the "If Feed" command is better than using a blanket 1 hour Defer delay. In the example below, the skimmer will turn off if the return pump is off, or if Feed A is active. But it will turn on 5 minutes after the return pump comes back on due to the Defer timer, but 60 minutes after Feed A completes (55 minutes + 5 minute Defer).

[Skimmer]
Fallback OFF
Set ON
If Output Return_Pump = OFF Then OFF
If FeedA 055 Then OFF
Defer 005:00 Then ON
 
This was helpful, i would like a 5 min delay after the pump comes back in any other situation to allow levels in the sump to equalize before the skimmer fires up. But would like the hour delay after feeding.
 
This is the code im using now
If Tmp > 81.0 Then OFF
If Tmp < 80.8 Then ON
If Output MainPump1 = OFF Then OFF
If FeedA 000 Then OFF
Defer 060:00 Then ON


My problem is the Skimmer will defer 1 hour anytime its shut off, but i only want it to stop for an hour when I use feed A.
 

TOP 10 Trending Threads

WHAT’S THE HARDEST PART OF REEFING TO EXPLAIN TO A NON-REEFER?

  • Why a tiny coral frag can cost that much

    Votes: 5 20.0%
  • Why I spend time testing and adjusting water

    Votes: 5 20.0%
  • Why the fish I want might not fit my tank

    Votes: 5 20.0%
  • Why I have buckets, tubing, and salt around the house

    Votes: 1 4.0%
  • Why corals are living animals, not decorations

    Votes: 7 28.0%
  • How much time and attention a reef takes

    Votes: 8 32.0%
  • The difference between freshwater and saltwater creatures

    Votes: 1 4.0%
  • I’ve stopped trying to explain

    Votes: 10 40.0%
  • Other (Post in the comments)

    Votes: 0 0.0%
Back
Top
Home
Post thread…
Market
What's new