Autobed Leveling with BLtouch



  • Applogise for this post as most likey everyone is sick of seeing autobed leveling issues, Well I'm after trawling through every help guide and post here: ) but I'm hitting a block now with this.

    Perviously I had this working or a Corexy build but now I'm getting stumped on a delta setup. I have followed the guide on https://duet3d.dozuki.com/Wiki/Calibrating_a_delta_printer#Section_Running_auto_calibration_for_the_first_time

    Which everything seems to be working as expected apart from running the print it, as it always bed crashes.

    Here is my Config files:

    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Wed Apr 24 2019 21:46:24 GMT+0100 (British Summer Time)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M665 R272 L420 B300 H720 ; 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

    ; Network
    M550 P"duet3d" ; Set machine name
    M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives
    M569 P0 S0 ; Drive 0 goes forwards
    M569 P1 S0 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M569 P4 S1 ; Drive 4 goes forwards
    M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation
    M92 X80.00 Y80.00 Z80.00 E854.71:663.00 ; Set steps per mm
    M566 X1200.00 Y1200.00 Z1200.00 E1200.00:1200.00 ; Set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z18000.00 E1200.00:1200.00 ; Set maximum speeds (mm/min)
    M201 X1000.00 Y1000.00 Z1000.00 E1000.00:1000.00 ; Set accelerations (mm/s^2)
    M906 X1000.00 Y1000.00 Z1000.00 E800.00:800.00 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 H20 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
    G31 P500 X-6.90 Y-25.30 Z1.163 ; Set Z probe trigger value, offset and trigger height
    M557 R100 S20 ; Define mesh grid

    ; Heaters
    M140 H-1 ; Disable heated bed
    M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C
    M305 P2 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 2
    M143 H2 S280 ; Set temperature limit for heater 2 to 280C

    ; Fans
    M106 P0 S0 I0 F500 H T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X-9 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
    M563 P1 D1 H2 ; Define tool 1
    G10 P1 X9 Y0 Z0 ; Set tool 1 axis offsets
    G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

    ; Automatic saving after power loss is not enabled

    ; Custom settings are not configured

    Bed config:

    ; bed.g
    ; called to perform automatic delta calibration via G32
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Wed Apr 24 2019 21:46:24 GMT+0100 (British Summer Time)
    M561 ; clear any bed transform
    M98 Pdeployprobe.g ; deploy mechanical Z probe
    ; Probe the bed at 3 peripheral and 0 halfway points, and perform 3-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 Y120.00 H0 Z-99999
    G30 P1 X84.00 Y-130.00 H0 Z-99999
    G30 P2 X-84.00 Y-130.00 H0 Z-99999
    G30 P3 X0 Y0 H0 Z-99999 S3
    ; 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 ; retract mechanical Z probe

    Results of autobed mesh:

    0_1558384209830_bed.JPG



  • you did not save the values from the auto calibration



  • Do you mean add G29 at the end of my Bed.g code? Also my current slicer code is starting with G28 ; home all axes and then G32



  • doing the Saving the calibration results from your link that you posted

    your config contains these lines
    M665 R272 L420 B300 H720 ; 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

    they are almost certainly not the ones from the auto calibration



  • @veti Ahh that explains it. So at the moment I have done this and now getting a much better result on the height map so thank you for that information 🙂
    So what is best to put on the slicer code? I'm currently using G32 and G29 so getting a much better height map (still needs a bit tweaking)

    0_1558547662009_heightmap.JPG

    Also while running the G32 and G29 for a print my printer decideds wildly move to the top right and then sits there so que other random issue.* edit just updated to the newest version 2.03beta3 (2019-03-25b6) and also saved the height map and this wild movement to the top left has disappeared but now print is in the center but no movement on the print head while the print process is quickly zooming across. I have checked the logs and no error codes are appearing.



  • on a delta you dont normally need to run G32 every time.
    just save the values from the auto calibration in your config.g file.
    your calibration looks like there is some mechanical issue. so check that all screws are tight and there is no play in them.



  • @veti Hiya, yep just made some changes to save the heightmap and to autoload it but getting a rather stange issue.
    I have amended my new post with the information if anyone what's to take a look 🙂



  • @veti said in Autobed Leveling with BLtouch:

    no you need to modify your config modify the M665 and M666 commands with the results of the G32

    Run M665 and M666 without parameters, then they will display the current parameters as adjusted by auto calibration. Copy the new values into the M665 and M666 commands in your config.g file.



  • @veti okay done that just now with updating the settings and the wild movement has come back now.
    M666
    Endstop adjustments X0.65 Y-2.43 Z1.78, tilt X0.00% Y0.00%
    M665
    Diagonals 420.000:420.000:420.000, delta radius 242.162, homed height 703.890, bed radius 300.0, X 1.002°, Y 1.718°, Z 0.000°


  • administrators

    Are you still running firmware 2.03beta3? If so, please revert to 2.02 or upgrade to 2.03RC3.


Log in to reply