Help! "Error: G30: Z probe 0 not found" upgrading RRF2 -> RRF3



  • Hi!
    Recently I've upgraded my Duet board from RRF2 to RRF3. After this upgrade I'm facing an issue with G30 S-1. Sending it gives me error:

    Error: G30: Z probe 0 not found
    

    I'm using a switch, which is connected to e0 stop. This setup worked fine on RRF2. Right now I have no idea what to do.
    Please help! Thanks!

    Sorry if I posted in a wrong place.

    M115

    FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.1.1 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-05-19b2
    

    M98 P"config.g"

    HTTP is enabled on port 80
    FTP is disabled
    TELNET is disabled
    Error: Invalid Z probe type 4
    Error: Invalid Z probe index
    Error: Heater 0 not found
    Error: Heater 2 not found
    Error: Heater 3 not found
    Error: Heater 4 not found
    Error: Heater 5 not found
    Error: Heater 6 not found
    Error: Heater 7 not found
    

    config.g

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Oct 11 2020 19:02:47 GMT+0200 (Central European Summer Time)
    
    ; General preferences
    G90                                                ; send absolute coordinates...
    M83                                                ; ...but relative extruder moves
    M550 P"AKL Plus"                                   ; set printer name
    M665 R138.023 L281.462 B105 H260                   ; Set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0                                      ; put your endstop adjustments here, or let auto calibration find them
    
    ; 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 P3 S1                                         ; physical drive 3 goes forwards
    M584 X0 Y1 Z2 E3                                   ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z80.00 E385.00                   ; set steps per mm
    M566 X300 Y300 Z300 E300                           ; set maximum instantaneous speed changes (mm/min)
    M203 X12000 Y12000 Z12000 E12000                   ; set maximum speeds (mm/min)
    M201 X2000.00 Y2000.00 Z2000.00 E2000.00           ; set accelerations (mm/s^2)
    M906 X1000 Y1000 Z1000 E1000 I30                   ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                            ; Set idle timeout
    
    ; Axis Limits
    M208 Z0 S1                                         ; set minimum Z
    
    ; Endstops
    M574 X2 S1 P"xstop"                                ; configure active-high endstop for high end on X via pin xstop
    M574 Y2 S1 P"ystop"                                ; configure active-high endstop for high end on Y via pin ystop
    M574 Z2 S1 P"zstop"                                ; configure active-high endstop for high end on Z via pin zstop
    
    ; Z-Probe
    M558 P4 C"e0stop" H10 F100 T6000            	   ; set Z probe type to switch and the dive height + speeds
    G31 P1000 X0 Y0 Z23.022                            ; set Z probe trigger value, offset and trigger height
    M557 R110 S10                                      ; define mesh grid
    
    ; Heaters
    M140 H-1                                           ; disable heated bed (overrides default heater mapping)
    M143 H1 S280                                       ; set temperature limit for heater 1 to 280C
    M308 S1 P"e0temp" Y"thermistor" T100000 B4138      ; configure sensor 0 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1                               ; create nozzle heater output on e0heat and map it to sensor 0
    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 C"PC fan" S0 H-1                           ; set fan 0 name and value. Thermostatic control is turned off
    M950 F1 C"fan1" Q500                               ; create fan 1 on pin fan1 and set its frequency
    M106 P1 C"HE fan" S1 H1 T45                        ; set fan 1 name and value. Thermostatic control is turned on
    
    ; Tools
    M563 P0 S"hot end" 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
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    M501                                               ; load saved parameters from non-volatile memory
    T0                                                 ; select first tool
    
    
    


  • @BananaMuffin said in Help! "Error: G30: Z probe 0 not found" upgrading RRF2 -> RRF3:

    Error: Invalid Z probe type 4

    https://duet3d.dozuki.com/Wiki/Gcode#Section_M558_in_RepRapFirmware_Num_3

    Z probe types 4, 6 and 7 are no longer supported. Instead, use type 5 (filtered digital) or 8 (unfiltered digital) and use the C parameter to specify the input. Note, if your Z probe is connected to the Z endstop input, in RRF 3.0 on Duet 2 boards only (not in RRF 3.01 and later, and not in RRF 3.0 on Duet 3), that input is by default pre-assigned to be used by the Z endstop, so you must free it up first.



  • Wow, that was a fast reply.

    So:

    M558 P5 C"e0stop" H10 F100 T6000
    

    did the job.

    Cheers!


  • Moderator

    What a great first post! It contained all the needed information to provide a quick and accurate solution. I wish they were all like this!


Log in to reply