Ignore the spindle speed value

More
02 Sep 2019 17:41 #143912 by MarkusAurelius
Hi everyone
Please, help the newbie. My spindle speed (actual circuit) has some issues, which I try to resolve. For the mean time I have to run the machine.
The control randomly (without prediction, rather) does not read the actual value of the spindle speed, and puts any interpolation movement on hold.
In the .hal file I found variable "set motion.spindle-at-speed true" and changed it to "false", but it did not affect the situation.
In the manual I found explanations of what needs to be done to make the machine wait for the correct value of the spindle speed, but nothing visa-versa, I afraid.
Please, advice on what values in hal files have to be changed in order to ignore the spindle speed that the system reads from tachometer.
Thank you

Please Log in or Create an account to join the conversation.

More
02 Sep 2019 18:49 #143918 by PCW
Replied by PCW on topic Ignore the spindle speed value
Can you post your current hal and ini files?

Please Log in or Create an account to join the conversation.

More
02 Sep 2019 19:01 #143923 by cmorley
So you didn't mention if this is a lathe or not nor did you post your configuration files, so this is gonna be guesses....

'set motion.spindle-at-speed true' tells linuxcnc that the spindle speed is correct (so linuxcnc won't wait) - so it should already be doing what you want.
unless that pin is rewritten somewhere else.

My other guess then is this is a lathe and you are using CSS mode which requires spindle speed feedback.
And tapping/threading is the only other thing I can think of that requires spindle feedback - but obviously you can't fake that signal.

If none of that gives enough clues to figure out the problem, please post your config files and mention what version of linuxcnc you are using.

Chris

Please Log in or Create an account to join the conversation.

More
02 Sep 2019 21:43 #143957 by MarkusAurelius
Thank you, please, find attached

File Attachment:

File Name: Hurco-mill.ini
File Size:4 KB

File Attachment:

File Name: Hurco-mill.hal
File Size:12 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
02 Sep 2019 21:52 - 02 Sep 2019 21:53 #143958 by MarkusAurelius
Thanks, it's the mill, files have been submitted. Linuxcnc version 2.01 if I am not mistaken

Mark
Last edit: 02 Sep 2019 21:53 by MarkusAurelius.

Please Log in or Create an account to join the conversation.

More
02 Sep 2019 21:58 #143959 by MarkusAurelius
The reference to the spindle speed

File Attachment:

File Name: custom_postgui.hal
File Size:9 KB
deviation range I also found here (as attached)
Attachments:

Please Log in or Create an account to join the conversation.

More
02 Sep 2019 22:37 #143961 by PCW
Replied by PCW on topic Ignore the spindle speed value
in custom_postgui.hal you have:

net spindle-at-speed motion.spindle-at-speed <= near.0.out

but in Hurco-mill.hal you have

net spindle-at-speed => motion.spindle-at-speed

I dont think its even legal to have multiple nets to the same pin

But I dont think you are running "custom_postgui.hal"

In any case to permanently force motion.spindle-at-speed true,
comment out all line referencing it and put a

setp motion.spindle-at-speed true

statement in the main hal file

Please Log in or Create an account to join the conversation.

More
02 Sep 2019 22:41 #143962 by MarkusAurelius
Thank you, I will try to.

Please Log in or Create an account to join the conversation.

More
03 Sep 2019 21:02 #144091 by MarkusAurelius
Since I changed the value as per your instructions, the system never failed to read the tachometer:) it shows the correct RPM while running. It's a real circus, but yeah... so far all in order.
Thanks once again.

Please Log in or Create an account to join the conversation.

Time to create page: 0.212 seconds
Powered by Kunena Forum