ESC in axis 2.9.0 is that a proper behaviour

More
4 years 7 months ago #236439 by radom
I have a question,
lets say I have a lathe and executing code/mdi command, spindle is running and I press ESC - everything stops ok, I click touch off, enter number and then spindle turns on by itself
which I think is not ideal
2.8.2 didn't do that
is that a intended change or a bug or a mistake in my config
 

Please Log in to join the conversation.

More
4 years 7 months ago #236451 by cmorley
That is a bug.

Please Log in to join the conversation.

More
4 years 7 months ago #236796 by andypugh
Can you report this as a bug on the bug tracker?

github.com/LinuxCNC/linuxcnc/issues

Please Log in to join the conversation.

More
4 years 7 months ago #237102 by radom
I don't know what that was,
I can't reproduce it anymore
If I figure it out I will report it as a bug
thanks

Please Log in to join the conversation.

More
4 years 7 months ago #237346 by andypugh
I would guess that this is related to touching-off diameter when in constant surface speed mode.

Please Log in to join the conversation.

More
4 years 7 months ago #238632 by radom

I would guess that this is related to touching-off diameter when in constant surface speed mode.

 
I don't know what is happening
I mostly use 2.8.2 but when I open 2.9.0 one day the "bug" is present and another day I cannot reproduce it
and I'm doing the same thing after opening axis, mdi - m3 - esc - touch off
if it works it works with both g96 or g97 doesnt matter


 

Please Log in to join the conversation.

More
4 years 5 months ago #244226 by radom
Ok something different but similar
could someone reproduce this in 2.9.0 axis:
MDI - M3 s100 - spindle starts
press ESC - spindle stops, I can see M5 in Active g-codes in axis
mdi S50 enter - spindle starts

Please Log in to join the conversation.

More
4 years 4 months ago #244322 by andypugh

Ok something different but similar
could someone reproduce this in 2.9.0 axis:
MDI - M3 s100 - spindle starts
press ESC - spindle stops, I can see M5 in Active g-codes in axis
mdi S50 enter - spindle starts

Yes, I see the same thing with 2.9. 

Oddly, not with 2.8. Which is a bit unexpected as if there was a bug in spindle handling I would have expected it to be related to the multispindle changes, but those are in 2.8 too. 
 

Please Log in to join the conversation.

More
4 years 4 months ago #244323 by andypugh
Are you building LinuxCNC from source, or using packages?
(If from source, do you have the time to do a git bisect to find when the issue was introduced?)

Please Log in to join the conversation.

More
4 years 4 months ago #244333 by cmorley
I bet this is my code. I changed the spindle to change state on m3/4/5 rather then on s=0/s!=0.
I probably didn't look at abort, which probably stops the spindle by settting S to 0 but not M to 5.

Do you know where the abort code lives - I will take a look.

Please Log in to join the conversation.

Time to create page: 0.579 seconds
Powered by Kunena Forum