diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-03-03 13:23:45 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-03-03 13:38:10 -0500 |
commit | d62a41b930904f04c282e76de829f2bb21b5cd59 (patch) | |
tree | de0dce2b42897887b7c6967b62227d94782d9574 /docs/G-Codes.md | |
parent | 399d53996994f9f716979b489064989bc49079bf (diff) | |
download | kutter-d62a41b930904f04c282e76de829f2bb21b5cd59.tar.gz kutter-d62a41b930904f04c282e76de829f2bb21b5cd59.tar.xz kutter-d62a41b930904f04c282e76de829f2bb21b5cd59.zip |
manual_stepper: Add support for moves with acceleration
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/G-Codes.md')
-rw-r--r-- | docs/G-Codes.md | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/docs/G-Codes.md b/docs/G-Codes.md index 197ec3e2..6a004cf2 100644 --- a/docs/G-Codes.md +++ b/docs/G-Codes.md @@ -170,15 +170,18 @@ enabled: The following command is available when a "manual_stepper" config section is enabled: - `MANUAL_STEPPER STEPPER=config_name [ENABLE=[0|1]] - [SET_POSITION=<pos>] - [MOVE=<pos> SPEED=<speed> [STOP_ON_ENDSTOP=1]]`: This command will - alter the state of the stepper. Use the ENABLE parameter to - enable/disable the stepper. Use the SET_POSITION parameter to force - the stepper to think it is at the given position. Use the MOVE - parameter to request a movement to the given position at the given - SPEED. If STOP_ON_ENDSTOP is specified then the move will end early - should the endstop report as triggered (use STOP_ON_ENDSTOP=-1 to - stop early should the endstop report not triggered). + [SET_POSITION=<pos>] [SPEED=<speed>] [ACCEL=<accel>] + [MOVE=<pos> [STOP_ON_ENDSTOP=1]]`: This command will alter the state + of the stepper. Use the ENABLE parameter to enable/disable the + stepper. Use the SET_POSITION parameter to force the stepper to + think it is at the given position. Use the MOVE parameter to request + a movement to the given position. If SPEED and/or ACCEL is specified + then the given values will be used instead of the defaults specified + in the config file. If an ACCEL of zero is specified then no + acceleration will be preformed. If STOP_ON_ENDSTOP is specified then + the move will end early should the endstop report as triggered (use + STOP_ON_ENDSTOP=-1 to stop early should the endstop report not + triggered). ## Probe @@ -312,16 +315,18 @@ section is enabled: The following commands are available when the "force_move" config section is enabled: -- `FORCE_MOVE STEPPER=<config_name> DISTANCE=<value> - VELOCITY=<value>`: This command will forcibly move the given stepper +- `FORCE_MOVE STEPPER=<config_name> DISTANCE=<value> VELOCITY=<value> + [ACCEL=<value>]`: This command will forcibly move the given stepper the given distance (in mm) at the given constant velocity (in - mm/s). No acceleration is performed; no boundary checks are - performed; no kinematic updates are made; other parallel steppers on - an axis will not be moved. Use caution as an incorrect command could - cause damage! Using this command will almost certainly place the - low-level kinematics in an incorrect state; issue a G28 afterwards - to reset the kinematics. This command is intended for low-level - diagnostics and debugging. + mm/s). If ACCEL is specified and is greater than zero, then the + given acceleration (in mm/s^2) will be used; otherwise no + acceleration is performed. No boundary checks are performed; no + kinematic updates are made; other parallel steppers on an axis will + not be moved. Use caution as an incorrect command could cause + damage! Using this command will almost certainly place the low-level + kinematics in an incorrect state; issue a G28 afterwards to reset + the kinematics. This command is intended for low-level diagnostics + and debugging. - `SET_KINEMATIC_POSITION [X=<value>] [Y=<value>] [Z=<value>]`: Force the low-level kinematic code to believe the toolhead is at the given cartesian position. This is a diagnostic and debugging command; use |