Skip to content

Instantly share code, notes, and snippets.

@sagarreddypatil
Last active October 10, 2022 01:56
Show Gist options
  • Save sagarreddypatil/7eb50162978f342dec8d1ef956129a72 to your computer and use it in GitHub Desktop.
Save sagarreddypatil/7eb50162978f342dec8d1ef956129a72 to your computer and use it in GitHub Desktop.
Ender 3 FreeABL settings for PrusaSlicer and GCODE to run bed leveling routine
G28 ; Home all axes
G29 ; Perform ABL
M500 ; Save bed levelling to EEPROM
G1 Z40 ; Lift Z
G90 ; use absolute coordinates
M83 ; extruder relative mode
M140 S{first_layer_bed_temperature[0]} ; set final bed temp
M104 S150 ; set temporary nozzle temp to prevent oozing during homing
G4 S10 ; allow partial nozzle warmup
M0 Insert Z Switch ;Pause with message for user
G28 ; home all axis
M420 S1 ;Enable Mesh Bed Levelling
G1 Z50 F240
M0 Remove Z Switch ;Pause with message for user
G1 X2 Y10 F3000
M104 S{first_layer_temperature[0]} ; set final nozzle temp
M190 S{first_layer_bed_temperature[0]} ; wait for bed temp to stabilize
M109 S{first_layer_temperature[0]} ; wait for nozzle temp to stabilize
G1 Z0.28 F240
G92 E0
G1 Y140 E10 F1500 ; prime the nozzle
G1 X2.3 F5000
G92 E0
G1 Y10 E10 F1200 ; prime the nozzle
G92 E0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment