Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Manual Bed Leveling Assistant huge values returned

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    5
    12
    465
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bdeliaundefined
      bdelia
      last edited by

      Hey there,

      I believe I have my Duet set up properly for using the Manual Bed Leveling Assistant, but I get ridiculously high values return from its output:

      Manual corrections required: 0.00 turn up (0.00mm) 3743725.00 turn down (1871862.50mm) 3743724.75 turn down (1871862.38mm) 3743724.00 turn down (1871862.00mm)
      

      Here is my config.g:

      ; Configuration file for Duet WiFi (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.9 on Sat Dec 05 2020 14:37:53 GMT-0800 (Pacific Standard Time)
      
      ; General preferences
      G90                                            ; send absolute coordinates...
      M83                                            ; ...but relative extruder moves
      M550 P"BD-HEVO"                                ; set printer name
      M669 K1                                        ; select CoreXY mode
      
      ; Network
      M552 P192.168.0.69 S1                          ; enable network and set IP address
      M553 P255.255.255.0                            ; set netmask
      M554 P192.168.0.1                              ; 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 forwards
      M569 P1 S1                                     ; physical drive 1 goes forwards
      M569 P2 S1                                     ; physical drive 2 goes forwards
      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 Z400.00 E409.00              ; set steps per mm
      M566 X900.00 Y900.00 Z60.00 E120.00            ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z300.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 X265 Y280 Z410 S0                         ; set axis maxima
      
      ; Endstops
      M574 X1 S1 P"xstop"                            ; configure active-high endstop for low end on X via pin xstop
      M574 Y1 S1 P"ystop"                            ; configure active-high endstop for low end on Y via pin ystop
      M574 Z1 S2                                     ; configure Z-probe endstop for low end on Z
      
      ; Z-Probe
      M558 P5 C"^!zprobe.in" I0 H5 F120 T6000        ; set Z probe type to switch and the dive height + speeds
      G31 P500 X-25.914 Y-53.86 Z0.882               ; set Z probe trigger value, offset and trigger height
      M557 X26:239 Y54:226 S20                         ; define mesh grid
      M671 X26:26:239:239 Y54:226:226:54 P0.5          ; point1 (26,54), point2 (26,226), point3 (239,226), point4 (239,54)
      
      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bedheat" T0                          ; create bed heater output on bedheat and map it to sensor 0
      M307 H0 B0 S0.90                               ; disable bang-bang mode for the bed heater and set PWM limit
      M140 H0                                        ; map heated bed to heater 0
      M143 H0 S100                                   ; set temperature limit for heater 0 to 100C
      M308 S1 P"e0temp" Y"thermistor" T100000 B4138  ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"e0heat" T1                           ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H1 B0 S1.00                               ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S280                                   ; set temperature limit for heater 1 to 280C
      
      ; Fans
      M950 F0 C"fan0" Q500                           ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 H-1                                 ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"fan1" Q500                           ; create fan 1 on pin fan1 and set its frequency
      M106 P1 S1 H1 T45                              ; set fan 1 value. Thermostatic control is turned on
      
      ; 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
      M501                                           ; load saved parameters from non-volatile memory
      T0                                             ; select first tool
      

      And my bed.g file:

      ; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.9 on Sat Dec 05 2020 14:37:53 GMT-0800 (Pacific Standard Time)
      ;M561 ; clear any bed transform
      ;G29  ; probe the bed and enable compensation
      
      G28 ; home
      ;G0 X0 Y0
      G30 P0 X26 Y226 Z-99999 ; probe near an adjusting screw
      G30 P1 X26 Y226 Z-99999 ; probe near an adjusting screw
      G30 P2 X239 Y226 Z-99999 ; probe near an adjusting screw
      G30 P3 X239 Y54 Z-99999 S4; probe near an adjusting screw and report adjustments needed
      G28 ; home
      
      

      Any help is greatly appreciated.

      BoAundefined Phaedruxundefined 3 Replies Last reply Reply Quote 0
      • Dr_Ju_Juundefined
        Dr_Ju_Ju
        last edited by

        What does your height map look like ?

        Julian,

        Old goat, learning new things….

        1 Reply Last reply Reply Quote 0
        • bdeliaundefined
          bdelia
          last edited by

          I have not created a height map yet. I am trying to set up my Capacitive NPN switch and the suggested steps include to first manually level the bed. I have done that by hand, now I wanted to get the Manual Bed Leveling Assistant working so I can dial in the bed level as best as possible before creating that height map.

          Do I have the steps wrong?

          Vetiundefined 1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti @bdelia
            last edited by

            @bdelia

            just run a G29 and look at the image. it will help

            bdeliaundefined 1 Reply Last reply Reply Quote 0
            • bdeliaundefined
              bdelia @Veti
              last edited by

              @Veti said in Manual Bed Leveling Assistant huge values returned:

              @bdelia

              just run a G29 and look at the image. it will help

              Ok, will do once I get back home. Thanks for the assistance in this.

              1 Reply Last reply Reply Quote 0
              • BoAundefined
                BoA @bdelia
                last edited by

                Probing twice the same point?

                G30 P0 X26 Y226 Z-99999 ; probe near an adjusting screw
                G30 P1 X26 Y226 Z-99999 ; probe near an adjusting screw
                
                bdeliaundefined 1 Reply Last reply Reply Quote 2
                • Phaedruxundefined
                  Phaedrux Moderator @bdelia
                  last edited by

                  @bdelia said in Manual Bed Leveling Assistant huge values returned:

                  G28 ; home

                  What is in your homeall?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  bdeliaundefined 1 Reply Last reply Reply Quote 0
                  • bdeliaundefined
                    bdelia @BoA
                    last edited by

                    @BoA said in Manual Bed Leveling Assistant huge values returned:

                    Probing twice the same point?

                    G30 P0 X26 Y226 Z-99999 ; probe near an adjusting screw
                    G30 P1 X26 Y226 Z-99999 ; probe near an adjusting screw
                    

                    Well that explains the double tap on that corner 😉 Thanks for the proofreading!

                    1 Reply Last reply Reply Quote 0
                    • bdeliaundefined
                      bdelia @Phaedrux
                      last edited by

                      @Phaedrux said in Manual Bed Leveling Assistant huge values returned:

                      @bdelia said in Manual Bed Leveling Assistant huge values returned:

                      G28 ; home

                      What is in your homeall?

                      Here is my homeall

                      ; homeall.g
                      ; called to home all axes
                      ;
                      ; generated by RepRapFirmware Configuration Tool v3.1.9 on Sat Dec 05 2020 14:37:53 GMT-0800 (Pacific Standard Time)
                      G91                     ; relative positioning
                      G1 H2 Z5 F6000          ; lift Z relative to current position
                      G1 H1 X-270 Y-295 F1800 ; move quickly to X or Y endstop and stop there (first pass)
                      G1 H1 X-270             ; home X axis
                      G1 H1 Y-295             ; home Y axis
                      G1 X5 Y5 F6000          ; go back a few mm
                      G1 H1 X-270 F360        ; move slowly to X axis endstop once more (second pass)
                      G1 H1 Y-295             ; then move slowly to Y axis endstop
                      G90                     ; absolute positioning
                      G1 X25.914 Y53.86 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 Z5 F100             ; lift Z relative to current position
                      ;G90                    ; absolute positioning
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • bdeliaundefined
                        bdelia
                        last edited by

                        Ok, first off I want to thank this community for always being willing to help out.

                        I think probing that one point twice that @BoA pointed out was the issue. I updated my bed.g file and all seems good now.

                        1 Reply Last reply Reply Quote 1
                        • Phaedruxundefined
                          Phaedrux Moderator @bdelia
                          last edited by

                          @bdelia said in Manual Bed Leveling Assistant huge values returned:

                          ;M561 ; clear any bed transform

                          You may want to uncomment this, because you would want any mesh compensation or other bed surface alterations to be canceled when doing the leveling.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          bdeliaundefined 1 Reply Last reply Reply Quote 0
                          • bdeliaundefined
                            bdelia @Phaedrux
                            last edited by

                            @Phaedrux said in Manual Bed Leveling Assistant huge values returned:

                            @bdelia said in Manual Bed Leveling Assistant huge values returned:

                            ;M561 ; clear any bed transform

                            You may want to uncomment this, because you would want any mesh compensation or other bed surface alterations to be canceled when doing the leveling.

                            Thanks for the tip

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA