Apex code

Bayareareefer18

Valuable Member
View Badges
Joined
Apr 8, 2018
Messages
2,238
Reaction score
2,147
What state or country do you live in
California
Rating - 0%
0   0   0
Hi guys I'm hoping for some help coding my apex. I thought I had it figured out but doesn't seem to be working for me

I am looking to set my feed C for coral feeding.

I currently have feed A setup for feeding fish. With feed A return pump is off but powerheads remain on

For feed C I would like to have return off but powerheads to run for ten minutes then off for duration of feed mode.

What I tried was this.

Feed C 1200 seconds
Wave 1 If Feed C 010 Then Off
Wave 2 If Feed C 010 Then Off
Return pump If Feed C 000 Then Off

When I hit feed C return and wave pumps go off immediately. What am I missing here?

Thanks
 
Hi guys I'm hoping for some help coding my apex. I thought I had it figured out but doesn't seem to be working for me

I am looking to set my feed C for coral feeding.

I currently have feed A setup for feeding fish. With feed A return pump is off but powerheads remain on

For feed C I would like to have return off but powerheads to run for ten minutes then off for duration of feed mode.

What I tried was this.

Feed C 1200 seconds
Wave 1 If Feed C 010 Then Off
Wave 2 If Feed C 010 Then Off
Return pump If Feed C 000 Then Off

When I hit feed C return and wave pumps go off immediately. What am I missing here?

Thanks
Try a defer code:
Wave 1 if feed c defer 010 Then off
 
The defer code doesn't seem to work in that sequence.
For me it just changes the code back to Wave 1 if feed c 010 Then off

I've been trying to achieve that as well with no success.
 
Defer context uses more placeholders.

If Feed C 010 Then Off
Defer 010:00 Then ON
Right but for some reason the pumps shut off immediately and don't follow the delay command. I use a defer command for my skimmer
 

WHAT MOST MAKES A BLACK FRIDAY REEF DEAL WORTH CONSIDERING?

  • A real discount on something already on my list

    Votes: 46 76.7%
  • Free or reduced shipping

    Votes: 9 15.0%
  • A useful bundle of gear or supplies

    Votes: 2 3.3%
  • A good price on livestock I’ve already researched

    Votes: 13 21.7%
  • A rare chance to get something hard to find

    Votes: 11 18.3%
  • A seller or brand I trust

    Votes: 11 18.3%
  • I buy when I need something, sale or not

    Votes: 12 20.0%
  • Other (Post in the comments)

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