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

    External driver, motor not working

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    3
    162
    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.
    • g0rgundefined
      g0rg
      last edited by

      Hi all,
      I use a duet 2 ethernet (RRF3.2) with an expansion breakboard.
      1 X, 2 Y and 2 Z axis use integreted drivers (nema17)
      and i added an A axis with an external driver on P5 (nema23).
      It's the first time that i use external driver

      Im'sure I'm doing something wrong in my config.g file but i dont know what 😢
      Here is my setup and my code is below:
      My goal is to 3d print on wheels on this 4th axis.IMG_20210919_103655.jpg IMG_20210919_103619.jpg IMG_20210919_103558.jpg IMG_20210919_103547.jpg

      config.g (partial)

      ; Configure Drives
      M569 P0 S1 					; Drive 0 goes forwards
      M569 P1 S0 					; Drive 1 goes forwards
      M569 P2 S1 					; Drive 2 goes forwards
      M569 P3 S0 					; Drive 3 goes forwards         
      M569 P5 S0 R0 T2.5:2.5:5:5 		; A AXIS Drive 5 goes forwards (E2 on Expansion Header)
      M584 X0 Y1:3 Z2				; Apply drive mapping to axes
      M584 A5 R1 					;
      
      ; Configure Axes
      M92 X400 Y400 Z400 A400 	; Set steps per mm
      M350 X16 Y16 Z16 A64  I1 	; Configure microstepping
      M566 X1000 Y800 Z1000 A1000 	; Set maximum instantaneous speed changes (mm/min)
      M203 X4000 Y3000 Z2000 A2000 	; Set maximum speeds (mm/min)
      M201 X150 Y150 Z150 A150	; Set accelerations (mm/s^2)
      M906 X2400 Y2400 Z2400 A2030  I30 ; Set motor currents (mA)
      
      
      ; Configure Axis Limits
      M208 X0 Y0 Z0 A0 S1		; Set axis minima
      M208 X600 Y600 Z600 A360 S0 	; Set axis maxima
      

      How to say that the A axis has no maxima ?
      How can i know what to put exactly in M569 ?

      M569 P5 S0 R0 T2.5:2.5:5:5
      

      is this correct ?

      Duet 2 wifi , Ooznest Worbee CNC 1510 , Neje Laser 20w. Ruida 100w Co2 Laser 6090. Some homemade laser cnc grbl 1515.

      o_lampeundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
      • o_lampeundefined
        o_lampe @g0rg
        last edited by

        @g0rg AFAIK, you can't configure microstepping for external drives. You have set M92 steps accordingly (400*64), but keep in mind that rotational axis has different step-meaning. (steps/degree I would guess?)

        1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators @g0rg
          last edited by

          @g0rg said in External driver, motor not working:

          Although I don't think your issues are caused by using RRF 3.2 I would upgrade to 3.3 as much has changed between them (remember to read the changes). Specifically this point for RRF 3.3: "[Duet WiFi/Ethernet] When using extended step timings (M569 T parameter), maximum step pulse rates are improved a little"

          How to say that the A axis has no maxima ?

          You have define the A axis as a rotary axis using the R1 parameter so it should have no maximum.

          How can i know what to put exactly in M569 ?

          The information about the step pulse timing should be in the data sheet for your external driver. Also the enable logic (R0 vs R1) should be in the data sheet.

          Also if you are not getting motor movement check the data sheet to confirm that driver is happy with differential signals at ~3.6V. The alternative is to us single ended with the + lines pulled to 5V;
          https://duet3d.dozuki.com/Wiki/Duet_Expansion_Breakout_Board#Section_Signalling_voltages

          www.duet3d.com

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