TM 6600 connection to Expansion stepper board
-
Hi!
I lost drive x from my third Duetr Wifi. I managed to replace drive X by drive E0, thanks to Your advise.
Now I want to add extruder E1 to control a dual extruder.
I happen to have a Duet Expansion Stepper Breakout Board v1.1 and a MKS TB6600+ V1.0 driver.
My questions is how to wire them and am I missing something. ? -
@pertti it would be better to use the single ended connection method. Connect the S- D- and E- outputs to the EN DIR and STEP inputs of the driver. Connect the 5V pin of the driver to the 5V pin of one of the PWM outputs on the expansion board.
-
@dc42
Ok, I connected TM6600 llke this:
I tried to map it to x axis to see if it works. The result is that the steppermotor gets hot , no motion.I have another TM6600 v1.1 , which has the pin +5 changed to GND. If I tried that, then I change the wire respectively? It has worked with MKS Rumba.
Here´s config.g:
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 17 2021 18:33:34 GMT+0300 (Itä-Euroopan kesäaika); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Leapfrog-Duet" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; 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 S1 ; physical drive 3 goes backwards
M569 P5 R1 T2.5:2.5:5:5 S1 ; physical drive 5 goes forwards M210802
M584 X4 Y2 Z1 E3 X5 ; set drive mappingM350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X66.67 Y66.67 Z654.02 E837.00 ;titan aero
M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
M906 X800 Y800 Z1600 E800 I30
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X270 Y270 Z180 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"ystop" ; configure active-high endstop for low end on Y via pin ystop
;M574 Z1 S1 P"zstop" ; configure active-high endstop for low end on Z via pin zstop
M574 Z0 S1
M574 X1 Y1 S1
; Z-Probe
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
;M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
;M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
;M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
;M140 H0 ; map heated bed to heater 0
;M143 H0 S120 ; set temperature limit for heater 0 to 120C
;M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
;M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
;M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
;M143 H1 S280 ; set temperature limit for heater 1 to 280CM305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M305 P1 T100000 B3950 R4700 ; set thermistor + ADC parameters for heater 1 ,T was 100000M143 H1 S290 ; set temperature limit for heater 1 to 280C
M305 P2 T100000 B3950 R4700 ; set thermistor + ADC parameters for heater 2 ,T was 100000
,M143 H2 S290 ; set temperature limit for heater 2 to 280CM307 H1 A455.9 C183.2 D17.7 S1.00 V24.1 B0
M307 H2 A499.7 C172.7 D10.4 S1.00 V24.1 B0
M570 H1 P4 T25 s1
M570 H2 P10 T25
M570 S120; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on; Tools
;M563 P0 D0 H1 F0 ; define tool 0
;G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
;G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0CM563 P0 D0 H2 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R160 S0 ; set initial tool 0 active and standby temperatures to 0C ;in line 89 G10 P1 R160 S0 i think P1 should be P0; Custom settings are not defined
; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue -
@pertti It looks like you have connected the -Step connection on the Duet to the -Enable pin on the driver, and the -Enable pin on the Duet to the -Step pin on the driver. That's incorrect, swap them over so S- goes to CLK, and E- goes to EN.
In your config.g:
M569 P5 R1 T2.5:2.5:5:5 S1 ; physical drive 5 goes forwards M210802
You may need R0 to enable the driver, not R1. Also set driver direction with S0 or S1.
M584 X4 Y2 Z1 E3 X5 ; set drive mapping
Remove 'X4'.
Note that for external drivers microstepping (M350), interpolation, steps per mm (M92) and current (M906) are set by the driver, NOT by config.g. If the stepper motor is getting hot, I'd expect you have the current on the driver turned up too high.
I have another TM6600 v1.1 , which has the pin +5 changed to GND. If I tried that, then I change the wire respectively? It has worked with MKS Rumba.
Yes, but change the wiring so S+ goes to CLK, D+ goes to DIR, E+ goes to EN, and GND goes to GND.
Ian
-
@pertti said in TM 6600 connection to Expansion stepper board:
M569 P5 R1 T2.5:2.5:5:5 S1 ; physical drive 5 goes forwards
I don't know what timing the TM6600 needs, so try increasing the T values in case they are too low, e.g. try T10:10:10:10.
-
@droftarts
Thanks a lot! Now things work. -
Ok, now it appeared that the thermistors are not in the game.
Console says that there is an open circuit. In both thermistors.
The resistance is ok and wires are ok.
Maybe somebody understands better what to do.
0:/sys/config.g
; Configuration file for Duet WiFi (firmware version 2.03)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.1.5 on Sat Jan 11 2020 15:38:33 GMT+0200 (Itä-Euroopan normaaliaika); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Leapfrog-Duet" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
;M569 P0 S1 ; physical drive 0 goes forwards
;M569 P1 S1 ; physical drive 1 goes forwards
;M569 P2 S1 ; physical drive 2 goes forwards
;M569 P3 S1 ; physical drive 3 goes forwards
;M569 P4 S1 ; physical drive 4 goes forwards
;M584 X0 Y1 Z2 E3:4 ; set drive mapping
;M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
;M92 X66.67 Y66.67 Z654.02 E93.00:93.00 ; set steps per mm
;M566 X900.00 Y900.00 Z12.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
;M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
;M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)
;M906 X800 Y1600 Z1600 E800:800 I30 ; set motor currents (mA) and motor idle factor in per cent
;M84 S30; 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 S1 ; physical drive 3 goes forwards
M569 P4 S1 ; physical drive 4 goes forwards
M569 P5 R0 T10:10:10:10 S0; T10:10:10:10 T2.5:2.5:5:5
M584 X1 Y2 E3:4 Z5 ; set drive mapping z TM 6600M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
M92 X66.67 Y66.67 Z640.20 E144.00:144.00
M566 X900.00 Y900.00 Z60.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)M906 X800 Y800 Z1600 E800:800 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 X210 Y250 Z200 S0 ; set axis maxima; Endstops
M574 Z0 S0 ; set active low and disabled endstops
M574 X1 Y1 S1 ; set active high endstops; Z-Probe
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X15:200 Y15:195 S20 ; define mesh grid; Heaters
M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M305 P1 T100 B3950 R4700 ; set thermistor + ADC parameters for heater 1
M143 H1 S280 ; set temperature limit for heater 1 to 280C
M305 P2 T100 B3950 R4700 ; set thermistor + ADC parameters for heater 2
M143 H2 S280
; set temperature limit for heater 2 to 280C
;M307 H1 A455.9 C183.2 D17.7 S1.00 V24.1 B0
;M307 H2 A499.7 C172.7 D10.4 S1.00 V24.1 B0
;M570 H1 P4 T20 s1
; 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-1 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P2 S1 I0 F500 H-1 ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off; Tools
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
M563 P1 D1 H2 F0 ; define tool 1
G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C; Custom settings are not defined
Leapfrog-Duet
Send code...
Status
Idle
Tool Position
X
0.0
Y
0.0
Z
0.00
Extruder Drives
Drive 0
0.0
Drive 1
0.0
Speeds
Requested Speed
0 mm/s
Top Speed
0 mm/s
Sensors
Vin
24.1 V
MCU Temperature
32.8 C
Fan RPM
0
Tools
Extra
Control All
Tool Heater Current Active Standby
Tool 0
T0 - Load Filament Heater 1
off 2000.0 C
0
0
Tool 1
T1 - Load Filament Heater 2
off 2000.0 C
0
0
Bed Heater 0
off 22.5 C
0
0
Temperature Chart
System Directory -
@pertti said in TM 6600 connection to Expansion stepper board:
Ok, now it appeared that the thermistors are not in the game.
Console says that there is an open circuit. In both thermistors.
The resistance is ok and wires are ok.
Maybe somebody understands better what to do.Perhaps it would be best to create a new thread for this issue since it's unrelated to your initial problem.
-
@pertti said in TM 6600 connection to Expansion stepper board:
M305 P1 T100 B3950 R4700 ; set thermistor + ADC parameters for heater 1
M143 H1 S280 ; set temperature limit for heater 1 to 280C
M305 P2 T100 B3950 R4700 ; set thermistor + ADC parameters for heater 2You have T100 set for M305 P1 and P2, should be T100000. T is the thermistor resistance at 25C, in ohms, and is usually 100k ohms, so 100,000 ohms.
Ian
-
@droftarts
Yes! Now I´m happy. And I will create one thread for every issue. Good moderating, then everyone can find issues easily aftewards.