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

    Duet 3 SBC : Need explanation on multi Z homing

    Scheduled Pinned Locked Moved
    General Discussion
    6
    13
    569
    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.
    • dhusoloundefined
      dhusolo
      last edited by

      After homing manually jog the nozzle to your first probe point. It should be the farthest point along X min the probe can reach and note the coordinates. That's where P0 would be. Jog to the fathest side on X max the probe can reach and that would be P1. With 2 steppers Y doesn't matter but X does.

      M671 is the actual positions of the leadscrews. the 1st point will be negative because it's outside of the print area. But make sure the first coordinate in M671 is the stepper motor that is wired to the board in Z0.1

      This is my bed.g file that gets called when running G32
      I have 3 independent lead screws whish is why I have P0-P2.
      M557 defines the probing boundary and P4 probes 4 points on X and Y so 16 total.
      It homes, probes each point and adjusts for compensation. It repeats that 3 times than does the actual bed leveling probing.

      M561               					; clear any bed transform
      G90 								; absolute positioning 
      G1 Z10 H0							; Making sure we're not going to hit the side of glass
      G91
      G28									; home all axis bb
      M400								; Wait for move to finish
      M401 P1								; Deploy probe
      M557 X65:328 Y21:291 P4
      G30 P0 X55 Y161 Z-99999			; Probe near left lead screw position -65,166
      G30 P1 X328 Y301 Z-99999			; Probe near right rear lead screw position 364,25
      G30 P2 X328 Y17 Z-99999 S3 			; Probe near right front lead screw position 364,25
      G28
      M401 P1								; Deploy probe
      G30 P0 X55 Y161 Z-99999			; Probe near left lead screw position -65,166
      G30 P1 X328 Y301 Z-99999			; Probe near right rear lead screw position 364,25
      G30 P2 X328 Y17 Z-99999 S3 			; Probe near right front lead screw position 364,25
      G28
      M401 P1								; Deploy probe
      G30 P0 X55 Y161 Z-99999			; Probe near left lead screw position -65,166
      G30 P1 X328 Y301 Z-99999			; Probe near right rear lead screw position 364,25
      G30 P2 X328 Y17 Z-99999 S3 			; Probe near right front lead screw position 364,25
      G28
      M401 P1								; Deploy probe
      G29									; Probe the bed and save height map to file
      M402 P1								; Retract probe
      
      Donpiundefined 1 Reply Last reply Reply Quote 1
      • Donpiundefined
        Donpi @dhusolo
        last edited by

        @dhusolo Hi, why do you do the homing/probing 3 times ?

        1 Reply Last reply Reply Quote 0
        • oliofundefined
          oliof
          last edited by

          Multiple runs help to see that the process converges.

          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

          Donpiundefined 1 Reply Last reply Reply Quote 0
          • Donpiundefined
            Donpi @oliof
            last edited by

            @oliof but how ?

            1 Reply Last reply Reply Quote 0
            • oliofundefined
              oliof
              last edited by

              In most cases, lead screw positions are approximated so adjustments aren't perfect

              In my case, after the the first adjustment, I run again and see a smaller adjustment. I.e. in the first run 0.5mm, and in the second run 0.03mm. Whith the third run there usually is no tilt to adjust for anymore since the remaining difference is less than the resolution of the z probe.

              <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

              1 Reply Last reply Reply Quote 1
              • NexxCatundefined
                NexxCat
                last edited by

                As a side question to this.

                Say you are using a kinematic 3 point bed; do you specify the leadscrew positions as where the leadscrews physically are, or where the kinematic pivot is? It would seem that in this situation, you would want to specify the pivot point, then probe as close to those locations as possible?

                Phaedruxundefined dhusoloundefined 2 Replies Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator @NexxCat
                  last edited by

                  @NexxCat said in Duet 3 SBC : Need explanation on multi Z homing:

                  you would want to specify the pivot point, then probe as close to those locations as possible?

                  Yes, that makes sense. However, in practice, it isn't really critical because you're likely going to run 2 or 3 cycles anyway to make sure it's converged, however the closer on the first pass the better.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  NexxCatundefined 1 Reply Last reply Reply Quote 0
                  • NexxCatundefined
                    NexxCat @Phaedrux
                    last edited by

                    @Phaedrux said in Duet 3 SBC : Need explanation on multi Z homing:

                    @NexxCat said in Duet 3 SBC : Need explanation on multi Z homing:

                    you would want to specify the pivot point, then probe as close to those locations as possible?

                    Yes, that makes sense. However, in practice, it isn't really critical because you're likely going to run 2 or 3 cycles anyway to make sure it's converged, however the closer on the first pass the better.

                    Perfect, thanks! 🙂

                    1 Reply Last reply Reply Quote 0
                    • dhusoloundefined
                      dhusolo @NexxCat
                      last edited by

                      @NexxCat I had better results with the pivot point vs the leadscrew position and probe as close to it as possible

                      1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators
                        last edited by

                        Where you probe doesn't matter if the bed is flat, although obviously measuring the tilt is more accurate if the probe points are widely separated.

                        You can probe more points than you have leadscrews.

                        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

                        NexxCatundefined 1 Reply Last reply Reply Quote 2
                        • NexxCatundefined
                          NexxCat @dc42
                          last edited by

                          @dc42 said in Duet 3 SBC : Need explanation on multi Z homing:

                          Where you probe doesn't matter if the bed is flat, although obviously measuring the tilt is more accurate if the probe points are widely separated.

                          You can probe more points than you have leadscrews.

                          So you could, for example, probe a 3x3 over the entire bed (9x G30 probe points) and still use S3 on the final one to have the three lead screws correct based on a larger data set?

                          NexxCatundefined 1 Reply Last reply Reply Quote 0
                          • NexxCatundefined
                            NexxCat @NexxCat
                            last edited by

                            @NexxCat said in Duet 3 SBC : Need explanation on multi Z homing:

                            @dc42 said in Duet 3 SBC : Need explanation on multi Z homing:

                            Where you probe doesn't matter if the bed is flat, although obviously measuring the tilt is more accurate if the probe points are widely separated.

                            You can probe more points than you have leadscrews.

                            So you could, for example, probe a 3x3 over the entire bed (9x G30 probe points) and still use S3 on the final one to have the three lead screws correct based on a larger data set?

                            To answer my own question. You can indeed do this!

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