3D printer G-code · Klipper

PROBE_CALIBRATE: Find the probe Z offset (Klipper)

Find the probe Z offset — Probes the bed, then lets you lower the nozzle to the paper with TESTZ. ACCEPT and SAVE_CONFIG store the z_offset. Z_ENDSTOP_CALIBRATE does the same for printers with a…

By cnccode · Updated
On this page
  1. What does PROBE_CALIBRATE do?
  2. Example
  3. Tips from practice
  4. Related commands
  5. More bed levelling commands
  6. Frequently asked questions
PropertyValue
CommandPROBE_CALIBRATE
FunctionFind the probe Z offset
FirmwareKlipper
GroupBed levelling
SyntaxPROBE_CALIBRATE

What does PROBE_CALIBRATE do?

Probes the bed, then lets you lower the nozzle to the paper with TESTZ. ACCEPT and SAVE_CONFIG store the z_offset. Z_ENDSTOP_CALIBRATE does the same for printers with a Z switch.

Example

Klipper
G28
PROBE_CALIBRATE
TESTZ Z=-0.1
ACCEPT
SAVE_CONFIG

Tips from practice

  • Fine-tune later while printing with SET_GCODE_OFFSET Z_ADJUST and save it.

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

More bed levelling commands

CommandFunctionFirmware
G29Bed levelling (probe the mesh)Marlin
M420Bed levelling stateMarlin
M851Probe offset (Z offset)Marlin
M48Probe repeatability testMarlin
G34Z stepper auto-alignMarlin
G26Mesh validation patternMarlin
BED_MESH_CALIBRATEProbe the bed mesh (Klipper)Klipper
BED_MESH_PROFILESave and load mesh profilesKlipper
Z_TILT_ADJUSTLevel the gantry (two or three Z motors)Klipper
QUAD_GANTRY_LEVELQuad gantry levelKlipper
SET_GCODE_OFFSETLive Z (babystep)Klipper
SCREWS_TILT_CALCULATEBed screw turnsKlipper

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 PROBE_CALIBRATE do on a 3D printer?
PROBE_CALIBRATE is find the probe Z offset. Probes the bed, then lets you lower the nozzle to the paper with TESTZ. ACCEPT and SAVE_CONFIG store the z_offset. Z_ENDSTOP_CALIBRATE does the same for printers with a Z switch.
Does PROBE_CALIBRATE work in Klipper and Marlin?
PROBE_CALIBRATE is a Klipper command. Marlin printers use other G-codes for this task.
Was this page helpful?