Cor 20 not ramping down to 1% for FeedA

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

Tcook

2500 Club Member
View Badges
Joined
Jan 29, 2014
Messages
4,021
Reaction score
9,395
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
 

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%
Back
Top