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

    Calibrating steps/mm

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    5
    16
    2.7k
    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.
    • Jddtundefined
      Jddt
      last edited by

      When I completed the steps/mm calibration and I run code, like the homing code, then the distance is completely wrong.

      Any advice.
      Thanks

      1 Reply Last reply Reply Quote 0
      • mrehorstdmdundefined
        mrehorstdmd
        last edited by

        What type of mechanism? What distance is "wrong" when homing?

        Steps per mm is normally a simple function of the pulley teeth, belt pitch, and steps/rev of the motor.

        https://drmrehorst.blogspot.com/

        1 Reply Last reply Reply Quote 0
        • Jddtundefined
          Jddt
          last edited by

          I am using external drivers. All my final drive pulleys are HTD5 20 tooth. I do not get any consistency with the distance the axis move.

          See calculations below.0_1529519753000_04bdb18e-452c-4e57-9863-3e6df798767c-image.png

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

            If you are using external drivers then you will need to use a T parameter on the M569 commands for those drivers, because the default width of the step pulses generated is fine for the built-in TMC2660 drivers but too short for almost all external drivers. See https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers#Section_Configuring_the_Enable_polarity_and_step_timing.

            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

            1 Reply Last reply Reply Quote 0
            • Jddtundefined
              Jddt
              last edited by

              Settings I am using now. Can the T setting influence the accuracy of my steps?

              M569 P0 S1 ; Drive 0 goes forwards
              M569 P1 S1 ; Drive 1 goes forwards
              M569 P2 S1 ; Drive 2 goes forwards
              M569 P3 S1 ; Drive 3 goes forwards
              M569 P5 S1 R1 T2.5:2.5:5:2.5
              M569 P6 S1 R1 T2.5:2.5:5:2.5
              M569 P7 S0 R1 T2.5:2.5:5:2.5
              M569 P8 S0 R1 T2.5:2.5:5:2.5
              M584 X5 Y6 Z7 E8

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

                If the T values are too small then you can miss steps.

                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

                Jddtundefined 1 Reply Last reply Reply Quote 0
                • nz_andyundefined
                  nz_andy
                  last edited by

                  What is the external drive micro step set at? you have 10,000 miro-steps per revolution listed in you post, so micro step setting is 50?

                  https://palmerdesign.co.nz/
                  https://www.instagram.com/palmerdesign.co.nz/

                  deckingmanundefined 1 Reply Last reply Reply Quote 0
                  • Jddtundefined
                    Jddt
                    last edited by

                    0_1529529121089_101629b9-b45f-49e9-b784-5c2885a5e270-image.png

                    1 Reply Last reply Reply Quote 0
                    • nz_andyundefined
                      nz_andy
                      last edited by

                      Have you tried using 1/16 micro-stepping instead of 1/50th? if that works that may tell you there is an issue with the signal frequency / pulse width.

                      https://palmerdesign.co.nz/
                      https://www.instagram.com/palmerdesign.co.nz/

                      1 Reply Last reply Reply Quote 0
                      • deckingmanundefined
                        deckingman @nz_andy
                        last edited by

                        @nz_andy said in Calibrating steps/mm:

                        What is the external drive micro step set at? you have 10,000 miro-steps per revolution listed in you post, so micro step setting is 50?

                        Good spot. That could well be the OP's problem as 50x micro stepping isn't a supported mode - see documentation here https://duet3d.dozuki.com/Wiki/GCode#Section_M350_Set_microstepping_mode.

                        Ian
                        https://somei3deas.wordpress.com/
                        https://www.youtube.com/@deckingman

                        1 Reply Last reply Reply Quote 0
                        • Jddtundefined
                          Jddt
                          last edited by

                          Thanks for noticing the error in my calculation. I am using external drivers and are not using the M350 command.

                          1 Reply Last reply Reply Quote 0
                          • Jddtundefined
                            Jddt @Jddt
                            last edited by

                            @jddt Changed to 128 Micro Steps
                            0_1529533726144_0e3b9ecf-03e0-4ad5-9459-69e0547a993c-image.png

                            1 Reply Last reply Reply Quote 0
                            • Jddtundefined
                              Jddt @dc42
                              last edited by

                              What is the max T values you suggest to be safe?

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

                                @jddt said in Calibrating steps/mm:

                                What is the max T values you suggest to be safe?

                                High T values will limit the maximum step pulse frequency. I doubt that any stepper drivers need greater than T10.

                                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

                                1 Reply Last reply Reply Quote 0
                                • Jddtundefined
                                  Jddt
                                  last edited by Jddt

                                  The motors started to work properly with a value of T5

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

                                    According to the datasheet, T2.5:2.5:5:0 should work.

                                    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

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