MIN_SPINDLE_OVERRIDE = 0.5 CUESTION

More
15 Mar 2021 01:18 - 16 Mar 2021 19:32 #202288 by RobotMatic
why the MIN_SPINDLE_OVERRIDE of the .INI file in axis does not respond. ?

I have tested it on linuxcnc 2.8 and 2.8.1on AXIS

when I run in G code I can set the spindle speed to zero. but I have the MIN_SPINDLE_OVERRIDE set to 50% . Is it made for some reason this way?

thank you


. video


MAX_SPINDLE_OVERRIDE WORKS PERFECT !!!
Last edit: 16 Mar 2021 19:32 by RobotMatic.

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

More
17 Mar 2021 13:31 #202594 by andypugh
Axis doesn't even look for min_spindle_override.

github.com/LinuxCNC/linuxcnc/blob/76e1f2...cripts/axis.py#L3300

Is there any real use for it? I can definitely see a need for a minimum absolute speed command, but not so much for a minimum (proportional) override.

Many other user interfaces do look for MIN_SPINDLE_OVERRIDE:
github.com/LinuxCNC/linuxcnc/search?l=Py...MIN_SPINDLE_OVERRIDE

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

More
17 Mar 2021 15:46 - 17 Mar 2021 15:50 #202605 by RobotMatic
I must report a collision between tool and part.
Linuxcnc continues executing the program even if the spindle is off.
In this case, the operator made the mistake of lowering it and collided.
I think that for safety the spindle turn should be limited to a minimum override turn.

I went to see how Fanuc has implemented it and I found this that I show in the image

PICTURE

I think a security issue.
Last edit: 17 Mar 2021 15:50 by RobotMatic.

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

More
17 Mar 2021 21:49 #202653 by cmorley
That's exactly why it was added.

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

More
19 Mar 2021 00:06 #202784 by andypugh
I can imagine that even half-speed could break tools.

If you want to use Axis rather than a different GUI which does support min_spindle_override, then I can see a couple of options:

1) Do something with the logic of spindle-at-speed, so that it is false if the spindle is not moving at a certain minimum speed, even if it is at the commanded speed. But be aware that when waiting for spindle-at-speed the system doesn't give much clue as to why it is doing nothing
2) Modify Axis to support minimum_spindle_override. Axis is written in Python, so it can be edited, and the changes will take effect. There is no need to recompilr or to have the rest of the source code.
2a) Persuade someone to make the changes in LinuxCNC itself. But that would take longer to filter down to your production machine.

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

More
20 Mar 2021 14:10 #202984 by RobotMatic
I understand all the options. I have sent a security notification to all the users of my automation jobs so that they are aware of this possible situation due to an operation error.

I also understand how hard it is for developers to change something that was always like this.

I will try to see how I can give a solution while it does not happen by the developers.

thank you very much for all the answers

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

More
20 Mar 2021 18:58 #203012 by andypugh

I also understand how hard it is for developers to change something that was always like this.


It isn't developer inertial in this case, it is just that you seem to be the first to have been troubled by the fact that Axis doesn't do this.

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

More
21 Mar 2021 01:08 #203072 by cakeslob
Hey, here, you can add this to your .axisrc or usercommand.py file
root_window.tk.call('.pane.top.spinoverride.foscale','configure','-from','50')

in the example, 50 is the min override percentage , since theres nothing for it in axis it should be safe to use

since we are on the topic, you can adjust the override increments aswell
root_window.tk.call('.pane.top.spinoverride.foscale','configure','-from','50','-resolution','10')

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

More
21 Mar 2021 16:19 #203127 by db1981
Hello,

i had the same problem on a machine in the past,
this is the patch for this. it is not migrated to 2.8 yet, but this should be an easy task.


github.com/dbraun1981/linuxcnc_patches_2...indle_override.patch

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

More
06 Apr 2021 22:53 - 06 Apr 2021 22:53 #205207 by RobotMatic
Thank you very much for all the proposed solutions !!!!

as can be proposed for this patch to be native. ?

How do you tell the development group to analyze putting it?

is it possible that the next update 2.8.2 will have it ???
Last edit: 06 Apr 2021 22:53 by RobotMatic.

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

Time to create page: 0.086 seconds
Powered by Kunena Forum