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

    Spindle nema 34 duet 2 wifi

    Scheduled Pinned Locked Moved
    CNC
    10
    45
    2.1k
    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.
    • o_lampeundefined
      o_lampe @droftarts
      last edited by o_lampe

      @droftarts said in Spindle nema 34 duet 2 wifi:

      such a 'spindle' mode for stepper drivers could be added to the firmware wishlist?

      I believe, we've asked infinite rotation as FW feature before.
      But there was a good reason, why it's complicated to implement. Can't describe it with my own words. Brain is frozen 🌬 ❄

      paolozampini1973undefined 1 Reply Last reply Reply Quote 0
      • paolozampini1973undefined
        paolozampini1973 @o_lampe
        last edited by

        @o_lampe said in Spindle nema 34 duet 2 wifi:

        @droftarts said in Spindle nema 34 duet 2 wifi:

        such a 'spindle' mode for stepper drivers could be added to the firmware wishlist?
        yes

        I believe, we've asked infinite rotation as FW feature before.
        But there was a good reason, why it's complicated to implement. Can't describe it with my own words. Brain is frozen 🌬 ❄

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

          Firmware organizes all axis movements in time frames (X moves n mm in 0.1 seconds, Y m mm in the same time etc.). A continuous movement doesn't have a time frame (because it's infinity time), so it's a problem.

          A solution could be to add a separate FreeRTOS task which makes the continuous movement for a (stepper-)motor by generating own stepper signals without any time frame planning. It would run isolated from all other movements, but this needs to be added to the firmware, something for the wishlist.

          o_lampeundefined paolozampini1973undefined 2 Replies Last reply Reply Quote 3
          • o_lampeundefined
            o_lampe @JoergS5
            last edited by

            @JoergS5
            Even that solution wouldn't work for thread cutting. Just switching on the isolated pulse generator wouldn't happen in sync with acceleration of the other axis.
            That way, you can only cut a thread in one go, but AFAIK you need several runs and always have to find the same starting point...

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

              @JoergS5 said in Spindle nema 34 duet 2 wifi:

              Firmware organizes all axis movements in time frames (X moves n mm in 0.1 seconds, Y m mm in the same time etc.). A continuous movement doesn't have a time frame (because it's infinity time), so it's a problem.

              A solution could be to add a separate FreeRTOS task which makes the continuous movement for a (stepper-)motor by generating own stepper signals without any time frame planning. It would run isolated from all other movements, but this needs to be added to the firmware, something for the wishlist.

              thank you

              paolozampini1973undefined 1 Reply Last reply Reply Quote 0
              • paolozampini1973undefined
                paolozampini1973 @paolozampini1973
                last edited by paolozampini1973

                @dc42
                firmware from what I understood from the various posts it seems that it is not possible to have with a stepper motor the same functionalities of the vfd motor because the firmware cannot handle it is it possible to implement this function please

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

                  @o_lampe said in Spindle nema 34 duet 2 wifi:

                  have to find the same starting point...

                  my proposal is to implement it step by step and start with a continuous axis in a separate task. This allows to gather experience wheter e.g. performance is sufficient.

                  In longer perspective

                  • FreeRTOS trasks are able to inter-process-communicate, i.e. tell each others the status, i.e. synchronize tasks
                  • the tasks could be delegated to separate cards then, so step signals don't disturb each other
                  • the tasks could execute different kinematics, so multiple kinematics become possible
                  • a synchronzation process for all boards through CAN can make sure that a global job scheduler can manage the movements. E.g. by synchronizing the system tick numbers
                  paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                  • paolozampini1973undefined
                    paolozampini1973 @JoergS5
                    last edited by

                    @JoergS5 said in Spindle nema 34 duet 2 wifi:

                    FreeRTOS

                    thanks for the answer But honestly I don't want to start writing a program to make a function that in my opinion was a very very very simple function

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

                      @paolozampini1973 no, no, I don't mean that you do it, but one of the developers of RepRapFirmware. I meant this with wishlist: there is a list somewhere what features are wished to be added to future versions.

                      A simple requirement, a single continuous axis without synchronization, which is useful for many users have a much higher chance to be implemented than the other ideas I wrote.

                      paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                      • paolozampini1973undefined
                        paolozampini1973 @JoergS5
                        last edited by

                        @JoergS5 said in Spindle nema 34 duet 2 wifi:

                        @paolozampini1973 no, no, I don't mean that you do it, but one of the developers of RepRapFirmware. I meant this with wishlist: there is a list somewhere what features are wished to be added to future versions.

                        A simple requirement, a single continuous axis without synchronization, which is useful for many users have a much higher chance to be implemented than the other ideas I wrote.

                        now i understand in the function wishlist But where is this list where you have to make the request?

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

                          @paolozampini1973 @CNCModeller if there is enough interest then I can look at providing the option to run a stepper motor as a spindle in a future version of RRF. However, it's likely to be a Duet 3 feature only because of lack of flash memory on Duet 2.

                          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

                          jay_s_ukundefined CNCModellerundefined paolozampini1973undefined 3 Replies Last reply Reply Quote 1
                          • jay_s_ukundefined
                            jay_s_uk @dc42
                            last edited by

                            @dc42 it would be a good use case for the 1HCL boards. maintaining a certain RPM with feedback

                            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

                              @jay_s_uk
                              That would make sense, if the feedback loop would control the spindle/stepper current. Or do you want to reduce XYZ-speed, when the stepper skips steps due to overload?

                              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                              • jay_s_ukundefined
                                jay_s_uk @o_lampe
                                last edited by

                                @o_lampe thats the thing to work out i suppose. i did think increase current but that would only do so much so slowing things down may make more sense

                                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

                                  @jay_s_uk
                                  Worst case would be cancelling the job. "Cutting a thread" is not too forgiving in terms of skipped steps.

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

                                    Will a stepper motor provide sufficient speed and torque? Stepper motors are limited to a few revs/second due to back emf.

                                    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

                                    jay_s_ukundefined paolozampini1973undefined 2 Replies Last reply Reply Quote 0
                                    • jay_s_ukundefined
                                      jay_s_uk @dc42
                                      last edited by

                                      @dc42 i have my doubts whether it would

                                      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                      1 Reply Last reply Reply Quote 0
                                      • CNCModellerundefined
                                        CNCModeller @dc42
                                        last edited by

                                        @dc42 said in Spindle nema 34 duet 2 wifi:

                                        @paolozampini1973 @CNCModeller if there is enough interest then I can look at providing the option to run a stepper motor as a spindle in a future version of RRF. However, it's likely to be a Duet 3 feature only because of lack of flash memory on Duet 2.

                                        @dc42 I'm just speculating on solutions for both threading on a lathe and rigid tapping on a mill. So specifically using a stepper as a spindle drive is just one option.

                                        The potential to do limited milling on a lathe using a cross slide mounted milling head with the lathe axis as a rotary would also improve workflow.

                                        I'm not sure if any of this would impact performance on my polar printer, especially since I'm using the 1HCL on that axis anyway.

                                        In terms of solutions I'm open, just interested in this as one option.

                                        Polar Duet3 Mini + 1HCL
                                        https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                                        Wanhao D4S: Duet2
                                        https://forum.duet3d.com/post/296755
                                        K40 Laser, Duet2
                                        https://forum.duet3d.com/post/312082
                                        Wanhao D5S
                                        https://www.youtube.com/CNCModellerUK

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

                                          @CNCModeller threading and tapping should already be possible, just configure it as a rotary axis.

                                          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

                                          paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                                          • paolozampini1973undefined
                                            paolozampini1973 @dc42
                                            last edited by

                                            @dc42 @CNCModeller @jay_s_uk
                                            a stepper motor can reach 3200 RPM WITHOUT step loss tests done by me personally (nema 17 , 23 , 34 ) and as we know the advantage is the maximum torque at under 500 - 800 rpm and working on the export of materials at low speed leads only advantages because:

                                            1. the metal heats up little
                                            2. vibrations are very low
                                            3. high precision
                                            4. for most of the processes it requires very little lubrication and for other processes there is no need to lubricate
                                            5. working plastic parts at 200 RPM they work very well having a high torque
                                              VFD motors WORK from 0-22000 RPM i ne or 2 types example: a 3kw at 50 Newton +or- and a 1,5kw disadvantages:
                                            6. high current draw
                                            7. below 1000 rpm very low torque and does not allow to do some machining especially at 200 RPM
                                            8. it takes a lot of lubrication I'LL STOP HERE BECAUSE THERE'S SO MUCH MORE TO SAY ABOUT THE DISADVANTAGES
                                              I CLOSE BY SAYING THAT THE LOW SPEED IS THE BEST IN THE END EVEN IF THE PROCESSING TIMES LONGER

                                            OR I READ THAT THERE ARE NUMEROUS PEOPLE INTERESTED
                                            I ASK TO ADD TO @DC42 THE FOLLOWING FUNCTIONSIN DUET 2 WIFI, IN ME THE MOST SUITABLE:
                                            MILL :

                                            1. AXIS FOR CONTINUOUS USE MILLING (ROTATIVE) WHICH HAS THE SAME FUNCTION AS THE VFD
                                              LATHE:
                                            2. A OR B OR C AXIS FOR THREADING AND TURNING
                                              I'M SORRY IF I WAS LITTLE SYNTHETIC IN THE EXPLANATIONS AND THANK YOU EVERYONE FOR PARTICIPATING
                                              @DC42 I WOULD LIKE TO HELP
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA