Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    M671 relative to what?

    Tuning and tweaking
    2
    8
    86
    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.
    • kauedg
      kauedg last edited by

      I'm adjusting the M671 command for my Voron 2.1 printer and I just can't figure out what's the reference point for the motor's positions.

      Is it the nozzle at Z0? Is it the nozzle at homed position of the gantry (which, in my case, it's a negative value being the 0,0 the back right corner)?

      1 Reply Last reply Reply Quote 0
      • kauedg
        kauedg last edited by

        I meant "Is it the nozzle at X0 Y0?"

        1 Reply Last reply Reply Quote 0
        • Danal
          Danal last edited by

          Relative to overall X0Y0. The nozzle has nothing to do with it (other than showing your eye where 0,0 is, after performing an absolute move to those coordinates).

          Also, the nomenclature can be confusing. The documentation says these are the positions of the leadscrews (not motors). In reality, they are the position of the pivot point where the bed can move. This may or may not be the screws, depending on the printer design.

          Having said that, as long as the coordinates are close, and you are willing to do multiple passes, the results will converge on zero error with each pass.

          kauedg 1 Reply Last reply Reply Quote 1
          • kauedg
            kauedg @Danal last edited by kauedg

            @Danal Like this? The distance was measured according to your description about the pivot point (in my case the center of the belts)

            The resulting gcode is at the bottom, considering the sequence that the motors are connected to the Duex5

            Screenshot_20200119_175039.png

            1 Reply Last reply Reply Quote 0
            • Danal
              Danal last edited by

              This looks correct, except I believe it is possible the signs are reversed. Printers with origin in back/right are normally rotations of front/left. The way you show it is a mirror, not a rotation. Maybe that's the way that particular printer works... the only one I have that has origin back/left works opposite of what you show.

              Phrased another way: If you wanted to move the nozzle near-ish the motor at the bottom left of the diagram as we are viewing it on the computer screen, would the command be:

              G1 X380 Y320

              ???

              Or would that G1 move need minus signs?

              kauedg 1 Reply Last reply Reply Quote 1
              • kauedg
                kauedg @Danal last edited by

                @Danal These are my printer coordinates. I have defined the M671 coords based on the X0,Y0 point. Now I see what I've got wrong about the signals.

                Screenshot_20200120_140327.png

                1 Reply Last reply Reply Quote 0
                • kauedg
                  kauedg last edited by

                  Then, the right motors' coordinates should be:

                  Screenshot_20200120_141352.png

                  1 Reply Last reply Reply Quote 0
                  • Danal
                    Danal last edited by

                    That looks correct.

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