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

Update interp_convert.cc: fix broken G52/G92 reset on M2/M30 #2916

Closed

Conversation

Sigma1912
Copy link
Contributor

Current code does not reset G52/G92 offset to zero on M2/M30 this is contrary to RS274NGC standard (see Point1 below):

https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=823374
RS274NGC_m2

and can lead to unexpected behavior due to automatic application of G52/G92 offsets on startup:
https://linuxcnc.org/docs/html/gcode/coordinates.html#sec:g52
g92 note

Note: The inserted code is the same as is used for 'G92.2' in the same file:

g92_code

@Sigma1912
Copy link
Contributor Author

Sigma1912 commented Mar 5, 2024

I'm sorry this should have been in 2.9 not master

@Sigma1912 Sigma1912 closed this Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant