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

    M584 no rotational axes

    Scheduled Pinned Locked Moved
    Firmware wishlist
    5
    9
    388
    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.
    • Jimmykcundefined
      Jimmykc
      last edited by

      My PCBA are Duet3 MB 6HC and Duet Expansion 3HC. I have 2 axis A and C. I want to configure them as rotational axis. I set M584’s R parameter and M584’s S parameter. It doesn’t work. I provide my config.g.
      config.g
      I trace the RRF 3.3 source code. I find SetAxisType function only support continuousAxes. There are no different between linearAxes and rotationalAxes.
      SetAxisType.jpg
      I want rotational axis. The rotational axis runs between 0 degree and 360 degree, not continuous. How do I do ?

      jumpedwithbothfeetundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
      • jumpedwithbothfeetundefined
        jumpedwithbothfeet @Jimmykc
        last edited by

        @Jimmykc I have not played with this yet but have you tried -

        M584 A1.0 R1 S1 B1.1 C1.2 R1 S1 D1.1 R1 S1?

        6HC Voron Trident based, 6XD CNC, Mini 5 polar printer

        Jimmykcundefined 1 Reply Last reply Reply Quote 0
        • Jimmykcundefined
          Jimmykc @jumpedwithbothfeet
          last edited by

          @jumpedwithbothfeet The same result. No rotational axes.

          dc42undefined 1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined T3P3Tony moved this topic from My Duet controlled machine
          • dc42undefined
            dc42 administrators @Jimmykc
            last edited by

            @Jimmykc rotational axes are supported, but continuously rotating axes are not yet. There are some serious issues with continuously rotating axes, for example if the axis is at 300deg and is commanded to 10deg, which way should it turn?

            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
            • T3P3Tonyundefined
              T3P3Tony administrators @Jimmykc
              last edited by T3P3Tony

              Update: David got there first

              @Jimmykc Current rotational axis are not continuous and not 0-360 reported or commanded in degrees. This is on the firmware wishlist so I have moved it to that category.

              I think it would also require that M92 definition was changed from step/mm to steps/degree and the various speed and acceleration limits were changed to indicate max rotation in deg/min etc.

              www.duet3d.com

              Jimmykcundefined 1 Reply Last reply Reply Quote 0
              • Jimmykcundefined
                Jimmykc
                last edited by Jimmykc

                So RRF firmware has supported rotational axes, but I have to code firmware to define rotate way myself. Right?

                o_lampeundefined 1 Reply Last reply Reply Quote 0
                • o_lampeundefined
                  o_lampe @Jimmykc
                  last edited by

                  @Jimmykc
                  You can specify a rotary axis with very high max. length, which will make it turn multiples of 360°, if that suits your needs?

                  Jimmykcundefined 1 Reply Last reply Reply Quote 0
                  • Jimmykcundefined
                    Jimmykc @T3P3Tony
                    last edited by

                    @T3P3Tony Thanks, I have run M92 to define step/degree, speed, and acceleration.

                    1 Reply Last reply Reply Quote 0
                    • Jimmykcundefined
                      Jimmykc @o_lampe
                      last edited by

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