Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    BL Touch stops working after a print finishes

    Scheduled Pinned Locked Moved
    General Discussion
    4
    14
    613
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dc42undefined
      dc42 administrators @Phaedrux
      last edited by dc42

      @eeffoc when it stops working, does the BLTouch flash red? That indicates it is in an error state. There is a special M280 command to reset it.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      eeffocundefined 1 Reply Last reply Reply Quote 0
      • eeffocundefined
        eeffoc @Phaedrux
        last edited by

        @phaedrux
        homeall.g

        M201 X500.00 Y500.00		; Reduce acceleration for homing
        
        ; BLTouch
        M280 P0 S160           		; Precautionary alarm release
        M280 P0 S90            		; Ensure the pin is raised
        
        G91                     	; relative positioning
        G1 H2 Z5 F6000          	; lift Z relative to current position
        G1 H1 X-625 Y605 F3600 		; move quickly to X and U axis endstops and stop there (first pass)
        G1 H1 X-625 F1800 			; move quickly to X and U axis endstops and stop there (first pass)
        G1 H1 Y605 F1800 			; move quickly to X and U axis endstops and stop there (first pass)
        
        ;G1 H2 X5 Y-5 F6000      	; go back a few mm
        G1 X5 Y-5 F6000      	; go back a few mm
        
        G1 H1 X-625 Y605 F360  		; move slowly to X and U axis endstops once more (second pass)
        G1 H1 X-625 F360  			; move slowly to X and U axis endstops once more (second pass)
        G1 H1 Y605 F360  			; move slowly to X and U axis endstops once more (second pass)
        
        M201 X3000 Y3000			; Return to full acceleration
        
        G90                     	; absolute positioning
        G1 X150 Y150 F10000 		; go to center of the bed (300x300)
        G30                     	; home Z by probing the bed
        
        G91                    		; relative positioning
        G1 Z5 F100             		; lift Z relative to current position
        G90                    		; absolute positioning
        

        config.g

        ; General preferences
        G90                                     ; send absolute coordinates...
        M83                                     ; ...but relative extruder moves
        M550 P"V-Core 3"                        ; set printer name
        M669 K1                                 ; CoreXY
        G29 S1                                  ; Set Units to Millimeters
        
        ; Network
        ; M552 P0.0.0.0 S1                        ; enable network and acquire dynamic address via DHCP
        M552 S1 P"******** "						; enable wifi and acquire dynamic address via DHCP
        M586 P0 S1                              ; enable HTTP
        M586 P1 S0                              ; disable FTP
        M586 P2 S0                              ; disable Telnet
        
        ; Drives S1 is forward S0 for reverse
        M569 P0.0 S0 D3                         ; physical drive 0.0 goes reverse - Z Left
        M569 P0.1 S0 D3                         ; physical drive 0.1 goes reverse - Z Rear
        M569 P0.2 S0 D3                         ; physical drive 0.2 goes reverse - Z Right
        M569 P0.3 S1 D2                         ; physical drive 0.3 goes forwards - XY Right
        M569 P0.4 S1 D2                         ; physical drive 0.4 goes forwards - XY Left
        M569 P0.5 S0 D3                         ; physical drive 0.5 goes reverse - Extruder
        M584 X0.4 Y0.3 Z0.0:0.1:0.2 E0.5        ; set drive mapping
        M350 X16 Y16 Z16 E16 I1                 ; configure microstepping with interpolation
        
        M92 X80.00 Y80.00 Z800.00               ; set steps per mm
        M906 X1000 Y1000 Z800 I30               ; set motor currents (mA) and motor idle factor in per cent
        M84 S30                                 ; Set idle timeout
        
        ;M566 X400.00 Y400.00 Z6.00 E120.00 P1          ; set maximum instantaneous speed changes (mm/min)
        M566 X300.00 Y300.00 Z6.00 E120.00 P1          ; set maximum instantaneous speed changes (mm/min) (also known as Jerk)
        M203 X10800.00 Y10800.00 Z1000.00 E3600.00     ; set maximum speeds (mm/min)
        M201 X3000.00 Y3000.00 Z100.00 E3600.00        ; set accelerations (mm/s^2)
        
        ; Axis Limits
        M208 X0 Y0 Z0 S1                               ; set axis minima
        M208 X310 Y300 Z300 S0                         ; set axis maxima
        
        ; Endstops
        M574 X1 S1 P"io0.in"                           ; configure active high endstops
        M574 Y2 S1 P"io1.in"                           ; configure active high endstops
        ; M574 Z1 S2                                     ; configure Z-probe endstop for low end on Z
        
        M671 X-4.5:150:304.5 Y-4.52:305:-4.52 S5       ; define positions of Z leadscrews or bed levelling screws
        M557 X20:280 Y20:280 P5                        ; define 5x5 mesh grid
        
        ; Heaters
        M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed"    ; configure sensor 0 as thermistor on pin temp0
        M950 H0 C"out0" T0                                     ; create bed heater output on out5 and map it to sensor 0
        M307 H0 B0 S1.00                                       ; disable bang-bang mode for the bed heater and set PWM limit
        M140 H0                                                ; map heated bed to heater 0
        M143 H0 S110                                           ; set temperature limit for heater 0 to 110C
        
        ;; Run Bed PID Tune!! Bellow is an example for a 300x300 bed
        ;; M303 H0 S100
        M307 H0 B0 R0.535 C412.4 D2.17 S1.00
        
        ; Fans
        M950 F0 C"out3" Q500                   ; create fan 0 on pin out3 and set its frequency
        M106 P0 C"Hotend Fan" S0 H1 T45 L255   ; set fan 0 name and value. Thermostatic control turned on for Hotend
        M950 F1 C"out4" Q500                   ; create fan 1 on pin out4 and set its frequency
        M106 P1 C"Layer Fan" S0 H-1 L255       ; set fan 1 name and value. Thermostatic control is turned off
        
        ; Tools
        M563 P0 D0 H1 F1           ; 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
        
        M950 H1 C"out1" T1         ; create nozzle heater output on out1 and map it to sensor 1
        M307 H1 B0 S1.00           ; disable bang-bang mode for heater and set PWM limit
        M143 H1 S280               ; set the maximum temperature in C for heater set back to S250 after hot tighten at S270
        
        ; EVA 2 / BMG / E3D V6
        
        M92 E813.7 ;E830          ; set extruder steps per mm, 0.9 angle/step (LDO Pancake)
        M906 E800         ; set extruder motor current (mA) and idle factor in per cent
        
        M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.060000e-8 A"Hotend"  
        ;; Run Heater PID Tune!!
        ;; M303 T0 S225  ; S210 for PLA, S250 for PETG
        M307 H1 B0 R1.919 C205.0:163.3 D5.95 S1.00 V24.3
        
        ; Retraction
        ; Sets the retract length used by the G10 and G11 firmware retraction and reprime commands
        ;M207 S4.0 F2400 Z0.075
        
        ; Z-Probe
        ;; Inductive Probe
        ; M558 P5 C"!io3.in" H5 F400 T5000      ; set Z probe type to unmodulated and the dive height + speeds
        ; G31 P500 X-30 Y-15 Z0.20              ; set Z probe trigger value, offset and trigger height, more Z means closer to the bed
        ; BLTouch
        M950 S0 C"io2.out"                     	; Create a servo pin on io2
        M558 P9 C"io2.in" H5 F240 T10800 A5    	; set Z probe type to unmodulated and the dive height + speeds
        G31 P25 X-28.00 Y-13.00 Z2.60          	; set Z probe trigger value, offset and trigger height, more Z means closer to the bed
        
        ; M404 N1.75 D0.4                         ; Filament width and nozzle diameter
        T0
        
        ; Pressure Advance
        ; M572 D0 S0.10
        M572 D0 S0.025
        

        phone mount arm_0.2mm_PLA_33m.gcode
        homeall.g
        config.g

        1 Reply Last reply Reply Quote 0
        • eeffocundefined
          eeffoc @dc42
          last edited by

          @dc42 no it doesn't, the led is a solid red, no flashing.

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            M98 P"0:/macros/BLTouch/BLTouch Stow" ; Retract probe in case it is down
            M98 P"0:/macros/BLTouch/BLTouch Reset" ; Reset probe
            
            M98 P"0:/macros/2_Heaters Off" ; calls the heaters off macro
            

            What do you have in these macros?

            Can you also post bed.g?

            Z-Bot CoreXY Build | Thingiverse Profile

            eeffocundefined 1 Reply Last reply Reply Quote 0
            • eeffocundefined
              eeffoc @Phaedrux
              last edited by eeffoc

              @Phaedrux
              BLTouch Stow

              M402 P0 ;
              

              BLTouch Reset

              M280 P0 S160 ;
              

              Heaters off

              G10 P0 R0 S0	; Set Hotend active and standby to 0 and release
              M140 S0		; Set bed to 0 and release
              

              bed.g

              ; this script compensates for what the Z offset is
              ; so if G31 P500 X-30 Y-15 Z1.7 then first probe will be at
              ; X30 Y20 (when G30 P0 X0 Y5)
              
              M561 						; clear any bed transform
              
              G30 P0 X5 Y15 Z-99999 		; probe near a leadscrew
              G30 P1 X150 Y285 Z-99999 	; probe near a leadscrew
              G30 P2 X270 Y15 Z-99999 S3 	; probe near a leadscrew and calibrate 3 motors
              
              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                @eeffoc said in BL Touch stops working after a print finishes:

                BLTouch Stow
                M402 P0 ;

                Since you only have a single probe, I would suggest removing the P0 and seeing if that helps.

                @eeffoc said in BL Touch stops working after a print finishes:

                The problem is after a print finishes or is cancelled the BL Touch no longer responds, I send a M401 and nothing happens, I send a M402 or a M280 command and nothing happens.

                Does it respond if you try to home all?

                Z-Bot CoreXY Build | Thingiverse Profile

                eeffocundefined 1 Reply Last reply Reply Quote 0
                • eeffocundefined
                  eeffoc @Phaedrux
                  last edited by

                  @phaedrux

                  Removing the P0 from the BL Touch Stow had no effect.

                  the probe does not respond to a home all unless the control board gets reset.

                  power on the printer and control board, home all and the probe responds and does its thing. after a print or even part way through a print if I cancel it the probe no longer responds.

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by Phaedrux

                    When it's in a state where it won't respond, can you send M558 and see what it responds with?

                    I feel like it's a configuration issues. It may be helpful to use the online config tool and generate a new config file set for testing. Backup your sys folder and replace it with the fresh set and do some careful testing.

                    https://configtool.reprapfirmware.org/Start

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • eeffocundefined
                      eeffoc
                      last edited by

                      @phaedrux

                      This took me a while but I believe I have things sorted out, re-ran the configurator and made a right mess of things... finally got things sorted and working again but the problem persisted.

                      Upgraded the firmware from 3.3 to 3.4 but the problem persisted.

                      Moved the BLTouch from io2 to io3 on the board and updated the config.g but the problem persisted.

                      Removed the start and end gcode and started from scratch.

                      In the end I ended up changing my hotend temp commands in the start gcode and so far it looks like things are working properly.
                      According to the documentation the M109 is Deprecated

                      Removed:

                      M109 S185
                      

                      Replaced with:

                      M568 P0 S185 A2                                         ; set extruder temp
                      M116                                                    ; wait for extruder temp
                      

                      Now I get to play with installing and setting up the 1LC v1.2

                      fcwiltundefined 1 Reply Last reply Reply Quote 0
                      • fcwiltundefined
                        fcwilt @eeffoc
                        last edited by

                        @eeffoc

                        Remember this about M116 by itself:

                        ...waits for all temperatures and other slowly-changing variables to arrive at their set values.

                        Frederick

                        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                        eeffocundefined 1 Reply Last reply Reply Quote 0
                        • eeffocundefined
                          eeffoc @fcwilt
                          last edited by

                          @fcwilt Would it be recommended adding a P0 to the M116?

                          fcwiltundefined 1 Reply Last reply Reply Quote 0
                          • fcwiltundefined
                            fcwilt @eeffoc
                            last edited by

                            @eeffoc said in BL Touch stops working after a print finishes:

                            @fcwilt Would it be recommended adding a P0 to the M116?

                            I would so it would not inadvertently wait on something else.

                            Frederick

                            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA