Spindle ccw hanging
11 Mar 2019 23:17 - 11 Mar 2019 23:18 #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.
If user make a simple axis auto config to test m4. What is user's output?
So that is not the problem.
If user make a simple axis auto config to test m4. What is user's output?
Last edit: 11 Mar 2019 23:18 by Grotius.
Please Log in or Create an account to join the conversation.
11 Mar 2019 23:21 #128403
by biqut2
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!
Replied by biqut2 on topic Spindle ccw hanging
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 or Create an account to join the conversation.
11 Mar 2019 23:29 #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 or Create an account to join the conversation.
11 Mar 2019 23:31 #128405
by biqut2
Replied by biqut2 on topic Spindle ccw hanging
It does, watching it in halshow all the pin states change accordingly.For accuracy check your pins. If it changes from cw to ccw at m4 with S0.
Please Log in or Create an account to join the conversation.
11 Mar 2019 23:47 #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 !!!
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 or Create an account to join the conversation.
12 Mar 2019 00:11 #128408
by biqut2
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.
Replied by biqut2 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 !!!
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.
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
12 Mar 2019 14:42 #128439
by andypugh
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.
Replied by andypugh on topic Spindle ccw hanging
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 or Create an account to join the conversation.
12 Mar 2019 17:23 #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
If this is a bug, be sure it will be corrected very soon!
Norbert
Please Log in or Create an account to join the conversation.
12 Mar 2019 17:33 #128456
by andypugh
github.com/LinuxCNC/linuxcnc/blob/master...py/gmoccapy.py#L3350
Maybe
Replied by andypugh 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.
github.com/LinuxCNC/linuxcnc/blob/master...py/gmoccapy.py#L3350
Maybe
elif abs(real_spindle_speed) < self.min_spindle_rev:
real_spindle_speed = copysign(self.min_spindle_rev, real_spindle_speed)
Please Log in or Create an account to join the conversation.
16 Mar 2019 16:55 #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
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
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.087 seconds