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

    I can't get the Bltouch working

    Scheduled Pinned Locked Moved
    IR Height Sensor
    6
    73
    10.4k
    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.
    • Saltypetzundefined
      Saltypetz
      last edited by

      When I do the G30 I get this error. I am new to the Duet Wifi Board it is pretty hard to setup for the first time.

      Error: G30: Insufficient axes homed for bed probing

      Thank you for your help

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

        You'll need to home x and y first.

        Then you can move the head into the position you want to probe.

        I recommend reading through these guides.

        https://duet3d.dozuki.com/c/Getting_Started

        The Duet is a bit different than other boards and firmware, but it's also a lot more powerful and flexible.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Saltypetzundefined
          Saltypetz
          last edited by

          Done - Move the nozzle until it is at a good Z=0 height (for example a height that will touch but not pin a piece of paper against the bed).
          Done - Set this height as Z=0 with G92 Z0
          Done -Move the print head up perhaps a centimeter

          When I do this I get this error - Run a single probe without updating the printer's coordinates: G30 S-1

          G30 S-1

          Error: Z probe already triggered at start of probing move

          Thank you so much for the help you are great help.

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

            @saltypetz said in I can't get the Bltouch working:

            When I do this I get this error - Run a single probe without updating the printer's coordinates: G30 S-1

            G30 S-1

            Error: Z probe already triggered at start of probing move

            Does the probe deploy when you run that 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
            • Saltypetzundefined
              Saltypetz
              last edited by Saltypetz

              No It does comes on. Now everything is good but the BLTouch
              But if I do this it come down and the blue light comes on.
              M280 P3 S10 I1
              If I lightly touch the BLTouch it goes up red led on and then comes down and the blue led comes on.

              When I put this in all the pin does is goes in and out without stopping and blue led is on.
              M280 P3 S120 I1

              G30 S-1

              Error: Z probe already triggered at start of probing move

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

                Which firmware version are you using? Have you set up your deployprobe.g and retractprobe.g files as described on the wiki page?

                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
                • Saltypetzundefined
                  Saltypetz
                  last edited by Saltypetz

                  Here is the firmware I am running.

                  Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
                  Firmware Electronics: Duet WiFi 1.02 or later
                  Firmware Version: 1.21RC3 (2018-02-28 build 4)
                  WiFi Server Version: 1.21RC4(08b3)
                  Web Interface Version: 1.21-RC4

                  Editing 0:/sys/deployprobe.g
                  ; Probe deployment routine for BLTouchon on Tevo Black Widow
                  M280 P3 S10 I1

                  Editing 0:/sys/retractprobe.g
                  ; Probe retraction routine for BLTouchon on Tevo Black Widow
                  M280 P3 S10 I1

                  Also on duet Wifi Page where it say Z- Probe it says 1000. The BLTouch is wired with the Duet Wifi diagram.

                  I know I am so close It is driving me crazy. I have been working on this for 2 weeks.

                  Thank you,

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

                    @saltypetz your deploy and retract commands are the same.

                    Z-Bot CoreXY Build | Thingiverse Profile

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

                      As @Phaedrux says, also please use the 1.21 release firmware not the release candidate.

                      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
                      • Saltypetzundefined
                        Saltypetz
                        last edited by

                        I did everything you said rolled the firmware back to 1.20
                        and then all this.
                        Commissioning & Testing
                        To test the setup with the nozzle maybe a 100mm up from the bed you can check if the trigger signal is reaching the Duet by attempting to extend the pin by using the following command:

                        M280 P3 S10 I1

                        Then put the Sensor in to test mode by inputting the following command:

                        M280 P3 S120 I1

                        If all is well the web interface should report a value of ” 0” in the Z probe column when the pin is extended. You can then lightly touch the extended probe pin to check that the pin retracts, the value in the Z probe Column should change to “1000”

                        If all is good It is at this point that you can deploy the probe using the M280 P3 S10 I1 command and slowly lower the nozzle to the bed and find out your own Z trigger height, when the probe touches the bed and the pin retracts you can take a reading of the Z height and use that to input into the G31 command in the config.g file

                        When the pin hit the bed it flashes red and the z says 3.60 but where is says Z-Probe is says 1000.
                        is everything done know and ready to print.

                        Thank you everyone for the help this board is real hard. Thank you

                        1 Reply Last reply Reply Quote 0
                        • Saltypetzundefined
                          Saltypetz
                          last edited by Saltypetz

                          Now if i tell it all home it homes x and y and centers in bed then the BLTouch goes up and down continuously without stopping.blue and red led on.

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

                            It sounds like you have the servo command to do a self test in your deploy macro instead of the command to deploy.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • Saltypetzundefined
                              Saltypetz
                              last edited by Saltypetz

                              I hate to sound really dumb but now you lost me. I did all home x and y homed no problem and the Z runs into the bed.
                              Can you give me a little more information than that I am lost and I am only 2 weeks in trying to get it to work.
                              I am a newbie with the Duet Wifi but I love it already. I cant wait to get it going.

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

                                Your Z homing routine should use G30 to do a probe. It sounds like its currently setup to work as if there were an endstop to trigger.

                                Can you post your homing files?

                                On my CoreXY my homeall.g looks like this

                                ; homeall.g
                                ; called to home all axes
                                ;
                                
                                ; BLTouch prep so we don't catch the probe pin on the edge of the bed
                                ;
                                M280 P3 S160 I1 		; Alarm Release and Push-Pin UP just in case it's in alarm and deployed
                                M402				; Retract probe just in case it's down
                                
                                ; Home XY for Z homing
                                ;
                                G91                     	; relative positioning
                                G1 Z5 F200 S2        		; Lower bed 5mm to ensure it is below the switch trigger height
                                M913 X50 Y50	 		; set X Y motors to 50% of their normal current for homing
                                G1 S1 X-375 Y305 F4000   	; course home X or Y
                                G1 S1 X-375 F4000              	; course home X
                                G1 S1 Y305 F4000              	; course home Y
                                G1 X2 Y-2 F1000             	; move away from the endstops
                                G1 S1 X-10 F200           	; fine home X
                                G1 S1 Y10 F200               	; fine home Y
                                M913 X100 Y100	 		; set X Y motors to 100% of their normal current
                                
                                ; Z homing section follows
                                ;
                                G90				; absolute positioning
                                G1 X190 Y90 F4000		; Move x and Y axis over to bed center so probe is on top of bed
                                
                                ; Set lower speeds for homing
                                M566 Z5			; Set maximum instantaneous speed changes (mm/min) (Jerk)
                                M203 Z350			; Set maximum speeds (mm/min)
                                M201 Z100	 		; Set maximum accelerations (mm/s^2)
                                
                                ; Probe the bed
                                ;
                                M558 A1 F350			; Set single probing at faster feed rate
                                G30 				; Do a single probe to home our Z axis
                                M558 A10 F100			; Set tripple probing at slower feed rate
                                G30				; Probe again to get a more accurate position
                                
                                ; Set normal speeds again
                                M566 Z60			; Set maximum instantaneous speed changes (mm/min) (Jerk)
                                M203 Z600			; Set maximum speeds (mm/min)
                                M201 Z600			; Set maximum accelerations (mm/s^2)
                                
                                ; Move X and Y back Home
                                ;
                                G1 X0 Y270
                                

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • Saltypetzundefined
                                  Saltypetz
                                  last edited by

                                  ; homeall.g
                                  ; called to home all axes
                                  ;
                                  ; generated by RepRapFirmware Configuration Tool on Fri May 04 2018 09:52:38 GMT-0400 (Eastern Daylight Time)
                                  G91 ; relative positioning
                                  G1 Z5 F6000 S2 ; lift Z relative to current position
                                  M98 Pdeployprobe.g ; deploy mechanical Z probe
                                  G1 S1 X-585 Y-255 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
                                  G1 X5 Y5 F6000 ; go back a few mm
                                  G1 S1 X-585 Y-255 F360 ; move slowly to X and Y axis endstops once more (second pass)
                                  G90 ; absolute positioning
                                  G1 X-43.565 Y26 F6000 ; go to first bed probe point and home Z
                                  G30 ; home Z by probing the bed
                                  G1 Z5 F100 S2 ; uncomment this line to lift the nozzle after homing

                                  M98 Pretractprobe.g ; retract mechanical Z probe

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

                                    If you are using fimrware version 1.21 you can remove the M98 commands to manually deploy and retract the probe, the g30 command will do it automatically.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    1 Reply Last reply Reply Quote 0
                                    • Saltypetzundefined
                                      Saltypetz
                                      last edited by Saltypetz

                                      I did that and xand y sitll home and the Z-Probe flashs red probe going in and out then crash into the borad.
                                      We are getting close.
                                      Right now Head Position reads X 100 Y 60 Z 15
                                      But then it say. The following axis is not homed z

                                      Thank so much for the help you have been great

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

                                        What happens when you send the deploy and retract servo commands? Does it respond correctly?

                                        Can you post your current G31 and M558 commands from config.g?

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        1 Reply Last reply Reply Quote 0
                                        • Saltypetzundefined
                                          Saltypetz
                                          last edited by Saltypetz

                                          Here is the whole fill. I hope this helps you I want to get this thing running. I love it but it is real hard compared to
                                          Arduino. I'm sure when I get used to this I won't want the Arduino boards. If I do this it deploys the probe.
                                          M280 P3 S10 I1. I was just reading something and it says you have to make a heater tool for it is this true. If so I never made a tool for the BLTouch.

                                          ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
                                          ; executed by the firmware on start-up
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool on Fri May 04 2018 09:52:39 GMT-0400 (Eastern Daylight Time)

                                          ; General preferences
                                          G90 ; Send absolute coordinates...
                                          M83 ; ...but relative extruder moves

                                          ; Network
                                          M550 TEVO BLACK WIDOW ; Set machine name
                                          M552 S1 ; Enable network
                                          ;*** Access point is configured manually via M587
                                          M586 P0 S1 ; Enable HTTP
                                          M586 P1 S0 ; Disable FTP
                                          M586 P2 S0 ; Disable Telnet

                                          ; Drives
                                          M569 P0 S1 ; Drive 0 goes forwards
                                          M569 P1 S0 ; Drive 1 goes forwards
                                          M569 P2 S1 ; Drive 2 goes backwards
                                          M569 P3 S1 ; Drive 3 goes forwards
                                          M569 P4 S1 ; Drive 4 goes forwards
                                          M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation
                                          M92 X80 Y80 Z4000 E420:420 ; Set steps per mm
                                          M566 X900 Y900 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min)
                                          M203 X6000 Y6000 Z180 E1200:1200 ; Set maximum speeds (mm/min)
                                          M201 X500 Y20 Z250 E250:250 ; Set accelerations (mm/s^2)
                                          M906 X800 Y800 Z800 E800:800 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 X580 Y250 Z400 S0 ; Set axis maxima

                                          ; Endstops
                                          M574 X1 Y1 S1 ; Set active high endstops

                                          ; Z-Probe
                                          M558 P9 X0 Y0 Z1 H5 F100 T2000
                                          G31 X0 Y0 Z0 P25
                                          ;Bltouch
                                          M307 H3 A-1 C-1 D-1 : Define Bltouch Heater3

                                          ; Heaters
                                          M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
                                          M143 H0 S120 ; Set temperature limit for heater 0 to 120C
                                          M305 P1 X150 T"K" ; Set thermistor + ADC parameters for heater 0
                                          M143 H1 S370 ; Set temperature limit for heater 1 to 370C
                                          M305 P2 X151 T"K" ; Set thermistor + ADC parameters for heater 1
                                          M143 H2 S370 ; Set temperature limit for heater 2 to 370C

                                          ; 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 S1 I0 F500 H1:2 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                                          M106 P2 S1 I0 F500 H1:2 T45 ; 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 P1 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
                                          M563 P1 D1 H2 ; Define tool 1
                                          G10 P2 X0 Y0 Z0 ; Set tool 1 axis offsets
                                          G10 P2 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

                                          M564 H0 ; Allow movement of axes before homing

                                          ; Automatic saving after power loss is not enabled

                                          ; Custom settings are not configured

                                          Thank you,

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

                                            The BLTouch uses the heater pins only, but you don't need to define a tool for it.

                                            Can you post a video showing what happens when you try doing Home All?

                                            From your config it looks like you are missing a calibrated trigger height in your G31 command. You need to tell the system how far the nozzle is from the bed when the BLTouch triggers. You can follow this guide to find your trigger height. This is based on me assuming that the probe is actually triggering for you.

                                            https://betrue3d.dk/bltouch-on-duet-wifi-configuratio-and-usage/#findzoffset

                                            Z-Bot CoreXY Build | Thingiverse Profile

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