Homing sensorless in Ender 3
-
Dear Duet Team
Asking for your help and guidance. I want to set my Ender 3 to use the function Homing sensorless in my Duet 3 mini
I have followed the steps in your guide but I dont have success with the homing
Let me share with you my g.code
Config.g
; Configuration file for Duet 3 Mini 5+ (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 19 2021 21:19:18 GMT+0200 (Mitteleuropäische Sommerzeit) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Ender3" ; set printer name ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S0 ; physical drive 0.0 goes backwards M569 P0.1 S0 ; physical drive 0.1 goes backwards M569 P0.2 S1 ; physical drive 0.2 goes forwards M569 P0.3 S0 ; physical drive 0.3 goes backwards M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E95.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E300.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z600.00 E3600.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z200.00 E2500.00 ; set accelerations (mm/s^2) M906 X400 Y400 Z600 E900 I30 ; 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 X235 Y235 Z260 S0 ; set axis maxima ; Endstops ; configure active-high endstop for low end on Y via pin io6.in M574 X1 Y1 S3 M574 Z1 S1 P"io2.in" ; configure active-high endstop for low end on Z via pin io2.in M915 X Y R0 F0 ; Z-Probe M558 P8 C"io3.in" H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed G31 P500 X0 Y0 Z2.5 M557 X36:200 Y20:215 S30 ; define mesh grid ; Heaters M308 S0 P"temp0" Y"thermistor" T98801 B4185 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S80 ; set temperature limit for heater 0 to 80C M308 S1 P"temp1" Y"thermistor" T98801 B4185 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S260 ; set temperature limit for heater 1 to 240C ; Fans M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency M106 P0 C"PartCool" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency M106 P1 C"HotEnd" S1 H1:0 T45 ; set fan 1 name and value. Thermostatic control is turned on M950 F2 C"out5" Q500 ; create fan 2 on pin out5 and set its frequency M106 P2 C"CaseFan" S1 H1:0 T45 ; set fan 2 name and value. Thermostatic control is turned on ; Tools M563 P0 S"Hotend" 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 M911 S21 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss T0 ; select first tool
Here my homeall.g
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 19 2021 21:19:18 GMT+0200 (Mitteleuropäische Sommerzeit) M913 X20 Y20 ; drop motor current to 70% G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-240 Y-240 F3600 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H2 X5 Y5 F6000 G1 H1 X-240 Y-240 F3600 G1 X120 Y120 F6000 ; position probe at center of bed G30 ; probe for Z0 ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position G90 ; absolute positioning M913 X100 Y100 ; return current to 100%
My homex.g
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 19 2021 21:19:18 GMT+0200 (Mitteleuropäische Sommerzeit) M913 X20 Y20 ; drop motor current to 70% G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-240 F3600 ; move quickly to Y axis endstop and stop there (first pass) G1 H2 X5 F6000 ; go back a few mm G1 H1 X-240 F3600 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning M913 X100 Y100 ; return current to 100%
My homey.g
; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 19 2021 21:19:18 GMT+0200 (Mitteleuropäische Sommerzeit) M913 X20 Y20 ; drop motor current to 70% G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Y-240 F3600 ; move quickly to Y axis endstop and stop there (first pass) G1 H2 Y5 F6000 ; go back a few mm G1 H1 Y-240 F3600 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning M913 X100 Y100 ; return current to 100%
I have tried multiple options to slow down my motors and other setting suggested in your website guide but still my Y and Y mobing forward and crash at the end of the movement and vibrates the printer because the motors trying to move, they dont stop.
I am sure for you this is a piece of cake to solve, but for me I have no clue what more I need to set or change to have a success with homing sensorless my X and Y.
Thank you again
Cheers
Javier -
@javcab Do you still have the end stop switches installed?
https://duet3d.dozuki.com/Wiki/Stall_detection_and_sensorless_homing
-
@tinken Hi, thanks for the reply
I have disconnected the cable for the Y end stop but the cable remains connected to the mainboard. The X end stop still connected and installed in the original position. Do I need to remove all of them from the mainboard and from the original position?
I have followed the instructions and guidance you send in the link for many hours but without success.
When I press home All, the process starts but then the Y and X crash with the limit corners and they try to still moving and of course the vibration you can feel it because the Y and Z try harder to move forward and I need to make an emergency stop and try again with other settings following the help from the duet site.
In the guidance, the person from the Duet team, who wrotes the guide for the Stall detection and sensorless homing has also an Ender 3, probably he can help sharing with me the gcode and I can try.
Cheers
Javier -
@javcab said in Homing sensorless in Ender 3:
; Endstops ; configure active-high endstop for low end on Y via pin io6.in M574 X1 Y1 S3
this isn't valid for RRF3
You should have
M574 X1 S3 M574 Y1 S3
-
@jay_s_uk Thank you for the correction. The problem still ocurrs after I have changed the parameters you sugested.
Probably I need to disconnect from the mainboard the end stops but I thought if I already did from the g.code that would be enough for set my homing sensorless
Do you have another tip to help me?
Thank you
Javier -
Can you send M122 and M98 P"config.g" and share the results here?
Dropping current to 20% may be too low.
And your homing speed may be too slow.Are these the stock ender 3 motors?