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

    Should the Duet support G00 and other G0x commands?

    Scheduled Pinned Locked Moved
    Firmware developers
    3
    8
    270
    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.
    • meelooundefined
      meeloo
      last edited by

      Hello,

      In my quest for setting up a CNC with an ATC I started to use this very handy Fusion 360 plugin https://github.com/TimPaterson/Fusion360-Batch-Post that enables me to batch export all the jobs in a CAM setup and bypass one of the limitations of the free Fusion license. However that plugin uses G00 and G01 GCodes instead of G0 and G1 and the Duet3 goest bonkers when it receives it (well, at least it doesn't behave like it would if it had received G0 and G1). I proposed a fix to the author in order to support the Duet3 and other RepRapFirmware boards natively but he replied that this was the standard (https://github.com/TimPaterson/Fusion360-Batch-Post/issues/68).

      So I'm asking here: shouldn't RepRapFirmware add logic to the GCode interpreter to remove all leftmost 0s in G commands until the last digit to offer the biggest compatibility with existing GCode generators?

      meeloo created this issue in TimPaterson/Fusion360-Batch-Post

      closed Restore Rapids adds transforms G0 that are already produced by the post processor into G00 #68

      chrishammundefined 1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators @meeloo
        last edited by

        @meeloo That's right, AFAIK there shouldn't be a difference between G00 and G0 or G01 and G1 respectively. What firmware version are you using?

        Duet software engineer

        meelooundefined 1 Reply Last reply Reply Quote 0
        • meelooundefined
          meeloo @chrishamm
          last edited by

          @chrishamm I'm on 3.5.0-rc.3+

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

            @meeloo are you running in standalone mode or SBC mode?

            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

            meelooundefined 1 Reply Last reply Reply Quote 0
            • meelooundefined
              meeloo @dc42
              last edited by

              @dc42 I'm running standalone

              dc42undefined chrishammundefined 2 Replies Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators @meeloo
                last edited by dc42

                @meeloo G00 and G01 commands work OK for me in standalone mode. Tested in RRF 3.5.0-rc.4 but I think it's always been that way.

                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

                meelooundefined 1 Reply Last reply Reply Quote 0
                • meelooundefined
                  meeloo @dc42
                  last edited by

                  @dc42 that's very strange, I had to manually edit the code to replace all occurrences of G00 and G01 to G0 and G1. I'll try again asap and post a complete report of the behaviour I'm seeing!

                  1 Reply Last reply Reply Quote 0
                  • chrishammundefined
                    chrishamm administrators @meeloo
                    last edited by

                    @meeloo @dc42 I just tried to reproduce this in SBC mode and G00 is interpreted as G0, and G01 is interpreted as G1. I couldn't see a difference between G00/G0 and G01/G1 from a USB terminal either.

                    Duet software engineer

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