mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-06 13:34:06 -06:00
tmc: SET_TMC_FIELD VELOCITY
Ability to specify `VELOCITY` as a parameter for SET_TMC_FIELD. Useful for configuring at runtime the TSTEP based fields of the driver. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
This commit is contained in:
parent
0469710a69
commit
73f4c6cd00
9 changed files with 37 additions and 10 deletions
|
@ -1236,13 +1236,16 @@ if StealthChop2 is used, the stepper must be held at standstill for >130ms so
|
|||
that the driver executes the AT#1 calibration.
|
||||
|
||||
#### SET_TMC_FIELD
|
||||
`SET_TMC_FIELD STEPPER=<name> FIELD=<field> VALUE=<value>`: This will
|
||||
alter the value of the specified register field of the TMC driver.
|
||||
`SET_TMC_FIELD STEPPER=<name> FIELD=<field> VALUE=<value> VELOCITY=<value>`:
|
||||
This will alter the value of the specified register field of the TMC driver.
|
||||
This command is intended for low-level diagnostics and debugging only
|
||||
because changing the fields during run-time can lead to undesired and
|
||||
potentially dangerous behavior of your printer. Permanent changes
|
||||
should be made using the printer configuration file instead. No sanity
|
||||
checks are performed for the given values.
|
||||
A VELOCITY can also be specified instead of a VALUE. This velocity is
|
||||
converted to the 20bit TSTEP based value representation. Only use the VELOCITY
|
||||
argument for fields that represent velocities.
|
||||
|
||||
### [toolhead]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue