Actions

Level Check Code

From Mike Beane's Blog

Revision as of 14:27, 12 December 2021 by Rabbi Bob (talk | contribs) (→‎Code)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Plot path

Desc

Performs a 9 point check on bed leveling.

Save as .gcode for printer and run.

Notes

  • I have POS 1-5 saved as separate files on the SD card under POS\ for quick reference, as well as this master file for a full check.
  • Used on an Ender 3
  • I perform the test on a cold bed, if you are looking for a hot test, this is not for you
    • Gap checking with index card (5 prints since testing with index card, all good. Prior paper yielded spaghetti).
    • Cold bed, no expansion (! or ?)
    • As always: YMMV



Code

; 9 Point Level Check - RB

G28 ; Go to origin on all axis 

G90

; POSITION 1
G1 Z4
G1 X32 Y36
G1 Z0
M0

; POSITION 2
G1 Z4
G1 X32 Y206
G1 Z0
M0

; POSITION 3
G1 Z4
G1 X202 Y206
G1 Z0
M0

; POSITION 4
G1 Z4
G1 X202 Y36
G1 Z0
M0

; POSITION 5
G1 Z4
G1 X117 Y121
G1 Z0
M0

; POSITION 6
G1 Z4
G1 X32 Y121
G1 Z0
M0

; POSITION 7
G1 Z4
G1 X117 Y206
G1 Z0
M0

; POSITION 8
G1 Z4
G1 X202 Y121
G1 Z0
M0

; POSITION 9
G1 Z4
G1 X117 Y36
G1 Z0
M0

G28 ; Go to origin on all axes 

; Home
G1 Z4
G1 X0 Y0
G1 Z0

 ; Disable Motors
M84