3D printer G-code · Klipper
TUNING_TOWER: Change a value with height (Klipper)
Change a value with height — Runs a command with a new value at every height, so any test print becomes a calibration tower. Often used for pressure advance and temperature.
On this page
| Property | Value |
|---|---|
| Command | TUNING_TOWER |
| Function | Change a value with height |
| Firmware | Klipper |
| Group | Calibration |
| Syntax | TUNING_TOWER COMMAND=<cmd> PARAMETER=<name> START=<v> FACTOR=<v per mm> | STEP_DELTA=<v> STEP_HEIGHT=<mm> |
What does TUNING_TOWER do?
Runs a command with a new value at every height, so any test print becomes a calibration tower. Often used for pressure advance and temperature.
Parameters
| Parameter | Meaning |
|---|---|
COMMAND | Command to change, e.g. SET_PRESSURE_ADVANCE |
PARAMETER | Parameter of that command |
START | Value at Z0 |
FACTOR | Change per mm |
STEP_DELTA / STEP_HEIGHT | Change in steps instead |
Example
TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005
; then print a tall square tower; ADVANCE = START + FACTOR × heightTips from practice
- It stays active until the next restart or print end macro: make sure it is turned off.
Klipper. Extended commands need their section in printer.cfg. Results of calibration commands are kept only after SAVE_CONFIG.
Related commands
More calibration commands
| Command | Function | Firmware |
|---|---|---|
M92 | Set steps per unit (E-steps) | Marlin |
M593 | Input shaping (Marlin) | Marlin |
SHAPER_CALIBRATE | Measure resonances (input shaper) | Klipper |
SET_INPUT_SHAPER | Set input shaper | Klipper |
Test it before you print
Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.
Open the simulatorFrequently asked questions
What does TUNING_TOWER do on a 3D printer?
TUNING_TOWER is change a value with height. Runs a command with a new value at every height, so any test print becomes a calibration tower. Often used for pressure advance and temperature.
Does TUNING_TOWER work in Klipper and Marlin?
TUNING_TOWER is a Klipper command. Marlin printers use other G-codes for this task.
Was this page helpful?