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

Move G42 to G44 to allow for CNC G42/G43 #10010

Closed
thinkyhead opened this issue Mar 8, 2018 · 7 comments
Closed

Move G42 to G44 to allow for CNC G42/G43 #10010

thinkyhead opened this issue Mar 8, 2018 · 7 comments
Labels
T: Development Makefiles, PlatformIO, Python scripts, etc.

Comments

@thinkyhead
Copy link
Member

The G42 command is currently assigned to "Move to Mesh Point." As this is a less essential feature and not used inside of sliced G-code, I propose to move this function to the unassigned G-code (both in RepRap and in CNC) G44 so that we can make room for the G42 and G43 commands which are used in CNC for Dynamic Cutter Compensation (radius and left/right of path) and for Tool Length Offset.

@thinkyhead thinkyhead added the T: Development Makefiles, PlatformIO, Python scripts, etc. label Mar 8, 2018
@GMagician
Copy link
Contributor

GMagician commented Mar 8, 2018

CNC machine uses G40, G41 and G42 for tool compensation, G43 is not used for that purpose as I know

EDIT: G43 tool lenght...sorry I lost this statement

@thinkyhead
Copy link
Member Author

As I'm implementing CNC features for a client, in the process I'm trying to maintain compatible codes (following LinuxCNC guidance), and also aiming to retain the expected behavior of CNC G-code — such as permitting multiple Gnn codes within a single line of G-code. While I cannot merge these features for a while, it seems like a good idea to clear out space early.

@GMagician
Copy link
Contributor

There is also the possibility to have same gcode that act in a different way depending on "machine typology" this, maybe, can be a solution for historical commands that cannot be moved.

@thinkyhead
Copy link
Member Author

thinkyhead commented Mar 9, 2018

True. I think it's relatively safe to deprecate G42 in favor of G44. Most of the time when codes are added we are more careful to check both RepRap.org and LinuxCNC.org.

@MarlinFirmware MarlinFirmware deleted a comment from TheSFReader Mar 10, 2018
@boelle boelle mentioned this issue Jun 22, 2019
20 tasks
@boelle
Copy link
Contributor

boelle commented Oct 24, 2019

@thinkyhead did you do the move of G42 to G44 ?

@boelle
Copy link
Contributor

boelle commented Nov 24, 2019

this one has gone stale and the discussion could be done on discord as well

Marlin Discord server. Join link: https://discord.gg/n5NJ59y

@boelle boelle closed this as completed Nov 24, 2019
@github-actions
Copy link

github-actions bot commented Jul 4, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T: Development Makefiles, PlatformIO, Python scripts, etc.
Projects
None yet
Development

No branches or pull requests

3 participants