From 6726f80727059f1f764b880e85d66daaba3ff0a8 Mon Sep 17 00:00:00 2001 From: pedro Date: Sun, 6 Jun 2021 15:00:52 +0000 Subject: [PATCH] Fix: Y Stepper motion, it was inverted --- README.md | 8 ++++---- bed.g | 6 +++--- config.g | 6 +++--- homeall.g | 14 +++++++------- homey.g | 6 +++--- homez.g | 2 +- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 67a2cfb..f356e44 100644 --- a/README.md +++ b/README.md @@ -81,11 +81,11 @@ Used IO pin headers #### Stepper motors All steppers are 0.9ยบ -* z left - driver0 - motion backwards (looking from the back of the printer) +* z left - driver2 - motion backwards (looking from the back of the printer) * z rear - driver1 - motion backwards -* z right - driver2 - motion backwards -* top right motor - driver3 - Y - motion forwards (looking from the back of the printer) -* top left motor - driver4 - X - motion forwards +* 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 * extruder motor - driver5 - motion forwards #### Outputs diff --git a/bed.g b/bed.g index 8452bbb..b23d5ce 100644 --- a/bed.g +++ b/bed.g @@ -4,9 +4,9 @@ M561 ; clear any bed transform -G30 P0 X25 Y475 Z-99999 ; probe near a leadscrew -G30 P1 X250 Y25 Z-99999 ; probe near a leadscrew -G30 P2 X475 Y475 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors +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 G29 ; probe the bed and enable compensation diff --git a/config.g b/config.g index 2317d6b..c6f5950 100644 --- a/config.g +++ b/config.g @@ -1,4 +1,4 @@ -; Configuration file for Duet 3 (firmware version 3) +; Configuration file for Duet 3 (firmware version 3) and RatRig VCore3 500^3 ; executed by the firmware on start-up ; @@ -27,7 +27,7 @@ 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 @@ -42,7 +42,7 @@ M558 P9 C"^io7.in" H3 F500 T12000 ; set Z probe type to bltouch ;; 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 ;; -M671 X-4.5:250:504.5 Y504.52:-5:504.52 S5 ; define positions of Z leadscrews or bed levelling screws +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 diff --git a/homeall.g b/homeall.g index b64b396..75220ad 100644 --- a/homeall.g +++ b/homeall.g @@ -5,20 +5,20 @@ M280 P0 S160 ; Reset probe G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position -G1 H1 X-625 Y-605 F3600 ; move quickly to X and U axis endstops and stop there (first pass) +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 Y-605 F1800 ; move quickly to X and U axis endstops and stop there (first pass) -G1 H2 X5 Y5 F6000 ; go back a few mm -G1 H1 X-625 Y-605 F360 ; move slowly to X and U axis endstops once more (second pass) +G1 H1 Y125 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 Y-605 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 Y250 F10000 ; go to first probe point +G1 X250 Y-250 F10000 ; go to first probe point G30 ; home Z by probing the bed G91 ; relative positioning G1 Z5 F100 ; lift Z relative to current position G90 ; absolute positioning -G1 X15 Y15 F10000 +G1 X15 Y-15 F10000 diff --git a/homey.g b/homey.g index 0e7a63a..c6d8a0a 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 Y-605 F1800 ; move quickly to Y axis endstop and stop there (first pass) +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 Y-605 F360 ; move slowly to Y axis endstop once more (second pass) +G1 H1 Y600 F360 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-2 F10800 ; lower Z again G90 ; absolute positioning -G1 Y10 F6000 ; move forward 10 mm +G1 Y-10 F6000 ; move forward 10 mm diff --git a/homez.g b/homez.g index 0e3f3e5..f78ce2c 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 Y250 F10800 ; go to first probe point +G1 X250 Y-250 F10800 ; go to first probe point G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing