3D printer G-code · Klipper

PID_CALIBRATE: PID tuning (Klipper) (Klipper)

PID tuning (Klipper) — Tunes the PID values of a heater, then SAVE_CONFIG stores them.

By cnccode · Updated
On this page
  1. What does PID_CALIBRATE do?
  2. Parameters
  3. Example
  4. Related commands
  5. More temperature commands
  6. Frequently asked questions
PropertyValue
CommandPID_CALIBRATE
FunctionPID tuning (Klipper)
FirmwareKlipper
GroupTemperature
SyntaxPID_CALIBRATE HEATER=<extruder|heater_bed> TARGET=<°C>

What does PID_CALIBRATE do?

Tunes the PID values of a heater, then SAVE_CONFIG stores them.

Parameters

ParameterMeaning
HEATERextruder or heater_bed
TARGETTemperature you print with

Example

Klipper
M106 S255
PID_CALIBRATE HEATER=extruder TARGET=215
SAVE_CONFIG

Klipper. Extended commands need their section in printer.cfg. Results of calibration commands are kept only after SAVE_CONFIG.

More temperature commands

CommandFunctionFirmware
M104Set hotend temperature (no wait)Marlin and Klipper
M109Set hotend temperature and waitMarlin and Klipper
M140Set bed temperature (no wait)Marlin and Klipper
M190Set bed temperature and waitMarlin and Klipper
M141Set chamber temperatureMarlin
M303PID autotuneMarlin
M301Set hotend PID valuesMarlin
M304Set bed PID valuesMarlin
TEMPERATURE_WAITWait for a temperature rangeKlipper
SET_HEATER_TEMPERATURESet a heaterKlipper

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 simulator

Frequently asked questions

What does PID_CALIBRATE do on a 3D printer?
PID_CALIBRATE is pID tuning (Klipper). Tunes the PID values of a heater, then SAVE_CONFIG stores them.
Does PID_CALIBRATE work in Klipper and Marlin?
PID_CALIBRATE is a Klipper command. Marlin printers use other G-codes for this task.
Was this page helpful?