Skip to content

Unified Mesh bed Leveling calibration

Thijs Elenbaas edited this page Apr 20, 2020 · 6 revisions

This page gives an overview of how to Calibrate your bed mesh & Z-probe offset

Install Pronterface

https://github.com/kliment/Printrun/releases/tag/printrun-1.6.0

Clear Bed leveling

M502            ; Reset settings to configuration defaults...
M851 z0.0   	; zero Z-probe offset
M500            ; ...and Save to EEPROM. Use this on a new install.
M501            ; Read back in the saved EEPROM.  

Prepare for bed leveling

M190 S65        ; Heat bed. Not required, but having the printer at temperature helps accuracy
M104 S210       ; Heat nozzle. Not required, but having the printer at temperature helps accuracy
G28             ; Home XYZ.

Bed leveling

G29 P1          ; Do automated probing of the bed.
G29 T           ; Have a first look at the bed level values.
G29 P3          ; Do an autofill if points whee missing in previous step
G29 S1          ; Save UBL mesh points to EEPROM Mesh position 1.
G29 F 10.0      ; Set Fade Height for correction at 10.0 mm.
G29 A           ; Activate the UBL System.
M500            ; Save current setup. 

Calibrate Z-probe offset

G1 x150 y150    ; Go to center position
M211 S0		; Disable soft endstops
M851 z0.0   	; zero Z-probe offset
G28             ; Home XYZ. May not be necessary, just in case
                ; Move nozzle down until just touching the paper (using pronterface vertical movement)
M114            ; Check Z-value. Value will be likely negative (e.g. -1.7)
M851 z<value>   ; set Z-probe offset. 
M503            ; Look at EEPROM settings, check that Z-value is set correctly
M500            ; (Re)save state information.

Check mesh

G28             ; Home XYZ.
G26 C P10.0     ; Produce mesh validation pattern after 10 mm priming for 1.75mm filament  using PLA temperatures
G29 P4 T        ; Move nozzle to 'bad' areas and fine tune the values if needed
G29 S1          ; Save UBL mesh values to EEPROM.
M500            ; (Re)save state information.