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

    Duet3 6XD driver microstepping error

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    4
    151
    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.
    • awitcundefined
      awitc
      last edited by

      Hi!

      I am seeing the following error:
      5e7ef10e-88dc-4645-837a-684e5497f87c-obraz.png

      It does not happen everytime I start/restart my printer. The printer is working properly, according to the given steps. It seems as if the error is only present in the console.
      I use external stepper motor drivers - EM882S, which definitely support 32 microsteps. Driver 4 is the extruder, and I have a different motor, hence the different microstep value.

      Config:

      M350 X32 Y32 Z32 E8 I0		; microstepping with/without interpolation
      

      It is more of an esthetical issue than anything else, but I would love to solve it nevertheless.

      Best regards,
      AW

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

        @awitc when using external drivers, microstepping is controlled solely by the configuration of those drivers, typically using DIP switches. So the M350 command does nothing, hence the error message from RRF. You should remove that M350 command from config.g.

        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

        awitcundefined 1 Reply Last reply Reply Quote 1
        • awitcundefined
          awitc @dc42
          last edited by

          @dc42 thanks for the quick answer! I assumed I have to match the M350 to the DIP switches.

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

            @awitc RRF doesn't need to know what microstepping is in use, it just needs the steps/mm setting for that axis or motor. The M350 command was introduced to allow RRF to select the microstepping to use when using drivers that allow it to be controlled.

            I guess we could improve the error message, because what it really means in this case is that RRF is unable to select x32 microstepping on your driver, because it has no control over the driver microstepping.

            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 1
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA