Error: Attempting to extrude with no tool selected.



  • Hello everyone after updating to 3.2 every time a part prints i have an error and the filament stopped coming out and printing continues without filament any idea?
    Thank you all

    M0 H1
    Error: Attempting to extrude with no tool selected.

    Error: Attempting to extrude with no tool selected.
    config.g

    ; General preferences
    M80						   ; Turns on the ATX power supply
    G90                                                ; Send absolute coordinates...
    M83                                                ; ...but relative extruder moves
    M550 P"sgk008"                                     ; set printer name
    
    ; Network
    M552 S1                                            ; enable network
    M586 P0 S1                                         ; enable HTTP
    M586 P1 S0                                         ; disable FTP
    M586 P2 S0                                         ; disable Telnet
    
    
    M669 K1	                                           ; select CoreXY mode
    
    ; Endstops
    M574 X1 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 high end on Y via pin ystop
    M574 Z1 S2                                         ; configure Z-probe endstop for low end on Z
    M591 D0 P1 C"e0stop" S1						       ; configure filament runout sensor for high end on extruder drive 0 via pin i03.in
    
    M575 P1 S1 B57600                                  ; Set things up for the PanelDue
    
    ; Filament sensor
    M591 D0 P1 C3 S1				                   ; Set Filament sensor Simple type (High) for extruder drive 0, connected to endstop input 3 (E0
    
    
    ; Drives
    M569 P0 S0                                         ; Drive 0 goes backwards blv: its was S1
    M569 P1 S0                                         ; Drive 1 goes backwards blv: its was S1
    M569 P2 S0                                         ; Drive 2 goes forwards
    M569 P3 S1                                        ; Drive 3 goes backwards WAS 0
    M569 P4 S0                                         ; Drive 4 goes forwards
    M584 X0 Y1 Z2:4 E3                                 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                            ; Configure microstepping with interpolation
    M92 X200 Y200 Z400 E429.71                         ; Set steps per mm for Bondtech. 
    M566 X600 Y600 Z1000 E200                          ; Set maximum instantaneous speed changes (Jerk) (mm/min) 
    M203 X20000 Y20000 Z600 E2000                      ; Set maximum speeds (mm/min) 
    M201 X1000 Y1000 Z100 E5000			               ; Set accelerations (mm/s^2)
    M906 X1000 Y1000 Z1000 E1000 I30                   ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30                                            ; Set idle timeout
    
    
    
    ; Pressure advance
    M572 D0 S0.05					   				                           		; disabled Pressure advance
    
    ; Axis Limits
    M208 X-23 Y0 Z0 S1                                                             ; Set axis minima
    M208 X320 Y321 Z350 S0                                                         ; Set axis maxima
    
    ; Z-Probe
    
    M558 P1 C"^zprobe.in" H5 F200 T9000 I0 R0.5			                           ; Set Z probe type mini ir sensor
    G31 P500 X-2 Y-16.4 Z0.310                                                     ; Set Z probe trigger  value, offset and trigger height
    M557 X20:270 Y20:270 S240			   	                                       ; Define mesh grid
    
    
    ; Heaters
    M307 H0 R0.288 C376.3 D10.07 S1.00 V23.6		                                   ; Set PID for heated bed values
    M307 H1 R2.229 C128.4 D8.73 S1.00 V23.9	                                       ; Set PID for hotend values 
    M308 S0 P"bedtemp" Y"thermistor" A"Bed" T100000 B4725 C0.0000000706 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
    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" A"Hotend" T100000 B4725 C0.0000000706 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
    M143 H1 S260											                       ; set temperature limit for heater 0 to 260C
    M308 S2 P"mcu-temp" Y"mcu-temp" A"Duet Board" 		                        	; Configure MCU sensor
    
    
    ; Tools
    M563 P0 S"Some Printhead" D0 H1 F1                                            ; 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
    
    
    ; Access point is configured manually via M587 by the user
    ;M586 P0 S1 ; Enable HTTP
    ;M586 P1 S1 ; Enable FTP
    ;M586 P2 S1 ; Enable Telnet
    
    ;Hot End fan tool
    M950 F1 C"fan1" Q500 			                                            ; create fan 1 on pin fan1 and set its frequency
    M106 P1 C"HE Fan" S1 H1 T45 		                                        ; set fan 1 value. Thermostatic control is turned on 100% at 45deg
    
    ;Tool Fan/ Layer Fan
    M950 F0 C"fan0" Q500 		                                            	; create fan 0 on pin fan0 and set its frequency
    M106 P0 S1 H-1 				                                                ; set fan 0 value. Thermostatic control is turned off
    
    ;MB cooling fan layer
    M950 F2 C"fan2" Q500 			                                            ; create fan 2 on pin fan2 and set its frequency
    M106 P2 C"MB Fan" S1 H2 T35:55 		                                        ; set fan 2 value. Thermostatic control is turned on Temp Range of 35 - 55 deg
    
    ; Custom settings
    M572 D0 S0.275                                                              ; Set bowden extruder elasticity compensation for E0
    M572 D1 S0.275                                                              ; Set bowden extruder elasticity compensation for E1
    M207 S4.0 F2400 Z0.075                                                      ; Set firmware retraction parameters
    
    ; Scanner support (debug)
    ;M750
    
    
    ; Set up DHT sensor on channels 101-102
    ;M305 P101 X405 S"DHT temperature" T11
    ;M305 P102 X455 S"DHT humidity [%]" T11
    
    ; Automatic power saving
    M911 S21 R22 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"                        ; Set voltage thresholds and actions to run on power loss
    
    ; Custom settings are not configured
    M564 H0                                    	                              ; Let the Jog buttons work blv: added to allow jog buttons
    ; Miscellaneous
    M501                                                                       ; load saved parameters from non-volatile memory
    T0                                                                         ; select first tool
    

  • administrators

    Please post your config.g and an example print (or at least the first layer of an example print)


  • Moderator

    Sounds like you don't have a tool selected at the start of a print.

    Usually you'd add a T0 to the end of config.g and/or to the slicer start gcode.


  • Moderator

    Can you post an example gcode file?

    Also the results of M122 and M98 P"config.g" please.



  • It's done with all the gcode files and all the slices



  • M122

    === Diagnostics ===
    RepRapFirmware pour Duet 2 WiFi / Ethernet version 3.2 fonctionnant sur Duet WiFi 1.02 ou version ultérieure
    ID de carte: 08DGM-9T6BU-FG3S8-6JKDJ-3SN6S-1SLHH Tampons de
    sortie utilisés: 3 sur 24 (9 max)
    = == RTOS ===
    RAM statique: 23460
    RAM dynamique: 73620 dont 40 recyclées
    Jamais utilisé RAM 14960, pile système libre 191 mots
    Tâches: NETWORK (ready, 241) HEAT (bloqué, 307) MAIN (running, 448) IDLE ( prêt, 19)
    Mutex possédés: WiFi (NETWORK)
    === Plate-forme ===
    Dernière réinitialisation il y a 00:00:28, cause: mise sous tension
    Heure de réinitialisation du logiciel inconnue, raison: Utilisateur, GCodes tournant, RAM disponible 14900, emplacement 1
    Code de réinitialisation du logiciel 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Tâche MAIN Freestk 0 n / a État d'
    erreur: 0x00
    Erreurs Aux0 0,0,0
    Température MCU: min 17,1, courant 19,7, max 20,2
    Tension d'alimentation: min 23,8, courant 24,0, max 24,2, événements de sous-tension: 0, événements de surtension: 0, puissance bonne: oui
    Driver 0: position 0, arrêt, SG min / max non disponible
    Driver 1: position 0, arrêt, SG min / max non disponible
    Driver 2: position 0, arrêt, SG min / max non disponible
    Pilote 3: position 0, arrêt, SG min / max non disponible
    Pilote 4: position 0, arrêt, SG min / max non disponible
    Pilote 5: position 0
    Pilote 6: position 0
    Pilote 7: position 0
    Pilote 8: position 0
    Pilote 9: position 0
    Pilote 10: position 0
    Pilote 11: position 0
    Date / heure: 2021-02-10 22:54:56
    Nombre de succès des données du cache 34262637
    Boucle la plus lente: 4,72 ms; plus rapide: 0.20 ms
    erreurs I2C nak 0, délais d'envoi 0, délais de réception 0, finishTimeouts 0, réinitialisation 0
    === Stockage ===
    Entrées de fichiers gratuites: 10
    carte SD 0 détectée, vitesse d'interface: 20,0 Mo / s
    Lecture la plus longue de la carte SD temps 2,6 ms, temps d'écriture 0,0 ms, nombre maximum de tentatives 0
    === Move ===
    DM créés 83, maxWait 0ms, compensation de lit en cours d'utilisation: aucune, compensation de compensation 0,000
    === MainDDARing === Mouvements
    programmés 0, mouvements terminés 0 , hoquet 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
    === AuxDDARing === Mouvements
    programmés 0, coups terminés 0, hoquet 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
    === Heat ===
    Chauffe-lits = 0 -1 -1 -1, ChamberHeaters = -1 -1 -1 -1 Le
    chauffage 1 est
    allumé , I-accum = 0.0 === GCodes ===
    Segments à gauche: 0
    Verrou de mouvement maintenu par null
    HTTP est inactif dans l'état (s) 0
    Telnet est inactif dans l'état (s) 0 Le
    fichier est inactif dans l'état (s) 0 L'
    USB est inactif dans l'état (s) 0
    Aux est inactif dans l'état (s) 0 Le
    déclencheur est inactif dans l'état (s) 0 La
    file d'attente est inactive dans l'état (s) 0 L'
    écran LCD est inactif dans l'état (s) 0 Le
    démon est inactif dans l'état (s) 0 L'
    autopause est inactif dans l'état (s) 0
    La file d'attente de codes est vide.
    === Réseau ===
    Boucle la plus lente: 15,72 ms; le plus rapide: 0,00 ms
    États du répondeur: HTTP (0) HTTP (0) HTTP (0) HTTP (0) FTP (0) Telnet (0), 0 session Sessions
    HTTP: 1 sur 8
    - WiFi -
    L'état du réseau est actif Le
    module WiFi est connecté au point d'accès
    Messages d'échec: en attente 0, pas prêt 0, noresp 0
    version du micrologiciel WiFi 1.25
    WiFi adresse MAC 84: f3: eb: e3: f6: ac
    WiFi Vcc 3.42, raison de réinitialisation
    Mettre sous tension la taille du flash WiFi 4194304, tas gratuit 27248
    WiFi Adresse IP 192.168.1.24
    Puissance du signal WiFi -51dBm, mode 802.11n, reconnexions 0, modem en mode veille
    Registre d'horloge 00002002
    États des prises : 4 0 0 0 0 0 0 0
    

    edit



  • M98 P "config.g"
    Warning: Macro file "config.g" not found


  • Moderator

    @sgk said in Error: Attempting to extrude with no tool selected.:

    M98 P "config.g"

    No space between the P and "



  • M98 P"config.g"
    HTTP is enabled on port 80
    FTP is disabled
    TELNET is disabled
    Error: in file macro line 30 column 13: M591: string expected
    Error: Invalid extruder number '1'
    Warning: Macro file config-override.g not found


  • Moderator

    @sgk said in Error: Attempting to extrude with no tool selected.:

    ; Filament sensor M591 D0 P1 C3 S1 ; Set Filament sensor Simple type (High) for extruder drive 0, connected to endstop input 3 (E0

    For the first error with the sensor, you need to provide the actual pin name instead of C3

    https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M591_RepRapFirmware_Num_3

    How do you have it connected? It should be C"e0stop" if you were using the e0 endstop pin for example.

    @sgk said in Error: Attempting to extrude with no tool selected.:

    M572 D1 S0.275 ; Set bowden extruder elasticity compensation for E1

    For the second error, you have two extruders configured for pressure advance, but you only have a single extruder defined. So remove that entry entirely.

    It would still be useful to see an example gcode file so we can see what is happening at the start of a print. If the file is too large to share, you can copy and paste the first 50 lines or so, or host it on dropbox or something.



  • I have only one extruder


  • Moderator

    @sgk said in Error: Attempting to extrude with no tool selected.:

    I have only one extruder

    So then remove M572 D1 S0.275 ; Set bowden extruder elasticity compensation for E1



  • that I delete

    M572 D0 S0.05



  • and this

    M591 E1 P1 C3 S1


  • Moderator

    @sgk said in Error: Attempting to extrude with no tool selected.:

    M591 E1 P1 C3 S1

    You need to change C3 to be C"PINNAME" where the pin name is whatever pin you are connecting your sensor to. E0stop for example.



  • I'm sorry
    I'm a beginner
    the sensor of what



  • M591 D0 P1 C"E0" S1



  • like that
    connecting the extruder to the duet card



  • i have 2x this
    M591 D0 P1 C"e0stop" S1 ; Set Filament sensor Simple type (High) for extruder drive 0, connected to endstop input 3 (E0

    M575 P1 S1 B57600 ; Set things up for the PanelDue

    ; Filament sensor
    M591 D0 P1 C"E0stop" S1 ; Set Filament sensor Simple type (High) for extruder drive 0, connected to endstop input 3 (E0



  • maybe i had a mistake



  • Phaedrux

    thank you very much for your help
    i will try now
    thanks again


  • Moderator

    @sgk said in Error: Attempting to extrude with no tool selected.:

    Error: Attempting to extrude with no tool selected.

    Are you still getting this error?



  • great it works thank you
    infinitely for your help
    now more than knowing how to get good quality, I have been looking for 1 year for how to get good quality.


Log in to reply