From d4490ce7d3bdfbea3ace78133190d0f95978ce7f Mon Sep 17 00:00:00 2001 From: pedro Date: Sun, 6 Jun 2021 18:58:36 +0100 Subject: [PATCH] Fix: Stepper direction, endstop high position for y, homing settings --- README.md | 4 ++-- bed.g | 6 +++--- config.g | 12 ++++++------ homeall.g | 4 ++-- homex.g | 2 +- homey.g | 8 ++++---- homez.g | 2 +- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index f356e44..3e0e1d9 100644 --- a/README.md +++ b/README.md @@ -84,8 +84,8 @@ All steppers are 0.9ยบ * z left - driver2 - motion backwards (looking from the back of the printer) * z rear - driver1 - motion backwards * z right - driver1 - motion backwards -* top right motor - driver4 - Y - motion forwards (looking from the back of the printer) -* top left motor - driver3 - X - motion forwards +* top right motor - driver3 - Y - motion forwards (looking from the back of the printer) +* top left motor - driver4 - X - motion forwards * extruder motor - driver5 - motion forwards #### Outputs diff --git a/bed.g b/bed.g index b23d5ce..48c5bd2 100644 --- a/bed.g +++ b/bed.g @@ -4,9 +4,9 @@ M561 ; clear any bed transform -G30 P0 X15 Y-485 Z-99999 ; probe near a leadscrew -G30 P1 X250 Y-15 Z-99999 ; probe near a leadscrew -G30 P2 X485 Y-485 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors +G30 P0 X25 Y25 Z-99999 ; probe near a leadscrew +G30 P1 X250 Y475 Z-99999 ; probe near a leadscrew +G30 P2 X475 Y25 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors G29 ; probe the bed and enable compensation diff --git a/config.g b/config.g index c6f5950..92fadb1 100644 --- a/config.g +++ b/config.g @@ -15,7 +15,7 @@ M569 P0.2 S0 D3 H50 V50 ; physical drive 0.2 goes backwar M569 P0.3 S1 D3 H50 V50 ; physical drive 0.3 goes forwards M569 P0.4 S1 D3 H50 V50 ; physical drive 0.4 goes forwards M569 P0.5 S0 D3 H50 V50 ; physical drive 0.5 goes backwards -M584 X0.4 Y0.3 Z0.0:0.1:0.2 E0.5 ; set drive mapping +M584 X0.3 Y0.4 Z0.0:0.1:0.2 E0.5 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X160.00 Y160.00 Z1600.00 E873.08 ; set steps per mm @@ -27,11 +27,11 @@ M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima -M208 X510 Y500 Z500 S0 ; set axis maxima +M208 X510 Y500 Z500 S0 ; set axis maxima ; Endstops M574 X1 S1 P"io2.in" ; configure active-high endstop -M574 Y1 S1 P"io1.in" ; configure active-high endstop +M574 Y2 S1 P"io1.in" ; configure active-high endstop ; Z-Probe @@ -40,10 +40,10 @@ M558 P9 C"^io7.in" H3 F500 T12000 ; set Z probe type to bltouch ;; 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 ;; Documentation available: https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe -G31 P500 X-28 Y13 Z2.235 ; set Z probe trigger value, offset and trigger height +G31 P500 X-28 Y-13 Z2.235 ; 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 -M557 X25:475 Y25:475 P5 ; define 5x5 mesh grid +M671 X-4.5:250:504.5 Y-4.52:505:-4.52 S5 ; define positions of Z leadscrews or bed levelling screws +M557 X25:475 Y25:475 P5 ; define 5x5 mesh grid ; Heaters ;; BED diff --git a/homeall.g b/homeall.g index 75220ad..9df8649 100644 --- a/homeall.g +++ b/homeall.g @@ -7,14 +7,14 @@ G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-625 Y625 F3600 ; move quickly to X and U axis endstops and stop there (first pass) G1 H1 X-625 F1800 ; move quickly to X and U axis endstops and stop there (first pass) -G1 H1 Y125 F1800 ; move quickly to X and U axis endstops and stop there (first pass) +G1 H1 Y625 F1800 ; move quickly to X and U axis endstops and stop there (first pass) G1 H2 X5 Y-5 F6000 ; go back a few mm G1 H1 X-625 Y625 F360 ; move slowly to X and U axis endstops once more (second pass) G1 H1 X-625 F360 ; move slowly to X and U axis endstops once more (second pass) G1 H1 Y625 F360 ; move slowly to X and U axis endstops once more (second pass) G90 ; absolute positioning -G1 X250 Y-250 F10000 ; go to first probe point +G1 X250 Y250 F10000 ; go to first probe point G30 ; home Z by probing the bed G91 ; relative positioning diff --git a/homex.g b/homex.g index ef9e8e1..046aa4c 100644 --- a/homex.g +++ b/homex.g @@ -4,7 +4,7 @@ G91 ; relative positioning G1 H2 Z2 F10800 ; lift Z relative to current position -G1 H1 X-625 F1800 ; 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 H1 X-625 F360 ; move slowly to X axis endstop once more (second pass) G1 H2 Z-2 F10800 ; lower Z again diff --git a/homey.g b/homey.g index c6d8a0a..5c1fd70 100644 --- a/homey.g +++ b/homey.g @@ -4,9 +4,9 @@ G91 ; relative positioning G1 H2 Z2 F10800 ; lift Z relative to current position -G1 H1 Y600 F1800 ; move quickly to Y axis endstop and stop there (first pass) -G1 Y-5 F6000 ; go back a few mm -G1 H1 Y600 F360 ; move slowly to Y axis endstop once more (second 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 H1 Y625 F360 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-2 F10800 ; lower Z again G90 ; absolute positioning -G1 Y-10 F6000 ; move forward 10 mm +G1 Y-10 F6000 ; move forward 10 mm diff --git a/homez.g b/homez.g index f78ce2c..0e3f3e5 100644 --- a/homez.g +++ b/homez.g @@ -6,7 +6,7 @@ M280 P0 S160 ; Reset probe G91 ; relative positioning G1 H2 Z5 F10800 ; lift Z relative to current position G90 ; absolute positioning -G1 X250 Y-250 F10800 ; go to first probe point +G1 X250 Y250 F10800 ; go to first probe point G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing