Fix and improve bed sensing

Fixing:
* bed screws location
* bed screws order
* X max 510 -> 500

Improvements:
* Probing points
* Home all speed
* Probing speed (decreased speed for increased accuracy)
This commit is contained in:
pedro 2021-06-14 23:20:49 +01:00
parent 60629756fe
commit 439d7b4048
7 changed files with 25 additions and 18 deletions

11
bed.g
View File

@ -2,12 +2,13 @@
; so if G31 P500 X-30 Y-15 Z1.7 then first probe will be at ; so if G31 P500 X-30 Y-15 Z1.7 then first probe will be at
; X30 Y20 (when G30 P0 X0 Y5) ; X30 Y20 (when G30 P0 X0 Y5)
M280 P0 S160 ; clear and reset BL touch
M561 ; clear any bed transform M561 ; clear any bed transform
G30 P0 X25 Y25 Z-99999 ; probe near a leadscrew G30 P0 X20 Y20 Z-99999 ; probe near a leadscrew
G30 P1 X250 Y475 Z-99999 ; probe near a leadscrew G30 P1 X250 Y480 Z-99999 ; probe near a leadscrew
G30 P2 X475 Y25 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors G30 P2 X480 Y20 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
G29 ; probe the bed and enable compensation M280 P0 S160 ; clear and reset BL touch
;G29 ; probe the bed and enable compensation

View File

@ -27,7 +27,7 @@ M84 S30 ; Set idle timeout
; Axis Limits ; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima M208 X0 Y0 Z0 S1 ; set axis minima
M208 X510 Y500 Z500 S0 ; set axis maxima M208 X500 Y500 Z500 S0 ; set axis maxima
; Endstops ; Endstops
M574 X1 S1 P"io2.in" ; configure active-high endstop M574 X1 S1 P"io2.in" ; configure active-high endstop
@ -36,14 +36,15 @@ M574 Y2 S1 P"io1.in" ; configure active-high endst
; Z-Probe ; Z-Probe
M950 S0 C"io7.out" ; create servo pin 0 for BLTouch M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
M558 P9 C"^io7.in" H3 F500 T12000 ; set Z probe type to bltouch and the dive height + speeds M558 P9 C"^io7.in" H3 F250 T12000 ; set Z probe type to bltouch and the dive height + speeds
;; Pay special attention to the values bellow on G31, the Z value needs to be validated for your printer ;; Pay special attention to the values bellow on G31, the Z value needs to be validated for your printer
;; Start with something like 0.5 ;; Start with something like 0.5
;; Documentation available: https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe ;; Documentation available: https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe
G31 P500 X-28 Y-13 Z2.225 ; set Z probe trigger value, offset and trigger height G31 P500 X-28 Y-13 Z2.210 ; set Z probe trigger value, offset and trigger height
;; ;;
M671 X-4.5:250:504.5 Y-4.52:505:-4.52 S5 ; define positions of Z leadscrews or bed levelling screws M671 X506.5:250:-2.5 Y0:508.5:0 S6 ; define positions of Z leadscrews or bed levelling screws
M557 X25:475 Y25:475 P10 ; define 10x10 mesh grid
M557 X25:475 Y25:475 P15 ; define 15x15 mesh grid
; Heaters ; Heaters
;; BED ;; BED

View File

@ -2,19 +2,23 @@
; called to home all axes ; called to home all axes
; ;
; BLTouch
M280 P0 S160 ; Precautionary alarm release
M280 P0 S90 ; Ensure the pin is raised
;
M280 P0 S160 ; Reset probe M280 P0 S160 ; Reset probe
G91 ; relative positioning G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-625 Y625 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H1 X-625 Y625 F3600 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H1 X-625 F900 ; move quickly to X axis endstops and stop there (first pass) G1 H1 X-625 F1800 ; move quickly to X axis endstops and stop there (first pass)
G1 H1 Y625 F900 ; move quickly to Y axis endstops and stop there (first pass) G1 H1 Y625 F1800 ; move quickly to Y axis endstops and stop there (first pass)
G1 H2 X5 Y-10 F1800 ; go back a few mm G1 H2 X20 Y-20 F6000 ; go back a few mm
G1 H1 X-625 Y625 F256 ; move slowly to X and Y axis endstops once more (second pass) G1 H1 X-625 Y625 F256 ; move slowly to X and Y axis endstops once more (second pass)
G1 H1 X-625 F256 ; move slowly to X axis endstops once more (second pass) G1 H1 X-625 F256 ; move slowly to X axis endstops once more (second pass)
G1 H1 Y625 F256 ; move slowly to Y axis endstops once more (second pass) G1 H1 Y625 F256 ; move slowly to Y axis endstops once more (second pass)
G90 ; absolute positioning G90 ; absolute positioning
G1 X250 Y250 F10000 ; go to first probe point G1 X275 Y250 F10000 ; go to first probe point
G30 ; home Z by probing the bed G30 ; home Z by probing the bed
G91 ; relative positioning G91 ; relative positioning

View File

@ -7,6 +7,6 @@ G1 H2 Z2 F10800 ; lift Z relative to current position
G1 H1 X-625 F3600 ; move quickly to X axis endstop and stop there (first pass) G1 H1 X-625 F3600 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-625 F360 ; move slowly to X axis endstop once more (second pass) G1 H1 X-625 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-2 F10800 ; lower Z again ;G1 H2 Z-2 F10800 ; lower Z again
G90 ; absolute positioning G90 ; absolute positioning
G1 X10 F6000 ; move forward 10mm G1 X10 F6000 ; move forward 10mm

View File

@ -7,6 +7,6 @@ G1 H2 Z2 F10800 ; lift Z relative to current position
G1 H1 Y625 F3600 ; move quickly to Y axis endstop and stop there (first pass) G1 H1 Y625 F3600 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y-10 F6000 ; go back a few mm G1 Y-10 F6000 ; go back a few mm
G1 H1 Y625 F360 ; move slowly to Y axis endstop once more (second pass) G1 H1 Y625 F360 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-2 F10800 ; lower Z again ;G1 H2 Z-2 F10800 ; lower Z again
G90 ; absolute positioning G90 ; absolute positioning
G1 Y-10 F6000 ; move forward 10 mm G1 Y-10 F6000 ; move forward 10 mm

View File

@ -6,7 +6,7 @@ M280 P0 S160 ; Reset probe
G91 ; relative positioning G91 ; relative positioning
G1 H2 Z5 F10800 ; lift Z relative to current position G1 H2 Z5 F10800 ; lift Z relative to current position
G90 ; absolute positioning G90 ; absolute positioning
G1 X250 Y250 F10800 ; go to first probe point G1 X275 Y250 F10800 ; go to first probe point
G30 ; home Z by probing the bed G30 ; home Z by probing the bed
; Uncomment the following lines to lift Z after probing ; Uncomment the following lines to lift Z after probing

View File

@ -0,0 +1 @@
M280 P0 S160 ; clear and reset BL touch