aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Firmware_Commands.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Firmware_Commands.md')
-rw-r--r--docs/Firmware_Commands.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/Firmware_Commands.md b/docs/Firmware_Commands.md
index a0f9a65c..63647c39 100644
--- a/docs/Firmware_Commands.md
+++ b/docs/Firmware_Commands.md
@@ -251,6 +251,12 @@ Stepper commands
so that the next step is relative to the supplied 'clock' time. The
host usually only sends this command at the start of a print.
+* stepper_get_position oid=%c : This command causes the firmware to
+ generate a "stepper_position" response message with the stepper's
+ current position. The position is the total number of steps
+ generated with dir=1 minus the total number of steps generated with
+ dir=0.
+
* end_stop_home oid=%c clock=%u rest_ticks=%u pin_value=%c : This
command is used during stepper "homing" operations. To use this
command a 'config_end_stop' command with the same 'oid' parameter