Multiple fixe: accell, bed, filament sensor, tune e-steps

Add support to accelerometer
Tune probe offset on Z
Tune extrusor steps
Add accel. files to .gitignore
This commit is contained in:
pedro 2022-02-21 13:42:29 +00:00
parent 40d7c2aa86
commit 568fae4b39
4 changed files with 29 additions and 55 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
dwc-settings.json dwc-settings.json
heightmap.csv heightmap.csv
config-override.g config-override.g
accelerometer/*

2
bed.g
View File

@ -4,7 +4,6 @@
M561 ; clear any bed transform M561 ; clear any bed transform
G30 P0 X5 Y5 Z-99999 ; probe near a leadscrew G30 P0 X5 Y5 Z-99999 ; probe near a leadscrew
G30 P1 X5 Y20 Z-99999 ; probe near a leadscrew G30 P1 X5 Y20 Z-99999 ; probe near a leadscrew
G30 P2 X20 Y5 Z-99999 ; probe near a leadscrew G30 P2 X20 Y5 Z-99999 ; probe near a leadscrew
@ -17,4 +16,5 @@ G30 P8 X470 Y5 Z-99999 ; probe near a leadscrew
G30 P9 X450 Y5 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors G30 P9 X450 Y5 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
M280 P0 S160 ; clear and reset BL touch M280 P0 S160 ; clear and reset BL touch
G1 Z10 F300
G29 S1 ; probe the bed and enable compensation G29 S1 ; probe the bed and enable compensation

View File

@ -9,19 +9,19 @@ M550 P"vcore3" ; set printer name fqdn: vcor
M669 K1 ; select CoreXY mode M669 K1 ; select CoreXY mode
; Drives ; Drives
M569 P0.0 S0 D3 H50 V50 ; physical drive 0.0 goes backwards M569 P0.0 S0 D3 H500 V500 ; physical drive 0.0 goes backwards
M569 P0.1 S0 D3 H50 V50 ; physical drive 0.1 goes backwards M569 P0.1 S0 D3 H500 V500 ; physical drive 0.1 goes backwards
M569 P0.2 S0 D3 H50 V50 ; physical drive 0.2 goes backwards M569 P0.2 S0 D3 H500 V500 ; physical drive 0.2 goes backwards
M569 P0.3 S1 D3 H50 V50 ; physical drive 0.3 goes forwards M569 P0.3 S1 D3 H500 V500 ; physical drive 0.3 goes forwards
M569 P0.4 S1 D3 H50 V50 ; physical drive 0.4 goes forwards M569 P0.4 S1 D3 H500 V500 ; physical drive 0.4 goes forwards
M569 P0.5 S0 D3 H50 V50 ; physical drive 0.5 goes backwards M569 P0.5 S0 D2 H500 V500 ; physical drive 0.5 goes backwards
M584 X0.3 Y0.4 Z0.2:0.1:0.0 E0.5 ; set drive mapping M584 X0.3 Y0.4 Z0.2:0.1:0.0 E0.5 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z1600.00 E835 ; set steps per mm M92 X80.00 Y80.00 Z1600.00 E794 ; set steps per mm
M566 X400.00 Y400.00 Z6.00 E120.00 P1 ; set maximum instantaneous speed changes (mm/min) M566 X500.00 Y500.00 Z4.00 E120.00 P1 ; set maximum instantaneous speed changes (mm/min)
M203 X20800.00 Y20800.00 Z1000.00 E3600.00 ; set maximum speeds (mm/min) M203 X10800.00 Y10800.00 Z1000.00 E3600.00 ; set maximum speeds (mm/min)
M201 X6000.00 Y6000.00 Z3000.00 E3600.00 ; set accelerations (mm/s^2) M201 X10800.00 Y10800.00 Z400.00 E3600.00 ; set accelerations (mm/s^2)
M906 X2000 Y2000 Z1200 E800 I20 ; set motor currents (mA) and motor idle factor in per cent M906 X1500 Y1500 Z800 E800 I20 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout M84 S30 ; Set idle timeout
; Axis Limits ; Axis Limits
@ -34,12 +34,13 @@ 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" H2 F200 T10000 A5 ; set Z probe type to bltouch and the dive height + speeds, run probing 5x M558 P9 C"^io7.in" H5 F300 T10000 A5 S0.05 R0.2 ; set Z probe type to bltouch and the dive height (H) + speeds (F), run probing 5x
; tolerance when probing mm (S), probe recovery time (R),
;; 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-35 Y-0.5 Z3.175 ; set Z probe trigger value, offset and trigger height G31 P500 X-35 Y-0.5 Z2.525 ; set Z probe trigger value, offset and trigger height
M671 X-6:250:503 Y0:511:0 S5 ; define positions of Z leadscrews or bed levelling screws M671 X-6:250:503 Y0:511:0 S100 ; define positions of Z leadscrews or bed levelling screws
M557 X5:465 Y5:465 P20 ; define 20x20 mesh grid M557 X5:465 Y5:465 P20 ; define 20x20 mesh grid
; Heaters ; Heaters
@ -72,7 +73,18 @@ G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
; Filament sensor - Duet3D laser filament monitor ; Filament sensor - Duet3D laser filament monitor
M591 D0 P5 C"io3.in" R40:120 E3.0 S1 ; Duet3D laser sensor for extruder drive 0, connected to endstop input 4 (E0), tolerance 40 to 120%, 3mm comparison length, enabled filament monitoring M591 D0 P5 C"io3.in" R30:125 E5.0 S1 ; Duet3D laser sensor for extruder drive 0, connected to endstop input 4 (E0), tolerance 30 to 125%, 5mm comparison length, enabled filament monitoring
; Accelerometer - LIS3HD
;; More info: https://duet3d.dozuki.com/Wiki/Accelerometers
;; More info: regarding sensor orientation: https://www.dropbox.com/s/hu2w5mk57l4zqpg/Accelerometer%20Orientation.pdf
;; Possible orientations 01,02,05,06
M955 P0 C"spi.cs3+spi.cs2" I01 S1344 R10; all wires connected to temperature daughter board connector, Orientation 01, Sampling rate 1344, 10b resolution
;M593 P"zvd" F40.5 ; use ZVD input shaping to cancel ringing at 40.5Hz
;M593 P"none" ; disable input shaping
;M593 P"custom" H0.4:0.7 T0.0135:0.0135 ; use custom input shaping
; Miscellaneous ; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue M575 P1 S1 B57600 ; enable support for PanelDue

View File

@ -1,39 +0,0 @@
; File "0:/gcodes/CFFFP_accel_support.gcode" resume print after print paused at 2022-02-13 17:05
G21
M140 P0 S90.0
G29 S1
G92 X215.634 Y137.576 Z0.400
G60 S1
G10 P0 S230 R230
T0 P0
M98 P"resurrect-prologue.g"
M116
M290 X0.000 Y0.000 Z0.000 R0
T-1 P0
T0 P6
; Workplace coordinates
G10 L2 P1 X0.00 Y0.00 Z0.00
G10 L2 P2 X0.00 Y0.00 Z0.00
G10 L2 P3 X0.00 Y0.00 Z0.00
G10 L2 P4 X0.00 Y0.00 Z0.00
G10 L2 P5 X0.00 Y0.00 Z0.00
G10 L2 P6 X0.00 Y0.00 Z0.00
G10 L2 P7 X0.00 Y0.00 Z0.00
G10 L2 P8 X0.00 Y0.00 Z0.00
G10 L2 P9 X0.00 Y0.00 Z0.00
G54
M106 S0.00
M106 P1 S0.00
M116
G92 E-1.00000
M83
M486 S-1
G17
M23 "0:/gcodes/CFFFP_accel_support.gcode"
M26 S788
G0 F6000 Z2.400
G0 F6000 X215.634 Y137.576
G0 F6000 Z0.400
G1 F600.0 P0
G21
M24