Fix: Stepper direction, endstop high position for y, homing settings

This commit is contained in:
pedro 2021-06-06 18:58:36 +01:00
parent 093927ca94
commit d4490ce7d3
7 changed files with 19 additions and 19 deletions

View File

@ -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

6
bed.g
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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