T-1 Error: Attempting to extrude with no tool selected.
-
Hello, recently I've purchased a palette 3 pro and I am having this issue when I try to print over usb using the palette, sending files directly from prusasilcer I don't have any issues,
any ideas?
Here is my config
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Aug 01 2021 13:31:17 GMT+0200 (hora de verano de Europa central) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Pulpomaker" ; set printer name M665 L335.5 R157.5 H410 B155 X0 Y0 Z0.000 ; Set delta radius, diagonal rod length, printable radius and homed height M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them ; 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 M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation ;M92 X100 Y100 Z100 E410.35 ; set steps per mm-bondtech M92 X100 Y100 Z100 E693.233 ;serpa M566 X875 Y875 Z875 E1500 ; set maximum instantaneous speed changes (mm/min) M203 X30000 Y30000 Z30000 E3600 ; set maximum speeds (mm/min) M201 X3000.00 Y3000.00 Z3000.00 E3000 ; set accelerations (mm/s^2) M906 X1400.00 Y1400.00 Z1400.00 E700 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 Z-3 S1 ; set minimum Z ; Endstops M574 X2 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y2 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin ystop M574 Z2 S1 P"!zstop" ; configure active-high endstop for low end on Z via pin zstop ; Z-Probe M558 P8 C"zprobe.in" R0.4 F1200 H5; Set Z probe type to switch and the dive height + speeds G31 P100 X0 Y0 Z-0.11466; Set Z probe trigger value, offset and trigger height M557 R155 S20 ; Define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4267 C7.060000e-8 R4700 ; 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 B0 R0.279 C449.5 D13.13 S1.00 V24.0 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 B4267 C7.060000e-8 R4700 ; 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 280C ; Fans M950 F1 C"fan1" Q500 ; create fan 0 on pin fan1 and set its frequency M106 P1 S255 H1 T45 ; set fan 0 value. Thermostatic control is turned off M950 F0 C"fan0" Q500 ; create fan 1 on pin fan2 and set its frequency M106 P0 H-1 ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P1 D0 H1 F0 ; define tool 0 G10 P1 X0 Y0 Z0 ; set tool 0 axis offsets G10 P1 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Custom settings are not defined M572 D0 S0.1 ; extruder pressure advance M591 D0 P5 C3 R90:110 E3.0 S0 M591 D0 M207 S1 F3000 T900 Z0.1618 ; Retracción por Firmware S=Distancia Retract R=Distancia Unretract F=Velocidad Retract T=Velocidad Unretract Z=ZHOP ; Miscellaneous M501 ; Load saved parameters from non-volatile memory G29 S1 M955 P0 C"spi.cs4+spi.cs3" M593 P"EI3" F60 T1
-
@xircom
The T-1 is deselecting the tools.
This causes tfree.g to be run and other files depending on the state of the machine
See here
It is likely you have a retraction command in tfree.g
You can avoid the error by testing if the tool temp is above the cold extrude temperature, or just ignore the error.
If you're getting different results from PrusaSlicer and the pallette, it's either because one isn't calling T-1, or one has the tool up to temp before calling T-1 -
@OwenD this error occurs when the Printer is going to start running the gcode from palette (I have preheated the printer before and in theory both have the same gcode start and end, because I have copied the prusa setting to palette), the printer starts moving but I have no movement of the extrusor motor until I press the tool button in the duet web panel, can I just remove the tools and put tool 0 as a normal printer? ( I think did this sometime ago for a reason and I don’t remember how to change it 🥲)
Best regards
-
@xircom
You have to have a tool selected in order to extrude.
T-1 deselects all tools
So either remove the T-1 or add a Tn (where n is the number of the correct tool)
I don't know how a pallette works exactly.
Note that any time you do T-1 or Tn, it will run the tool change macros. See here
You can avoid this by using T-1 P0, but I suspect it's these files which should be doing the gcode for the pallette.In any case, it's probably best if you post your tpre.g, tpost.g, tfree.g macross from your printers /sys directory and you slicer's tool change g code.
Use the code button </> to make it easily readable.
I'm sure someone will have knowledge on a pallette. -
@OwenD
So, I'm going to remove the T1 and lets see, here are the tpre and tpost; tpre0.g ; called before tool 0 is selected ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Aug 01 2021 13:31:17 GMT+0200 (hora de verano de Europa central)
; tpost0.g ; called after tool 0 has been selected ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Aug 01 2021 13:31:17 GMT+0200 (hora de verano de Europa central) ; Wait for set temperatures to be reached M116 P0
-
I've removed the T1 command and I still having the issue
-
@xircom you are defining a single tool and you are calling that T1. It's usual in 3D printing for tools to start at zero, and your slicer may be assuming that. So I suggest you do the following:
- Change the P parameter in the M563 command in your config.g file from P1 to P0
- Put T0 at the end of config.g instead of T1