Spindle ccw hanging
andypugh wrote: One odd thing I notice is that it is showing S550 and the reverse button.
When I try it here, it shows S -550 for reverse.
Do you have a minimum speed configured somewhere? (I see that the bottom number on the slider is 550)
I am wondering if, because -550 is less than 550, the GUI is refusing to command that speed.
You sir hit the proverbial nail on the head! Thank you, my .pref file had a minimum rpm of 550 which is the slowest speed on my spindle. I changed the minimum to -3800 and its works like it should now.
The level of support here on this forum is second to none, thank you again for the fast response and patience!
Grotius wrote: Okey, that is nice.
Can you redefine your exact problem in a few lines included with the solution at the end of this post.
Thank's. And power up the system. CCW full speed now !!!
I edited the original post and title to include the solution to the problem. I hope this is an acceptable format of posting the information.
biqut2 wrote: I am wondering if, because -550 is less than 550, the GUI is refusing to command that speed.
You sir hit the proverbial nail on the head! Thank you, my .pref file had a minimum rpm of 550 which is the slowest speed on my spindle. I changed the minimum to -3800 and its works like it should now.[/quote]
I think this looks like a Gmoccapy bug. The minimum speed setting should still allow reverse rotation.
newbynobi wrote: I will check on this, but IMHO CCW shoul have negative values, i need to check if the settings page does allow negative values.
elif abs(real_spindle_speed) < self.min_spindle_rev: real_spindle_speed = copysign(self.min_spindle_rev, real_spindle_speed)
I checked with
gmoccapy 1.5.9 from linuxcnc 2.7
gmoccapy 2.3.5 from master
gmoccapy 3.0.2 from my development branch
All do work as expected, if you set a min spindle rev to 500 rpm on the settings page and than change to MDI mode and enter
you will have a spindle running reverse with 500 rpm and label shows S -500
enter S100 M3
you will have a spindle running forward with 500 rpm and label shows S 500
IMHO in the case mentioned here, it has had another reason, that reverse did not run. May be spindle.speed-out is not accepted by the VFD, as that value is negative, many VFD need absolute values to work properly.
So in short, I am not bale to find an error in gmoccapy code.