How to use tuning tower for speed calibration?

Hi, I would like to somewhat automate speed tuning, but I am not sure how to combine M220 GCODE and TUNING_TOWER klipper command.
13 Replies
Helge Keck
Helge Keck•2y ago
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 then you can watch in the klipper doku to see what parameters are available https://www.klipper3d.org/G-Codes.html?h=set_velocity_limit#set_velocity_limit
Maba_Kalox
Maba_Kalox•2y ago
Funny, did look in klipper G-Codes for something velocity related, and missed it somehow. Thanks 8)
Helge Keck
Helge Keck•2y ago
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
Maba_Kalox
Maba_Kalox•2y ago
Can I? Example with M220 please
Helge Keck
Helge Keck•2y ago
why M220?
Maba_Kalox
Maba_Kalox•2y ago
(It is just any random G-Code which accepts value in weird format) like M220 S120 -> relative speed 120%
Helge Keck
Helge Keck•2y ago
but in klipper you set the global EM with M221
Maba_Kalox
Maba_Kalox•2y ago
I got the fact that I can use SET_VELOCITY, but you said - any other GCODE uh, sorry
Helge Keck
Helge Keck•2y ago
but why using M220 if you can use the native klipper command set_velociuty_limit, this doesnt make any sense
Maba_Kalox
Maba_Kalox•2y ago
Please don't take my questions so literally, I'm just wondering how to use TUNING_TOWER with something that doesn't take a named arguments.
Helge Keck
Helge Keck•2y ago
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
Maba_Kalox
Maba_Kalox•2y ago
you are right, you provided the answer for this, I am thankful, but you did mention this, quote "or you can use any other Gcode command", so that is why I asked, how to use other Gcode in TUNING_TOWER 😅 Got it. Thanks
Helge Keck
Helge Keck•2y ago
use klipper gcode commands btw, you can easily make a Gcode Macro that accepts a prameter and then calls M221 or whatever you want and so using the gcode commands you want
Want results from more Discord servers?
Add your server