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

Using a 4th (Rotary) Axis

Scheduled Pinned Locked Moved
CNC
7
15
1.9k
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.
  • undefined
    littlehobbyshop
    last edited by 19 Jan 2020, 21:27

    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
      last edited by 19 Jan 2020, 21:51

      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
      • undefined
        dc42 administrators
        last edited by 20 Jan 2020, 10:14

        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

        undefined 1 Reply Last reply 20 Jan 2020, 12:39 Reply Quote 0
        • undefined
          littlehobbyshop @dc42
          last edited by 20 Jan 2020, 12:39

          @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

          undefined undefined 2 Replies Last reply 20 Jan 2020, 12:42 Reply Quote 0
          • undefined
            dc42 administrators @littlehobbyshop
            last edited by 20 Jan 2020, 12:42

            @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

            undefined 1 Reply Last reply 31 Jan 2020, 10:52 Reply Quote 0
            • undefined
              3DPMicro @littlehobbyshop
              last edited by 3DPMicro 21 Jan 2020, 02:20

              @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 Lathe, micro mill, 3d printer and 1992 Haas VF2 VMC

              1 Reply Last reply Reply Quote 0
              • undefined
                ScaraMan @dc42
                last edited by 31 Jan 2020, 10:52

                @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
                • undefined
                  Danal
                  last edited by 31 Jan 2020, 15:46

                  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
                  • undefined
                    tntjet
                    last edited by tntjet 19 Jun 2020, 08:50

                    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 .

                    ? 1 Reply Last reply 19 Jun 2020, 08:55 Reply Quote 1
                    • ?
                      A Former User @tntjet
                      last edited by 19 Jun 2020, 08:55

                      @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
                      • undefined
                        tntjet
                        last edited by 19 Jun 2020, 08:59

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

                        ? 1 Reply Last reply 19 Jun 2020, 09:03 Reply Quote 0
                        • ?
                          A Former User @tntjet
                          last edited by 19 Jun 2020, 09:03

                          @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
                          • undefined
                            tntjet
                            last edited by 19 Jun 2020, 09:12

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

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

                            ? 1 Reply Last reply 19 Jun 2020, 09:15 Reply Quote 0
                            • ?
                              A Former User @tntjet
                              last edited by 19 Jun 2020, 09:15

                              @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
                              • undefined
                                tntjet
                                last edited by 19 Jun 2020, 09:16

                                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