BLTouch Reprap 3 - Duet 2 Wifi



  • Running into issues with homing with BLTouch on Duet2Wifi with reprap firmware 3 (not beta)

    Probe works. tested deploy and retract.. no problem

    When script is run once it gets to this command
    G1 H1 Z-305 F1800 ; move Z down until the endstop is triggered

    Probe is not deployed, Z does not move and I get this error and then nothing happens

    G28 SetPositions called when DDA ring not empty



  • This is my homez.g

    ; homez.g
    ; called to home the Z axis
    ;
    G91
    
    ; Lift Z
    G1 Z5 F6000 H2
    G90
    ; Go to first bed probe point and home the Z axis
    G1 X100 Y138 F6200
    G30
    
    ; Uncomment the following lines to lift Z after probing
    G91
    ;G1 Z3 F1000
    G90
    


  • I don't see anything obviously wrong here, and is mostly identical to mine:

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.5 on Wed Jan 08 2020 15:33:51 GMT-0800 (Pacific Standard Time)
    G91                   ; relative positioning
    G1 H2 Z10 F6500       ; lift Z relative to current position
    G90                   ; absolute positioning
    G1 X154 Y104 F6000 ; go to first probe point
    G30                   ; home Z by probing the bed
    
    ; Uncomment the following lines to lift Z after probing
    G91                   ; relative positioning
    G1 Z5 F5000       ; lift Z relative to current position
    G90                   ; absolute positioning
    G0 X10
    

    Can you post your config.g, deployprobe.g and retractprobe.g?



  • Deploy -----------------------------------------------

    M280 P0 S10 ; send control signal to BLTouch through servo/gpio 0
    

    Retract -----------------------------------------------

    M280 P0 S90 ; send control signal to BLTouch through servo/gpio 0
    

    Homeall -----------------------------------------------

    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.5 on Wed Jan 08 2020 19:38:55 GMT-0500 (Eastern Standard Time)
    
    M913 X75 Y75 Z100	; reduce motor power
    
    M400			; make sure everything has stopped before we make changes
    M915 H400 X Y S0 R0 F0	; set X and Y to sensitivity 0, do nothing when stall, unfiltered
    ;M574 X1 Y1 S3		; set endstops to use motor stall
    
    G91			; use relative positioning
    G1 H2 Z5 F6000    	; lift Z relative to current position
    
    G4 P500			; wait 500msec
    G1 H1 X-285 F3000 	; move quickly to X axis endstop and stop there (first pass)
    G4 P500			; wait 500msec
    G1 X15			; move away from home
    G4 P500			; wait 500msec
    M400			; make sure everything has stopped before we make changes
    
    G1 H1 Y-285 F3000 	; move quickly to Y axis endstop and stop there (first pass) 
    G4 P500			; wait 500msec
    G1 Y15			; move away from home
    G4 P500			; wait 500msec
    M400			; make sure everything has stopped before we make changes
    
    G1 H2 Z20 F6000    	; lift Z relative to current position
    G1 X150 Y150 F2000 	; Centre Print head
    G1 H1 Z-305 F1800 	; move Z down until the endstop is triggered
    G92 Z0            	; set Z position to axis minimum (you may want to adjust this)
    
    G1 H2 Z20 F6000    	; lift Z relative to current position
    M400			; make sure everything has stopped 
    M913 X100 Y100          ; XY motors to 100% current
    G90			; back to absolute positioning
    

    Config,g -----------------------------------------------

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.5 on Wed Jan 08 2020 19:38:55 GMT-0500 (Eastern Standard Time)
    
    ; General preferences
    G90                                              ; send absolute coordinates...
    M83                                              ; ...but relative extruder moves
    M550 P"TitanXY"                                  ; set printer name
    
    M667 S1                                          ; 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 backwards
    M569 P1 S0                                    ; physical drive 1 goes backwarsa
    M569 P2 S0                                       ; physical drive 2 goes backwards
    M569 P3 S0                                       ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E3                                 ; set drive mapping
    M350 X32 Y32 Z32 I0                              ; configure microstepping without interpolation
    M350 E16 I1                                      ; configure microstepping with interpolation
    M92 X400 Y400 Z1593 E409             ; set steps per mm
    M566 X600 Y600 Z20 E800 ; Set maximum instantaneous speed changes (mm/min)
    M203 X9000 Y9000 Z1500 E10000 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z250 E5000 ; Set accelerations (mm/s^2)
    M906 X1200 Y1200 Z1500 E1100 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout
    M572 D0 S0.15 ; Pressure Advance                                        ; Set idle timeout
    
    ; Axis Limits
    M208 X0 Y0 Z0 S1                                 ; set axis minima
    M208 X270 Y270 Z300 S0                           ; set axis maxima
    
    ; Endstops
    M574 X1 S3                                    ; configure sensorless endstop for low end on X
    M574 Y1 S3                                    ; configure sensorless endstop for low end on Y
    
    
    ; BLTouch
    ; Z-Probe
    M950 H3 C"nil"                                 ; Disable heaters h7 to free up pins
    
    M558 P9 C"^zprobe.in" H10 F800 T2000            ; set Z probe type to bltouch and the dive height + speeds
    M950 S0 C"exp.heater3"                         ; create servo pin 0 for BLTouch
    G31 X20 Y0 Z3.3 P25 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
    M557 X15:215 Y15:195 S20                         ; 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
    M143 H0 S120                                     ; set temperature limit for heater 0 to 120C
    M307 H0 A61.9 C160.5 D1.3 B0 S0.5 v24.4          ; disable bang-bang mode for the nozzle heater and set PWM limit
    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
    M143 H1 S285                                     ; set temperature limit for heater 1 to 280C
    M307 H1 A583.7 C261.1 D3.9 B0 S1.0 v24.3          ; disable bang-bang mode for the nozzle 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
    M950 F1 C"fan1" Q500                             ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1 T45                                ; set fan 1 value. Thermostatic control is turned on
    M950 F2 C"fan1" Q500                             ; create fan 2 on pin fan1 and set its frequency
    M106 P2 S1 H1 T45                                ; set fan 2 value. Thermostatic control is turned on
    
    ; 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 are not defined
    

    Hope this helps



  • @Adamfilip said in BLTouch Reprap 3 - Duet 2 Wifi:

    G1 H1 Z-305 F1800 ; move Z down until the endstop is triggered
    G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

    In your homeall you need to replace this with a G30. Right now you're using an endstop move command.



  • That fixed it.. Thank you so much!!


Log in to reply