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

    Using a 4th (Rotary) Axis

    Scheduled Pinned Locked Moved
    CNC
    7
    15
    2.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.
    • littlehobbyshopundefined
      littlehobbyshop
      last edited by

      I've been investigating converting an old printer in to a small rotary engraver and wondered whether it's possible yet to control with RepRap Firmware.
      How would you define a rotary axis?
      We have M673 for aligning a rotary axis but I can't find how you would define its travel. I figure it would need a travel defined in degrees and any motion would also need a direction parameter. The axis would also need a steps/degree configuration option. From what I have found the rotary axis on these machines is normally defined as axis A not that it really matters.
      It seems the only way to do it at the moment is using polar kinematics, where you would treat the centre of the rotary axis like the centre of the 'bed' then all moves would have to be G2 or G3 command with the centre of the arc being the centre of the axis.
      I have little experience with conventional CNC so would appreciate anyone pointing me in the right direction.

      BLV MGN Cube w/Hemera, K8200, Sunlu S8

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by

        i could be wrong, but its my understanding that the CAM software takes care of dealing with the rotational nature of the 4th axis and as far as the printer is concerned its all business as usual, the only difference being you set the step/mm to actually work out to steps/degree.

        its on my list of things to test with the duet 3, but this is at least how fusion 360 and linux cnc dealt with it.

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

          Just define it as a normal additional axes, but swap mm for degrees in all the configuration commands e.g. M92, M201, M203, M208, M566.

          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

          littlehobbyshopundefined 1 Reply Last reply Reply Quote 0
          • littlehobbyshopundefined
            littlehobbyshop @dc42
            last edited by

            @dc42 Thanks for the response. I'll have to be cautious with absolute and incremental movements in that case. Without a direction parameter there are always 2 ways to get to a position.

            With absolute positioning, if for example towards the end of carving a thread around a dowel with 10 turns, you would end up getting to 3600 degrees, returning to 0 from that position would mean unnecessarily 'unwinding' the axis. A modulus function in meta commands would easily allow you to find the nearest 0 degree point again I suppose. It's just going to be case of wrapping my head round something new.

            Having had a very short play with machining outputs from fusion I found that using the Fanuc post processor was outputting I and J parameters so I assumed they were similar to G2/3 but their was no G parameter at all and other post processors were completely different. Still havent gone very in depth with it yet. Lots to investigate and experiment with.

            BLV MGN Cube w/Hemera, K8200, Sunlu S8

            dc42undefined 3DPMicroundefined 2 Replies Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @littlehobbyshop
              last edited by

              @littlehobbyshop said in Using a 4th (Rotary) Axis:

              I'll have to be cautious with absolute and incremental movements in that case. Without a direction parameter there are always 2 ways to get to a position.

              This is true. The firmware has the means to handle rotary axes differently (it's used on polar and some SCARA machines), but currently there is no command to declare that an axis is rotary.

              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

              ScaraManundefined 1 Reply Last reply Reply Quote 0
              • 3DPMicroundefined
                3DPMicro @littlehobbyshop
                last edited by 3DPMicro

                @littlehobbyshop please pass along your experience going forward. I occasionally add a 4th axis (currently just for indexing) to my Duet controlled micro mill. https://forum.duet3d.com/topic/11581/duet-controlled-micro-mill My CAM outputs 4th axis though I have yet to dedicate the time to explore simultaneous work. My current focus is an ATC for the machine but plan to start working again on the the "A" axis soon after that is complete

                Duet controlled Jet Lathe, scratch built micro mill and 3d printer. 1992 Haas VF2 VMC retrofit

                1 Reply Last reply Reply Quote 0
                • ScaraManundefined
                  ScaraMan @dc42
                  last edited by

                  @dc42 Hi David, I am trying to get in contact with you concerning SCARA.
                  I have posted a link on the forum , can you please have a look at it, I need your opinion.
                  Thank you

                  here is the link
                  https://forum.duet3d.com/topic/14114/scara-robot-want-to-know-if-duet-wifi-is-the-right-choice?_=1580465871679

                  1 Reply Last reply Reply Quote 0
                  • Danalundefined
                    Danal
                    last edited by

                    I know you want an answer from dave... but... as @Phaedrux said in the other tread, Duet WiFi will definitely drive the scara geometry you show.

                    Here is how to configure it:

                    https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareSCARAPrinter

                    Delta / Kossel printer fanatic

                    1 Reply Last reply Reply Quote 0
                    • tntjetundefined
                      tntjet
                      last edited by tntjet

                      I’m kinda at a loss it may be old age or ignorance , how would one define the U axis (Rotary) to degrees instead of mm on a Cartesian CNC for M92 201 203 etc . Preferably to be a free axis with no limit switch .

                      A Former User? 1 Reply Last reply Reply Quote 1
                      • A Former User?
                        A Former User @tntjet
                        last edited by

                        @tntjet said in Using a 4th (Rotary) Axis:

                        , how would one define the U axis (Rotary) to degrees instead of mm on a

                        you sort of don't; i.e. the axis doesn't actually know about units - so just set the steps/mm to whatever steps you need to turn to move 1 degree instead of 1mm.

                        1 Reply Last reply Reply Quote 1
                        • tntjetundefined
                          tntjet
                          last edited by

                          Ok I see, that’s what I was missing , my axis has 600 steps per 360. 1.6666 per degree ?

                          A Former User? 1 Reply Last reply Reply Quote 0
                          • A Former User?
                            A Former User @tntjet
                            last edited by

                            @tntjet yes, if you have taken the microstepping into account, if not make sure to do that as well.

                            E.g. if its 600 full steps and you use 16x microstepping (with or without interpolation to 265) its 600 x 16 / 360 = 26.6666.

                            1 Reply Last reply Reply Quote 1
                            • tntjetundefined
                              tntjet
                              last edited by

                              Thank you so much @ bearer , you have made my evening.

                              is it possible to make this axis continuous in the M208?

                              A Former User? 1 Reply Last reply Reply Quote 0
                              • A Former User?
                                A Former User @tntjet
                                last edited by

                                @tntjet said in Using a 4th (Rotary) Axis:

                                is it possible to make this axis continuous in the M208?

                                ref https://forum.duet3d.com/topic/16788/u-axis-without-limit/12 (i.e. not yet faik)

                                1 Reply Last reply Reply Quote 1
                                • tntjetundefined
                                  tntjet
                                  last edited by

                                  Legendary ! Thanks again.

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