Avast Kalk stirrer won't oscillate?

  • 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
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
 
Does it oscillate it plugged into a regular outlet?
Just checking to see if motor is bad first.
 
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.
 
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.
 
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.
 
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.
 

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