Error: attempting to extrude with no tool selected
-
Hi all. I just did the Duet 2 Wifi Upgrade on my printer and I am getting this error when I print any file generated by Simplify3D.
Note: This issue only occurs with S3D, not any other Slicers.
History: The printer was not having this issue with S3D before the Duet 2 Wifi conversion.This issue will happen at random points during any print. It starts the print fine, then at a random point it will throw this error. Even with the same file, it's random! I have had it happen halfway thru the 1st layer, or on the 10th layer, or the 50th while using the same .gcode file.
There is only 1 extruder, labeled as T0. In the S3D Profile. T1 is the heated bed.
Printer Specs:
Model: Anycubic Predator
Duet 2 Wifi
Paneldue 7i
Smarteffector
BMG extruder
Duet Version: RepRap Firmware 3.1.1
S3D version: 4.1.2Please Help.
-
Add a T0 to the end of you config.g
-
I did, and the issue still happens.
-
Provide a sample gcode file and your config.g please.
-
End of Config.g
; Tools M563 P0 D0 H1 ; Define tool 0 and fan 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 T0 ; select Tool 0 ;Extrusion settings M593 F39.1 ;Resonance Frequency WIP ;Nonlinear extrusion ;M592 D0 A-0.057410915 B0.015877315 ;Nonlinear extrusion WIP M501 ;load config-override ;Pressure Advance ;M572 D0 S0.22 ;Rosa Silk PLA ;M572 D0 S0.15 ;PLA ;M572 D0 S0.492 ;PETG White 230 M572 D0 S0.08 ;0.8 PLA ; Retraction M207 S2 F3000 R0 T2200 Z0 ;0.8 PLA ;M207 S2 F1400 R0 T1200 Z0 ;0.8 PETG ;M207 S2 F3000 R0 T2500 Z0.0 ;Silk PLA ;M207 S4 F3600 R0 T2400 Z0.2 ;0.8 PLA ;M207 S2 F3600 R0 T2400 Z0.0 ;ABS ;M207 S2 F3000 R0 T2500 Z0.0 ;Blue Thumann ;M207 S4 F3000 R0 T2400 Z0.0 ;PETG ;M207 S4 F1500 R0 T1200 Z0.0 ;TPU TEST T0
Sample G-code file:
; G-Code generated by Simplify3D(R) Version 4.1.2 ; Sep 17, 2020 at 1:27:27 PM ; Settings Summary ; processName,Process1 ; applyToModels,PredatorSpoolSupport_ExtendedGuide ; profileName,Predator_Hatchbox_PETG (modified) ; profileVersion,2020-09-14 19:46:39 ; baseProfile,M2-E3Dv6-0.4mm ; printMaterial,PLA ; printQuality,Medium ; printExtruders, ; extruderName,Left Extruder ; extruderToolheadNumber,0 ; extruderDiameter,0.4 ; extruderAutoWidth,1 ; extruderWidth,0.48 ; extrusionMultiplier,1 ; extruderUseRetract,1 ; extruderRetractionDistance,1.6 ; extruderExtraRestartDistance,0 ; extruderRetractionZLift,0.6 ; extruderRetractionSpeed,3000 ; extruderUseCoasting,1 ; extruderCoastingDistance,0 ; extruderUseWipe,1 ; extruderWipeDistance,5 ; primaryExtruder,0 ; layerHeight,0.25 ; topSolidLayers,5 ; bottomSolidLayers,5 ; perimeterOutlines,3 ; printPerimetersInsideOut,1 ; startPointOption,2 ; startPointOriginX,0 ; startPointOriginY,0 ; sequentialIslands,0 ; spiralVaseMode,0 ; firstLayerHeightPercentage,95 ; firstLayerWidthPercentage,100 ; firstLayerUnderspeed,0.4 ; useRaft,0 ; raftExtruder,0 ; raftTopLayers,1 ; raftBaseLayers,1 ; raftOffset,5 ; raftSeparationDistance,0.4 ; raftTopInfill,80 ; aboveRaftSpeedMultiplier,0.3 ; useSkirt,1 ; skirtExtruder,0 ; skirtLayers,1 ; skirtOutlines,2 ; skirtOffset,5 ; usePrimePillar,0 ; primePillarExtruder,999 ; primePillarWidth,12 ; primePillarLocation,7 ; primePillarSpeedMultiplier,1 ; useOozeShield,0 ; oozeShieldExtruder,999 ; oozeShieldOffset,2 ; oozeShieldOutlines,1 ; oozeShieldSidewallShape,1 ; oozeShieldSidewallAngle,30 ; oozeShieldSpeedMultiplier,1 ; infillExtruder,0 ; internalInfillPattern,Triangular ; externalInfillPattern,Rectilinear ; infillPercentage,30 ; outlineOverlapPercentage,30 ; infillExtrusionWidthPercentage,103 ; minInfillLength,2 ; infillLayerInterval,1 ; internalInfillAngles,0,60,-60 ; overlapInternalInfillAngles,1 ; externalInfillAngles,45,135 ; generateSupport,1 ; supportExtruder,0 ; supportInfillPercentage,15 ; supportExtraInflation,1 ; supportBaseLayers,3 ; denseSupportExtruder,0 ; denseSupportLayers,3 ; denseSupportInfillPercentage,100 ; supportLayerInterval,1 ; supportHorizontalPartOffset,0.45 ; supportUpperSeparationLayers,4 ; supportLowerSeparationLayers,4 ; supportType,0 ; supportGridSpacing,1 ; maxOverhangAngle,60 ; supportAngles,0 ; temperatureName,Primary Extruder,Heated Bed ; temperatureNumber,0,1 ; temperatureSetpointCount,2,2 ; temperatureSetpointLayers,1,2,1,2 ; temperatureSetpointTemperatures,240,240,80,80 ; temperatureStabilizeAtStartup,1,1 ; temperatureHeatedBed,0,1 ; fanLayers,1 ; fanSpeeds,0 ; blipFanToFullPower,1 ; adjustSpeedForCooling,1 ; minSpeedLayerTime,8 ; minCoolingSpeedSlowdown,30 ; increaseFanForCooling,0 ; minFanLayerTime,45 ; maxCoolingFanSpeed,100 ; increaseFanForBridging,0 ; bridgingFanSpeed,100 ; use5D,1 ; relativeEdistances,1 ; allowEaxisZeroing,1 ; independentExtruderAxes,0 ; includeM10123,0 ; stickySupport,1 ; applyToolheadOffsets,0 ; gcodeXoffset,0 ; gcodeYoffset,0 ; gcodeZoffset,0 ; overrideMachineDefinition,1 ; machineTypeOverride,1 ; strokeXoverride,260 ; strokeYoverride,260 ; strokeZoverride,410 ; originOffsetXoverride,130 ; originOffsetYoverride,130 ; originOffsetZoverride,0 ; homeXdirOverride,-1 ; homeYdirOverride,-1 ; homeZdirOverride,1 ; flipXoverride,1 ; flipYoverride,-1 ; flipZoverride,1 ; toolheadOffsets,0,0|0,0|0,0|0,0|0,0|0,0 ; overrideFirmwareConfiguration,1 ; firmwareTypeOverride,RepRap (Marlin/Repetier/Sprinter) ; GPXconfigOverride,r2 ; baudRateOverride,250000 ; overridePrinterModels,0 ; printerModelsOverride ; startingGcode,G28 ; home all axes,G29 S1 ; use previous mesh calibration, ; layerChangeGcode, ; retractionGcode, ; toolChangeGcode, ; endingGcode,G28 ; home all axes,M106 S0 ; turn off cooling fan,M104 S0 ; turn off extruder,M140 S0 ; turn off bed,M84 ; disable motors ; exportFileFormat,gcode ; celebration,0 ; celebrationSong,Star Wars ; postProcessing, ; defaultSpeed,3200 ; outlineUnderspeed,0.5 ; solidInfillUnderspeed,0.75 ; supportUnderspeed,0.75 ; rapidXYspeed,12000 ; rapidZspeed,1200 ; minBridgingArea,10 ; bridgingExtraInflation,1 ; bridgingExtrusionMultiplier,1.4 ; bridgingSpeedMultiplier,1.25 ; useFixedBridgingAngle,0 ; fixedBridgingAngle,0 ; applyBridgingToPerimeters,0 ; filamentDiameters,1.75|1.75|1.75|1.75|1.75|1.75 ; filamentPricesPerKg,24|26|26|26|26|26 ; filamentDensities,1.25|1.25|1.25|1.25|1.25|1.25 ; useMinPrintHeight,0 ; minPrintHeight,12 ; useMaxPrintHeight,0 ; maxPrintHeight,15 ; useDiaphragm,0 ; diaphragmLayerInterval,20 ; robustSlicing,1 ; mergeAllIntoSolid,0 ; onlyRetractWhenCrossingOutline,1 ; retractBetweenLayers,1 ; useRetractionMinTravel,0 ; retractionMinTravel,3 ; retractWhileWiping,1 ; onlyWipeOutlines,1 ; avoidCrossingOutline,0 ; maxMovementDetourFactor,3 ; toolChangeRetractionDistance,0 ; toolChangeExtraRestartDistance,0 ; toolChangeRetractionSpeed,360 ; externalThinWallType,1 ; internalThinWallType,2 ; thinWallAllowedOverlapPercentage,0 ; singleExtrusionMinLength,1 ; singleExtrusionMinPrintingWidthPercentage,50 ; singleExtrusionMaxPrintingWidthPercentage,200 ; singleExtrusionEndpointExtension,0.2 ; horizontalSizeCompensation,0 G90 M83 M106 S0 M140 S80 M190 S80 M104 S240 T0 M109 S240 T0 G28 ; home all axes G29 S1 ; use previous mesh calibration ; process Process1 ; layer 1, Z = 0.237 T0 G1 E-1.6000 F3000 ; feature skirt ; tool H0.237 W0.480 G1 Z0.600 F1200 G1 X4.089 Y-25.940 F12000 G1 Z0.237 F1200 G1 E1.6000 F3000 G1 X4.911 Y-25.940 E0.0389 F1280
-
anyone have any ideas?
-
@theshabobo said in Error: attempting to extrude with no tool selected:
anyone have any ideas?
When I use S3D, T0 is the temperature identifier for the heated bed and T1 is the temperature identifier for the extruder.
Have no idea if that would make a difference.
Frederick
-
Post your full config.g.
Do the heaters work otherwise?
Does it set the temperatures and attain them before starting to print?I'm not really up on S3D configuration.
-
@fcwilt I have tried switching the T0 and T1, did not work, heaters did not function properly.
@Phaedrux Yes the heaters work great actually. no heat creep and they pretty much stay on point even after the error is thrown.
Here is what it does physically:
Printing with PETG- Bed heats up to 80c
- Nozzle heats up to 240c
- Printer homes
- Starts printing
- At a random point in time, it will show the error.
- During this time, the print head is still moving, the hotend is still staying at temp and the bed is staying at temp. The extruder does not move.
- If I send a T0 it will start extruding again. and then stop at a random point in time.
I just tried it again in another slicer, and it did the same thing. So, I am now completely lost.
This is the full Config.g
; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M575 P1 B57600 S1 ;Set baud rate Duet Board ; Delta Settings M665 L440.49 R185 H405 B185.0 X0 Y0 Z0 ; Set delta radius, diagonal rod length, printable radius and homed height M666 X0 Y0 Z0 A0.00 B0.00 ; Put your endstop adjustments here, or let auto calibration find them ; Network M550 P"TWHPredator" ; Set machine name ;M551 P"T3chn0l0gy" ; Set password M552 S1 ; Enable network and acquire dynamic address via DHCP M587 S"Darkweb" P"whatpassword" I192.168.1.253 M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Enable Telnet ; Drives M569 P0 S0 ; Drive 0 goes backwards M569 P1 S0 ; Drive 1 goes backwards M569 P2 S0 ; Drive 2 goes backwards M569 P3 S0 ; Drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping ;Stepper Configuration M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X80 Y80 Z80 ; Set steps per mm M92 E91.0:91.0 M906 X2000 Y2000 Z2000 E1000 I13 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ;Normal Speed M566 X1200 Y1200 Z1200 E3600 ; Set JERK(mm/min) M203 X18000 Y18000 Z18000 E10000 ; Set maximum speeds (mm/min) 18k is 300mm/s M201 X3500 Y3500 Z3500 E3500 ; Set accelerations (mm/s^2) ;M204 P2000 T3000 ; set Print accel and travel accel ; Axis Limits M208 Z0 S1 ; Set minimum Z ; Endstops M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop M574 Z2 S1 P"zstop" ; configure active-high endstop for high end on Z via pin zstop ; Z-Probe ; M558 P8 F1200 R0.4 T5000 H2 A3 I1 ; Set Z probe type to switch and the dive height + speeds 3 Probe Iterations Inverted M558 C"zprobe.in" P8 R0.4 F1200 H30 T5000 G31 P100 X0 Y0 Z-0.1 ; Set Z probe M557 R175 S20 ; Define mesh grid ;Filament Sensor M591 D0 P2 C"e1_stop" S1 ;activate Filament Sensor ; Bed Heater M308 S0 A"Heated Bed" P"bedtemp" Y"thermistor" T100000 B4300 C0 R4700 ; Set thermistor + ADC parameters for heater 0 M950 H0 C"bedheat" Q100 T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 A137.8 C533.3 D1.5 V24.3 B0 ; Disable bang-bang mode for the bed heater and set PWM limit M140 H0 P0 ; Create bed Heater ; Extruder Heater M308 S1 A"E3D V6" P"e0temp" Y"thermistor" T100000 B4300 C0 R4700 ; Temperature Sensor M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M143 H1 S280 A0 ; Set temperature limit for heater 1 to 280C ;Additional Sensors M308 S2 A"Chamber" P"e1temp" Y"thermistor" T100000 B3800 C0 ; Fans M950 F1 C"fan1" Q100 ;HOTEND FAN create fan 1 on pin fan1 and set its frequency M106 C"HotendFAN" P1 H1 T45 ; set fan 1 value. Thermostatic control is turned on M950 F0 C"fan0" Q24000 ;CPAP create fan 0 on pin fan0 and set its frequency !fan2+exp.pb6 with RPM readout on PB6 M106 C"PartCoolingFan" F65535 P0 S0 H-1 L0.1 ;X0.5 ; set fan 0 value. Thermostatic control is turned off L0.3 X1 ; Tools M563 P0 D0 H1 ; Define tool 0 and fan 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 T0 ; select Tool 0 ;Extrusion settings M593 F39.1 ;Resonance Frequency WIP ;Nonlinear extrusion ;M592 D0 A-0.057410915 B0.015877315 ;Nonlinear extrusion WIP M501 ;load config-override ;Pressure Advance ;M572 D0 S0.22 ;Rosa Silk PLA ;M572 D0 S0.15 ;PLA ;M572 D0 S0.492 ;PETG White 230 M572 D0 S0.08 ;0.8 PLA ; Retraction M207 S2 F3000 R0 T2200 Z0 ;0.8 PLA ;M207 S2 F1400 R0 T1200 Z0 ;0.8 PETG ;M207 S2 F3000 R0 T2500 Z0.0 ;Silk PLA ;M207 S4 F3600 R0 T2400 Z0.2 ;0.8 PLA ;M207 S2 F3600 R0 T2400 Z0.0 ;ABS ;M207 S2 F3000 R0 T2500 Z0.0 ;Blue Thumann ;M207 S4 F3000 R0 T2400 Z0.0 ;PETG ;M207 S4 F1500 R0 T1200 Z0.0 ;TPU TEST T0
-
*bump
I re-did the config.g as below, and am still getting this issue.
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Fri Sep 18 2020 09:00:56 GMT-0500 (Central Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"twhpredator" ; set printer name ; Delta Settings M665 R185 L440.49 B175 H405 ; 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 M551 P"********" ; set password 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 backwards M569 P1 S0 ; physical drive 1 goes backwards M569 P2 S0 ; physical drive 2 goes backwards M569 P3 S0 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z80.00 ; set steps per mm M92 E91.0:91.0 M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min) M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min) M201 X1000.00 Y1000.00 Z1000.00 E1000.00 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 Z0 S1 ; set minimum Z ; Endstops M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop M574 Z2 S1 P"zstop" ; configure active-high endstop for high end on Z via pin zstop ; Z-Probe M558 P8 C"zprobe.in" R0.4 H30 F1200 T5000 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height M557 R175 S20 ; define mesh grid ;Filament Sensor M591 D0 P2 C"e1_stop" S1 ;activate Filament Sensor ; Heaters M308 S0 A"Heated Bed" P"bedtemp" Y"thermistor" T100000 B4300 C0 R4700 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" Q100 T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 A137.8 B0 C533.3 D1.5 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 P0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 A"E3DV6" P"e0temp" Y"thermistor" T100000 B4300 C0 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 A0 ; Fans M950 F0 C"fan0" Q24000 ;CPAP create fan 0 on pin fan0 and set its frequency !fan2+exp.pb6 with RPM readout on PB6 M106 C"PartCoolingFan" F65535 P0 S0 H-1 L0.1 ;X0.5 ; set fan 0 value. Thermostatic control is turned off L0.3 X1 M950 F1 C"fan1" Q100 ;HOTEND FAN create fan 1 on pin fan1 and set its frequency M106 C"HotendFAN" P1 H1 T45 ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P0 S"E3DV6" 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 ; Custom settings are not defined ; Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue M501 ; load saved parameters from non-volatile memory T0 ; select first tool
-
Do you see any heater error messages in the console?
Have you PID tuned the heaters?
It almost seems as if the part cooling fan is causing a heater fault.
What does your temp graph look like around the time that it happens?
-
@Phaedrux
Thanks for the reply!No heater errors. I have not PID Tuned, however the temp graph is stable, basically almost a straight line. The issue is that the extruder stops extruding until I send a T0.
I manually edited that gcode to add a T0 to each layer and it printed, however this is not a fix.
-
PID tune the heaters.
I can't see why it would deselect a tool unless there is a tool change command in the gcode file being printed, or there's been a fault.
-
no faults, no tool change commands.
One thing I just noticed, the PanelDue 7i displays at random during a print, a bunch of random errors, like "Error: Bad command R12*27"
These errors do not show up in any console. -
Interesting.
What baud rate is your paneldue using? I've seen that when experimenting with high baud rates than the default.
I've also seen it where interference was getting picked up and generating spurious commands. Are you using the 10 pin cable or the 4 wire cable? How long? And is it routed near any stepper motor wiring?
Also can you download the gcode file from the DWC and check it for anything corrupted looking?
If you try simulating the file do you get any errors?
-
PID's now tuned, I'll try the print again.
I'm using only the standard 4 pin cable, I believe it's 1 meter long. The cable path is not near a stepper motor, about 6-in away from the nearest motor.
I ran a simulation, no errors.
I looked at a file from the DWC, and it does not seem that any of the commands are corrupted.
-
@theshabobo said in Error: attempting to extrude with no tool selected:
M92 E91.0:91.0
you have one extruder, but two settings in M92. Maybe this produces that an extruder has no tool.
-
I have removed that line. I'll run another test print to verify.
-
Update: ran a test print, same issue.
I am now downgrading versions of the duet firmware to 3.0 to see if that resolves it.
-
My best guess is that corrupt data received on the PanelDue port is causing the problem. The cable resistance must be no more than 0.1 ohms per conductor. If the cable runs close to stepper motor cables, it must be shielded.