• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    Donpi
    last edited by Donpi 25 Nov 2020, 06:41

    Hi,

    In my printer I have two independent z, so I tried this :
    https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors

    But I dont anderstand well how it work and if I'm doing the things right.

    The easy part I affect the motors in my config.g with

    M584 X0.2 Y0.3 Z0.1:0.4 E0.0
    

    What i don't get clearly:

    The thing with the M671 command.
    Should I give the probe point like this ?

    M671 X0:300 Y150:150 S1
    

    Or the real leadscrews position after X and Y are homed (where the head can mechanicaly not go) like this ?

    M671 X-55:355 Y150:150 S1
    

    The part with M208.
    In the example it is said X-20 but the M208 is only X-5.
    Is that ment to set the mechanical limite of the head ?

    And the part in bed.g

    G30 P0 X20 Y100 Z-99999
    G30 P1 X180 Y100 Z-99999 S2

    Now we probe at X20 so what is the purpose of setting a print area at X-5 ?
    And what is the point with the S2 parameter ? Is this the motor id ?

    My print area is of 300*300 et perfectely centered between the two leadscrews. They are both separated by 410mm.

    My actual configuration is

    ;config.g
    M584 X0.2 Y0.3 Z0.1:0.4 E0.0
    M671 X-55:355 Y150:150 S1
    M208 X-10:310 Y-35:305 Z0:300
    ;bed.g
    G28
    M401
    G30 P0 X5 Y150 Z-99999
    G30 P1 X295 Y150 Z-99999 S2
    M402

    Will it compensate correctely or am I probing to far away from the leadscrews?

    And what append if I do a mesh bed compensation after that ?

    As allways, bad english level bla bla bla.
    I hope you anderstand me well engough.

    Bye
    Juan

    1 Reply Last reply Reply Quote 0
    • undefined
      dhusolo
      last edited by 25 Nov 2020, 08:05

      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
      undefined 1 Reply Last reply 25 Nov 2020, 08:48 Reply Quote 1
      • undefined
        Donpi @dhusolo
        last edited by 25 Nov 2020, 08:48

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

        1 Reply Last reply Reply Quote 0
        • undefined
          oliof
          last edited by 25 Nov 2020, 10:30

          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<>

          undefined 1 Reply Last reply 25 Nov 2020, 11:19 Reply Quote 0
          • undefined
            Donpi @oliof
            last edited by 25 Nov 2020, 11:19

            @oliof but how ?

            1 Reply Last reply Reply Quote 0
            • undefined
              oliof
              last edited by 25 Nov 2020, 11:50

              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
              • undefined
                NexxCat
                last edited by 25 Nov 2020, 12:34

                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?

                undefined undefined 2 Replies Last reply 25 Nov 2020, 18:35 Reply Quote 0
                • undefined
                  Phaedrux Moderator @NexxCat
                  last edited by 25 Nov 2020, 18:35

                  @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

                  undefined 1 Reply Last reply 25 Nov 2020, 18:45 Reply Quote 0
                  • undefined
                    NexxCat @Phaedrux
                    last edited by 25 Nov 2020, 18:45

                    @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
                    • undefined
                      dhusolo @NexxCat
                      last edited by 25 Nov 2020, 22:58

                      @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
                      • undefined
                        dc42 administrators
                        last edited by 26 Nov 2020, 07:16

                        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

                        undefined 1 Reply Last reply 26 Nov 2020, 09:42 Reply Quote 2
                        • undefined
                          NexxCat @dc42
                          last edited by 26 Nov 2020, 09:42

                          @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?

                          undefined 1 Reply Last reply 26 Nov 2020, 16:56 Reply Quote 0
                          • undefined
                            NexxCat @NexxCat
                            last edited by 26 Nov 2020, 16:56

                            @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
                            5 out of 13
                            • First post
                              5/13
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA