#How to use tuning tower for speed calibration?

24 messages · Page 1 of 1 (latest)

cedar coyote
#

Hi, I would like to somewhat automate speed tuning, but I am not sure how to combine M220 GCODE and TUNING_TOWER klipper command.

#

How to use tuning tower for speed calibration?

junior mountain
#

TUNING_TOWER COMMAND=SET_VELOCITY_LIMIT PARAMETER=VELOCITY START=100 STEP_DELTA=50 STEP_HEIGHT=10

#

its easy:
COMMAND=SET_VELOCITY_LIMIT
means that the tuning tower executes every x mm the gcode command SET_VELOCITY_LIMIT

cedar coyote
junior mountain
#

you can set:
VELOCITY ACCEL ACCEL_TO_DECEL SQUARE_CORNER_VELOCITY

#

or you can use any other Gcode command

#

this way you can cahnge any value you want with the tower

cedar coyote
junior mountain
#

why M220?

cedar coyote
#

(It is just any random G-Code which accepts value in weird format)

#

like M220 S120 -> relative speed 120%

junior mountain
#

but in klipper you set the global EM with M221

cedar coyote
#

I got the fact that I can use SET_VELOCITY, but you said - any other GCODE

cedar coyote
junior mountain
#

but why using M220 if you can use the native klipper command set_velociuty_limit, this doesnt make any sense

cedar coyote
junior mountain
#

well, sorry for hte misunderstanding, i thought you want to know how to use the tuning tower for speed changes, like you titled this thread

#

try to use klipper real name gcode commands instead of Mxxx

cedar coyote
junior mountain
#

use klipper gcode commands

#

btw, you can easily make a Gcode Macro that accepts a prameter and then calls M221 or whatever you want