BL Touch deploys on reset



  • Hello, I recently noticed problem I didn't have before. I was updatig my config.g file and duet 2 wifi (v1.04) asked me to reboot and for some reason my BL Touch probe deployed (it's actually triangelab clone). I started playin with my duet and decided to update RRF to 2.05.1. Now when I upload config + reset/press "emergency stop" my duet:
    a) deploys probe
    b) loops and deploys -> retracts probe till another reset (it stays in last position) or powering off

    Usualy my probe just did test at turning printed on and that's it.

    config.g

    ; General preferences
    G90                                     ; send absolute coordinates...
    M83                                     ; ...but relative extruder moves
    M550 P"Filamentoinator"                 ; 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 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 X100.00 Y100.00 Z400.00 E415.00     ; set steps per mm 
    
    M566 X480.00 Y480.00 Z60.00 E2000.00      ; set maximum instantaneous speed change (mm/min)  	 		
    M203 X12000.00 Y12000.00 Z600.00 E7200.00 ; set maximum speeds (mm/min) 
    M201 X2000.00 Y2000.00 Z300.00 E5000.00   ; set maximum accelerations (mm/s^2)
    		
    M906 X650 Y650 Z550 E550 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 X200 Y200 Z200 S0                  ; set axis maxima
    
    ; Endstops
    M574 X1 Y2 S1                           ; set active high endstops
    M574 Z2 S2                              ; set endstops controlled by probe
    
    ; Z-Probe
    M307 H3 A-1 C-1 D-1                     ; disable heater on PWM channel for BLTouch
    M558 P9 H5 F120 T6000                   ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X0 Y0 Z0.93                    ; set Z probe trigger value, offset and trigger height (Z0.77)  
    M557 X15:180 Y15:200 S20                ; define mesh grid
    
    
    ; Heaters
    M305 P0 T100000 B4138 R4700             ; set thermistor + ADC parameters for heater 0
    M143 H0 S100                            ; set temperature limit for heater 0 to 100C
    M305 P1 T100000 B4138 R4700             ; set thermistor + ADC parameters for heater 1
    M143 H1 S265                            ; set temperature limit for heater 1 to 265C
    
    ; Fans
    M106 P0 S0 I0 F500 H-1                  ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45               ; set fan 1 value, PWM signal inversion and frequency. 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
    
    ; ETC
    M572 D0 S0.075			     ; pressure advance 
    
    ; Power recovery
    ;M911 S23.0 R23.8 P"M140 S0 M104 S0 M913 X0 Y0 G91 M83 G1 Z3 E-2 F1000" ;not in use yet
    
    ; LED STRIP
    M307 H2 A-1 C-1 D-1
    
    M501	
    

    deployprobe.g

    M280 P3 S10 I1  ; deploy BLTouch
    

    retractprobe.g

    M280 P3 S90 I1 ; retract BLTouch
    

    Also video:
    https://streamable.com/2ov2r4



  • Take the I1 off of your deploy and retract and try again.

    From this
    M280 P3 S10 I1
    to this
    M280 P3 S10
    

    HTH

    Paul



  • @PaulHew said in BL Touch deploys on reset:

    Take the I1 off of your deploy and retract and try again.

    From this
    M280 P3 S10 I1
    to this
    M280 P3 S10
    

    Already tried that without succes :c



  • I'm unsure if double posting is fine but I think I've found source of my problem. It's bit unusual. So recently I moved to 24V. Unfortunately I'm curently out of 24V fans so I decided to use buck converter (to run radiator fan) I had and connected it to PSU. Seems that my converter makes enough noise to disturb proper work of probe in such situation like rebooting. Unfortunately I don't have acces to oscilloscope right now to measure noise level, but I think problem is solved.


  • Moderator

    I have this in my config.g at the end to clear any errors on the bltouch and retract the pin just in case.

    ; BLTOUCH PREP
    ;
    G4 S1
    M280 P3 S160 I1 		; Alarm Release and Push-Pin UP just in case it's in alarm and deployed
    G4 S1
    M402				; Retract probe just in case it's down
    


  • @AlcoMatt said in BL Touch deploys on reset:

    I'm unsure if double posting is fine but I think I've found source of my problem. It's bit unusual. So recently I moved to 24V. Unfortunately I'm curently out of 24V fans so I decided to use buck converter (to run radiator fan) I had and connected it to PSU. Seems that my converter makes enough noise to disturb proper work of probe in such situation like rebooting. Unfortunately I don't have acces to oscilloscope right now to measure noise level, but I think problem is solved.

    That's fantastic information. Those little critters can be ornery....



  • A bit over month passed and decided to dig this thread again. Problem is even more strange. I replaced fans for 24V but I wanted to reduce PSU fan noise so I put new step-down converter. Printer became quieter, everything worked fine for a while. Today I wanted to run print and I couldn't even home my printer (z probe 1000 error), even though probe was retracted and non-blinking. Decided to make test and remove fan with converter. Printer started working but problem with randomly rectracting probe at Duet reset appears again (like in video in first link). Now I'm messed, is PSU making too much noise to handle by Duet (add additional filtering?) or, exactly or what?


  • Moderator

    What is the PSU?



  • @Phaedrux Actually I'd say brand new "no-name" and I feel that might the point.



  • Okay, so I did small research and I think all problems are solved. A bit of information, maybe someone else will also struggle with similar problem.

    1. Using buck/boost converters near signal wires (like probes) might induce noise and cause problems
    2. If you struggle with unstable printer work/your voltage readings (in DWC) vary under load (even if PSU ratings are higher than requirements of your setup) check your PSU in diffrent position (horizontal/vertical), if it makes diffrence you probably have problem with cold solder joints - if you are familiar with soldering and electronics - redo solder joints in your PSU - if not, better not to do it yourself.

    I did small research for my printer, decided to do some tests with opened enclosure of PSU to measure some things and noticed, when I test it laying flat, there is no problem (in printer PSU is mounted vertically), as soon as I mount it back, problem occured again.
    Decided to redo all solder joints on PCB (I couldn't find anything that looked really suspicious) with special attention for filtering sections, added also some lead-solder. After that I don't have any problems like before.
    I think problem is solved.