From f4e3756302ecbb0175db65af9089c5c993c92e5c Mon Sep 17 00:00:00 2001
From: EmbeddedMan
+
ES<CR>
ES[,DisableMotors]<CR>
interrupted,fifo_steps1,fifo_steps2,steps_rem1,steps_rem2<NL><CR>OK<CR><NL>
Use this command to abort any in-progress motor move (SM) Command. This command will also delete any motor move command (SM) from the FIFO. It will immediately stop the motors, but leave them energized.
+
+ For versions v2.8.0 and above there is an optional parameter DisableMotors
. If DisableMotors
is set to 1, then this command will not only stop all motion but will also disable both stepper motors.
+
Returned values:
1,50,1200,18634,9848<NL><CR>OK<CR><NL>
Indicates that a command was interrupted, and that the FIFO had steps of 50 and 1200 steps queued to execute next (in axes 1 and 2), as well as 18634 and 9848 steps remaining to move (in axes 1 and 1) on the current move.
- Prior to v2.2.9, this command will return a "1" if it had to stop an in-progress move command, or if it had to delete a move command from the FIFO. This could indicate that some steps might be lost, since the host application may think that moves have already completed, when in fact they were aborted partway through. It will return a "0" if no motor move commands were deleted or aborted. -
-Returned values:
+ Version History:1<NL><CR>OK<CR><NL>
: If an in-progress move commands was interrupted or removed from the FIFO
+ v2.8.0
+
+ In versions v2.8.0 and beyond, the optional DisableMotors
parameter is accepted.
+
0<NL><CR>OK<CR><NL>
: If no in-progress move commands was interrupted or removed from the FIFO
+ Added in v2.2.7
++ Prior to v2.2.9, this command will return a "1" if it had to stop an in-progress move command, or if it had to delete a move command from the FIFO. This could indicate that some steps might be lost, since the host application may think that moves have already completed, when in fact they were aborted partway through. It will return a "0" if no motor move commands were deleted or aborted. +
+Returned values:
+1<NL><CR>OK<CR><NL>
: If an in-progress move commands was interrupted or removed from the FIFO
+ 0<NL><CR>OK<CR><NL>
: If no in-progress move commands was interrupted or removed from the FIFO
+