Cor 20 not ramping down to 1% for FeedA

  • Thread starter Thread starter Tcook
  • Start date Start date
  • Tagged users Tagged users None

Tcook

2500 Club Member
View Badges
Joined
Jan 29, 2014
Messages
4,661
Reaction score
8,892
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.
 
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
 

TOP 10 Trending Threads

WHICH SUPPOSEDLY EASY CORAL HAS GIVEN YOU THE MOST TROUBLE?

  • Zoanthids or palythoas

    Votes: 15 20.8%
  • Mushrooms or Ricordea

    Votes: 14 19.4%
  • Green star polyps

    Votes: 9 12.5%
  • Xenia

    Votes: 8 11.1%
  • Leather corals

    Votes: 9 12.5%
  • Duncan or candy cane corals

    Votes: 16 22.2%
  • Birdsnest or Montipora digitata

    Votes: 17 23.6%
  • None—mine have lived up to the reputation

    Votes: 4 5.6%
  • Other (tell us which one)

    Votes: 3 4.2%
Back
Top
Home
Post thread…
Market
What's new