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

    tangential control

    Scheduled Pinned Locked Moved
    General Discussion
    5
    12
    450
    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.
    • Duet_loverundefined
      Duet_lover
      last edited by

      Hi
      I am using duet2 controller and want to use 4th axis for tangential control.

      Please confirm whether duet2 board support tangential control axis or not.

      • if it is please tell me how to activate it on fourth axis (A).

      • If not then please suggest me alternative way to do so.

      Please respond if anyone has idea of this.

      Thank you.

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @Duet_lover
        last edited by

        @India What do you mean by "tangential control"? Do you mean a rotary axis? RepRapFirmware supports that. Add a motor to a spare stepper driver output on the Duet 2. Set the motor direction with M569, and define it as a rotational axis with M584 and R parameter. See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m584-set-drive-mapping

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        Duet_loverundefined 1 Reply Last reply Reply Quote 0
        • Duet_loverundefined
          Duet_lover @droftarts
          last edited by

          @droftarts thank you sir .

          Here Tangential control means tangential control of knife, in this knife /nozzle fallow the path of cutting/printing and whenever there is turn knife/nozzle also turn.
          I hope you @droftarts understand what i wanted to know.

          Thanks.

          o_lampeundefined droftartsundefined dc42undefined 3 Replies Last reply Reply Quote 0
          • o_lampeundefined
            o_lampe @Duet_lover
            last edited by

            @India That sounds like a 4-axis kinematic, which is still being developed and tested by forum members.

            1 Reply Last reply Reply Quote 0
            • droftartsundefined
              droftarts administrators @Duet_lover
              last edited by

              @India Ah, right, tangential knife. See this thread which discusses it: https://forum.duet3d.com/topic/32806/tangential-knife-support-newbie-questions

              Most tangential knives work as a rotary axis (Duet/RepRapFirmware supports up to 10 axes); it's up to the Gcode generation software to output the correct Gcode to set the direction of the blade. If it is a reciprocating knife, usually there's a second motor (either stepper or DC motor) which controls that. The controller board can be set up to support this, it just then needs to be sent the correct commands.

              If you have a link to the tangential knife you want to use, that might help. A Gcode sample from the Gcode generation software might also be useful, to see what the machine is supposed to do.

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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

                @India we have customers doing this already, by configuring the rotating head as a 4th axis and preprocessing the Gcode. You have to take account of the fact that at any sharp corner you will have to pause the XY motion while you rotate the head.

                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

                Duet_loverundefined 1 Reply Last reply Reply Quote 0
                • Duet_loverundefined
                  Duet_lover @dc42
                  last edited by

                  @dc42 Sure sir , for G code, how to get the coordinate (angle with which it rotate) of 4th axis.(V)

                  G90                                  // Absolute mode
                  G0 X0 Y0
                  
                  G0 Z10                             // Nozzle height 10 mm
                  
                  G1 X50  Y0  V_?            // straight line of 50mm in X direction
                  G1 X50 Y50 V_?            // straight line of 50mm in Y direction 
                  G1  X0 Y0  V _?             //  straight line  joining the initial coordinate (0,0) 
                  
                  in this code how to give the value of V so that it fallow the cutting/printing  path.
                  

                  how to calculate the value of V?

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

                    @India said in tangential control:

                    how to calculate the value of V?

                    If you move V while the XY axes also move, your V-angle will be right at the end of the move
                    IMHO you have to calculate the V-angle according the current XY position and the target XY position.
                    Then move only V to the target-angle, before you move XY.

                    Duet_loverundefined 1 Reply Last reply Reply Quote 0
                    • Duet_loverundefined
                      Duet_lover @o_lampe
                      last edited by Duet_lover

                      @o_lampe thanks sir, please see the video for your reference. YouTube video from 17s onward , i want same control .

                      https://www.youtube.com/watch?v=yOkMlT24kss

                      T3P3Tonyundefined o_lampeundefined 2 Replies Last reply Reply Quote 1
                      • T3P3Tonyundefined
                        T3P3Tony administrators @Duet_lover
                        last edited by

                        @India as has been previously pointed out, this is normally done by adding a post processing step to the gcode generator. You get the value of V for straight lines by looking at the start and stop co-ordinates and then use trigonometry to determine the angle the is perpendicular to the line.

                        Regarding the point that @o_lampe brought up, you need to set V at the start of the line, or set it on its own line

                        e.g.

                        G1 X0 Y0 V0
                        G1 X100 Y0 V0
                        G1 X100 Y0 V90 ;rotate the tool head by 90 degrees in advance of the next line
                        G1 X100 Y100 V90
                        

                        or

                        G1 V0
                        G1 X0 Y0
                        G1 X100 Y0
                        G1 V90
                        G1 X100 Y100
                        

                        www.duet3d.com

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

                          @India You can see it rotates the head only before it does infill.
                          Then, during infill, the curves are chopped in tiny segments with small angle changes between.
                          Don't use a slicer which produces G2/G3 (arc commands). You'd need a very clever postprocessor to segmentize those arcs first, before calculating angles

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

                            @T3P3Tony Such a tangential control would be a good feature for part-cooling fans, too!
                            Instead of blowing air everywhere, we could have a rotating fan shroud, following the nozzle-path and exactly aim towards the fresh filament.
                            #firmware wishlist

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