From 451f7d567223764c438d35fb54d68a6494e375e5 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 9 Mar 2018 21:43:24 -0500 Subject: gcode: Position returned by M114 should be relative to last G92 It looks like OctoPrint is expecting the result from M114 to be relative to the last G92 command. Also, introduce GET_POSITION to report the actual location that the printer is at. Signed-off-by: Kevin O'Connor --- docs/G-Codes.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/G-Codes.md b/docs/G-Codes.md index e2c7ea2c..9e9cd8fe 100644 --- a/docs/G-Codes.md +++ b/docs/G-Codes.md @@ -63,6 +63,8 @@ The following standard commands are supported: - `QUERY_ENDSTOPS`: Probe the axis endstops and report if they are "triggered" or in an "open" state. This command is typically used to verify that an endstop is working correctly. +- `GET_POSITION`: Return information on the current location of the + toolhead. - `RESTART`: This will cause the host software to reload its config and perform an internal reset. This command will not clear error state from the micro-controller (see FIRMWARE_RESTART) nor will it -- cgit v1.2.3-70-g09d2