Problem with stall detection
-
This has happened a few times now over the last few months. Printer detects a stall, attempts to rehome, but goes in the wrong direction causing the printer to crash at the far end of the travel. I got this error 50+ times before emergency stopping. "Error: G1/G2/G3: intermediate position outside machine limits"
Here is my config.g
; Configuration file for Duet 3 (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Sun May 08 2022 13:47:15 GMT-0700 (Pacific Daylight Time)
G4 S2 ; wait for expansion boards to start; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Duet 3" ; set printer name
M669 K1 ; select CoreXY mode; Drives
M569 P0.0 S1 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S0 ; physical drive 0.2 goes forwards
M569 P121.0 S0 ; physical drive 121.0 goes forwards
M584 X0.1 Y0.2 Z0.0 E121.0 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.25 Y80.25 Z1602.18 E409.00 ; set steps per mm
M566 X600.00 Y600.00 Z250.00 E250.00 ; set maximum instantaneous speed changes (mm/min)
M203 X35000.00 Y30000.00 Z2000.00 E1200.00 ; set maximum speeds (mm/min)
M201 X9001.00 Y9001.00 Z400.00 E2250.00 ; set accelerations (mm/s^2)
M906 X1700 Y1700 Z1500 E1200 I75 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y-20 Z-0.5 S1 ; set axis minima
M208 X445 Y240 Z300 S0 ; set axis maxima; Endstops
M574 X1 S1 P"!io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin !io1.in
M574 Y1 S1 P"!io3.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin !io3.in; Z-Probe
M950 S0 C"121.io0.out" ; create servo pin 0 for BLTouch
M558 P9 C"121.io0.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X23 Y-1 Z0.5 ; set Z probe trigger value, offset and trigger height
M557 X15:401 Y-5:241 S20 ; define mesh grid; Heaters
;Bed
M308 S0 P"temp2" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp2
M950 H0 C"out2" T0 ; create bed heater output on out2 and map it to sensor 0
M307 H0 A311.1 C939.0 D1.8 B0 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S130 ; set temperature limit for heater 0 to 130C
;Nozzle
M308 S1 P"121.temp0" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin 121.temp0
M950 H1 C"121.out0" T1 ; create nozzle heater output on 121.out0 and map it to sensor 1
M307 H1 R4.273 K0.509:1.568 D2.03 E1.35 S1.00 B0 V24.0 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S300 ; set temperature limit for heater 1 to 80C
;Chamber
M308 S2 P"temp0" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp0
M950 H3 C"out0" T2 ; create chamber heater output on out0 and map it to sensor 2
M307 H3 B1 D60 ; enable bang-bang mode for the chamber heater and set PWM limit
M141 H3 ; map chamber to heater 2
M143 H3 S80 ; set temperature limit for heater 2 to 300C
M570 H3 T50 P9001 ; Temp excursion for heater fault; Fans
M950 F1 C"121.out2" Q500 ; create fan 0 on pin 121.out2 and set its frequency
M106 P1 S0 H1 T45 ; set fan 0 value. Thermostatic control is turned on
M950 F0 C"out9" Q1500 ; create fan 1 on pin out9 and set its frequency
M106 P0 S0 H-1 L0.25 X1.0 B0.75 ; set fan 1 value. 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
M207 S0.6 F4500 Z0.075 ; Retraction. s=distance F=feedrate Z=zhopFilament sensors
M591 D0 P3 C"121.io1.in" R1:600 S1 L24.8 E3.0 ; Duet3D rotating magnet sensor for extruder drive 0 is connected to E0 endstop input, enabled, sensitivity 24.8mm.rev, 2% to 600% tolerance, 3mm detection length; Custom settings
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power lossM915 X Y S9 F0 R3 ; motor stall detection r0 nothing 1 log 2 pause 3 pause, rehome, resume
; Miscellaneous
T0 ; select first tool
M955 P121.0 I41 ; accelerometer and orientation
M593 P"mzv" F41 ; input shaping
M572 D0 S0.035 ; pressure advanceMy Homey.g
G91 ; relative positioning
G1 H2 Z15 F6000 ; lift Z relative to current position
G1 H1 Y-295 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y42 F6000 ; go back a few mm
G1 H1 Y-295 F360 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-15 F6000 ; lower Z again
G90 ; absolute positioningand my driver-stall.g
M98 P"homey.g" ; Home Y
M98 P"homex.g" ; Home X
M98 P"Purge.g" ; park for prime/purge
G1 R1 X0 Y0 Z5 F6000 ; go to 5mm above position of the last print move
G1 R1 X0 Y0 ; go back to the last print move
M83 ; relative extruder moves -
Please share your rehome.g file as well as the results of M122 and M98 P"config.g".
Also share your homing files and your purge file.