Error: Homing failed, also no print time estimation given



  • I've got two issues that may be related. The first is that when I do a G28, even though it homes successfully, it gives "Error: Homing failed" back in the console. My homing routine is as follows:

    • Stall detect homing for X and Y
    • Move to position to pick up a probing module
    • Call a macro to pick up the probe and use G1 -999 H1 to move Z until the module is picked up
    • Change probe type and move to probing position
    • Probe the bed with G30
    • Use a macro to put the probe module back down

    Could it be something to do with using macros?

    My second issue is that the print status then goes to 100% complete immediately and gives no estimations for finishing time.


  • Moderator

    Post your config.g and homeall.g
    What firmware? What board?



  • @Phaedrux

    This is with a duet 2 wifi 1.02 running firmware 2.02, web interface 1.21

    
    ; generated by RepRapFirmware Configuration Tool on Wed Sep 19 2018 20:20:59 GMT+0100 (British Summer Time)
    
    ; General preferences
    G90                                 ; Send absolute coordinates...
    M83                                 ; ...but relative extruder moves
    
    M667 S1                             ; Select CoreXY mode
    
    ; Network
    M550 PHypercube                     ; Set machine name
    M552 S1   
    
    M586 P0 S1                          ; Enable HTTP
    M586 P1 S0                          ; Disable FTP
    M586 P2 S0                          ; Disable Telnet
    
    ; Drives
    M569 P0 S1                          ; Drive 0 goes forwards
    M569 P1 S1                          ; Drive 1 goes forwards
    M569 P2 S1                          ; Drive 2 goes forwards
    M569 P3 S1                          ; Drive 3 goes forwards (was backwards pre 6/4/19)
    M350 X16 Y16 Z16 E16 I1             ; Configure microstepping with interpolation
    M92 X80 Y80 Z400 E412               ; Set steps per mm was 420 original, now 412 of 26/04/19
    M566 X1000 Y1000 Z50 E3000          ; Set maximum instantaneous speed changes (mm/min)   was 400x 400y 15/12 e was 150 as of 15/12   z was 12 as of 10/01/20
    M203 X30000 Y30000 Z1000 E18000        ; Set maximum speeds (mm/min) z was 500 as of 12/04/20
    M201 X1000 Y1000 Z60 E3000            ; Set accelerations (mm/s^2) was X1000 Y1000 z was 120 as of 10/01/20
    M906 X1200 Y1200 Z1200 E1500 I30     ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30                             ; Set idle timeout
    m572 d0:1 s0.0				;add pressure advance if wanted
    m584 z2
    
    ; Axis Limits
    M208 X0 Y0 Z0 S1                   ; Set axis minima
    M208 X200 Y200 Z200 S0              ; Set axis maxima
    
    ; Endstops
    M574 X1 Y2 S3                       ; Set endstops controlled by motor load detection
    M591 d0 p1 c3 s1   ;enable filament run out for e0, low when present, extruder e0 endstop
    
    ; Z-Probe
    
    m558 p5  I1 H3 F200 T18000 R0.1 b0 for picking up probe module
                
      
    
    G31 P50 X-27 Y17 z23.75            ;Set Z probe trigger value, offset and trigger height.
    M557 X0:173 Y17:200 S30          ; Define mesh grid
    
    ; Heaters
    M305 P0 T100000 B4138 C0 R4700      ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120                        ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 C0 R4700      ; Set thermistor + ADC parameters for heater 1 (was temp. 3950)
    M143 H1 S280                        ; Set temperature limit for heater 1 to 280C
    
    ; Fans
    M106 P0 S0.0 I0 F100 H-1           ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on fan at 50%
    M106 P1 S0.0 I0 F100 H-1              ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P2 S255 I0 F500 H-1              ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
    
    ; Tools
    M563 P0 D0 H1                       ; 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
    M570 H1 P10 T15
    ; Custom settings are not configured
    m501 ;yes they are
    
    
    
    

    My homing routine is as follows. I've indented the macros that are called:

    M915 Y S5 R0 F0 ;y homes first to ensure that X homes centrally
    M915 X S5 R0 F0
    M400
    M574 Y1 S3 
    M913 X75 Y75 
    G91
    G1 S1 Y-700 F4000
    G90
    M400 
    M913 Y100 
    G1 y100 f6000
    
    
    
    M915 X S5 R0 F0  ; x home
    M400
    M574 X1 S3 
    M913 X75 Y75 
    G91
    G1 S1 X-700 F4000
    G90
    M400 
    M913 X100 
    G1 X0 F6000
    
    
    
    
    
    M915 Y S5 R0 F0 ;y home
    M915 X S5 R0 F0
    M400
    M574 Y1 S3
    M913 X75 Y75 
    G91
    G1 S1 Y-700 F4000
    g92 y20
    G90
    M400 
    M913 Y100
    
    
    
    
    G28 Z
    
    ####### G28 Z ########
    
    m98 P"/Macros/pick_up_probe"
    
    ########## pick_up_probe ######
    
    G92 Z90 ;set Z height so that axis will move unhomed
    g91
    
    G1 Z10 F500 ; drop Z so module can be picked up
    
    G90
    
    
    g1 X8.1 Y169 F30000 ;move to probe pickup
    
    
    m574 z1 s2 ;configure endstop type for switch
    m558 p5  I1  F100 T6000 R0.6 b0 ;configure probe for picking up module
    
    G1 Z-999 F150 H1 ;dive z until picked up module
    
    G91 ;relative moves
    
    G92 Z30 ;set z axis to rough z position
    
    G1 Y22 F300 ;remove probe from holder
    
    G1 Z38 F2000 ;drop z to account for new probe height
    
    G90 ;absolute moves
    
    G1 X100 Y100 f30000 ;move to probe point
    
    
    M558 p8 I0 H1.5 F1000 T18000 R0 b0 ;configure probe for probing
    
    G30 ;do coarse home
    
    ######back to G28 Z#####
    
    m300 s880 p100 ;beep to signal probe contact
    g4 p120 ;dwell to wait for beep
    m558 f50 ;reduce feed rate for fine probe
    g30 ;probe z
    m300 s880 p100 ;beeps again
    g4 p200
    
    M558 F600 ;put feed back to normal
    ;G29 S0 mesh level if wanted
    
    m98 P"/Macros/put_down_probe"
    
    ########### put_down_probe #########
    G1 Z27 ;move to Z height 
    
    G1 X40 Y185 f30000 ; go to probe put down position, avoiding the probe module (hence two individual moves)
    
    G1 X8.1 f30000
    
    G1 Z3.5 F600 ;move to z height for module put down
    
    G1 Y180 F200 ;feed slowly into probe holder
    
    G1 Y169 F100
    
    G1 Z25 F200 ;increase Z to drop probe
    
    
    
    m574 z1 s2 ;configure endstop type for switch
    m558 p5  I1  F100 T6000 R0.6 b0 ;configure probe for picking up module
    
    g1 x100 y100 f6000 
    
    #####end of put_down_probe####
    #####end of G28 Z ######
    #####end of home all #####
    

    I appreciate there are a lot of lines in there! Thanks for your help!


  • Moderator

    May I ask that you update to 2.05.1 and update the DWC as well. You're quite out of date and any issues may have already been fixed.



  • @Phaedrux is 2.05.1 the latest firmware? 3.01 is the last one on the github?


  • Moderator

    2.05.1 is the last of the RRF2 stable line. 3.01 is in active development and will require some changes to your config.g and possibly other files.

    For the time being, please test with 2.05.1. Take a look at the release notes for the versions between 2.02 and 2.05.1.


Log in to reply