Avast Kalk stirrer won't oscillate?

Tcook

2500 Club Member
View Badges
Joined
Jan 29, 2014
Messages
3,673
Reaction score
8,322
Location
California
Rating - 0%
0   0   0
Can someone check my code? It is running 24/7. The outlet is set to "Auto" in Fusion. When I turn it off the stirrer stops. Is it the pH "ON" statement last in the list that is keeping it on?

Fallback OFF
Set OFF
OSC 000:00/015:00/045:00 Then ON
If pH > 8.30 Then OFF
If pH < 8.30 Then ON
If FeedA 000 Then OFF
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,217
Location
Oregon
Rating - 0%
0   0   0
What is you pH probe reading? If it’s below 8.30, then the programming sets the output to ON which overrides the OSC. The way your program is written it will only ever oscillate if pH is exactly 8.30. Not higher, not lower.

By the way, you can delete the Set OFF command because it’s not needed when using OSC.
 

garbled

Well-Known Member
View Badges
Joined
Nov 10, 2018
Messages
772
Reaction score
1,045
Rating - 0%
0   0   0
You don't need the ph < 8.3 line. Your test for ph > 8.3 covers that. If you delete that line, then it will turn on when the OSC is in the right timerange, as long as the ph is less than 8.3.
 

Brett S

Valuable Member
View Badges
Joined
Nov 28, 2016
Messages
1,062
Reaction score
1,373
Location
Orlando
Rating - 0%
0   0   0
Can someone check my code? It is running 24/7. The outlet is set to "Auto" in Fusion. When I turn it off the stirrer stops. Is it the pH "ON" statement last in the list that is keeping it on?

Fallback OFF
Set OFF
OSC 000:00/015:00/045:00 Then ON
If pH > 8.30 Then OFF
If pH < 8.30 Then ON
If FeedA 000 Then OFF

The lower lines take priority, so the If pH < 8.30 Then ON will override the OSC line above it and cause the outlet to always be on when the pH is less than 8.3.

As @garbled said, just take that line out and it will do what you want. The OSC will start working, but it will be overridden and turned off if the pH is above 8.3 or if FeedA is active.

Even without that line it will only oscillate when the pH is at or below 8.3, because the If pH > 8.30 Then OFF line will turn it off if the pH is too high.

On a side note, it would have worked perfectly whenever your pH was exactly 8.30, because you had a line that forced it off when the pH was greater than 8.30 and a line that forced it on when it was less than 8.30, but nothing to override the OSC line when the pH was exactly 8.30.
 
OP
OP
Tcook

Tcook

2500 Club Member
View Badges
Joined
Jan 29, 2014
Messages
3,673
Reaction score
8,322
Location
California
Rating - 0%
0   0   0
Thank everyone! I removed the Set OFF and low pH command and the motor turned off. I will check at the top of the hour to see if it is running.
 

Reefing threads: Do you wear gear from reef brands?

  • I wear reef gear everywhere.

    Votes: 7 17.5%
  • I wear reef gear primarily at fish events and my LFS.

    Votes: 2 5.0%
  • I wear reef gear primarily for water changes and tank maintenance.

    Votes: 0 0.0%
  • I wear reef gear primarily to relax where I live.

    Votes: 5 12.5%
  • I don’t wear gear from reef brands.

    Votes: 24 60.0%
  • Other.

    Votes: 2 5.0%
Back
Top