Bltouch help
-
Config.g
; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Thu Aug 02 2018 09:35:23 GMT+0200 (CEST); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves;*** The homed height is deliberately set too high in the following - you will adjust it during calibration.
M665 R155 L397.19 B155 H517 ; Set delta radius, diagonal rod length, printable radius and homed height
M666 X0 Y0 Z0 ; Put your endstop adjustments here, or let auto calibration find them; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z80 E417.22 ; Set steps per mm
M566 X1200 Y1200 Z1200 E1200 ; Set maximum instantaneous speed changes (mm/min)
M203 X18000 Y18000 Z18000 E1200 ; Set maximum speeds (mm/min)
M201 X1000 Y1000 Z1000 E1000 ; Set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E1200 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 Z0 S1 ; Set minimum Z; Endstops
M574 X2 Y2 Z2 S1 ; Set active high endstops; Z-Probe
M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
M558 P9 H5 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
G31 P25 X0 Y20 Z1.04 ; 1.927 Set Z probe trigger value, offset and trigger height
M557 R150 S45 ; Define mesh grid; Heaters
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; Fans
M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P2 S1 I0 F500 H0 T50 ; 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 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss; Custom settings
;M591 DO C3 P2 E6.0M501
homedelta.g
; homedelta.g
; called to home all towers on a delta printer
;
; generated by RepRapFirmware Configuration Tool on Thu Aug 02 2018 09:35:23 GMT+0200 (CEST)
G91 ; relative positioning
G1 S1 X705 Y705 Z705 F3600 ; move all towers to the high end stopping at the endstops (first pass)
G1 X-5 Y-5 Z-5 F3600 S2 ; go down a few mm
G1 S1 X10 Y10 Z10 F360 ; move all towers up once more (second pass)
G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred
G90 ; absolute positioning
G1 X0 Y0 F6000 ; move X+Y to the centreBed.g
; bed.g
; called to perform automatic delta calibration via G32
;
; generated by RepRapFirmware Configuration Tool on Thu Aug 02 2018 09:35:23 GMT+0200 (CEST)
M561 ; clear any bed transform
G28 ; home all towers
M190 S60
;M98 Pdeployprobe.g; déployer sonde mécanique de Z
; Probe the bed at 6 peripheral and 6 halfway points, and perform 6-factor auto compensation
; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g.
G30 P0 X0 Y132.28 H0 Z-99999
G30 P1 X121 Y69.86 H0 Z-99999
G30 P2 X129.9 Y-75 H0 Z-99999
G30 P3 X0 Y-150 H0 Z-99999
G30 P4 X-125.9 Y-75 H0 Z-99999
G30 P5 X-121 Y69.86 H0 Z-99999
G30 P6 X0 Y59.15 H0 Z-99999
G30 P7 X56.09 Y32.38 H0 Z-99999
G30 P8 X64.95 Y-37.5 H0 Z-99999
G30 P9 X0 Y-75 H0 Z-99999
G30 P10 X-64.95 Y-37.5 H0 Z-99999
G30 P11 X-56.09 Y32.38 H0 Z-99999
G30 P12 X0 Y0 H0 Z-99999 S6
; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors
; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)
;M98 Pretractprobe.g; rétracter la sonde mécanique Z
G29 -
So the problem is that sometimes the bltouch is reported already triggered at the start of the probing move. Possible reasons for this include:
- Bad connection between the white wire and the Duet
- The pin is a little sticky and sometimes the probe deploys too slowly. Try adding a short delay before probing by using the R parameter in the M558 command.
- The dive height is too low so the probe really is triggered at the start of probing. Try increasing the dive height by 2mm.
-
Hello,
Once again, thank you for your assistance.
So I applied all your advice but kidney did not debug this problem of Bltouch Classic. I finally order the BLtouch Smart V2 which I hope will allow me to finally print.
A +
-
@rafb for what it's worth problems with early versions of the BLTouch classic are very common. The newer version is much improved. Please let us know if it works out for you.
-
Hello,
back from vacation, I just set up the new bltouch. It works perfectly!I still have a problem, why and how to optimize the flatness of my bed?
-
What is your printing surface and bed construction?
-
it's glass
-
That height map would indicate a possible mechanical problem. Perhaps something is misaligned or bent.
How fast are you probing?
-
No, I do not think I have a mechanical problem.
Look at this bug when I run "auto delta calibration" I have this result.
But when I do "run mesh grid compensation", j'ai ce résultat.
This error message G29
D'ou vient le problème?
-
What are you using for your deployprobe.g and retractprobe.g macros?
-
; deployprobe.g
; called to deploy a physical Z probe
;
; generated by RepRapFirmware Configuration Tool on Thu Aug 02 2018 09:35:23 GMT+0200 (CEST)
;M280 P3 S160 I1
M280 P3 S10 I1; retractprobe.g
; called to retract a physical Z probe
;
; generated by RepRapFirmware Configuration Tool on Thu Aug 02 2018 09:35:23 GMT+0200 (CEST)
M280 P3 S90 I1 -
@rafb and how are you deploying and retracting in your bed.g? Are you manually calling it in your homing files or letting g30 handle it?
-
Are you manually calling it in your homing files or letting g30 handle it?
I do not know and do not understand; bed.g
; called to perform automatic delta calibration via G32
;
; generated by RepRapFirmware Configuration Tool on Thu Aug 02 2018 09:35:23 GMT+0200 (CEST)
M561 ; clear any bed transform
G28 ; home all towers
M190 S60
;M98 Pdeployprobe.g; déployer sonde mécanique de Z
; Probe the bed at 6 peripheral and 6 halfway points, and perform 6-factor auto compensation
; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g.
G30 P0 X0 Y132.28 H0 Z-99999
G30 P1 X121 Y69.86 H0 Z-99999
G30 P2 X129.9 Y-75 H0 Z-99999
G30 P3 X0 Y-150 H0 Z-99999
G30 P4 X-129.9 Y-75 H0 Z-99999
G30 P5 X-121 Y69.86 H0 Z-99999
G30 P6 X0 Y59.15 H0 Z-99999
G30 P7 X56.09 Y32.38 H0 Z-99999
G30 P8 X64.95 Y-37.5 H0 Z-99999
G30 P9 X0 Y-75 H0 Z-99999
G30 P10 X-64.95 Y-37.5 H0 Z-99999
G30 P11 X-56.09 Y32.38 H0 Z-99999
G30 P12 X0 Y0 H0 Z-99999 S6
; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors
; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)
;M98 Pretractprobe.g; rétracter la sonde mécanique Z
G29; homedelta.g
; called to home all towers on a delta printer
;
; generated by RepRapFirmware Configuration Tool on Thu Aug 02 2018 09:35:23 GMT+0200 (CEST)
G91 ; relative positioning
G1 S1 X705 Y705 Z705 F3600 ; move all towers to the high end stopping at the endstops (first pass)
G1 X-5 Y-5 Z-5 F3600 S2 ; go down a few mm
G1 S1 X10 Y10 Z10 F360 ; move all towers up once more (second pass)
G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred
G90 ; absolute positioning
G1 X0 Y0 F6000 ; move X+Y to the centre -
I do not find why I have this problem. I will start from scratch.
this bltouch seems not to be the best sensor for Duet
-
How do you have it wired?
Does it light up at all?
Can you send the servo commands to deploy and retract it?
-
the bltouch works great.
@rafb said in Bltouch help:
; deployprobe.g
; appelé à déployer une sonde de Z physique
;
; généré par l' outil de configuration RepRapFirmware le 02 août 2018 09:35:23 Jeu GMT + 0200 (CEST)
; M280 P3 S160 I1
M280 P3 S10 I1
; retractprobe.g
; appelé à se rétracter d' une sonde de Z physique
;
; généré par l' outil de configuration RepRapFirmware le 02 août 2018 09:35:23 Jeu GMT + 0200 (CEST)
M280 P3 S90 I1