BLTouch strange x & y offset Duet Maestro, Reprap January 13, 2020 02:53PM |
Registered: 6 years ago Posts: 3 |
; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S0 ; physical drive 1 goes backwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S0 ; physical drive 3 goes backwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X32 Y32 Z32 E64 I1 ; configure microstepping with interpolation M92 X160.00 Y160.00 Z800.00 E1617.05 ; set steps per mm M566 X900.00 Y900.00 Z180.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z1200.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z100.00 E250.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X230 Y225 Z300 S0 ; set axis maxima ; Endstops M574 X1 Y1 S1 ; set active high endstops M574 Z1 S2 ; set endstops controlled by probe ; Z-Probe M558 P9 H2 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X-41.4 Y-12.5 Z2.68575 ; set Z probe trigger value, offset and trigger height M557 X15:200 Y15:195 S20 ; define mesh grid
M561 ; clear any bed transform G28 ; home all axes G29 ; probe the bed and enable compensation
G91 ; relative positioning G1 H2 Z2 F6000 ; lift Z relative to current position G1 H1 X-235 Y-230 F3000 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H2 X5 Y5 F6000 ; go back a few mm G1 H1 X-235 Y-230 F360 ; move slowly to X and Y axis endstops once more (second pass) G90 ; absolute positioning G1 X10 Y10 F6000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed
G91 ; relative positioning G1 H2 Z2 F6000 ; lift Z relative to current position G90 ; absolute positioning G1 X10 Y10 F6000 ; go to first probe point G30 ; home Z by probing the bed
Re: BLTouch strange x & y offset Duet Maestro, Reprap January 14, 2020 02:37AM |
Registered: 10 years ago Posts: 14,672 |
Re: BLTouch strange x & y offset Duet Maestro, Reprap January 14, 2020 03:53AM |
Registered: 6 years ago Posts: 3 |
Re: BLTouch strange x & y offset Duet Maestro, Reprap January 26, 2020 04:41PM |
Registered: 7 years ago Posts: 558 |
; Configuration file for Duet Maestro (firmware version 1.21) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v2 on Sun Jun 23 2019 15:47:43 GMT-0400 (Eastern Daylight Time) ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Network M550 P"Creality Ender 5" ; Set machine name M552 Pxxx.xxx.xxx.xxx S1 ; Enable network and set IP address M553 Pxxx.xxx.xxx.xxx ; Set netmask M554 Pxxx.xxx.xxx.xxx ; Set gateway M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Drives M569 P0 S1 ; Physical drive 0 goes forward M569 P1 S0 ; Physical drive 1 goes reverse M569 P2 S1 ; Physical drive 2 goes forward M569 P3 S1 ; Physical drive 3 goes forward M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E93.00 ; Set steps per mm M566 X600.00 Y600.00 Z24.00 E300.00 ; Set maximum instantaneous speed changes (mm/min) ;M203 X18000.00 Y18000.00 Z300.00 E1500.00 ; Set maximum speeds (mm/min) (Original Marlin Values) M203 X30000.00 Y30000.00 Z500.00 E6000.00 ; Set maximum speeds (mm/min) (Duet3d Forum Values for Ender-5) ;M201 X500.00 Y500.00 Z100.00 E5000.00 ; Set accelerations (mm/s^2) (Original Marlin Values) M201 X500.00 Y500.00 Z200.00 E6000.00 ; Set accelerations (mm/s^2) (Duet3d Forum Values for Ender-5) M906 X800.00 Y800.00 Z800.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; Set axis minima M208 X225 Y225 Z300 S0 ; Set axis maxima ; Endstops M574 X2 Y2 S1 ; Set active high endstops ; Z-Probe M574 Z1 S2 ; Set endstops controlled by probe M558 P9 H5 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds G31 P500 X-44 Y-16 Z2.325 ; Set Z probe trigger value, offset and trigger height M557 X5:225 Y10:225 S87:98 ; Define mesh grid ; Manual Bed Leveling Assistant M671 X66:225:225:66 Y44:44:214:214 P0.5 ; Heaters (Autotune - M303 H0 S80 / M303 H1 S240) M307 H0 A109.7 C358.3.3 D0.8 V23.9 S1.0 B0 ; Heater 0 model: gain 109.7, time constant 358.3, dead time 0.8, max PWM 1.00, calibration voltage 23.9 ;M305 P0 T97700 B4619 C9.743561e-8 R2200 ; Alternative settings from Duet3d Forum M305 P0 T98801 B4185 R2200 ; Set thermistor + ADC parameters for heater 0 M143 H0 S80 ; Set temperature limit for heater 0 to 80C M307 H1 A330.9 C115.6 D3.8 V24.0 S1.0 B0 ; Heater 1 model: gain 330.9, time constant 115.6, dead time 3.8, max PWM 1.00, calibration voltage 24.0 ;M305 P1 T97700 B4619 C9.743561e-8 R2200 ; Alternative settings from Duet3d Forum M305 P1 T98801 B4185 R2200 ; Set thermistor + ADC parameters for heater 1 M143 H1 S280 ; Set temperature limit for heater 1 to 280C ; Fans M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P2 S1 I0 F500 H1:0 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Tools M563 P0 D0 H1 ; Define tool 0 G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C ; Automatic power saving M911 S21 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss ; Custom settings M918 P1 E4 ; Enable 12864 LCD with 1 menu item per encoder click M912 P0 S-7.25 ; Calibrate MCU temperature (Tr=24.35 - Tc=31.6) ; Pressure Advance ;M572 D0 S0.1 ; Miscellaneous T0 ; Select first tool
; bed.g ; called to perform automatic bed compensation via G32 ; ; generated by RepRapFirmware Configuration Tool v2 on Sun Jun 23 2019 15:47:42 GMT-0400 (Eastern Daylight Time) ;M561 ; clear any bed transform ;G29 ; probe the bed and enable compensation M290 R0 S0 ; clear any existing baby-stepping M561 ; clear any bed transform ; ManualBed Adjustment Assistant G30 P0 X22 Y28 Z-99999 ; probe near an adjusting screw G30 P1 X181 Y28 Z-99999 ; probe near an adjusting screw G30 P2 X181 Y198 Z-99999 ; probe near an adjusting screw G30 P3 X22 Y198 Z-99999 S4 ; probe near an adjusting screw and report adjustments needed G1 X112.5 Y112.5 F9000
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v2 on Sun Jun 23 2019 15:47:43 GMT-0400 (Eastern Daylight Time) G91 ; relative positioning G1 Z5 F6000 S2 ; lift Z relative to current position G1 S1 X250 Y230 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 X-5 Y-5 F6000 ; go back a few mm G1 S1 X250 Y230 F360 ; move slowly to X and Y axis endstops once more (second pass) G90 ; absolute positioning G1 X156.5 Y128.5 F6000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing G91 ; relative positioning G1 S2 Z5 F100 ; lift Z relative to current position G90 ; absolute positioning
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v2 on Sun Jun 23 2019 15:47:43 GMT-0400 (Eastern Daylight Time) G91 ; relative positioning G1 Z5 F6000 S2 ; lift Z relative to current position G90 ; absolute positioning G1 X156.5 Y128.5 F6000 ; go to first probe point G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing G91 ; relative positioning G1 S2 Z5 F100 ; lift Z relative to current position G90 ; absolute positioning