Cor 20 not ramping down to 1% for FeedA

Tcook

2500 Club Member
View Badges
Joined
Jan 29, 2014
Messages
3,668
Reaction score
8,310
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,214
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
 

Being sticky and staying connected: Have you used any reef-safe glue?

  • I have used reef safe glue.

    Votes: 99 88.4%
  • I haven’t used reef safe glue, but plan to in the future.

    Votes: 6 5.4%
  • I have no interest in using reef safe glue.

    Votes: 4 3.6%
  • Other.

    Votes: 3 2.7%
Back
Top