Duet3 + Mini 5 X Y sensorless homing issue
-
Core X,Y, Duet3+mini 5 ,
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 Mini 5+ version 3.4.0 (2022-03-15 18:59:15) running on Duet 3 Mini5plus WiFi (standalone mode)If i home X before Y it works perfectly , X will home perfectly , if i then try to home Y it will only move about 1mm and then stops.
if i Home Y before X , Y homes but with more of a "thud" than X did which is odd. if i then try to home X , it homes but also moves slightly in the Y direction.
if i move X or Y manually using DWC they all work perfectly.
; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Valkyrie 3030 V001" ; set printer name M669 K1 ; core xy ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 D3 V10 ; physical drive 0 goes forwards M569 P0.1 S1 D3 V10 ; physical drive 1 goes forwards M569 P0.2 S1 ; physical drive 2 goes forwards ( blown needs replacing) M569 P0.3 S1 ; physical drive 3 goes forwards (extruder M569 P0.4 S1 D3 V50 ; physical drive 4 goes forwards D3=stealthchop M569 P0.5 S0 D3 V50 ; physical drive 5 goes backwards M569 P0.6 S1 D3 V50 ; physical drive 6 goes forwards M584 X1 Y0 E3 Z0.4:0.5:0.6 ; set drive mapping FL,FR,RC M350 X16 Y16 I1 ; configure microstepping with interpolation M350 Z16 E16 I1 M92 X80.00 Y80.00 Z320.00 E260.00 ; set steps per m M566 X500.00 Y500.00 Z800.00 E100.00 P1 ; set maximum instantaneous speed changes (mm/min) M203 X8000.00 Y8000.00 Z1000.00 E400.00 ; set maximum speeds (mm/min) M201 X1000.00 Y1000.00 Z200.00 E250.00 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z1000 E600 I10 ; set motor currents (mA) and motor idle factor in per cent M84 S20 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima "Travel Area" M208 X270 Y240 Z405 S0 ; set axis maxima "Travel area" ; Endstops ;M574 X1 S1 P"!io0.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io0.in M574 X1 S4 ; configure sensorless endstop, 1 = low end, 2 = high end. S4 multipule motors ;M574 Y2 S1 P"!io1.in" M574 Y2 S4 ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in ;M574 Z2 S2 P"!io4.in" ; != invert signal M574 Z2 S4 ; configure sensorless endstop for high end on Z, 1 = low end, 2 = high end. S4 multipule motors M671 X-34.4:296:132.5 Y0:0:296 S25 ; leadscrews at front left,front right, rear Center s= max correction factor must be in same order as M584 M558 P8 C"!io3.in" H5 F600 T18000 A30 S0.03 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 Z0.6 ; set Z probe trigger value, offset and trigger height bigger the posative number the closer to the bed G31 P500 X26 Y6 ; set x,y trigger value, offset and trigger height M557 X30:270 Y10:250 S40 ; define mesh grid ; Heaters M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed T °C" ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"out0" T0 Q10 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 R0.140 K0.103:0.000 D43.19 E1.35 S0.90 B0 ; PDI info for 8mm aluminium bed 700w Heater NTC 100K 3950 M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"temp1" Y"thermistor" T100000 B4267 A"Extruder T °C" ; configure sensor 1 as thermistor on pin e0temp (104gt2) M950 H1 C"out1" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 R3.435 K0.348:0.274 D6.64 E1.35 S1.00 B0 V23.9 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C ; Custom code M308 S2 P"temp2" Y"thermistor" T300000 B4562 A"Chamber T °C" ; configure sensor 1 as thermistor on pin e0temp (104gt2) M308 S3 Y"Stepper-temp" A"Stepper Motor" ; configure sensor 3 as stepper motor temperature sensor M950 F0 C"out4" Q500 C"Part Fan" ; 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"out3" Q500 C"Extruder Fan" ; 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 0C T0 ; Custom settings are not defined M98 P"/macros/3zhome" M400 ; make sure everything has stopped before we make changes G91 ; relative positioning M915 P0.0:0.1 S1 H200 F0 R1 ; Configure Stall Detection M906 X400 ; Lower motor current by 300mA G91 ; relative positioning G1 H2 X0.2 F3000 ; power up motors to ensure they are not stalled G4 P100 ; wait 100ms M400 M574 X1 S4 G1 F9000 G1 H1 X-350 ; Home x-Axis actuators independently M400 ; make sure everything has stopped before we make changes M906 X1000 ; Reset motor current G90 ; absolute positioning M400 ; make sure everything has stopped before we make changes G91 ; relative positioning M915 P0.0:0.1 S1 H200 F0 R1 ; Configure Stall Detection M906 Y400 ; Lower motor current by 300mA G91 ; relative positioning G1 H2 Y0.2 F3000 ; power up motors to ensure they are not stalled G4 P100 ; wait 100ms M400 M574 Y2 S4 G1 F9000 G1 H1 Y350 ; Home y-Axis actuators independently M400 ; make sure everything has stopped before we make changes M906 X1000 ; Reset motor current G90 ; absolute positioning
-
@moth4017 I have the same issue. Is your homing speed the same for Y and X in all of the files? I think it is CoreXY related only
-
ok this fixes the issue but i dont know why
adding this to the end of homex
G1 F12000 X155adding this to the end of Homey
G1 F12000 Y155 -
@moth4017 what I think is happening is that after homing X, the 'stalled' flag is still set in the driver that stalled first. In a CoreXY machine both X and Y motors are used for both X and Y moves, so that 'stalled' flag will cause the machine to think that Y is homed if you then try to home Y.
The solution is: after homing X, move the head back in X a small amount to clear the stalled flag. Similarly when homing Y.