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

    Different microstepping settings

    Scheduled Pinned Locked Moved
    General Discussion
    4
    14
    2.5k
    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 @JamesM
      last edited by Phaedrux

      @jamesm that's exactly what I do, but your second line only needs the axis that you're modifying. So you'd only need to change E. Also you'd want to have interpolation enabled on the first line.

      But really that's just semantics. The way you have it shown will work.

      Z-Bot CoreXY Build | Thingiverse Profile

      JamesMundefined 1 Reply Last reply Reply Quote 0
      • JamesMundefined
        JamesM @Phaedrux
        last edited by

        @phaedrux I appreciate the input. Once my current print finishes I'll make the change. I'm a big novice with this and it's a bit overwhelming trying to figure stuff out. I just want my retraction speeds to be faster and I stumbled across the spreadsheet for extruder microsteps which shows my max retraction speed would be limited to 1851.9 with 256 microsteps.

        Documentation isn't the best and it also doesn't help not knowing what to look for at times.

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          Some of the best info is found in the Gcode wiki. If you have any questions about how a g or m code works, the gcode wiki is the first place to look.

          https://duet3d.dozuki.com/Wiki/GCode#Section_M350_Set_microstepping_mode

          When M350 is processed, the steps/mm will be adjusted automatically to allow for any changes in microstepping. Therefore you can either:

          a) Set Steps/mm correctly for the default 1/16 microstepping, then set the microstepping to the desired amount using M350:

          M92 X80 Y80 Z400 ; set axis steps/mm
          M92 E420:430 ; set extruder 0 and 1 steps/mm
          M350 X128 Y128 Z128 E128:128 ; set microstepping
          or

          b) Set the microstepping using M350 and then set the correct steps/mm for that microstepping amount:

          M350 X128 Y128 Z128 E128:128 ; set microstepping
          M92 X640 Y640 Z3200 ; set axis steps/mm @128 microstepping
          M92 E3360:3440 ; set extruder 0 and 1 steps/mm
          Assuming that in the first example the microstepping was initially at the default x16, both the above examples result in the same steps/mm settings.

          Z-Bot CoreXY Build | Thingiverse Profile

          gnydickundefined 1 Reply Last reply Reply Quote 0
          • JamesMundefined
            JamesM
            last edited by

            That's the first place I went but it seems to assume someone already has some knowledge.

            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              I just double checked my own config to make sure what I said was correct. Here's what I use:

              M350 X16 Y16 Z16 E16 I1
              M92 X200 Y200 Z6400 E805
              M350 E64
              

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • JamesMundefined
                JamesM
                last edited by

                Holy z-steps...LOL.

                Phaedruxundefined 1 Reply Last reply Reply Quote 0
                • gnydickundefined
                  gnydick @Phaedrux
                  last edited by

                  @phaedrux so, the order you issue the commands matter?

                  It seems weird that the system can get into a state where the config files don't represent the actual config. I'll explain.

                  If at x16 the steps/mm are 100, then you issue M350 to set it to x64 the system will convert the internal stored value to 400 in memory, but the config file will still say G92 P0 100?

                  I'm not sure it actually works that way.

                  When I was changing my micro stepping on my extruder, it didn't work unless I rebooted the controller after M350 and before extruding any filament. If I didn't reboot before calibration, then I would extrude 4x as much filament.

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator @JamesM
                    last edited by

                    @jamesm said in Different microstepping settings:

                    Holy z-steps...LOL.

                    Hmm, yes. 1mm pitch lead screw, 1.8 degree motor, and geared for more torque.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • jaymcd0626undefined
                      jaymcd0626
                      last edited by

                      Hi folks, just configuring my Duet 2 Maestro and the M350 line reads like this ;

                      M350 E8:8:8:8 ;micro-stepping

                      Not sure how to interpret that.

                      I have a Lead screw that is 2MM lead / 2 MM pitch. My stepper motor is 1.8 degrees / 200 steps per / rev.

                      Looking to figure out my M92 ( steps per mm) but I am not sure what the microsteps are set to here. Do I assume 1/8 or ?

                      thanks

                      Jay

                      1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator
                        last edited by

                        Yeah that would be x8 microstepping.

                        Ideally you would set it to x16 and then set your M92 based on that.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • Phaedruxundefined
                          Phaedrux Moderator
                          last edited by Phaedrux

                          You can find the relevant formula here to set the steps for the leadscrew axis

                          https://duet3d.dozuki.com/Wiki/Going_from_Marlin_on_Arduino_to_RepRapFirmware_on_Duet

                          Z-Bot CoreXY Build | Thingiverse Profile

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