Troubleshooting Defer Code

reeferericb

Active Member
View Badges
Joined
Nov 1, 2020
Messages
309
Reaction score
187
Location
Hallsville
What state or country do you live in
Missouri
Rating - 0%
0   0   0
I want my mixing pump to turn off two hours after I turn it on. I manually switch the pump to on, then back to manual. It will run for days until I check it and manually turn it back off.


Fallback OFF
Set OFF
If Output Mixing_Pump = ON Then ON
Defer 120:00 Then OFF
 
I have tried a few times to have an outlet reference itself however in all cases the code failed to work as it should. In a true state machine this should be possible however in the Neptune implementation this appears to be a limitation you can’t work around.

If you use an external trigger to turn on your mixing pump (e.g. a feed cycle) then this is quite easy to do however, e.g. the way the standard Neptune AWC wizard works.
 
You cannot reference the same outlet in a line of code.

Makes perfect sense to me. The outlet would never be on, unless you turned it on manually. Then that would negate the "auto" function.

I personally would just reference a feed mode, or get a breakout box with a push button and reference that switch in the line of code.

Fallback off
set off
If feedD = on then on

Then change the feed mode time to how ever long you want the pump to be on.

If using a break out box with a push button(lets call the push button Mixing_Pump)

Fallback off
set off
if Mixing_pump closed(or "open" depending on switch state) then on
defer 120:00 then off
 

TOP 10 Trending Threads

IF A LONGER TRIP GETS UNEXPECTEDLY EXTENDED, WHAT’S YOUR BACKUP PLAN FOR THE TANK?

  • I keep an experienced reefer friend on call who can check in and cover extra days

    Votes: 2 18.2%
  • A non-reefer friend or family member can follow my instructions

    Votes: 6 54.5%
  • Automation and remote monitoring should buy me time

    Votes: 5 45.5%
  • I have a local aquarium service or store I can call

    Votes: 1 9.1%
  • I don’t have a real backup plan. So, yes, I’d be sweating

    Votes: 3 27.3%
  • I don't wanna think about this question. La la la la la la...

    Votes: 2 18.2%
  • Other (Post in the comments)

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