Problems with Auto Bed Leveling and BLTouch



  • Hello,

    i have a problem with auto bed level compensation. i created the config with the online tool and changed nothing to it so far.

    my BLTouch ist working as it should. i tried to Z Probe in the middle of the bed and it worked just fine.

    if i try to z probe as created by the online tool it tries to go to X-10.5 Y15.5. i do not understand what iam doing wrong. i read trough the wiki at least 5 times.

    i'm on 2.05

    config.g:

    ; Configuration file for Duet WiFi (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.4 on Sat Dec 28 2019 00:23:04 GMT+0100 (Mitteleuropäische Normalzeit)
    
    ; General preferences
    G90                                                ; send absolute coordinates...
    M83                                                ; ...but relative extruder moves
    M550 P"Sapphire-S"                                 ; set printer name
    
    M667 S1                                            ; select CoreXY mode
    
    ; Network
    M552 S1                                            ; enable network
    M586 P0 S1                                         ; enable HTTP
    M586 P1 S1                                         ; enable FTP
    M586 P2 S0                                         ; disable Telnet
    
    ; Drives
    M569 P0 S1                                         ; physical drive 0 goes forwards
    M569 P1 S1                                         ; physical drive 1 goes forwards
    M569 P2 S0                                         ; physical drive 2 goes backwards
    M569 P3 S1                                         ; physical drive 3 goes forwards
    M584 X0 Y1 Z2 E3                                   ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z800.00 E416.00                  ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00                ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 E1200.00            ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.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 X190 Y210 Z200 S0                             ; set axis maxima
    
    ; Endstops
    M574 X1 Y1 S0                                      ; set active low and disabled endstops
    M574 Z1 S2                                         ; set endstops controlled by probe
    
    ; Z-Probe
    M307 H3 A-1 C-1 D-1                                ; disable heater on PWM channel for BLTouch
    M558 P9 H3 F120 T6000                              ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X0 Y31 Z0.691                             ; set Z probe trigger value, offset and trigger height
    M557 X5:185 Y5:205 S20                             ; define mesh grid
    
    ; Heaters
    M305 P0 T100000 B4138 R4700                        ; set thermistor + ADC parameters for heater 0
    M143 H0 S120                                       ; set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R4700                        ; set thermistor + ADC parameters for heater 1
    M143 H1 S260                                       ; set temperature limit for heater 1 to 260C
    
    ; Fans
    M106 P0 C"Hotendkühler" S1 I0 F500 H1 T45          ; set fan 0 name, value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 C"Bauteilkühler" S0 I0 F500 H-1            ; set fan 1 name, value, PWM signal inversion and frequency. Thermostatic control is turned off
    
    ; Tools
    M563 P0 D0 H1 F0                                   ; 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
    
    ; Custom settings are not defined
    
    ; Miscellaneous
    M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    

    homez.g

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.4 on Sat Dec 28 2019 00:23:05 GMT+0100 (Mitteleuropäische Normalzeit)
    G91                 ; relative positioning
    G1 H2 Z3 F6000      ; lift Z relative to current position
    G90                 ; absolute positioning
    G1 H2 X5 Y-26 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 H2 Z3 F100      ; lift Z relative to current position
    ;G90                ; absolute positioning
    

    homeall.g

    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.4 on Sat Dec 28 2019 00:23:05 GMT+0100 (Mitteleuropäische Normalzeit)
    G91                     ; relative positioning
    G1 H2 Z3 F6000          ; lift Z relative to current position
    G1 H1 X-195 Y-215 F1800 ; move quickly to X or Y endstop and stop there (first pass)
    G1 H1 X-195             ; home X axis
    G1 H1 Y-215             ; home Y axis
    G1 X5 Y5 F6000          ; go back a few mm
    G1 H1 X-195 F360        ; move slowly to X axis endstop once more (second pass)
    G1 H1 Y-215             ; then move slowly to Y axis endstop
    G90                     ; absolute positioning
    G1 H2 X5 Y-26 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 Z3 F100          ; lift Z relative to current position
    ;G90                    ; absolute positioning
    


  • G1 H2 X5 Y-26 F6000

    remove the H2 its a bug in the configurator at the moment. h2 movement is not for corexy.

    also just to be save. remove the umlaute in your config.



  • @Veti okay thanks. i replaced it with a G1 X80 Y35 F8000. Homing works as of right now.

    still mesh bed compensation is not working. it wants to start at X10 Y0. looks like it ignores the offset.
    i saw the bug report for 2.04 yesterday and updated to 2.05 as it said its fixed in the whats new doc.

    any idea?



  • @ediik said in Problems with Auto Bed Leveling and BLTouch:

    it wants to start at X10 Y0. looks like it ignores the offset.

    yes M557 is used with real coordinates. the offset of the probe is not taken into account.



  • @Veti but im using the syntax for G29. i tought this behaviour is only on G32.

    if i change M557 to M557 X10:185 Y45:205 S20 it goes to Y14.

    seems like i dont understand the interaction between Offset and Bed Compensation settings. Can you tell me what to set?



  • @ediik

    it is very confusing

    it probes at at Y45 = 31 + 14 = 45

    you specify the area with M557 that is actually being probed in real coordinates.
    but you have to keep the offset in mind

    your initial offset did not work because
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X190 Y210 Z200 S0 ; set axis maxima
    M557 X5:185 Y5:205 S20 ; define mesh grid

    in order to measure at Y5 it would have to move the head to y-26 which is not allowed. Y0 is the minimum per your definition.


Log in to reply