Duet: Calibrating Z Probe
Difficulty Level: Advanced
Reading Time: Minutes
Test and Calibrate a Z Probe
Static Test of the Z Probe
Static Test Using the Web Interface
- Apply power to the printer.
- Connect to the printer from a browser.
- If the probe needs to be deployed before use (e.g., BLTouch), test the deploy and retract functions using
M401
to deploy andM402
to retract. - With the Z probe deployed but not close to the bed, check the Z probe reading in Duet Web Control (DWC) is zero or close to zero.
- Trigger the probe using a surface and check the DWC reading is correct (e.g., ~537 for Mini Differential IR probe, ~1000 for others).
- For probes producing a short pulse (e.g., Smart Effector, BLTouch), proceed to the dynamic test as the pulse may not be visible.
Static Test Using PanelDue or USB Connection
As above, but monitor the Z probe reading in PanelDue or send G31
via USB.
Dynamic Test
- Apply power to the printer and connect via browser or USB.
- Home X and Y axes (or all axes if a Delta printer).
- Position the print head well above the bed.
- Send command
G30
to initiate a Z probe. - Hold a surface under the print head to trigger the probe; ensure Z movement stops upon triggering.
- If Z movement doesn’t stop, cut power immediately to prevent a crash.
Calibrate the Z Probe Trigger Height
- Ensure the dynamic test is successful.
- Cancel any active mesh compensation with
M561
. - Position the nozzle over the center of the bed using X and Y jog controls.
- Jog the nozzle down until it touches the bed or grips a piece of paper. Use
M564 S0
if limits prevent further movement. - Send
G92 Z0
to set the current position as Z=0. - Jog the nozzle up by 5-10mm and send
G30 S-1
. - Record the reported trigger height and repeat steps to ensure consistency.
- Edit the
config.g
file in DWC to update theG31
Z parameter with the trigger height. - Check and remove any conflicting
G31
commands inconfig-override.g
. - Restart the Duet with
M999
or Emergency Stop to apply changes.
Fine-Tuning the Trigger Height
During a test print, adjust the Z position using baby-stepping. Update the G31
Z value based on adjustments.
Measuring Probe X Y Offset
- Measure the distance between the probe and nozzle using a piece of paper and marker for reference.
- Record the X Y offsets following the right-hand coordinate system conventions.