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

Auto Bed Leveling went bad

Scheduled Pinned Locked Moved Solved
IR Height Sensor
7
30
1.8k
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.
  • undefined
    BlueDust
    last edited by 17 Nov 2019, 21:06

    If you look at this thread (https://forum.duet3d.com/topic/12473/baby-stepping-stopped-working/22), I shared many details of this problem but as it was opened for a different issue/question I am starting a new thread.
    @Phaedrux helped to make the probes more accurate which did help, but when I started to print larger items the issue shows just how bad it gets at the top of the bed.

    Auto bed leveling used to work like magic. After I moved two Z motors back a cm or two it stopped working. But I may have also updated the Duet2 around that time and just don't remember. I am just saying I have no idea what is causing this issue and want to start my troubleshooting from scratch. My belief is that I screwed up the config when I moved the Z motors/screws and now just dumb about fixing it. (yes, I think its the user).

    One thing I wanted to confirm was that it wasn't my BLTouch. I have had collision issues with the needle and it is again getting stuck inside and not dropping down (again as of yesterday). So just as I started to reconfigured the printer to use the IR Z height sensor I got it working again.
    As such, to troubleshoot, I re-added mesh bed compensation back to my printer to see what was going on (if it could see a problem, I didn't think it was the Z probe).
    I see a problem. I did this with the BLTouch and the IR Probe and the below is very similar to what I received using both (the below is when using IR Probe). My bed is made of glass and I have blue painters tape covering the surface.
    Any ideas would be appreciated.

    900c9063-43a1-4267-bd51-8f79723fcf79-image.png

    Fun, that 3 letter word with "u" in the middle.

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by Phaedrux 18 Nov 2019, 01:49

      Post your latest config.g, bed.g, and homeall.g and maybe describe the leveling routine you're using before a print. And maybe a little more info about the printer itself.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        BlueDust
        last edited by BlueDust 26 Nov 2019, 02:59

        I got busy and had some traveling todo... back at this now.

        When I start a print, I start up all the heaters, and then run a Auto Bed Level Macro, but get the same results using the Macro as I get when using the Website's True Bed Leveling button.

        Macro...
        G28
        G32
        G0 X125 Y0 Z25 F6000

        config.g bed.g homeall.g

        I have a RatRig V-Core XY printer/frame kit, with a Duet2 and Duex5 for auto bed leveling.

        Thanks for the help! I am currently not able to print unless its small in the center of the bed.

        Fun, that 3 letter word with "u" in the middle.

        1 Reply Last reply Reply Quote 0
        • undefined
          jens55
          last edited by 26 Nov 2019, 03:08

          Two thoughts:

          1:) Shouldn't the deviation be zero in the middle of the bed ? That is presumably where you would have established Z=0
          2)How ac curate are you doing the manual leveling before the automatic leveling ? Seems to me that the bed is tilted from back to front, front being lower. This is from the perspective of a cartesian printer - no idea how others would look.

          It looks like the auto leveling with the two z motors is working because things are pretty consistent along the x axis in the middle.

          Note that I have limited experience and might be totally off ....

          undefined 1 Reply Last reply 26 Nov 2019, 03:13 Reply Quote 0
          • undefined
            BlueDust @jens55
            last edited by BlueDust 26 Nov 2019, 03:13

            @jens55
            I have 3 Z screws, and used to be able to do auto bed leveling with them. So if I messed up the bed badly, it would literally auto level it. Zero manual and zero compensation needed. Now, it bed levels with the back lifted up a bit, or the front lifted down... Don't know why, but believe I screwed up the config when I had to move the front two Z screws back about a cm or two and don't know what I did otherwise I would have fixed it.
            It used to work so perfect, I seemed like magic!

            Fun, that 3 letter word with "u" in the middle.

            undefined undefined 2 Replies Last reply 28 Nov 2019, 00:02 Reply Quote 0
            • undefined
              BlueDust @BlueDust
              last edited by 28 Nov 2019, 00:02

              Any thoughts? Anyone?

              Thanks!

              Fun, that 3 letter word with "u" in the middle.

              undefined 1 Reply Last reply 28 Nov 2019, 03:26 Reply Quote 0
              • undefined
                Red Sand Robot @BlueDust
                last edited by 28 Nov 2019, 03:26

                @BlueDust Have you made sure your Z motors are assigned correctly in your config and correspond correctly to your set leadscrew positions?

                almost an engineer

                undefined 1 Reply Last reply 30 Nov 2019, 23:01 Reply Quote 0
                • undefined
                  dc42 administrators @BlueDust
                  last edited by 28 Nov 2019, 07:46

                  @BlueDust, did you adjust the coordinates in the M671 command to allow for the change in the XY coordinates of the leadscrew?

                  If you run G32 several times in succession, what sequence of corrections does it report?

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  undefined 1 Reply Last reply 30 Nov 2019, 23:04 Reply Quote 0
                  • undefined
                    droftarts administrators
                    last edited by 28 Nov 2019, 09:49

                    In your config.g you have:

                    M584 X0 Y1 E3 Z9:7:8 ; three Z motors connected to driver outputs 9, 7 and 8
                    ;M671 X-50:127:310 Y85:385:85 S5 ; leadscrews at front left, rear middle and front right
                    M671 X-50:129:308 Y93:373:93 S5

                    From https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors#Section_Prerequisites

                    You must use the M671 command to define the X and Y coordinates of the leadscrews. The M671 command must come after the M584 command and must specify the same number of X and Y coordinates as the number of motors assigned to the Z axis in the M584 command; and these coordinates must be in the same order as the driver numbers of the associated motors in the M584 command. The M671 command must also come after any M667 or M669 command.

                    The order of the leadscrews of the M671 command should be the same as those leadscrews are connected in M584, ie front left should be on stepper 9 (E6 MOTOR), rear middle should be on stepper 7 (E4 MOTOR) and front right should be on stepper 8 (E5 MOTOR). Please check this!

                    I don't think M584 has to be in the correct order, ie M584 X0 Y1 E3 Z7:8:9, but might be worth testing, though move the motors to the correct stepper connection.

                    Ian

                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                    undefined 1 Reply Last reply 1 Dec 2019, 17:49 Reply Quote 0
                    • undefined
                      BlueDust @Red Sand Robot
                      last edited by 30 Nov 2019, 23:01

                      @Red-Sand-Robot
                      Yes. This used to work perfectly, and only stopped working when I updated two of the Z stepper motor locations.
                      My thought it that I screwed up the new locations but I checked it many times.
                      So.. incase I started to do this wrong... I move the hotend as close to the Z screw as possible, measure the distance to the Z screw from the nozzle and use that new number as the location.

                      Fun, that 3 letter word with "u" in the middle.

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        BlueDust @dc42
                        last edited by 30 Nov 2019, 23:04

                        @dc42
                        It was awhile ago now, but all I remember doing was moving the location of the two Z screws... My guess is I screwed it up and don't remember if there is some trick to locating the Z screw locations I forgot about when I did it the first time when it worked.
                        This time around, all I did was move the nozzle as close to the Z screw as I could and measure the distance to it using calipers and doing the math from where the Duet2 says the nozzle is to figure out where the Z screw is.

                        I reran the mesh bed leveling and I still received a mesh picture similar to the above one I already shared.

                        11/30/2019, 5:22:55 PM G32
                        Leadscrew adjustments made: -0.035 0.106 -0.054, points used 3, deviation before 0.049 after 0.000
                        11/30/2019, 5:22:06 PM G32
                        Leadscrew adjustments made: -0.057 0.178 -0.063, points used 3, deviation before 0.074 after 0.000
                        11/30/2019, 5:21:13 PM G32
                        Leadscrew adjustments made: -0.102 0.274 -0.062, points used 3, deviation before 0.112 after 0.000
                        11/30/2019, 5:20:25 PM G32
                        Leadscrew adjustments made: -0.227 0.326 -0.150, points used 3, deviation before 0.186 after 0.000
                        11/30/2019, 5:18:15 PM G32
                        Leadscrew adjustments made: -0.272 -0.655 0.039, points used 3, deviation before 0.289 after 0.000

                        Fun, that 3 letter word with "u" in the middle.

                        1 Reply Last reply Reply Quote 0
                        • fcwiltundefined
                          fcwilt
                          last edited by 30 Nov 2019, 23:45

                          As I recall I had problem until the order of the motors in the M584 command, in the M671 command and the probing order were all the same.

                          Frederick

                          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            BlueDust
                            last edited by 30 Nov 2019, 23:55

                            Just cause I can share this again... I just updated to 2.05 r1... and tried again...

                            85272860-65e9-4dc3-81f5-530314bc5b11-image.png

                            Fun, that 3 letter word with "u" in the middle.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Phaedrux Moderator
                              last edited by 30 Nov 2019, 23:56

                              That would appear to be a front to back tilt, not a left to right tilt.

                              Is there something going on with your Y axis?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              undefined 1 Reply Last reply 1 Dec 2019, 00:02 Reply Quote 0
                              • undefined
                                BlueDust @Phaedrux
                                last edited by 1 Dec 2019, 00:02

                                @Phaedrux
                                Not that I am aware of, but if there was, wouldn't mesh leveling look the same as auto bed leveling? Wouldn't they be affected by the same thing on Y?

                                That's why I think I screwed up the config, and its not a physical issue. It just seems like the 2 Z screws that are in the front of the printer are not pushing up the front enough, or the back single Z screw isn't pulling the back down enough... As the back is so much higher, I am guessing its not pulling the back down enough... If someone can tell me that believe that observation could be true, how could I use that to see whats wrong with the config?

                                Fun, that 3 letter word with "u" in the middle.

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  BlueDust
                                  last edited by 1 Dec 2019, 06:27

                                  I removed the BLTouch from the printer to test without it taking up some X space. Using the nozzle tip as my reference, I checked all of the Z screw locations and made any changes as necessary after removing the BLtouch. When I measure the location of the Z screws, I have been taking the center of the Z screw to the Nozzle as my number. Let me know if this is correct, or if I should be taking the number to the side of the Z screw closest to the Nozzle.

                                  So far no matter what I do, my results from a auto bed leveling, and then bed mesh are similar to what I have shown above.

                                  Fun, that 3 letter word with "u" in the middle.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Phaedrux Moderator
                                    last edited by 1 Dec 2019, 17:49

                                    The exact position of the lead screws isn't as critical. Even if you were multiple MM off it should still be able to correct for tilt, it just may take more passes.

                                    What happens if you physically correct the tilt for the back leadscrew and then run auto leveling? Does it make it worse? If you run leveling multiple times in a row does it get worse each time?

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    undefined 2 Replies Last reply 1 Dec 2019, 22:57 Reply Quote 0
                                    • undefined
                                      Phaedrux Moderator @droftarts
                                      last edited by 1 Dec 2019, 17:49

                                      @droftarts said in Auto Bed Leveling went bad:

                                      In your config.g you have:

                                      M584 X0 Y1 E3 Z9:7:8 ; three Z motors connected to driver outputs 9, 7 and 8
                                      ;M671 X-50:127:310 Y85:385:85 S5 ; leadscrews at front left, rear middle and front right
                                      M671 X-50:129:308 Y93:373:93 S5

                                      From https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors#Section_Prerequisites

                                      You must use the M671 command to define the X and Y coordinates of the leadscrews. The M671 command must come after the M584 command and must specify the same number of X and Y coordinates as the number of motors assigned to the Z axis in the M584 command; and these coordinates must be in the same order as the driver numbers of the associated motors in the M584 command. The M671 command must also come after any M667 or M669 command.

                                      The order of the leadscrews of the M671 command should be the same as those leadscrews are connected in M584, ie front left should be on stepper 9 (E6 MOTOR), rear middle should be on stepper 7 (E4 MOTOR) and front right should be on stepper 8 (E5 MOTOR). Please check this!

                                      I don't think M584 has to be in the correct order, ie M584 X0 Y1 E3 Z7:8:9, but might be worth testing, though move the motors to the correct stepper connection.

                                      Ian

                                      Did you verify this?

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      undefined 1 Reply Last reply 1 Dec 2019, 22:47 Reply Quote 0
                                      • undefined
                                        BlueDust @Phaedrux
                                        last edited by 1 Dec 2019, 22:47

                                        @Phaedrux said in Auto Bed Leveling went bad:

                                        e order of the leadscrews of the M671 command should be the same as those leadscrews are connected in M584, ie front left should be on stepper 9 (E6 MOTOR), rear middle should be on stepper 7 (E4 MOTOR) and front right should be on stepper 8 (E5 MOTOR). Please check this!
                                        I do

                                        I did not look into this again, as this is the same way it was setup when it worked perfectly.

                                        Fun, that 3 letter word with "u" in the middle.

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          BlueDust @Phaedrux
                                          last edited by 1 Dec 2019, 22:57

                                          @Phaedrux
                                          I haven't tried to manually fix it until yesterday and it was just so I could print, and didn't try out running G32 again. Printing right now...

                                          I can run G32 over and over again, and the more I run it the more accurate it becomes with smaller adjustments to make it level, but it is still at a bad angle.

                                          Thanks for mentioning the screw locations don't have to be perfect... I keep trying to re check them and can change them maybe 1 or 2 MM based on where the nozzle when I check it. I just changed where home X/Y are (a few mm in so they don't hit the Z screws when homing, and possibly when printing if its a large object).

                                          Fun, that 3 letter word with "u" in the middle.

                                          undefined 1 Reply Last reply 4 Dec 2019, 08:14 Reply Quote 0
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA