diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-11-28 20:29:40 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-12-12 12:44:06 -0500 |
commit | bfd098eb19b102ae2159734e5e05348c1e6c6eac (patch) | |
tree | 72cfa537dc3df26db2a595b6dbb6c912f8a72b02 /docs/TMC_Drivers.md | |
parent | 9552f5e54608a005da336c47c7574a6172af60c5 (diff) | |
download | kutter-bfd098eb19b102ae2159734e5e05348c1e6c6eac.tar.gz kutter-bfd098eb19b102ae2159734e5e05348c1e6c6eac.tar.xz kutter-bfd098eb19b102ae2159734e5e05348c1e6c6eac.zip |
config: Remove hold_current from sample configs and sample macros
Now that the documentation recommends that hold_current not be set,
update the example config files to not specify a hold_current.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/TMC_Drivers.md')
-rw-r--r-- | docs/TMC_Drivers.md | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/docs/TMC_Drivers.md b/docs/TMC_Drivers.md index 99213cb8..df9dae1f 100644 --- a/docs/TMC_Drivers.md +++ b/docs/TMC_Drivers.md @@ -317,9 +317,7 @@ for the driver's internal stall flag to still be set from a previous move. It can also be useful to have that macro set the driver current before -homing and set a new current after the carriage has moved away. This -also allows a hold_current to be set during prints (a hold_current -is not recommended during sensorless homing). +homing and set a new current after the carriage has moved away. An example macro might look something like: ``` @@ -328,9 +326,8 @@ gcode: {% set HOME_CUR = 0.700 %} {% set driver_config = printer.configfile.settings['tmc2209 stepper_x'] %} {% set RUN_CUR = driver_config.run_current %} - {% set HOLD_CUR = driver_config.hold_current %} # Set current for sensorless homing - SET_TMC_CURRENT STEPPER=stepper_x CURRENT={HOME_CUR} HOLDCURRENT={HOME_CUR} + SET_TMC_CURRENT STEPPER=stepper_x CURRENT={HOME_CUR} # Pause to ensure driver stall flag is clear G4 P2000 # Home @@ -339,7 +336,7 @@ gcode: G90 G1 X5 F1200 # Set current during print - SET_TMC_CURRENT STEPPER=stepper_x CURRENT={RUN_CUR} HOLDCURRENT={HOLD_CUR} + SET_TMC_CURRENT STEPPER=stepper_x CURRENT={RUN_CUR} ``` The resulting macro can be called from a @@ -360,7 +357,7 @@ Use the tuning guide described above to find the appropriate "stall sensitivity" for each carriage, but be aware of the following restrictions: 1. When using sensorless homing on CoreXY, make sure there is no - `hold_current` in effect for either stepper during homing. + `hold_current` configured for either stepper. 2. While tuning, make sure both the X and Y carriages are near the center of their rails before each home attempt. 3. After tuning is complete, when homing both X and Y, use macros to |