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

    Adding a independent Motor

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    12
    373
    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.
    • markundefined
      mark
      last edited by

      Hi,

      I am trying to add an additional stepper motor (No end stops, no restrictions) that I can simply control via a G1 command to move forward and backwards. I have tried a number of configurations but I can't get the motor to move. I have it plugged into Motor 9 on my Duex board and so far have gone back to the following in config.g

      ; Drives
      M569 P0 S0 ; physical drive 0 goes forwards
      M569 P1 S1 ; physical drive 1 goes forwards
      M569 P2 S1 ; physical drive 2 goes forwards
      M569 P3 S0
      M569 P9 S0
      ; physical drive 3 goes forwards
      M584 X0 Y2:1 Z7:5:6 U9 E3 P3 ; set drive mapping
      M671 X151:-10:310 Y310:-10:-10 S10 ; Auto Bed Level leadscrews at rear left, front middle and rear right
      M350 X16 Y16 Z16 U16 E16 I1 ; configure microstepping with interpolation
      M92 X64.00 Y64.00 Z400.00 U409 E409; E393.6 ; Set steps per mm
      M566 X1200.00 Y1200.00 Z40.00 U1000 E1000.00 ; Maximum jerk speeds (mm/min)
      M203 X6000.00 Y6000.00 Z1000.00 U8000 E8000.00 ; set maximum speeds (mm/min)
      M201 X1500.00 Y1500.00 Z100.00 U1200 E1200.00 ; set accelerations (mm/s^2)
      M906 X1200 Y1200 Z1200 U1000 E1000 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X0 Y-70 Z0 S1 ; set axis minima
      M208 X300 Y300 Z300 S0 ; set axis maxima

      ; Endstops
      M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop
      M574 Y1 S1 P"!e0stop+!ystop" ; configure active-high endstop for low end on Y via pin ystop
      M574 Z1 S2 ; configure Z-probe endstop for low end on Z

      Any pointers or links to how to do this would be welcome (I am struggling to know what to google)

      Reagrds,

      Mark

      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by Veti

        try setting a position using G92
        https://duet3d.dozuki.com/Wiki/Gcode#Section_G92_Set_Position

        and then moving it. and add axis limit M208

        1 Reply Last reply Reply Quote 0
        • markundefined
          mark
          last edited by

          Thanks for your reply,

          I did a G92 U5, but that did not allow me to then perform a G1 U100 F1000 - do i need to do anything else?

          I have not tried applying axis limits as I don't want the motor to be limited in any direction

          Regards,

          Mark

          Vetiundefined 1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti @mark
            last edited by

            @mark said in Adding a independent Motor:

            I did a G92 U5, but that did not allow me to then perform a G1 U100 F1000 - do i need to do anything else?

            what the error?

            1 Reply Last reply Reply Quote 0
            • markundefined
              mark
              last edited by

              No error, in the console the line goes green, but the motor does not move

              Vetiundefined 1 Reply Last reply Reply Quote 0
              • Vetiundefined
                Veti @mark
                last edited by

                @mark
                i am afraid i have to insist on the m208

                see
                https://forum.duet3d.com/topic/3604/homing-in-u-axis?_=1603377058168

                1 Reply Last reply Reply Quote 0
                • markundefined
                  mark
                  last edited by

                  I will try that later.

                  Maybe I am looking at this wrong and need to configure as an extra extruder as that does not have an endstop or axis limits. I wonder if I can setup a tool without any heater and run 2 tools at the same time

                  Mark

                  1 Reply Last reply Reply Quote 0
                  • Vetiundefined
                    Veti
                    last edited by

                    can you elaborate what that motor is doing?

                    1 Reply Last reply Reply Quote 0
                    • markundefined
                      mark
                      last edited by mark

                      Yes, it's simply feeding filament (down a ptfe tube to my hemera) in order to perform a load. There is a servo in order to disengage the filament from the motor once the load has completed. If I get this working then I can add another one for duel colour.

                      I am sure I am going to hit many road blocks and there might be easier/better ways but i want to try it anyway 🙂

                      1 Reply Last reply Reply Quote 0
                      • Vetiundefined
                        Veti
                        last edited by

                        a few weeks back there was a post about someone using 2 extruders for one filament.
                        i think it was done using the mixing ratio to drive 2 extruders at the same time

                        http://blog.think3dprint3d.com/2016/12/using-diamond-hotend-with-duetwifi.html

                        markundefined 1 Reply Last reply Reply Quote 1
                        • markundefined
                          mark @Veti
                          last edited by

                          @Veti very interesting, I will have a read.

                          Thanks

                          1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator
                            last edited by

                            If you only want to use it as a loader but not during normal operation you could create it as an extruder and assign it to a tool to advance and retract the filament as needed and then reconfigure your tool as per normal printing when done.

                            Z-Bot CoreXY Build | Thingiverse Profile

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