Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[FR] Support for G10 L2(0) P1-6 X0 Y0 Z0 work coordinates (G54-G59) #14734
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:
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: