summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-08-21 17:55:49 (EDT)
committer P. J. McDermott <pj@pehjota.net>2017-08-21 17:55:49 (EDT)
commit1d4a71b37177418a6a45507a45db618f42078de8 (patch)
treeb1c888c63718da7784496859dbe2d70e21f319a5
parent90d1b308b5821335027a0fd052dd204aeb246281 (diff)
downloadprintrun-1d4a71b37177418a6a45507a45db618f42078de8.zip
printrun-1d4a71b37177418a6a45507a45db618f42078de8.tar.gz
printrun-1d4a71b37177418a6a45507a45db618f42078de8.tar.bz2
.pronsolerc: Add bed-leveling probe macro
-rw-r--r--.pronsolerc9
1 files changed, 9 insertions, 0 deletions
diff --git a/.pronsolerc b/.pronsolerc
index f0602c2..cf6235a 100644
--- a/.pronsolerc
+++ b/.pronsolerc
@@ -72,3 +72,12 @@ macro wipe-hips
; While waiting for the hotend to heat, auto-home X and Y
G28 X0 Y0 ; Auto-home X and Y
M109 ; Wait for hotend temperature
+macro probe
+ ; Probe the bed and enable bed leveling compensation
+ G1 Z10 F5000 ; Lift off the bed-leveling washer
+ G28 X0 Y0 ; Auto-home X and Y
+ M204 S300 ; Set acceleration for probing moves
+ G29 ; Probe the bed
+ M204 S2000 ; Set acceleration back to normal
+ G1 Z10 F5000 ; Lift off the bed-leveling washer
+ G1 X40 Y190 F5000 ; Move nozzle away and bed forward