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

    BLTouch working

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    50
    266
    79.5k
    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.
    • FrankNPrinterundefined
      FrankNPrinter
      last edited by

      Duet Wifi BL touch is not working. It blinks red and shows z probe = 1000. i cant get probe to deploy manually either. Am i missing something or is it just plain wrong? pretty sure it is wired right.
      config.g = ; BLTouch
      M307 H3 A-1 C-1 D-1
      M558 P5 X0 Y0 Z1 H3 F200 T5000

      Bed.g = ; bed.g
      ; called to perform automatic bed compensation via G32
      ; Clear any bed transform
      M561
      ; Home all axes
      G28
      ; Probe the bed at 5 points
      G30 P0 X15 Y15 H0 Z-99999
      G30 P1 X15 Y268 H0 Z-99999
      G30 P2 X255 Y268 H0 Z-99999
      G30 P3 X255 Y15 H0 Z-99999
      G30 P4 X128 Y138 H0 Z-99999 S

      Deployprobe.g

      M280 P3 S10 I1

      #Retractprobe.g
      M280 P3 S90 I1

      1 Reply Last reply Reply Quote 0
      • Sniffleundefined
        Sniffle
        last edited by

        When the probe is blinking red it is in an error state and you need to use M280 P3 S160 I1 to reset the probe state

        You can use M280 P3 S120 I1 to run a self test, the S160 will be required to reset if from the self test

        1 Reply Last reply Reply Quote 0
        • FrankNPrinterundefined
          FrankNPrinter
          last edited by

          Thanks Sniffle!, i was able to get z probe to reset with the command and learned 2 things. 1 is i have a loose connection on the 50 pin connector port and think i need a better connector type.it was alarming because bed was too high and probe post self test would fail. lowering bed before starting test and i can extend and retract no problem. The problem appears to be the z axis. after i home it, it wont move any more and appears to go backwards (ie movement +10 before home moves bed up but after homing z, hitting any of the move + buttons takes the bed to the bottom and printer errors out since no endstop on that end. anyone have any idea why z movement appears to invert after homing?

          1 Reply Last reply Reply Quote 0
          • FrankNPrinterundefined
            FrankNPrinter
            last edited by

            I micro stepped through homez and am still seeing z axis movement invert after homing. I am also confused by the G92 setting. my z stop appears to be .3mm below printhead should i do G92 Z.3 or move sensor? i also tried skipping the last G90 command at end thinking that was inverting axis movement but same result. afte homing z goes backward and bed crashes into bottom of machine if i dont turn it off. even a manual move of .1 sends bed all 450mm down.
            ; homez.g
            ; called to home the Z axis

            G91 ; relative mode
            G1 Z-4 F200 ; lower bed 4mm to ensure it is below the switch trigger height
            G90 ; back to absolute mode
            G1 X128 Y141 F2000 ; put head wherever you want it to be when you home Z (omit this line if it doesn't matter)
            G91 ; relative mode
            G1 Z450 S1 F100 ; move Z up until the switch triggers
            G90 ; back to absolute mode
            G92 Z0 ; tell the firmware that we are at Z=0mm

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators
              last edited by

              I don't understand your Z homing file. You have that G1 Z450 S1 command to move the print head up or bed down until the endstop is triggered, which suggests that you have a Z-max endstop switch. But then you have a G92 Z0 command which suggests you have a Z-min endstop switch. Which do you have?

              I also have a feeling that you may have configured your Z axis to move in the wrong direction. If you have a print head that moves in Z, positive Z movement should move the print head up. If you have a moving bed, positive Z movement should move the bed down.

              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

              1 Reply Last reply Reply Quote 0
              • FrankNPrinterundefined
                FrankNPrinter
                last edited by

                i think you are right on point! my printer has print head mounted to x axis rail at fixed height. bed moves up and down. z0 is at top where end stop is located. Give me a minute to digest this and i bet you already gave me the answer i was looking for! Thanks again! You really do a great job here and it is much appreciated. I do tech support for a living and am often frustrated by silly questions. i suspect you have the patience of a saint. LOL

                1 Reply Last reply Reply Quote 0
                • FrankNPrinterundefined
                  FrankNPrinter
                  last edited by

                  updated z home and inverted z axis in config.g so + = bed moves down. Moving Z before homing + = down. Z home appears to work too but after it completes i am at z end stop aka z0 and z axis movement is inverted again. If i move g + it goes up and hits print head but - doesn't move at all. Something is inverting z movement during\after homing???

                  ; homez.g
                  ; called to home the Z axis

                  G91 ; relative mode
                  G1 Z4 F200 ; lower bed 4mm to ensure it is below the switch trigger height
                  G90 ; back to absolute mode
                  G1 X128 Y141 F2000 ; put head wherever you want it to be when you home Z (omit this line if it doesn't matter)
                  G91 ; relative mode
                  G1 Z-450 S1 F100 ; move Z up until the switch triggers
                  G90 ; back to absolute mode
                  G92 Z0 ; tell the firmware that we are at Z=0mm

                  config.g
                  ; Drives
                  M569 P0 S0 ; Drive 0 goes Backwards
                  M569 P1 S0 ; Drive 1 goes Backwards
                  M569 P2 S0 ; Drive 2 goes Backwards
                  M569 P3 S0 ; Drive 3 goes Backwards

                  1 Reply Last reply Reply Quote 0
                  • FrankNPrinterundefined
                    FrankNPrinter
                    last edited by

                    tried to recreate issue by moving to middle of z and activating end stop switch with my finger. that is not causing z axis to invert and it does appear to work correctly so has to be something in the software right? with end stop triggered, - movements dont work but + do and move the bed down. clueless as to why z axis inverts after z homing

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators
                      last edited by

                      Is your Z switch at the bottom or the top of the bed travel?

                      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

                      1 Reply Last reply Reply Quote 0
                      • FrankNPrinterundefined
                        FrankNPrinter
                        last edited by

                        top

                        1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators
                          last edited by

                          Your Z homing file looks ok to me now, except that you may want to back off Z a little and re-home at a slower speed, as the standard X and Y homing files do. Also adjust the Z parameter in your G92 Z0 command to be the exact Z height after the switch is triggered.

                          What M208 commands do you have in config.g? After homing, the limits set by M208 are enforced.

                          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

                          1 Reply Last reply Reply Quote 0
                          • FrankNPrinterundefined
                            FrankNPrinter
                            last edited by

                            when z end stop triggers, ph is about 2mm above bed. should i move sensor up so z=0 or is there some sort of offset here?
                            updated z home as recommended i think…
                            config.g
                            M208 X3 Y0 Z0S1 ; Set axis minima
                            should there be a space between Z0 and S1?

                            ; homez.g
                            ; called to home the Z axis

                            G91 ; relative mode
                            G1 Z10 F200 ; lower bed 10mm to ensure it is below the switch trigger height
                            G90 ; back to absolute mode
                            G1 X128 Y141 F2000 ; put head wherever you want it to be when you home Z (omit this line if it doesn't matter)
                            G91 ; relative mode
                            G1 Z-450 S1 F100 ; move Z up until the switch triggers
                            G1 z10 F6000
                            G1 z-450 F360 S1 ; Move slowly to z axis endstop once more
                            G90 ; back to absolute mode
                            G92 Z0 ; tell the firmware that we are at Z=0mm

                            1 Reply Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators
                              last edited by

                              There should be a space in that command, but in most cases you can get away without one.

                              It's best if your Z homing switch triggers a little before Z=0. If it's triggering at exactly 2.0mm, change G92 Z0 in homez.g to G92 Z2.0

                              HTH David

                              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

                              1 Reply Last reply Reply Quote 0
                              • FrankNPrinterundefined
                                FrankNPrinter
                                last edited by

                                i also had a max z value wrong on the other end of m208 maximum which i believe was what caused z to invert after homing.
                                z homing works now but does not do it twice like i thought it would. bl touch appears to be working at start it is lit up solid red but it does not deploy probe during bed leveling so it still crashes ph into bed. manual retract and deploy work but when i start bed config, it does not deploy probe. i even added manual deploy at start but it is not working either
                                #Retractprobe.g
                                M280 P3 S90 I1

                                Deployprobe.g

                                M280 P3 S10 I1

                                ; bed.g
                                ; called to perform automatic bed compensation via G32

                                ; Clear any bed transform
                                M561

                                ; Home all axes
                                G28
                                ;# Deployprobe.g
                                M280 P3 S10 I1
                                ; Probe the bed at 5 points
                                G30 P0 X15 Y15 H0 Z-99999
                                G30 P1 X15 Y268 H0 Z-99999
                                G30 P2 X255 Y268 H0 Z-99999
                                G30 P3 X255 Y15 H0 Z-99999
                                G30 P4 X128 Y138 H0 Z-99999 S
                                ;#Retractprobe.g
                                M280 P3 S90 I1

                                1 Reply Last reply Reply Quote 0
                                • FrankNPrinterundefined
                                  FrankNPrinter
                                  last edited by

                                  i found a 2nd command in bed.g that cleared home results. i removed that and bl touch started working but did not deploy probe before test started. I added deploy and retract directly to bed.g and that helped . It moved to 1st probe spot and probed successfully but then bed drops below probes reach and it tries to continue probing but eventually errors out. Why is bed moving down after 1st probe? i cant seem to remember the setting for probe offset. i know i am offset on x axis about 28mm but i am not sure about z end stop position setting or why bed drops below probe after 1st probe deploys successfully.

                                  ; bed.g
                                  ; called to perform automatic bed compensation via G32

                                  ; Clear any bed transform
                                  M561

                                  ;# Deployprobe.g
                                  M280 P3 S10 I1
                                  ; Probe the bed at 5 points
                                  G30 P0 X15 Y15 H0 Z-99999
                                  G30 P1 X15 Y268 H0 Z-99999
                                  G30 P2 X255 Y268 H0 Z-99999
                                  G30 P3 X255 Y15 H0 Z-99999
                                  G30 P4 X128 Y138 H0 Z-99999 S
                                  ;#Retractprobe.g
                                  M280 P3 S90 I1

                                  Config.g
                                  ; BLTouch
                                  M307 H3 A-1 C-1 D-1
                                  M558 P5 X0 Y0 Z1 H3 F200 T5000

                                  1 Reply Last reply Reply Quote 0
                                  • FrankNPrinterundefined
                                    FrankNPrinter
                                    last edited by

                                    when bltouch is extended, it is roughly 3mm below print head. do i need to set this somewhere? I also had a x minimum of 3 so when it homed it would go to x=0 and be outside area. not sure if that was causing issues or not but set it to 0 just in case.

                                    1 Reply Last reply Reply Quote 0
                                    • FrankNPrinterundefined
                                      FrankNPrinter
                                      last edited by

                                      Thanks David, sorry i was delayed in seeing your last reply. i added 2mm but same result. bed moves down below pin after 1st probe point fires. i also added a space but agree it made no difference.

                                      1 Reply Last reply Reply Quote 0
                                      • dc42undefined
                                        dc42 administrators
                                        last edited by

                                        You need to set the Zprobe trigger height in the G31 command in config.g. You may also need to increase the dive height, which is the H parameter in the M558 command.

                                        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

                                        1 Reply Last reply Reply Quote 0
                                        • FrankNPrinterundefined
                                          FrankNPrinter
                                          last edited by

                                          Thanks David, I was printing test cubes and stuff late into the night. Cant wait to get this dialed in! I will give that a try and let you know how i make out.

                                          1 Reply Last reply Reply Quote 0
                                          • Miasmictruthundefined
                                            Miasmictruth
                                            last edited by

                                            I have had the BLTouch not fire the pin a couple times when setting it up. What seemed to have happened is that it faulted before trying to fire the pin so nothing happens, that the Duet does not know that it didn't fire.

                                            This is relatively easy to resolve by sending a reset code, but here is my dilemma. What happens if the probe is faulted and you when you try to home?

                                            This happened while I was sitting there so was able to prevent damage no idea why the probe was faulted, but what if I fail to notice in time the next time..

                                            Anyway I was curious if anyone has seen this issue and what safeguards they have used to prevent catastrophe

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