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

[FR] Support for G10 L2(0) P1-6 X0 Y0 Z0 work coordinates (G54-G59) #14734

telleropnul opened this issue Jul 26, 2019 · 0 comments


Copy link

commented Jul 26, 2019


Thank you for all your hard work developing and maintaining the Marlin codebase!

Marlin has support for CNC coordinate systems, which is most appreciated.

[CNC_Coordinate_Systems] can be enabled in [configuration_adv.h] to enable G53-G59 coordinate systems:

* CNC Coordinate Systems
* Enables G53 and G54-G59.3 commands to select coordinate systems
* and G92.1 to reset the workspace to native machine space.

Marlin is increasingly used for CNC machines i.e. MPCNC.

Popular Gcode parsers like CNC.js and LinuxCNC use "G10 L20 P1 X0" and "G10 L20 P1 Y0" to set a new origin for G54 work (offset) coordinates.

Marlin already supports G53 machine coordinates and G54-G59 work (offset) coordinates but unfortunately does not support G10 L20 P1 X0 Y0 Z0.

A more detailed explanation:

G10 L20 P1 X0 Y0 Z0 simply requires Marlin to execute the following:

  1. G54
  2. G92 X0 Y0 Z0
  3. Return to original coordinate system.

@telleropnul telleropnul changed the title [FR] Support for G10 L20 P1-6 X0 Y0 Z0 work coordinates (G54-G59) [FR] Support for G10 L2(0) P1-6 X0 Y0 Z0 work coordinates (G54-G59) Jul 26, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.