Duet 2 Wifi - Sensorless Homing Working Without M915.
-
Hi Everyone,
This is my first time posting. I have now done 2 duet 2 wifi boards. I have used the Configuration toll to configure only the second board. both work with sensorless homing.
Weird thing is, though my sensorless homing works straight out of the configuration tool(That is set to sensorless homing) which it should not. What could be the reason for that?
It works exactly as is:
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.2 on Mon Jan 25 2021 14:03:35 GMT+0200 (South Africa Standard Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"D01" ; set printer name
M669 K1 ; select CoreXY mode; Network
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 forwards
M569 P1 S0 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes backwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X1 Y0 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E452 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E400.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z360 E3000 ; set maximum speeds (mm/min)
M201 X1000.00 Y1000.00 Z10.00 E250.00 ; set accelerations (mm/s^2)
M906 X700 Y700 Z1200 E800 I45 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X211 Y207.5 Z200 S0 ; set axis maxima; Endstops
M574 X2 S3 ; configure sensorless endstop for high end on X
M574 Y2 S3 ; configure sensorless endstop for high end on Y
M574 Z1 S2 ; configure Z-probe endstop for low end on Z;M915 X Y S0 R2
;Linear/Pressure Advance
M572 D0 S0.45; Z-Probe
M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H5 F360 T6000 R0.2 A2 B1 ; set Z probe type to bltouch and the dive height + speeds
G31 P25 X-37 Y18.5 Z1.780 ; set Z probe trigger value, offset and trigger height
M557 X30:180 Y70:208 S60 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
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 B4138 ; 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 S270 ; set temperature limit for heater 1 to 270C; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 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; Custom settings
; Filament Runout
M591 P2 C"e0_stop" S1 D0 ; filament runout simple sensor (high signal when filament present)M501
And the the sensorless homing stopped, now I know it is because the M915 is uncommented, but it worked without it as well.
Any Toughts?
Very Cool board btw!
-
I guess the default stall detection settings happened to be about right for your machine.
-
But I mean in the config file there is no other stall detection setting than the one disabled by the ";" and that I did not use untill now.
-
Your endstops are set for stall detection
-
The drivers report stalls to the firmware (using default parameters) even if you do not use M915 to adjust the stall detection parameters.
-
But I'm guessing that is way it was that unreliable?