Tool offsets and docks¶
Nozzle offset calibration and dock position calibration solve different problems. Offsets align the four nozzles so their printed layers line up. Dock positions tell the bare carriage where to pick up and park each toolhead.
Offset Calibration¶
Offset calibration aligns the nozzles of T0–T3 for printing. It is separate
from locating their docks. The Creator 5 port exposes it through
C5_CALIBRATE_OFFSETS; measurements and the levelboard reference are kept in
/usr/data/firmwareRes/config/extruder.json.
Calibration cannot run during a print. If a tool is attached, the carriage first raises it to the safe Z clearance and docks it. The ordinary calibration pin is then probed at two known locations. Their contact-height difference is used to reject a plate that may still be installed and to set a safe approach floor for the following measurements.
With the carriage bare, the routine contacts the levelboard fixture to establish its Z reference, then scans outward from its center for the X+, Y+, X-, and Y- edges. Each edge scan is limited to 7 mm; opposite edges give the fixture's X/Y center. The routine then picks up T0, probes its Z against the fixture, scans its four X/Y edges, raises clear of the fixture, and docks it. It repeats that sequence for T1, T2, and T3. The saved X/Y printing offsets are each tool's measured center relative to T0. Its nozzle Z offset uses the tool's measured Z relative to the fixture reference, plus the separate per-tool Z fine adjustment. The code rejects measurements beyond its configured correction limits or an unsafe resulting nozzle Z offset.
The all-tool run saves only after all four tools succeed. It makes a backup
of extruder.json and replaces that file atomically, so a failed tool does
not leave a partially saved set. The measured offsets are also applied to
the active tool through Klipper's G-code offset when it is selected.
A single tool can be recalibrated with TOOL=0 through TOOL=3. It still
requires removing and checking the build plate; it docks any attached tool,
checks the ordinary pin, and automatically picks up the requested tool.
LEVELBOARD=0 skips refreshing the bare fixture reference for a single
tool, but does not skip that tool's levelboard measurement. Z=0 performs
XY-only calibration and needs a configured scan height or SCAN_Z; the
default Z=1 probes the nozzle Z automatically. TOOL=ALL always refreshes
the fixture reference and requires Z=1.
Running it¶
C5_CALIBRATE_OFFSETS with no parameters (or TOOL_OFFSETS_MENU) starts a
wizard. It asks which tools (all, or one), homes first for all tools, raises
the nozzle so you can take the plate out, and waits for Plate removed. For
a single tool it asks whether to recalibrate the probe's levelboard reference
too; No reuses the saved one.
With parameters it runs straight away:
| Parameter | Default | |
|---|---|---|
TOOL |
required | 0–3, or ALL (needs X/Y/Z homed) |
BUILDPLATE_REMOVED |
0 |
Must be 1: confirms you took the plate out |
Z |
1 |
0 for XY only |
SCAN_Z |
none | XY scan height for Z=0; not allowed with Z=1 |
LEVELBOARD |
1 |
Single tool only: 0 reuses the saved fixture reference |
SAVE |
1 |
0 measures without saving |
For example C5_CALIBRATE_OFFSETS TOOL=ALL BUILDPLATE_REMOVED=1.
| Message | Meaning |
|---|---|
Remove the build plate before offset calibration. Once removed, rerun C5_CALIBRATE_OFFSETS with BUILDPLATE_REMOVED=1 |
Add BUILDPLATE_REMOVED=1 after taking the plate out. |
Build plate may still be installed; ordinary calibration pin heights differ by less than 0.80 mm |
The two probe points (X43 Y226 and the fixture) read too close: the plate is still on, or the fixture is dirty. |
Home XYZ before all-tool offset calibration |
Run G28 first, or use the wizard. |
XY-only calibration needs scan_height or SCAN_Z=<height> |
Give SCAN_Z, or use Z=1. |
TOOL=ALL always calibrates the levelboard reference / TOOL=ALL requires automatic Z probing (Z=1) |
Leave out LEVELBOARD=0 and Z=0 for all tools. |
Baby stepping¶
Baby stepping a tool's Z offset during a print, from Fluidd's or Mainsail's
Z adjust buttons or SET_GCODE_OFFSET Z_ADJUST=, is saved as you go. It's
saved as that tool's Z adjustment in /usr/data/firmwareRes/config/zoffset.json,
the same value the touchscreen's Z offset sets. Each nozzle keeps its own
value: a step goes to whichever head is attached. The next print, and the same
nozzle after a toolchange, start from it, read from that file each time, so
it's kept across restarts too.
| Macro | What it does |
|---|---|
LIST_BABYSTEP |
Shows the saved Z adjustment for every tool. TOOL=2 shows only T2. |
CLEAR_BABYSTEP TOOL=1 |
Resets T1's saved Z adjustment to 0. With no TOOL, or TOOL=ALL, it resets all four. |
Clearing the attached tool also takes the adjustment off its current Z offset. Because the touchscreen uses the same value, clearing a tool also clears its touchscreen Z offset.
A Z change of more than 1 mm at once isn't treated as baby stepping and isn't
saved. To stop saving baby stepping, add persist_babystep: False to
[creator5_toolchanger].
Toolhead Dock Calibration¶
Toolhead dock calibration, called Extruder Position Calibrate in the
factory UI, finds the physical pickup/docking X/Y coordinates for one tool.
It does not change the nozzle offsets used to align layers during a
print. In the Creator 5 port, run C5_CALIBRATE_TOOL_POSITION T=0 through
T=3, or use the underlying EXTRUDER_POSITION_CALIBRATE T=n command.
Before starting, park all four tools, home the printer, raise Z to at least
the configured safe clearance (10 mm in the supplied config), and let every
toolhead cool below 50 °C. A print must not be active. The build plate does
not need to be removed for this calibration. CAL_DOCK_MENU homes X/Y if
needed and asks which tool; C5_CALIBRATE_TOOL_POSITION without T stops
with Specify T=0..3, e.g. C5_CALIBRATE_TOOL_POSITION T=1.
- The routine disables X/Y motors and asks you to move the bare master
carriage by hand to the chosen parked tool. It waits up to 30 seconds
(
position_calibration_timeout) for both that dock's holder sensor and its grab sensor to register contact. - Once contact is detected, it asks you to release the carriage and waits
5 seconds (
position_calibration_release_wait_ms) before taking over. It latches the tool and pulls it clear, checking that the holder sensor released while the grab sensor remains active. The measuring moves run at a reduced 5000 mm/s² (position_calibration_accel). - It measures X and Y against the printer's X/Y home references, calculates the dock coordinates, and rejects a correction beyond the configured limit (2 mm in the supplied config).
- It rehomes X/Y, redocks the tool using the measured coordinates, and only
then saves them as
x_check_pos/y_check_posfor T0, or the corresponding numbered keys for T1–T3, inextruder.json. A timestamped backup is made first.
If contact, sensor verification, measurement, or redocking fails, the routine does not save new dock coordinates.
Dock and pickup errors¶
Every tool move first reads all four dock sensors and grab sensors. These messages stop the move before anything happens:
| Message | Meaning |
|---|---|
Missing dock confirmation for T…; motion blocked |
That head is neither in its dock nor on the carriage. Right after a Klipper restart this can show for a few minutes; wait, then retry G28. If it stays, seat the head in its dock, then run this calibration for it. |
Conflicting dock/grab sensors; motion blocked |
A head reads as docked and grabbed at once, usually halfway in or out of its dock. |
Multiple heads appear attached; motion blocked |
More than one grab sensor is on. Check the heads and their sensors. |
Attached head remains after recovery; Z homing blocked |
Print homing couldn't dock the attached head. Dock it by hand. |
C5_PREPARE_MACHINE homes X/Y and docks a head that's still on the carriage,
with the build plate left in.