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
 

TOP 10 Trending Threads

HOW LONG HAVE YOU HAD YOUR LONGEST-SERVING CURRENT TANK RESIDENT?

  • Less than 1 year

    Votes: 1 8.3%
  • 1 - 3 years

    Votes: 3 25.0%
  • 3 - 5 years

    Votes: 0 0.0%
  • 5 - 10 years

    Votes: 6 50.0%
  • 10 - 20 years

    Votes: 1 8.3%
  • 20 years or more

    Votes: 1 8.3%
  • I don’t have livestock yet

    Votes: 0 0.0%
  • Other (Post in the comments)

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