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

    Maximum number of axis?

    Scheduled Pinned Locked Moved
    General Discussion
    4
    14
    1.0k
    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.
    • Kulitorumundefined
      Kulitorum
      last edited by

      How many channels can the duet3 control at once? - I know that the duet2 will do 10 axis, what is the limit for the Duet3?

      Kulitorum

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

        Still 10 axes, using axis letters XYZ UVW ABCD. After that we run out of axis letters that are free for use in GCode commands.

        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
        • Kulitorumundefined
          Kulitorum
          last edited by

          So it's not possible to do 15 axies? - even with Duet3?

          Kulitorum

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

            If we can work out what to call the additional axes so that they can be addressed in GCode commands, then we could support more axes on Duet 3.

            I guess one possibility would be to have a switch that makes axis names case-sensitive, then we could have up to 20 axes.

            Have you any other suggestions?

            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
            • Kulitorumundefined
              Kulitorum
              last edited by

              Xa Xb Xc, Ya, Yb, Yc ?
              D,H,I,J,K,L,M ?

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

                @Kulitorum said in Maximum number of axis?:

                Xa Xb Xc, Ya, Yb, Yc ?

                G28 Xa would be ambiguous.

                D,H,I,J,K,L,M ?

                D is already used for the 10th axis. M is not available because it would start a new command. I and J are used in G2/G3 so not available. K is not available because G31 uses both K and axis letters. Off the top of my head I'm not sure about H or L. Q might also be available, I think it's currently used only in M950.

                Another possibility is 'A 'B 'C etc. RRF already allows a single quote inside a double-quoted string to force the following character to lowercase, so internally within RRF they would be unique letters.

                What program would you use to generate the GCode?

                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
                • Kulitorumundefined
                  Kulitorum
                  last edited by

                  But when reading for example a G31 command, you then start looking for K parameter, so why would G31 reserve the K parameter?
                  We use our own slicer and we are adding a second printhead, adding effectivly another X,E,U axis (Xpos, Extrusion, Nozzle rotation) are are investigating adding two more printheads.

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

                    @Kulitorum said in Maximum number of axis?:

                    But when reading for example a G31 command, you then start looking for K parameter, so why would G31 reserve the K parameter?

                    G31 also accepts axis parameters to declare offsets.

                    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
                    • Kulitorumundefined
                      Kulitorum
                      last edited by

                      So I suppose the lowercase - 'A 'B 'C etc. solution would be the prefered then? - That would release 26 extra axies.

                      how many axies do we have CPU power to drive?

                      Kulitorum

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

                        @Kulitorum said in Maximum number of axis?:

                        So I suppose the lowercase - 'A 'B 'C etc. solution would be the prefered then? - That would release 26 extra axes.

                        Yes, I think it's probably best to use 2 characters for additional axes, either 'A 'B 'C etc. or perhaps QA QB QC because currently letter Q isn't used in any commands that accept axis letters.

                        how many axes do we have CPU power to drive?

                        Good question! It will depend on how many GCode commands per second throughput you need, and how many of your axes and extruders move simultaneously.

                        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
                        • Kulitorumundefined
                          Kulitorum
                          last edited by Kulitorum

                          I guess we will at most move 9 axies at the same time - XYZEU, 'X'Y'E'U for a two head move - in 1-2 years maybe 18 (with 4 heads) 🙂

                          We have a vertex for every 10mm in the XY plane, and run at 500mm/sec (working towards 1000mm/sec, give it a year)

                          Kulitorum

                          1 Reply Last reply Reply Quote 0
                          • JoergS5undefined
                            JoergS5
                            last edited by JoergS5

                            Maybe using unicode letters would be an option, using greek alphabet e.g.

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

                              @JoergS5 said in Maximum number of axis?:

                              Maybe using unicode letters would be an option, using greek alphabet e.g.

                              Yes, that's a possibility too. However, it's not entirely straightforward because we would need to use a mixture of UTF8 encoding (for incoming GCode lines) and wide characters (se that we can pass axis letters around conveniently).

                              Overall, I am inclined to use some prefix character followed by another letter. The prefix character could be ' or @ or something else.

                              I've added increasing the maximum number of axes to the RRF 3.2 work list.

                              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

                              mwwhitedundefined 1 Reply Last reply Reply Quote 0
                              • mwwhitedundefined
                                mwwhited @dc42
                                last edited by

                                @dc42 what about a binary mode that uses a faster more native access to the hardware versus worrying about GCode at all? It could be variable or fixed length and would open a wide world of options.

                                It wouldn’t be standard GCode but who cares. This is for the computer to understand not humans.

                                Without the parser is could be crazy fast and even use less memory.

                                Yes new slicers would be needed (already covered for OP) but it could be optional or better still just transpile from GCode to this format in the duet or sbc.

                                1 Reply Last reply Reply Quote 0
                                • Damsterundefined Damster referenced this topic
                                • Thorpydoundefined Thorpydo referenced this topic
                                • First post
                                  Last post
                                Unless otherwise noted, all forum content is licensed under CC-BY-SA