Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool crash at the end of the job #2466

Open
Lycowolf opened this issue Feb 15, 2024 · 1 comment
Open

Tool crash at the end of the job #2466

Lycowolf opened this issue Feb 15, 2024 · 1 comment

Comments

@Lycowolf
Copy link

Version

2.1.4

Hardware / Firmware

GRBL 1.1

What happened

My g-code ends with the command G53 G00 Z-5. Instead of sending it to the controller as-is, UGS split it into 3 moves, all in WCS (see below). The original command would move the tool up, away from the work, but it went down and damaged the work. I suspect t might be related to autoleveling, as the coordinates are clearly modified by the probe data.

serial console:

>>> G01X12.3593Y26.1145Z-0.2855
ok
>>> G01X12.399Y26.1265Z-0.2857
ok
>>> G01X12.455Y26.1335Z-0.2859
>>> 
ok
>>> G0X12.455Y26.1335Z-1.9026
ok
>>> G0X12.455Y26.1335Z-3.5192
ok
>>> G0X12.455Y26.1335Z-5.1359


G-code:
G01 X12.35931 Y26.11447
G01 X12.39901 Y26.12654
G01 X12.45497 Y26.13352

G53 G00 Z-5.00000 (Retract to tool change height)

How to reproduce

No response

Operating System

Ubuntu 22.04, amd64

Anything else

No response

@breiler
Copy link
Collaborator

breiler commented Feb 16, 2024

Ouch, sorry to hear this.

Yes you are correct. The G53 is a non modal command and should not be splitted up this way. It should probably not even be included in the autoleveling process. Thanks for letting us know.

@breiler breiler added the bug label Feb 16, 2024
@breiler breiler added this to To do in Probing and auto levelling via automation Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants