Bltouch randomly deploys probe



  • Hiya,

    It was working great for the last 4 months but now it randomly deploys pin down and up again.
    When doing that I can see on the web control status page Z-Probe goes red 1000ms.
    Nothing changed on the firmware side. I checked the wiring over and over and nothing wrong there.

    When I power up the printer nothing wrong either. Bltouch makes first test and its blue. After doing HOMEALL axis it starts deploy up and down. Bltouch is not getting red and I started to think it is being triggered by mainboard because I can see the z-probe status changes to red 1000mm/s.

    M280 P0 S120 I1 self test doing okay .
    M280 P0 S10 is okay
    M280 P0 S90 doing random deploys down and up.

    Any advice here?


  • Moderator

    Take the pin out and clean it and put it back in. The set screw on the top comes out.



  • Thanks. I did it with no success.
    Even though the pin is retracted M119 comes out "Endstops - Z: not stopped, Z probe: not stopped"
    Odd behaviour.

    tmp.PNG


  • Moderator

    How do you have it wired and how do you have it configured?
    Post a photo and config.g?



  • ; 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 S0                                         ; physical drive 3 goes forwards
    M569 P4 S0                                         ; physical drive 4 goes forwards
    M584 X0 Y1 Z2 E3:4                                 ; set drive mapping
    M350 X16 Y16 Z16 E16:16 I1                         ; configure microstepping with interpolation
    M92 X81.25 Y81.25 Z400.00 E100.00:100.00           ; set steps per mm
    M566 X900.00 Y900.00 Z60.00 E750.00:750.00         ; set maximum instantaneous speed changes (mm/min)
    M203 X9000.00 Y9000.00 Z200.00 E1200.00:1200.00    ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z60.00 E750.00:750.00         ; set accelerations (mm/s^2)
    M906 X1200 Y1200 Z1200 E1200:1200 I30              ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                            ; Set idle timeout
    M572 D0:1 S0.25					   ; Linear advance
    
    ; Axis Limits
    M208 X5 Y5 Z0 S1                                   ; set axis minima
    M208 X430 Y430 Z400 S0                             ; set axis maxima
    
    ; Endstops
    M574 X1 S1 P"xstop"                                ; configure active-high endstop for low end on X via pin xstop
    M574 Y1 S1 P"ystop"                                ; configure active-high endstop for low end on Y via pin ystop
    M574 Z1 S2                                         ; configure Z-probe endstop for low end on Z
    
    ; Z-Probe
    M950 S0 C"exp.heater7"                             ; create servo pin 0 for BLTouch
    M558 P9 C"zprobe.in+zprobe.mod" H5 F150 T9000      ; set Z probe type to bltouch and the dive height + speeds
    G31 P25 X-25 Y-25.3 Z0.3                           ; set Z probe trigger value, offset and trigger height
    M557 X60:420 Y40:420 S170                          ; define mesh grid
    
    ; Heaters
    
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4360 c0.00000000001     ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0 Q10                          ; create bed heater output on bedheat and map it to sensor 0
    M143 H0 S125                                       ; set temperature limit for heater 0 to 125C
    M307 H0 A165.1 C468.7 D2.5 S1.00 V25.2 B0          ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0                                            ; map heated bed to heater 0
    M308 S1 P"e0temp" Y"thermistor" T100000 B4360 c0.00000000001      ; 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 S280                                       ; set temperature limit for heater 1 to 280C
    M307 H1 A328.6 C150.5 D1.9 S1.00 V23.8 B0          ; disable bang-bang mode for heater  and set PWM limit
    M308 S2 P"e1temp" Y"thermistor" T100000 B4360 c0.00000000001      ; configure sensor 2 as thermistor on pin e1temp
    M950 H2 C"e1heat" T2                               ; create nozzle heater output on e1heat and map it to sensor 2
    M143 H2 S280                                       ; set temperature limit for heater 2 to 280C
    M307 H2 A375.0 C147.1 D1.5 S1.00 V23.8 B0          ; disable bang-bang mode for heater  and set PWM limit
    
    
    
    
    
    
    
    ; Fans
    M106 P0 S0.3 I0 F500 H-1                           ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S0 I0 F500 H-1                             ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P2 S0 I0 F500 H-1                             ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
    
    ; Tools
    M563 P0 S"ince" 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
    M563 P1 S"kalın" D1 H2 F0                          ; define tool 1
    G10 P1 X0 Y0 Z0                                    ; set tool 1 axis offsets
    G10 P1 R0 S0                                       ; set initial tool 1 active and standby temperatures to 0C
    

    This is how I wired.

    ![alt text](b3f9cb39-05ca-4908-b5c3-0e2100a0b24a-image.png image url)



  • Which version firmware are you using, as I recall this issue on an older version



  • @boldnuts Firmware 3.00 and 2.04 web control. It was working great for the last 3-4 months even with the old firmware. I just add an enclosure to my printer and that happened. I doubt it could be grounding issue but all the wiring are tight.



  • @secure Your M558 and M950 are round the wrong way.
    This is a working config from my RailCore

    ; Z probe and compensation definition
    M558 P9 C"^zprobe.in" H5 R1 F120 T6000 A5 S0.02  ;BLTouch connected to Z probe IN pin
    M950 S0 C"duex.pwm1"				             ;BLTouch Servo (S0) on duet pwm1
    

    I am sure the documentation is wrong, 3rd time I have seen this!

    HTH
    Paul


  • Moderator

    I'm not too sure about the order dependance of M950 and M558.

    The configurator gives this:

    ; Z-Probe
    M950 S0 C"exp.heater3"                         ; create servo pin 0 for BLTouch
    M558 P9 C"zprobe.in" H5 F120 T6000             ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X0 Y0 Z2.5                            ; set Z probe trigger value, offset and trigger height
    M557 X15:215 Y15:195 S20                       ; define mesh grid
    

    Some of the issue may be having +zprobe.mod included. By default it's selected in the configurator, but really it shouldn't be because it's used very infrequently by probes with an analogue input option.



  • @Phaedrux I remember using the configurator for my Ender3 with Maestro and was having the same problems.
    Just found this in the Gcode bible under M558

    M558 P9 C"^zprobe.in" H5 F120 T3000  ; BLTouch connected to Z probe IN pin
    M950 S0 C"exp.heater3" ; create servo/gpio 0 on heater 3 pin on expansion 
    

    I remember I had my commands M950 then M558, just would not work. DC42 gave me the commands I needed and put them in manually.
    Again I had used the configurator.

    P.



  • @PaulHew
    20.04.2020 01:22:30
    Warning: Z probe readings not consistent
    20.04.2020 01:22:27
    Error: Z probe was not triggered during probing move
    20.04.2020 01:22:09
    G28
    Error: Z probe was not triggered during probing move

    I tried this lately.

    ; Z-Probe
    M950 S0 C"exp.heater3"                             ; create servo pin 0 for BLTouch
    M558 P9 C"zprobe.in" H5 F150 T9000      ; set Z probe type to bltouch and the dive height + speeds
    G31 P25 X-25 Y-25.3 Z0.3                           ; set Z probe trigger value, offset and trigger height
    M557 X60:420 Y40:420 S170                          ; define mesh grid.
    
    

    Now it is getting crazy 😃 I think it is getting in test mode.
    I should get rid of this device before 🙀



  • @secure said in Bltouch randomly deploys probe:
    Is your Z really 0.3? in G31? Seems a bit low maybe?

    M558 needs to be before the M950.
    In console, just put the M950 S0 C"exp.heater3", so effectively it is now AFTER the M558.

    HTH

    P.



  • @PaulHew said in Bltouch randomly deploys probe:

    @secure said in Bltouch randomly deploys probe:
    Is your Z really 0.3? in G31? Seems a bit low maybe?

    M558 needs to be before the M950.
    In console, just put the M950 S0 C"exp.heater3", so effectively it is now AFTER the M558.

    HTH

    P.

    Thanks. I did it. It didnt worked.

    Thanks for all your help. This thing is a waste of time and I dont want to ruin another day on it. I will manually probe Z and contunie printing.



  • Wow!
    I found it!
    I was running two PSUs.
    One 24v psu for printer duet board.
    One 12v small psu to power up just leds around the printer and duet board cooling fans.

    They were using same parallel AC ground.
    My gut feelings told me to cut the small psu ground wire.
    That fix it!

    Odd but fixed.
    Anyway I will get rid of bltouch with smt more relaible


Log in to reply