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

    Monitor what True Bed Levelling is doing?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    7
    25
    1.4k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      So in your case you can use the limit switches to get homed to a known location and reasonably level. Then you can use the probe and the independently driven lead screws to do another leveling pass.

      G28 to home using the switches
      G32 to use bed.g for the auto leveling pass

      In bed.g you would need to follow the example here for 2 motors

      https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors#Section_Example_for_2_motors

      Basically you would need the M584 and M671 in your config.g to define the drivers and the locations of the lead screws. And then in bed.g itself you'd need to use a single G30 at the center of the bed to define Z0, then probe two locations closest to the lead screws to adjust the tilt, and then another G30 at the center to reset Z0.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • t0biasundefined
        t0bias
        last edited by

        Seasons greetings, everyone!

        Ok, so my bed.g now looks like this:

        
        G28					; home all
        
        G1 Z5.25				; lower bed a bit
        G1 X162.85 Y174.15			; move to center point
        
        G30 S-2					; adjust Z
        
        G30 P0 X34.6 Y174.15 Z-99999		; probe near right Z motor leadscrew	
        G30 P1 X291.1 Y174.15 Z-99999 S2	; probe near left Z motor leadscrew	
        
        G1 X162.85 Y174.15 Z5.25		; move to center point (again)
        G30 S-2					; re-adjust Z
        
        G28 XY					; home X and Y
        

        However, now I always get the error

        G32
        Error: Probe points P0 to P1 must be in clockwise order starting near minimum X and Y
        
        1 Reply Last reply Reply Quote 0
        • Vetiundefined
          Veti
          last edited by

          swap the points

          1 Reply Last reply Reply Quote 0
          • t0biasundefined
            t0bias
            last edited by

            I already tried that without success unfortunately!

            engikeneerundefined fcwiltundefined 2 Replies Last reply Reply Quote 0
            • engikeneerundefined
              engikeneer @t0bias
              last edited by

              @t0bias maybe try modifying the y coordinates of your probe points in the bed.g file slightly (like +/- 0.01mm) so that from the first G30 (S-2) to the P1 G30 it goes in a clockwise (though very flat!) pattern?

              Failing that, maybe put a G1 move between the first G30 and the P0 G30?

              E3D TC with D3Mini and Toolboards.
              Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
              i3 clone with a bunch of mods

              1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @t0bias
                last edited by fcwilt

                @t0bias said in Monitor what True Bed Levelling is doing?:

                I already tried that without success unfortunately!

                I don't understand the values in your M671 command in config.g.

                How can the lead screws be inside the bed min/max limits?

                Thanks.

                Frederick

                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                1 Reply Last reply Reply Quote 1
                • t0biasundefined
                  t0bias
                  last edited by

                  @fcwilt good point! I used the probing-point coordinates for the leadscrews as well by mistake..

                  1 Reply Last reply Reply Quote 0
                  • t0biasundefined
                    t0bias
                    last edited by

                    I adjusted that very line in my config.g to this:

                    M671 X-49:333 Y140:140 S0.75	; define the two Z leadscrew positions (right: -49/140, left:333/140) and max correction of 0.75
                    

                    But now even weirder I get the following error:

                    G32
                    Error: Some computed corrections exceed configured limit of 0.75mm: -2.095 -0.356
                    

                    And even I don't exactly know the height-difference; I can absolutely guarantee there is by no means a difference of two millimeters? And why are there two values anyway?
                    😮

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

                      @t0bias said in Monitor what True Bed Levelling is doing?:

                      Error: Some computed corrections exceed configured limit of 0.75mm: -2.095 -0.356

                      you set a limit in M671. That limit has been exceeded

                      1 Reply Last reply Reply Quote 0
                      • t0biasundefined
                        t0bias
                        last edited by

                        @Veti thanks.

                        I do understand the meaning of the error; but that's what I am saying - there is no way, there is over 2mm of height difference. And before I changed the probing positions, that error never showed up..

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

                          post a picture of a g29 that should show the tilt

                          1 Reply Last reply Reply Quote 0
                          • engikeneerundefined
                            engikeneer @t0bias
                            last edited by engikeneer

                            @t0bias the values reported are the corrections at the motors/leadscrews so will be a bit bigger than what you are seeing at the bed.

                            The reason you have two values is that it will correct both motors. Most likely your bed has some curve so the edges are lower then the middle (hence both are negative). This is the reason you should re-home z after doing auto bed levelling.

                            If you really think the amount of correction is too high, then the first question is on the probe readings. How consistent are they (if you repeatedly prove the same point) and are there any variations across the bed? Seeing a G29 heightmap might give us some clues.

                            E3D TC with D3Mini and Toolboards.
                            Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                            i3 clone with a bunch of mods

                            1 Reply Last reply Reply Quote 0
                            • gloomyandyundefined
                              gloomyandy
                              last edited by gloomyandy

                              @t0bias A couple of thoughts. Firstly the -2.095/-0.356 is the correction being made at each of the stepper motors. Remember that these are outside of your bed and so the correction needed will be larger than the actual error at the edge of the bed. Secondly the correction being made to both steppers is negative (so in effect the tilt part of the correction will only be -1,739) this probably means that your bed is at a slightly different height in the centre (where you are setting z=0) than at the points you are probing so there will be a movement in both motors to try and correct for that.

                              One other thing, your are using G30 s-2 to set your z=0 point, I'm not sure that is correct are you sure that this should not just be G30 (with no s parameter)? That is the usual way of setting the z=0 point based on the probe offset.

                              Edit I see that @engikeneer got there before me!

                              1 Reply Last reply Reply Quote 1
                              • 3dMLundefined
                                3dML
                                last edited by 3dML

                                @t0bias
                                Use a

                                G1 Xnnn Ynnn
                                G30 
                                

                                where X and Y is the tool position of the first probe point not the probe position as G30 does not use the G31 probe offset and G30 Pnnn does.

                                This will set the first probe point height to 0 to minimize the lead screw compensation.

                                After lead screw compensation rehome at the normal location to set Z offset.

                                Edit: Also add a G29 S2at the beginning of the file to clear Height Map before bed leveling. Reenable Height Map with a G29 S1 at the end of the file.

                                Update: Corrected the first G30 as stated in a later post.

                                fcwiltundefined 1 Reply Last reply Reply Quote 0
                                • fcwiltundefined
                                  fcwilt @3dML
                                  last edited by

                                  @3dML said in Monitor what True Bed Levelling is doing?:

                                  Use G30 Xnnn Ynnn
                                  where X and Y is the **tool position** of the first probe point not the **probe position** as

                                  To the best of my knowledge, at least as of 3.1.1 firmware, the X and Y parameters are ignored when no P parameter is present.

                                  Frederick

                                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                  1 Reply Last reply Reply Quote 0
                                  • 3dMLundefined
                                    3dML
                                    last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • fcwiltundefined
                                      fcwilt
                                      last edited by

                                      @3dML said in Monitor what True Bed Levelling is doing?:

                                      You posted about using G30 Xnnn Ynnn which suggests that the X and Y are used - but they are not.

                                      Frederick

                                      Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                      1 Reply Last reply Reply Quote 0
                                      • 3dMLundefined
                                        3dML
                                        last edited by

                                        @fcwilt
                                        That is true. My bad.

                                        I use

                                        G1 Xnn Ynn  
                                        G30
                                        

                                        I forget that it is two commands. I will update my post. Thanks for pointing that out.

                                        fcwiltundefined 1 Reply Last reply Reply Quote 2
                                        • fcwiltundefined
                                          fcwilt @3dML
                                          last edited by

                                          @3dML said in Monitor what True Bed Levelling is doing?:

                                          G1 Xnn Ynn
                                          G30

                                           I forget that it is two commands. I will update my post. Thanks for pointing that out.
                                          

                                          Now I happen to think that the X and Y parameters SHOULD work which would be consistent and avoid having to determine the correct X and Y values for the G1.

                                          Frederick

                                          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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