Neptune Apex variable output programming challenge

richarddeweerd

Active Member
View Badges
Joined
Apr 22, 2020
Messages
195
Reaction score
370
Location
The Netherlands
Rating - 0%
0   0   0
I have my return pump controlled by a variable output and so far that works great.

It is running at 60% and during the feed cycle I run it slower 30%
Is it possible that after the feed cycle the pump runs at 100% for a minute and after that it goes back to 60%?
Because it would fill up my overflow quicker.
 
This can be done by overlapping two If Feed commands with different delays:

Fallback 60
Set 60
If FeedA 001 Then 100
If FeedA 000 Then 30

Because the Apex evaluates each line of code top to bottom and only applies the last True command, both of the If FeedA commands are True while the Feed timer is still counting down, so the 30% will be applied. Once the Feed timer expires only the If FeedA 001 command is True so the 100% is applied for 1 minute. Once that timer expires, the normal programming resumes to 60%. The order of the If FeedA commands is important.
 
it works! but 'the 100% flow had a negative side effect that my emergency drain was running and there for some food was passing the filter socks.

So now after the feed cycle I'm going straight back to the normal flow
 
I have my return pump controlled by a variable output and so far that works great.

Sorry to thread hijack but how are you doing this? I have a flow meter on my return and a core 15 so I want to vary the pump speed to match a flow rate because I have manifold which I vary and end up having to tweak pump speed all the time to maintain the flow.
 
Trying to do this as well and I am getting error on line 5 expected on or off

fallback 60
Set 60
If Output Vfeed = 000 Then 30
If Output Vfeed = 200 Then 100
If FeedA 500 Then 100
If FeedA 000 Then 30
If FeedB 200 Then 100
If FeedB 000 Then 30
If FeedC 200 Then 100
If FeedC 000 Then 30
If FeedD 200 Then 100
If FeedD 000 Then 30
 
Trying to do this as well and I am getting error on line 5 expected on or off

fallback 60
Set 60
If Output Vfeed = 000 Then 30
If Output Vfeed = 200 Then 100
If FeedA 500 Then 100
If FeedA 000 Then 30
If FeedB 200 Then 100
If FeedB 000 Then 30
If FeedC 200 Then 100
If FeedC 000 Then 30
If FeedD 200 Then 100
If FeedD 000 Then 30
What is vfeed?
 
Trying to do this as well and I am getting error on line 5 expected on or off

fallback 60
Set 60
If Output Vfeed = 000 Then 30
If Output Vfeed = 200 Then 100
If FeedA 500 Then 100
If FeedA 000 Then 30
If FeedB 200 Then 100
If FeedB 000 Then 30
If FeedC 200 Then 100
If FeedC 000 Then 30
If FeedD 200 Then 100
If FeedD 000 Then 30
So vfeed is a virtual outlet, you can’t use =000. It’s output vfeed = on then or = off then.
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top