G28 Error: Failed to enable endstops Sensorless Homing Homing
-
I am trying to make Sensorless Homing work on a core-XY machine but whatever I did so far spits out "G28 Error: Failed to enable endstops"
; Endstops
M574 X S3 ; configure sensorless homing for low end on X
M574 Y S3 ; configure sensorless homing for low end on Y
M915 X Y R0 F0 ; configure stall detection
M915 X Y S5 R2
M574 Z1 S2 ; configure Z-probe endstop for low end on Z; Z-Probe
M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H5 F300 T18000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X16.5 Y-20.2 Z1.89 ; set Z probe trigger value, offset and trigger height
M557 X50:250 Y50:250 S50 ; define mesh grid -
Can you provide the results of M122 and M98 P"config.g"?
Also your full config.g and homeall.g files.
-
@phaedrux said in G28 Error: Failed to enable endstops Sensorless Homing Homing:
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Penteract" ; 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 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P4 S0 ; physical drive 3 goes backwards
M584 X0 Y1 Z2 E4 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z1600.00 E690.00 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z180.00 E3600.00 ; set maximum speeds (mm/min)
M201 X2500.00 Y2500.00 Z20.00 E600.00 ; set accelerations (mm/s^2)
M906 X1500 Y1500 Z400 E750 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X-8 Y-8 Z0 S1 ; set axis minima
M208 X300 Y300 Z300 S0 ; set axis maxima; Endstops
M574 X S3 P"xstop" ; configure sensorless homing for low end on X
M574 Y S3 P"ystop" ; configure sensorless homing for low end on Y
M915 X Y R0 F0 ; configure stall detection
M574 Z1 S2 ; configure Z-probe endstop for low end on Z; Z-Probe
M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H5 F300 T18000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X16.5 Y-20.2 Z1.89 ; set Z probe trigger value, offset and trigger height
M557 X50:250 Y50:250 S50 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 C7.06e-8 ; 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 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M307 H0 A422.1 C597.7 D5.1 V24.2 B0 ; tune of heater 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" T100000 B4725 C7.06e-8 ; 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; 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
M572 D0 S0.04 ; set tool 0 pressure advance; Custom settings are not defined
; homeall.g
; called to home all axes
;
M400
M913 X70 Y70 ; drop motor current to 70%
M400 G91; relative positioning
G1 H2 Z5 F18000 ; lift Z relative to current position
G1 H1 X-305 Y-305 F6000 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-305 ; home X axis
G1 H1 Y-305 ; home Y axis
G1 X5 Y5 F18000 ; go back a few mm
G1 H1 X-305 F1200 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y-305 ; then move slowly to Y axis endstop
G90 ; absolute positioning
M400
M913 X100 Y100 ; return current to 100%
M400
G1 X133.5 Y170.2 F18000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed
; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F300 ; lift Z relative to current position
;G90 ; absolute positioning -
@tkdirp said in G28 Error: Failed to enable endstops Sensorless Homing Homing:
M574 X S3 P"xstop" ; configure sensorless homing for low end on X
M574 Y S3 P"ystop" ; configure sensorless homing for low end on YIf you're using sensorless you can remove the P"xstop" and P"ystop" parts since you;re not using actual switches you don't need to define pins.
-
@tkdirp I have same issue did you ever find out the resolve?
-
@daimein2007 Same problem I would to declare an axis without homing process
-
@tom33 said in G28 Error: Failed to enable endstops Sensorless Homing Homing:
@daimein2007 Same problem I would to declare an axis without homing process
If you have an axis that doesn't need to be homed, use a G92 command to sets its position. For example, if you create a U axis that doesn't need to be homed, put just this command in the homeu.g file:
G92 U0
Also add that command to homeall.g.
-
@dc42 Thanks You answer quicker than me, I have just did it now by adding M92 C0 in my homing file !
Thanks ! -
@dc42 I'm not sure if this is right for me I'm using 2209's I have installed a RepRap board on an skrv1.3 which converts to duet and uses duet firmware I set everything up for sensorless homing and used the https://teamgloomy.github.io/Configurator/Start
tool to configure it I just keep getting this even after hours and hours of checking all settings G28 Error: Failed to enable endstops it's almost like homing itself is not enabled if that's even possible. I get it when trying x or y z is setup on bltouch cant do z without x and y i have searched every square inch of config and setup my x y and z but nothing is it possible there could be a bug. I have a duet2 wifi on my delta never had this problem. -
@daimein2007 join us on discord https://discord.gg/uS97Qs7 and we'll go through things with you