Cor 20 not ramping down to 1% for FeedA

Tcook

2500 Club Member
View Badges
Joined
Jan 29, 2014
Messages
3,671
Reaction score
8,314
Location
California
Rating - 0%
0   0   0
I am not sure why both of my Cor20 returns are not reducing speed during FeedA cycle. This is what I have on the advanced tab.

If FeedA 000 Then 1
If FeedB 000 Then 1
If FeedC 000 Then 1
If FeedD 000 Then 1
If Leak_R CLOSED Then OFF
If Leak_R OPEN Then ON
If Leak_L CLOSED Then OFF
If Leak_L OPEN Then ON

My 2 MP40s shut off using the same code.

Skimmer run by a Cor15 also does not shut off.

Running and Apex Classic black label.
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,217
Location
Oregon
Rating - 0%
0   0   0
The problem is in your code. The Apex applies the last line that's True to set the output state. Look at your code, and see that the leak sensors are overriding the Feed settings. Let's assume FeedA is active:

If FeedA 000 Then 1 <-- TRUE
If FeedB 000 Then 1 <-- FALSE
If FeedC 000 Then 1 <-- FALSE
If FeedD 000 Then 1 <-- FALSE
If Leak_R CLOSED Then OFF <-- FALSE
If Leak_R OPEN Then ON <-- TRUE
If Leak_L CLOSED Then OFF <-- FALSE
If Leak_L OPEN Then ON <-- TRUE

There's no need to check if a leak sensor is CLOSED and also check if it's OPEN. Just check if it's CLOSED. Change it to this:

If FeedA 000 Then 1
If FeedB 000 Then 1
If FeedC 000 Then 1
If FeedD 000 Then 1
If Leak_R CLOSED Then OFF
If Leak_L CLOSED Then OFF
 

Algae invading algae: Have you had unwanted algae in your good macroalgae?

  • I regularly have unwanted algae in my macroalgae.

    Votes: 41 34.7%
  • I occasionally have unwanted algae in my macroalgae.

    Votes: 25 21.2%
  • I rarely have unwanted algae in my macroalgae.

    Votes: 9 7.6%
  • I never have unwanted algae in my macroalgae.

    Votes: 8 6.8%
  • I don’t have macroalgae.

    Votes: 31 26.3%
  • Other.

    Votes: 4 3.4%
Back
Top