26. How to calibrate Z offset using OctoPrint?
Every once in a while, I find myself struggling with calibrating the Z offset. A few days back, I changed my Ender3 extruder with an all-metal one and changed my nozzle to realize that I needed to calibrate the Z offset again.
Here are the steps that I follow to calibrate Z offset using OctoPrint. You can open the terminal tab on OctoPrint and then send the commands.
// Reset Z Offset
M851 Z0// Store setting to eeprom
M500// Set active parameters
M501Display Active Parameters
M503// Home Z Axis
G28 Z// Move nozzle to true 0 offset
G1 F60 Z0// Switch off soft endstops
M211 S0
Move the nozzle towards the bed slowly until the paper can barely move. Use the control tab on Octoprint to make adjustments on Z-axis. Take note of the Z on the printer display. Take that number and add the measurement of the calibration sheet or device used. A sheet of A4 paper is about 0.05mm thick.
// X.XX being your z offset achieved
M851 Z X.XX// Eg: M851 Z -2.44 (This will always be a negative number. Note the Negative sign in command)// Enable Soft Endstops
M211 S1// Save settings to Eeprom
M500// Set Active Parameters
M501// Display current settings
M503
The terminal tab of Octoprint:
The Control tab of Octoprint to make micro-adjustments to Z-axis movement:
References:
Calibrating Z-Offset With A BLTouch Bed Levelling Probe
Guide: How to Calibrate an Auto Bed Leveling (ABL) Sensor