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

    Bl touch problem and slow homing speed after upgrade to 3.5.4

    Scheduled Pinned Locked Moved
    General Discussion
    3
    8
    118
    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.
    • kilopundefined
      kilop
      last edited by kilop

      Hi all

      After years of using 2.0.2 firmware I decided to upgrade my HEVO to newest 3.5.4 firmware and I fallowed documentation so fist update to 3.0 then to 3.2.2 and then to 3.5.4 the only change I done was a change of pin for bl-touch pwm signal from heater 7 ( on 2.0.2) to heater 3 (pin 8 on duet wifi 1.02) but this was made after i observed problems with bltouch just to check.
      Now i think I converted my config correctly for 3.5.4 fw but I observed that travels speed is super low ( when moving axies via DWC ) and the most important when BLtouch touches first time bed when trying to home Z it release pin after it goes up and meantime bed is still moving up and not stoping after first touch and not reverse movement ( down ) after that touch . it looks like it is not making any pause on bl touch behavior after first touch and also Z axis continuing moving in the direction of the homing 😞

      I really need some help from you guys as I didin't use that printer for some time and now it's needed to print soem bigger parts and I just can not do it 😞

      I was even thinking of erase duet somehow and just put 3.5.4 is there way of doing that as well , maybe something went wrong during updates ?

      should I move bl-touch to heater 7 pin in duet like i had it befoure ?

      My old config for 2.0.2 firmware :

      ; Configuration file for Duet WiFi (firmware version 1.21)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool on Sun Sep 09 2018 19:41:51 GMT+0100 
      
      ; General preferences
      G90                                                ;* Send absolute coordinates...
      M83                                                ;* ...but relative extruder moves
      
      M667 S1                                            ; Select CoreXY mode   M669 K1 for 3.5.4
      
      ; Network
      M550 Pduetwifi                                     ; Set machine name
      M551 xxxx                                         ; Set password
      M552 S1                                            ; Enable network
      M587 S"xxxx" P"xxxx"	       ; WiFi Home
      M586 P0 S1                                         ;* Enable HTTP
      M586 P1 S1                                         ;* Enable FTP
      M586 P2 S1                                         ;* Enable Telnet
      
      ; Drives
      M569 P0 S0                                         ;* Drive 0 goes backwards X
      M569 P1 S0                                         ;* Drive 1 goes backwards Y
      M569 P2 S0                                         ;* Drive 2 goes backwards Z
      M569 P3 S1                                         ;* Drive 3 goes forwards E0
      M350 X16 Y16 Z16 E16 I1                            ;* Configure microstepping with interpolation
      M92 X80 Y80 Z1600 E406.79                          ;* Set steps per mm
      ;;M566 X600 Y600 Z12 E120                          
      M566 X600 Y600 Z12 E300							   ;* Set maximum instantaneous speed changes (mm/min)	
      ; M203 X6000 Y6000 Z300 E1200
      M203 X8000 Y8000 Z100 E9000                        ;* Set maximum speeds (mm/min)
      M201 X1000 Y1000 Z50 E500                          ;* Set accelerations (mm/s^2)
      ;;M201 X2000 Y2000 Z50 E5000
      M906 X900 Y900 Z1100 E800 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 X296 Y300 Z326.5 S0                           ;* Set axis maxima
      
      ; Endstops
      M574 X1 Y1 S1                                      ;* Set active high endstops
      M574 Z1 S2 					   					   ;;* Define Z to use Probe. Home to Min
      
      ; Filament sensor
      M591 D0 P1 C3 S1				   				   ;* Set Filament sensor Simple type (High) for extruder drive 0, connected to endstop input 3 (E0)
      
      ; Z-Probe
      M307 H7 A-1 C-1 D-1				   					;; Disable heater on PWM channel for BLTouch
      ;;M558 P0 H5 F120 T6000                             ;* Disable Z probe but set dive height, probe speed and travel speed  F120
      ;;M558 P9 X0 Y0 Z1 H5 F120 T6000 	           		;* Set Z Probe to type Switch or Digital output where Z probe connector is used. Used for z only.;
      M558 P9 H5 F200 T6000                              	;* Set Z probe type to bltouch and the dive height + speeds Set Z probe type/mode 5. H=Dive Height. F=Speed the bed moves
      ;;G31 P50 X24 Y2 Z1.503				   				;* Set Z probe trigger value, offset and trigger height  zmienic o 0.15~0.20 
      ;;G31 P50 X24 Y2 Z1.253
      G31 P50 X24 Y2 Z1.303
      M557 X25:285 Y25:285 S86.66                        ;* Define mesh grid
      
      
      ; Heaters  ***
      M307 H0 B0 S1.00                                   ; Disable bang-bang mode for the bed heater and set PWM limit
      M305 P0 T100000 B4138 R4700                        ; Set thermistor + ADC parameters for heater 0
      ;M305 P0 T100000 B4725 R7.06e-8 1                  ; Set thermistor + ADC parameters for heater 0 ATC Semitec 104GT-2/104NT-4-R025H42G triangelabs
      M143 H0 S120                                       ; Set temperature limit for heater 0 to 120C
      ;M305 P1 T100000 B3950 C3.000000e+1 R4700          ; Set thermistor + ADC parameters for heater 1
      ;;M305 P1 T100000 B3950 R4700 H30 L0 		   ; dla tego nowego w metalu
      M305 P1 T100000 B4138 R4700                        ; Set thermistor + ADC parameters for heater 1
      ;M305 P1 T100000 B4138 C0 R4700		           ; Set thermistor + ADC parameters for heater 1
      M307 H1 A673.7 C154.3 D6.4 S1			   ;; Wyniki zPID tuning do 210C  M303 H1 P1 S210 --> M307 Heater 1 model: gain 673.7, time constant 154.3, dead time 6.4, max PWM 1.00, calibration voltage 25.0, mode PID, inverted no, frequency default 
      M307 H1 A789.8 C177.5 D6.3 S1  			   ;; PID tuning do 220C
      M143 H1 S293                                       ; Set temperature limit for heater 1 to 293C
      
      ; Fans
      ;M106 P0 S0.1 I0 F500 H-1                          ;* Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P0 S0 I0 F500 H-1
      M106 P1 S1 I0 F500 H1 T45                          ;* Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
      M106 P2 S0 I0 F500 H-1                             ;* Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
      
      ; Tools
      M563 P0 D0 H1                                      ; 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
      
      ; Automatic power saving
      M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
      
      ; Custom settings are not configured
      ;;M501						   ; Load Mesh bed leveling and other PID settings at startup
      ; Miscellaneous.
      T0                                                 ; Select first tool
      ;;M21 P1					   ; SDcard Panel Due mount 
      G29 S1						   ; Enable automatic bed mesh compensation
      ;M572 D0 S0.05                                     ; Enable pressure-advance   dobre Ziro 3d White  1.05-1.15   1.4-1.5
      ;;M572 D0 S1.08                                    ; Enable pressure-advance
      ;; stare do ziro pla
      ;;M207 S4.50 R-0.10 F4800 T3500 Z0.1		   ; set retraction length / speed
      M207 S5.8 R-0.08 F4800 T3500 Z0.1		   ; set retraction length / speed
      
      

      and I tried to copy all settings to new config for 3.5.4 fw :

      ; Configuration file for RepRapFirmware on Duet 2 WiFi
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.5.10 on Sat Apr 26 2025 22:19:20 GMT+0100 
      
      ; General
      G90                                                                 ; absolute coordinates
      G21                                                                 ; Work in millimeters
      M83                                                                 ; relative extruder moves
      M550 P"Duet2WiFi"                                                   ; set hostname
      M911 S19.8 R26 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"                ; set voltage thresholds and actions to run on power loss
      ;M911 S22 R26 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"                  ; Set voltage thresholds and actions to run on power loss
      ; Power monitoring and loss actions
      ;;M911 S22 R26 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
      ; Power monitoring and loss actions
      ;;M911 S21 R26 P"M913 X0 Y0 M84 G91 M83 G1 Z5 E-5 F1000" ; Adjusted voltage thresholds and actions
      
      
      ; Accessories
      M575 P1 S0 B57600                                                   ; configure PanelDue support
      
      ; Network
      ;;M551 P"1111"                                                        ; set machine password
      M552 S0 															; disable WiFi adapter
      G4 P500 															; wait half a second
      M552 S1 															; enable WiFi adapter
      G4 P500 															; wait a half second
      ;;M587 S"xxx" P"xxxxx" 				; configure WiFi Home using DHCP  
      
      M586 P0 S1                                                          ; configure HTTP
      M586 P2 S1                                                          ; configure Telnet
      M586 P1 S1                                                          ; configure FTP
      
      ; Smart Drivers
      M569 P0 S0 D2                                                       ; driver 0 goes backwards (X axis)
      M569 P1 S0 D2                                                       ; driver 1 goes backwards (Y axis)
      M569 P2 S0 D2                                                       ; driver 2 goes backwards (Z axis)
      M569 P3 S1 D2                                                       ; driver 3 goes forwards (extruder 0)
      
      ; Motor Idle Current Reduction
      M906 I30                                                            ; set motor current idle factor
      M84 S30                                                             ; set motor current idle timeout
      
      ; Stall Detection
      M915 X Y S5 F0 H200 R0                                              ; X / Y  Axes
      
      ; Axes
      M584 X0 Y1 Z2                                                       ; set axis mapping
      M350 X16 Y16 Z16 I1                                                 ; configure microstepping with interpolation
      M906 X900 Y900 Z1100                                                ; set axis driver currents
      M92 X80 Y80 Z400                                                    ; configure steps per mm
      M208 X0:296 Y0:300 Z0:326.5 S0                                            ; set minimum and maximum axis limits
      M566 X900 Y900 Z12                                                  ; set maximum instantaneous speed changes (mm/min)
      M203 X8000 Y8000 Z120                                               ; set maximum speeds (mm/min)
      M201 X1000 Y1000 Z50                                                  ; set accelerations (mm/s^2)
      
      ; Extruders
      M584 E3                                                             ; set extruder mapping
      M350 E16 I1                                                         ; configure microstepping with interpolation
      M906 E900                                                           ; set extruder driver currents
      M92 E406.79                                                         ; configure steps per mm
      M566 E300                                                           ; set maximum instantaneous speed changes (mm/min)
      M203 E9000                                                          ; set maximum speeds (mm/min)
      M201 E500                                                           ; set accelerations (mm/s^2)
      
      ; Kinematics
      M669 K1                                                             ; configure CoreXY kinematics
      
      ; Probes
      
      M558 K0 P9 C"!^zprobe.in" H5 F500 T6000                              ; configure BLTouch probe via slot #0
      ;;M558 K0 P9 C"!^zprobe.in" H5 F200 T6000                              ; configure BLTouch probe via slot #0
      
      ; Probe offsets and trigger height
      G31 P50 X24 Y2 Z1.303                                                ; Set Z probe trigger value, offset and trigger height
      ;;M950 S0 C"zprobe.mod"                                               
      M950 S0 C"exp.heater3"                                               ; create servo #0 for BLtouch on Duet 2 WiFi/Ethernet
      ;;M558 S0 P50                                                        ; set servo frequency for BLTouch (50 Hz)
      ; Mesh Bed Leveling Grid
      M557 X25:285 Y25:285 S86.66                                         ; Define mesh grid
      
      ; Endstops
      M574 X1 P"xstop" S1                                                 ; configure X axis endstop
      M574 Y1 P"ystop" S1                                                 ; configure X axis endstop
      M574 Z1 S2                                                          ; Define Z to use Probe. Home to Min
      
      ; ; Sensors - Configure thermistors using M308
      M308 S0 P"bedtemp" Y"thermistor" A"Heated Bed" T100000 B4138 C0      ; configure sensor #0 (Heated Bed)
      M308 S1 P"e0temp" Y"thermistor" A"Nozzle" T100000 B4138 C0          ; configure sensor #1 (Nozzle)
      
      ; Filament sensor
      ;;M591 D0 P1 C3 S1				                                    ; Set Filament sensor Simple type (High) for extruder drive 0, connected to endstop input 3 (E0)
      M591 D0 P1 C"e0stop" S1                                             ;  to  check if it works
      
      ; Heaters
      M950 H0 C"bedheat" T0                                               ; create heater #0 Bed
      M143 H0 P0 T1 C0 S120 A0                                            ; configure heater monitor #0 for heater #0
      ;;M307 H0 R2.43 D5.5 E1.35 K0.56 B0                                 ; configure model of heater #0
      M307 H0 R0.728 K0.448:0.000 D1.53 E1.35 S1.00 B0                    ; Auto tuning heater 0 completed after 7 idle and 7 tuning cycles in 1032 seconds. This heater needs the following M307 command:
      M950 H1 C"e0heat" T1                                                ; create heater #1 Extruder nozzle head
      M143 H1 P0 T1 C0 S293 A0                                            ; configure heater monitor #0 for heater #1
      M307 H1 R2.43 D5.5 E1.35 K0.56 B0                                   ; configure model of heater #1
      
      
      ; Heated beds
      M140 P0 H0                                                          ; configure heated bed #0
      
      ; Fans
      M950 F0 C"fan0"                                                     ; create fan #0
      M106 P0 S0 L0 X1 B0.1                                               ; configure fan #0
      M950 F1 C"fan1"                                                     ; create fan #1
      M106 P1 S0 B0.1 H1 T45                                              ; configure fan #1
      M950 F2 C"fan2"                                                     ; create fan #2
      M106 P2 C"LED" S0 L0 X1 B0.1                                        ; configure fan #2
      
      
      ; Tools
      M563 P0 D0 H1 F0                                             ; Define tool 0 with extruder 0 and heater 1
      M568 P0 R0 S0                                                       ; set initial tool #0 active and standby temperatures to 0C0
      G10 P0 X0 Y0 Z0                                    ; Set tool 0 axis offsets
      G10 P0 R0 S0                                       ; Set initial tool 0 active and standby temperatures to 0C
      
      
      
      droftartsundefined 1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @kilop
        last edited by

        @kilop It looks like you have the wrong steps per mm for the Z axis, which will make it move much slower, and 1/4 of the actual distance you want:
        Old

        M92 X80 Y80 Z1600 E406.79
        

        New

        M92 X80 Y80 Z400
        

        Change Z to Z1600.

        The BLTouch input pin is configured incorrectly. You have:

        M558 K0 P9 C"!^zprobe.in" H5 F500 T6000
        

        It should be without the !

        M558 K0 P9 C"^zprobe.in" H5 F120 T6000
        

        See https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_BLTouch#configuration
        F500 is also pretty fast, but you may have changed this to speed up the Z axis. You can set two F parameters, one fast, one slow eg F500:F100, and it will do two probes, one fast and another slow. See the other M558 parameters here: https://docs.duet3d.com/User_manual/Reference/Gcodes#m558-set-z-probe-type

        Otherwise, I can't see anything else amiss.

        Check that:

        • the BLTouch runs the self test at startup, deploying and retracting twice. This means it is getting power, and is grounded.
        • the BLTouch deploys when you send M401, and retracts when you send M402. This means the servo pin (exp.heater3) is working correctly
        • you can see the Z-Probe is reporting correctly in DWC (ie should be 0 most of the time, and briefly go to 1000 when triggered). This checks the BLTouch connection to probe.in.

        If that doesn't help see https://docs.duet3d.com/User_manual/Troubleshooting/BLTouch_troubleshooting
        Post your homeall.g, deployprobe#.g and retractprobe#.g and a picture of your BLTouch wiring (both ends) if you still have problems.

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        1 Reply Last reply Reply Quote 0
        • kilopundefined
          kilop
          last edited by kilop

          @droftarts said in Bl touch problem and slow homing speed after upgrade to 3.5.4:

          Hi Ian

          steps for Z axis are correct as this is very dense thread and it is ok

          about that

          M558 K0 P9 C"^zprobe.in" H5 F120 T6000
          

          when I firstly set this option like that Z ( table in my hevo was going down so i reversed that with ! so then table is moving to BL touch probe.

          F500 was set for tests and there is no difference between 120 and 500 thats the problem besides I can see how super slow are other moves like homing or normal travel of the axies .

          BL touch is perfectly fine it was working befoure FW upgrade so no hardware malfunction here .

          day befoure FW upgrade I was using printer and as you can see in my 2.0.2 config same steps now a bit more Amperage on the motors thats it .

          401 and 402 are working fine

          deploy probe :

          M280 P0 S10 I1
          

          rectract probe:

          M280 P0 S90 I1
          

          all checked and it gives same behavior like 401 and 402 also all scripts for bltouch works fine so i can reset alarm etc etc .

          and yes bl touch making self test at the printer start.

          here is test of new homez.g

          G91               ; relative positioning
          M564 S0 H0        ; ewentualnie to mozna uzyc zamiast 
          G1 Z10 F6000 S2   ; lift Z relative to current position
          G1 H2 Z15 F600 ; lift Z by 15 mm at 600 mm/min
          G90
          
          ; ZMIANA: Zaktualizowano komentarz dla BLTouch
          ;;M98 Pdeployprobe.g      ; deploy BLTouch
          ;;M401                        ; deploy BLTouch
          ; ZMIANA: Zastąpiono homing z endstopem procedurą BLTouch
          ;G1 S1 Z-255 F2500 ; move Z down until the endstop is triggered
          ;;;;G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
          
          G90               ; absolute positioning
          G1 X0 Y10 F6000   ; go to first bed probe point and home Z
          M401
          G30               ; home Z by probing the bed
          ; Uncomment the following lines to lift Z after probing
          G91              ; relative positioning
          G1 S2 Z10 F500   ; lift Z relative to current position
          G90              ; absolute positioning
          
          ;;M98 Pretractprobe.g     ; retract BLTouch
          M402                    ; retract BLTouch
          

          as there is no need to try home all if homez because of that strange bl touch behavior is not solved.

          I will be away for a week or so so .

          fcwiltundefined droftartsundefined 2 Replies Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @kilop
            last edited by

            @kilop said in Bl touch problem and slow homing speed after upgrade to 3.5.4:

            steps for Z axis are correct as this is very dense thread and it is ok

            What do you mean by "very dense"?

            Did you change the lead screw(s) when you upgraded the firmware?

            Frederick

            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

            kilopundefined 1 Reply Last reply Reply Quote 0
            • kilopundefined
              kilop @fcwilt
              last edited by kilop

              @fcwilt

              its not a regular 8mm printer

              STEPS are correct for this axis end of discussion about steps for Z axis please

              there wasnt any hardware change just firmware upgrade ( post 1)

              again the problems are:

              1: super slow movements homing and normal movements on all axies x y Z
              2: Z axis continues movement forward bltouch after first touch and it should stop and reverse a bit
              3: almost instant deploy of probe pin after first touch of bltouch to the bed surface

              so this is nothing with mechanical issue ...

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

                @kilop said in Bl touch problem and slow homing speed after upgrade to 3.5.4:

                STEPS are correct for this axis end of discussion about steps for Z axis please

                But you changed the setting when you upgraded the firmware.

                That suggests a change in the hardware.

                Frederick

                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                kilopundefined 1 Reply Last reply Reply Quote 0
                • kilopundefined
                  kilop @fcwilt
                  last edited by

                  @fcwilt

                  OMG I posted wrong file at the beggining my fault sorry Z has 1600 steps on the machine

                  it's my fault when I was posting i used winmerge and probably copied from wrong window

                  but like i wrote in my last message Z axis is not stoping after first contact of bltouch with the table and pin drops meantime Z is traveling forward nozzle and bltouch I will try to make a video today and upload it somewhere to show you

                  1 Reply Last reply Reply Quote 0
                  • droftartsundefined
                    droftarts administrators @kilop
                    last edited by

                    @kilop said in Bl touch problem and slow homing speed after upgrade to 3.5.4:

                    M558 K0 P9 C"^zprobe.in" H5 F120 T6000

                    when I firstly set this option like that Z ( table in my hevo was going down so i reversed that with ! so then table is moving to BL touch probe.

                    This isn't how you change the direction of homing. All the ! does is invert the probe reading. I expect the Z moves the other way as it sees the Z probe as triggered. What does the Z-probe reading report in DWC? It should be 0 when not triggered. On BLTouch it will very briefly go to 1000 (usually too fast to be reported by DWC).
                    See https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_testing

                    As for the Z speed, that's limited by

                    M203 X8000 Y8000 Z120                                               ; set maximum speeds (mm/min)
                    

                    It's possible the M558 F parameter overrode this limit in older firmware versions, it doesn't now.

                    Ian

                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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