Spindle ccw hanging

More
7 years 7 months ago #128401 by Grotius
Replied by Grotius on topic Spindle ccw hanging
If it was S0 (spindlespeed zero) the hal pin's would change in ccw direction.
So that is not the problem. B)

If user make a simple axis auto config to test m4. What is user's output?

Please Log in to join the conversation.

More
7 years 7 months ago #128403 by biqut2
Replied by biqut2 on topic 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!

Please Log in to join the conversation.

More
7 years 7 months ago #128404 by Grotius
Replied by Grotius on topic Spindle ccw hanging
For accuracy check your pins. If it changes from cw to ccw at m4 with S0.

Please Log in to join the conversation.

More
7 years 7 months ago #128405 by biqut2
Replied by biqut2 on topic Spindle ccw hanging

Grotius wrote: For accuracy check your pins. If it changes from cw to ccw at m4 with S0.

It does, watching it in halshow all the pin states change accordingly.

Please Log in to join the conversation.

More
7 years 7 months ago #128407 by Grotius
Replied by Grotius on topic Spindle ccw hanging
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 !!!

Please Log in to join the conversation.

More
7 years 7 months ago #128408 by biqut2
Replied by biqut2 on topic Spindle ccw hanging

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.

Please Log in to join the conversation.

More
7 years 7 months ago #128439 by andypugh
Replied by andypugh on topic Spindle ccw hanging

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.

Please Log in to join the conversation.

More
7 years 7 months ago #128455 by newbynobi
Replied by newbynobi on topic Spindle ccw hanging
I will check on this, but IMHO CCW shoul have negative values, i need to check if the settings page does allow negative values.

If this is a bug, be sure it will be corrected very soon!

Norbert

Please Log in to join the conversation.

More
7 years 7 months ago #128456 by andypugh
Replied by andypugh on topic Spindle ccw hanging

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.


github.com/LinuxCNC/linuxcnc/blob/master...py/gmoccapy.py#L3350

Maybe
Code:
elif abs(real_spindle_speed) < self.min_spindle_rev: real_spindle_speed = copysign(self.min_spindle_rev, real_spindle_speed)

Please Log in to join the conversation.

More
7 years 7 months ago #128753 by newbynobi
Replied by newbynobi on topic Spindle ccw hanging
Hallo @all,

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
S100 M4
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.

Norbert

Please Log in to join the conversation.

Time to create page: 0.245 seconds
Powered by Kunena Forum