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

    external drive a4988 duet no work

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    duet 2 wifi
    3
    16
    732
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Where do you have the external driver connected?

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

      Z-Bot CoreXY Build | Thingiverse Profile

      dpsslaser2020undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
      • dpsslaser2020undefined
        dpsslaser2020 @Phaedrux
        last edited by dpsslaser2020

        @phaedrux said in external drive a4988 duet no work:

        Where do you have the external driver connected?

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

        E2 Axis assignment xyz working!
        But E2 does not work on the "E" axis!

        If I set E2 "a4988" on these axes
        working on E2
        M584 X0:5 Y1: 4 Z2 E3
        working on E2
        M584 X0 Y1: 4:5 Z2 E3
        working on E2
        M584 X0 Y1:4 Z2:5 E3
        not working on E2 don't know why?
        M584 X0 Y1:4 Z2 E3:5

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

          @dpsslaser2020 said in external drive a4988 duet no work:

          M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
          M92 X80.00 Y80.00 Z800.00 E145.75 ; Set steps per mm
          M566 X600.00 Y600.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
          M203 X18000.00 Y18000.00 Z180.00 E300.00 ; Set maximum speeds (mm/min)
          M201 X3000.00 Y3000.00 Z20.00 E10000.00 ; Set accelerations (mm/s^2)
          M906 X1300.00 Y1300.00 Z800.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent

          You'll need to set the values for the second E drive.

          Example: M350 X16 Y16 Z16 E16:16 I1

          Note the E16:16

          Extruders are independent axis and need to be each defined.

          Z-Bot CoreXY Build | Thingiverse Profile

          dpsslaser2020undefined 1 Reply Last reply Reply Quote 0
          • engikeneerundefined
            engikeneer @dpsslaser2020
            last edited by

            @dpsslaser2020 you've also only mapped your first extruder to your tool T0 (the D parameter in M563). From your config

            ; Tools
            M563 P0 D0 H1 ; Define tool 0
            

            You either need to define a second tool, or assign both extruders to tool T0. You can then set a 1:1 mixing ratio so that they both move the same amount (or any ratio you choose)

            E3D TC with D3Mini and Toolboards.
            Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
            i3 clone with a bunch of mods

            dpsslaser2020undefined 1 Reply Last reply Reply Quote 1
            • dpsslaser2020undefined
              dpsslaser2020 @Phaedrux
              last edited by

              @phaedrux said in external drive a4988 duet no work:

              @dpsslaser2020 said in external drive a4988 duet no work:

              M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
              M92 X80.00 Y80.00 Z800.00 E145.75 ; Set steps per mm
              M566 X600.00 Y600.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
              M203 X18000.00 Y18000.00 Z180.00 E300.00 ; Set maximum speeds (mm/min)
              M201 X3000.00 Y3000.00 Z20.00 E10000.00 ; Set accelerations (mm/s^2)
              M906 X1300.00 Y1300.00 Z800.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent

              You'll need to set the values for the second E drive.

              Example: M350 X16 Y16 Z16 E16:16 I1

              Note the E16:16

              Extruders are independent axis and need to be each defined.

              M350 X16 Y16 Z16 E16:16 I1                            ; Configure microstepping with interpolation
              M92 X80.00 Y80.00 Z800.00 E145.75:145.75               ; Set steps per mm
              M566 X600.00 Y600.00 Z12.00 E120:120              ; Set maximum instantaneous speed changes (mm/min)
              M203 X18000.00 Y18000.00 Z180.00 E300:300        ; Set maximum speeds (mm/min)
              M201 X3000.00 Y3000.00 Z20.00 E10000:10000           ; Set accelerations (mm/s^2)
              M906 X1300.00 Y1300.00 Z800.00 E800:800 I30         ; Set motor currents (mA) and motor idle factor in per cent
              M84 S30                                  
              
              Auxiliary configuration for all dual motors with this setting?
              but that doesn't help either!
              
              1 Reply Last reply Reply Quote 0
              • dpsslaser2020undefined
                dpsslaser2020 @engikeneer
                last edited by dpsslaser2020

                @engikeneer said in external drive a4988 duet no work:

                @dpsslaser2020 you've also only mapped your first extruder to your tool T0 (the D parameter in M563). From your config

                ; Tools
                M563 P0 D0 H1 ; Define tool 0
                

                You either need to define a second tool, or assign both extruders to tool T0. You can then set a 1:1 mixing ratio so that they both move the same amount (or any ratio you choose)

                M563 P0 D0:1 H1 F0 ; define tool 0
                M563 P1 D0:2 H1 F0 ; define tool 1
                M567 P5 E3:5

                there is a mix icon but only one engine goes for both of them to move in mix mode!alt text

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

                  @phaedrux said in external drive a4988 duet no work:

                  Where do you have the external driver connected?

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

                  Where do you have it connected? The expansion header?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  dpsslaser2020undefined 1 Reply Last reply Reply Quote 0
                  • dpsslaser2020undefined
                    dpsslaser2020 @Phaedrux
                    last edited by

                    @phaedrux said in external drive a4988 duet no work:

                    @phaedrux said in external drive a4988 duet no work:

                    Where do you have the external driver connected?

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

                    Where do you have it connected? The expansion header?

                    E2 connection pin are correct because it works on xyz axes when I set it up!
                    software setup problem is in this looking for the right way!

                    1 Reply Last reply Reply Quote 0
                    • engikeneerundefined
                      engikeneer @dpsslaser2020
                      last edited by

                      @dpsslaser2020 said in external drive a4988 duet no work:

                      M563 P0 D0:1 H1 F0 ; define tool 0
                      M563 P1 D0:2 H1 F0 ; define tool 1
                      M567 P5 E3:5

                      Here you have assigned two tools. One uses extruders 0 & 1 (okay), the other tool uses extruder 1 & 2 (which doesn't exist).

                      In your M567 you have assigned a mixing ratio of 3:5 on tool 5 (which doesn't exist!).

                      You want:

                      M563 P0 D0:1 H1 F0 ; define tool 0 using extruder 0 and 1
                      M567 P0 E1:1 ; assign 1:1 mixing ratio to tool 0
                      

                      E3D TC with D3Mini and Toolboards.
                      Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                      i3 clone with a bunch of mods

                      dpsslaser2020undefined 1 Reply Last reply Reply Quote 1
                      • dpsslaser2020undefined
                        dpsslaser2020 @engikeneer
                        last edited by

                        @engikeneer said in external drive a4988 duet no work:

                        @dpsslaser2020 said in external drive a4988 duet no work:

                        M563 P0 D0:1 H1 F0 ; define tool 0
                        M563 P1 D0:2 H1 F0 ; define tool 1
                        M567 P5 E3:5

                        Here you have assigned two tools. One uses extruders 0 & 1 (okay), the other tool uses extruder 1 & 2 (which doesn't exist).

                        In your M567 you have assigned a mixing ratio of 3:5 on tool 5 (which doesn't exist!).

                        You want:

                        M563 P0 D0:1 H1 F0 ; define tool 0 using extruder 0 and 1
                        M567 P0 E1:1 ; assign 1:1 mixing ratio to tool 0
                        

                        It starts in a proven basic mix mode with the control E axis and both motors move in sync!
                        Thank you!
                        Have a nice day!

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