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

TB6600 external drives

Scheduled Pinned Locked Moved
General Discussion
5
33
3.7k
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.
  • undefined
    dc42 administrators
    last edited by 20 Oct 2018, 07:14

    @namlecnc said in TB6600 external drives:

    So all + of the 4 drives ( 5678 ) bundle together to the 5+v? The -(stp,dir,ena) stay where they are? Do i leave all 6 wires connected to the tb6600?

    Yes. That will give you 5V drive to the external drivers.

    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

    undefined 1 Reply Last reply 21 Oct 2018, 04:00 Reply Quote 0
    • undefined
      namlecnc @dc42
      last edited by 21 Oct 2018, 04:00

      @dc42
      Do I need to enable anything? I still don’t get motion on homing of x y z on this external driver.

      1 Reply Last reply Reply Quote 0
      • undefined
        dc42 administrators
        last edited by 21 Oct 2018, 07:58

        I didn't expect changing the wiring between the breakout board and the external drivers to change anything, because external drivers are normally happy with the standard signals provided by the breakout board.

        Did you remap the XYZ axes to the external drivers using M584 in config.g?

        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

        undefined 1 Reply Last reply 21 Oct 2018, 16:27 Reply Quote 0
        • undefined
          namlecnc @dc42
          last edited by 21 Oct 2018, 16:27

          @dc42 I did
          M584 X5 Y6:7 Z8 E3:4

          But I remove the T value in M569 because I thought wiring it to 5V should be ok.

          I will attemp that change later when I go to the shop. What would happen if I change T from T2 to T5? Does this create inaccuracy ?

          I will check the voltage reading as well.

          How do I save the settings files to my computer? Is it possible to save different settings to pc and upload what’s needed to be checked ? I kinda want to save variations of set up and not keep changing one

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 21 Oct 2018, 18:42

            Yes you will need to use M569 P5 T2 and the same with P6, P7 and P8. You can try T5 instead of T2. Using a T value that is higher than needed will reduce the maximum step rate you can achieve, but is otherwise harmless.

            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

            undefined 4 Replies Last reply 21 Oct 2018, 19:16 Reply Quote 0
            • undefined
              namlecnc @dc42
              last edited by 21 Oct 2018, 19:16

              @dc42 step rate as in khz ( not quite sure ) or the microstepping limit? I’m using 32x for these external driver.

              What is the default pulse time of the board?

              undefined 1 Reply Last reply 22 Oct 2018, 15:35 Reply Quote 0
              • undefined
                namlecnc @dc42
                last edited by 22 Oct 2018, 04:01

                @dc42 ; Configuration file for Duet WiFi (firmware version 1.21)
                ; executed by the firmware on start-up
                ;
                ; generated by RepRapFirmware Configuration Tool on Mon Oct 15 2018 11:27:10 GMT-0500 (Central Daylight Time)

                ; General preferences
                G90 ; Send absolute coordinates...
                M83 ; ...but relative extruder moves

                ; Network
                M550 PNamDuetTest ; Set machine name
                M551 PTest123 ; Set password
                M552 S1 ; Enable network
                M587 S"Print Print" P"Nam123123" I192.168.2.100 ; Configure access point. You can delete this line once connected
                M586 P0 S1 ; Enable HTTP
                M586 P1 S0 ; Disable FTP
                M586 P2 S0 ; Disable Telnet

                ; Drives
                ;M569 P0 S1 ; Drive 0 goes forwards
                ;M569 P1 S1 ; Drive 1 goes forwards
                ;M569 P2 S1 ; Drive 2 goes forwards
                M569 P3 S1 ; Drive 3 goes forwards
                M569 P4 S1 ; Drive 4 goes forwards
                M569 P5 S1 T5 ; Drive 5 goes forwards
                M569 P6 S1 T5 ; Drive 6 goes forwards
                M569 P7 S1 T5 ; Drive 7 goes forwards
                M569 P8 S1 T5 ; Drive 8 goes forwards
                M584 X5 Y6:7 Z8 E3 ; Apply custom drive mapping
                M350 X32 Y32 Z32 I0 ; Configure microstepping without interpolation
                M350 E16 I1 ; microstep with interpolation
                M92 X218.73852 Y218.73852 Z1259.84252 E418.5; Set steps per mm
                M566 X900 Y900:900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
                M203 X12000 Y12000:12000 Z180 E1200 ; Set maximum speeds (mm/min)
                M201 X500 Y500:500 Z250 E250 ; Set accelerations (mm/s^2)
                M906 X1600 Y1600:1600 Z1600 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
                M84 S30 ; Set idle timeout

                ; Axis Limits
                M208 X0 Y0 Z0 S1 ; Set axis minima
                M208 X1200 Y800 Z150 S0 ; Set axis maxima

                ; Endstops
                M574 X1 Y1 Z2 S0 ; Set active high endstops

                ; Z-Probe
                M558 P1 H10 F120 T6000 ; Set Z probe type to unmodulated and the dive height + speeds
                G31 P500 X400 Y400 Z2.5 ; Set Z probe trigger value, offset and trigger height
                M557 X30:1170 Y30:770 S20 ; Define mesh grid

                ; Heaters
                M140 H-1 ; Disable heated bed
                M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
                M143 H1 S280 ; Set temperature limit for heater 1 to 280C
                ;M305 P2 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
                ;M143 H2 S280 ; Set temperature limit for heater 1 to 280C

                ; Fans
                M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                M106 P1 S1 I0 F500 H T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                M106 P2 S1 I0 F500 H T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

                ; Tools
                M563 P0 D0 H1 ; Define tool 0
                M563 P1 D1 H2 ; Define tool 1
                G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
                G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
                G10 P1 X100 Y0 Z0 ; Set tool 0 axis offsets
                G10 P1 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

                ; Automatic saving after power loss is not enabled

                ; Custom settings are not configured

                1 Reply Last reply Reply Quote 0
                • undefined
                  namlecnc @dc42
                  last edited by 22 Oct 2018, 04:03

                  @dc42
                  even when I commented the P0 out with ; , it stills runs when I tested M584 X0 .
                  But still no motion from external drive 5 6 7 8.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    namlecnc @namlecnc
                    last edited by 22 Oct 2018, 15:35

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • undefined
                      namlecnc @dc42
                      last edited by 22 Oct 2018, 18:40

                      @dc42

                      This is the similar thread but ut is locked out
                      https://forum.duet3d.com/topic/4935/wiring-up-external-dq542ma-stepper-motor-driver/6

                      Exactly what I am doing but still no clear answer...

                      And I got 3.7V on dir- and dir+ when I was trying to home...

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        dc42 administrators
                        last edited by 23 Oct 2018, 11:05

                        Have you tried using the M569 T parameters that were published in the last post in that thread?

                        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

                        undefined 2 Replies Last reply 23 Oct 2018, 18:39 Reply Quote 0
                        • undefined
                          namlecnc @dc42
                          last edited by 23 Oct 2018, 18:39

                          @dc42 I tried. I think my driver is bad. I'm buying new ones. I will report the results soon
                          Thanks so much

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            namlecnc @dc42
                            last edited by 25 Oct 2018, 21:24

                            @dc42
                            I got it to run!!!

                            Now here is a new issue. When I run test all motors, I edited to have 32x microstepping. An error pop up saying M350 drive Z does not support 32x microstepping... what is the deal?

                            T3P3Tonyundefined 1 Reply Last reply 25 Oct 2018, 21:28 Reply Quote 0
                            • T3P3Tonyundefined
                              T3P3Tony administrators @namlecnc
                              last edited by 25 Oct 2018, 21:28

                              @namlecnc M350 sets the internal stepper driver microstepping (over SPI). As you are using an external driver the firmware cannot set the microstepping on the driver, you do that in some other way (normally Dip switches). If you set the steps/mm (M92) correctly for whatever microstepping you use on that external drive that will work.

                              www.duet3d.com

                              undefined 1 Reply Last reply 25 Oct 2018, 22:16 Reply Quote 0
                              • undefined
                                namlecnc @T3P3Tony
                                last edited by 25 Oct 2018, 22:16

                                @t3p3tony
                                Yes this is on external drivers(xyz) so m350 for xyz doesn’t matter but the m92 steps per unit (mm) is the deciding factor?

                                Thanks a bunch!

                                T3P3Tonyundefined 1 Reply Last reply 25 Oct 2018, 22:20 Reply Quote 0
                                • T3P3Tonyundefined
                                  T3P3Tony administrators @namlecnc
                                  last edited by 25 Oct 2018, 22:20

                                  @namlecnc yes. just use M350 for any internal drivers.

                                  www.duet3d.com

                                  1 Reply Last reply Reply Quote 0
                                  • T3P3Tonyundefined
                                    T3P3Tony administrators
                                    last edited by 25 Oct 2018, 23:37

                                    @namlecnc Can you let us know what you did to fix the issue you were having getting the TB6600 to run?

                                    www.duet3d.com

                                    undefined 1 Reply Last reply 30 Oct 2018, 16:32 Reply Quote 0
                                    • undefined
                                      namlecnc @T3P3Tony
                                      last edited by 30 Oct 2018, 16:32

                                      @t3p3tony TB6600 does not work.
                                      I have to change to a more expensive DM542S

                                      I have it running now. At 32x , it runs ebrry time now. 128x doesn’t work.

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        john
                                        last edited by 23 Nov 2018, 21:36

                                        I am also having issues getting my external drive to work. I attempted to wire the
                                        +(STEP,DIR,EN) to the 5V on the Heater Pins on the expansion, to see if the voltage of the expansion breakout was too low. This did not change my stepper motor behavior (it just vibrates after a few X+1 commands.

                                        See thread here for more information: https://forum.duet3d.com/topic/7703/closed-loop-control-of-stepper-motors-with-rotary-encoder/24

                                        undefined 1 Reply Last reply 23 Nov 2018, 21:44 Reply Quote 0
                                        • undefined
                                          john @john
                                          last edited by 23 Nov 2018, 21:44

                                          @sean, as a follow on. ENA+ is by default at 3.35 V.

                                          0_1543009417755_02024111-0651-43d5-925d-34d0d5ec04f1-image.png

                                          If the schematic above says >3.5 V, would 3.35V be an issue? If it were, I would imagine wiring all the + leads to 5V would have remedied my issue.

                                          undefined 1 Reply Last reply 23 Nov 2018, 22:16 Reply Quote 0
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA