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

    Duet 2 Very Slow Motion

    Scheduled Pinned Locked Moved Solved
    General Discussion
    6
    11
    532
    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.
    • deckingmanundefined
      deckingman @tjobrien21
      last edited by

      @tjobrien21 It must be the that the slicer is overriding the settings you have in your config.g. Search the gcode file for any M203 commands (which is the maximum speed). You've set it to 30,000 mm/min which the machine properties tab correctly displays as being 500mm/sec. for the machine properties tab to show 8.33 mm/sec, there must be an M203 X500 Y500 or some such in the slicer gcode file.

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

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

        Looks like your slicer is putting M203 commands in the GCode files it generates. Slicers shouldn't do that and can normally be configured not to.

        The reason the speeds are so slow is that M203 was defined way back as taking the speed parameters in mm/minute, which is the standard speed unit in GCode. Years later, the Marlin devs (or it may possibly have been Prusa) decided to implement M203, but in an incompatible manner by requiring the speeds to be quoted in mm/sec. So slicers that generate M203 commands often use mm/sec speeds, which when interpreted as mm/min are of course very slow.

        So I suggest you take a look at your slicer config and change it so as not to generate M203 commands. There is a separate command (M204) for use by slicers that want to change maximum speeds.

        EDIT: Ian beat me to it.

        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
        • droftartsundefined
          droftarts administrators @tjobrien21
          last edited by

          @tjobrien21 If you're using Cura as your slicer, set 'G-code flavor' to RepRap, and also check the Start and End Gcode for any M203 (and, less likely, any M350, M92, M566, M201 or M906) commands and delete those lines, or comment them out with ';' at the start of the line.

          e727e24a-e038-4d2f-bfb6-9a88b4082f36-image.png

          If you're using Slicer/PrusaSlicer, it's a similar thing; on 'Printer Settings > General' tab select 'RepRap/Sprinter', and on the 'Printer Settings > Custom Gcode' tab, check there are no M203 commands in the Start and End gcode sections.

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          tjobrien21undefined 1 Reply Last reply Reply Quote 0
          • tjobrien21undefined
            tjobrien21
            last edited by

            Woohoo! I had set the slicer (Cura) to use Reprap Gcode, but those codes limiting speed were the culprit. 🙂

            Now I have it going too fast, and need to tune things back a bit. But hey, it's progress forward.

            Thanks for the fast, accurate help!

            1 Reply Last reply Reply Quote 0
            • jay_s_ukundefined
              jay_s_uk
              last edited by

              @tjobrien21

              What interface is that from your first post?

              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

              tjobrien21undefined 1 Reply Last reply Reply Quote 0
              • tjobrien21undefined
                tjobrien21
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • tjobrien21undefined
                  tjobrien21 @jay_s_uk
                  last edited by

                  @jay_s_uk I screenshotted the Duet interface, under "Settings->Machine Properties".

                  1 Reply Last reply Reply Quote 0
                  • tjobrien21undefined
                    tjobrien21 @droftarts
                    last edited by

                    @droftarts So it seems like Cura is putting things I specifiy in mm/s straight into the Gcode, which is looking for mm/min. Hmm. 😐

                    The good part is I can fix it in the Gcode file, so the printer is usable. 🙂

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

                      Are you sure you have Cura set to RepRap Gcode flavor as shown in Ian's screen shot above?

                      Where exactly are you seeing it use mm/s instead of mm/min?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      tjobrien21undefined 1 Reply Last reply Reply Quote 0
                      • tjobrien21undefined
                        tjobrien21 @Phaedrux
                        last edited by

                        @Phaedrux I think I was mistaken. Once I fixed those Gcode issues by commenting in the "beginning" section of the printer config, now things are working like they're supposed to. I'm just climbing the learning curve. 🙂 Luckily computers and electronics are what I do, so I'm not very far outside my comfort zone.

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