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

    BL-Touch V3.1 not automatically deploying

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    38
    1.8k
    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.
    • Commieundefined
      Commie @Phaedrux
      last edited by

      @phaedrux
      ; bed.g
      M561 ; clear any bed transform
      G29 ; probe the bed and enable compensation

      ; Configuration file for Duet WiFi (firmware version 3)
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Jul 12 2021 06:15:47 GMT+0700 (Indochina Time)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"Anet A8" ; set printer name

      ; 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 S0 ; physical drive 2 goes backwards
      M569 P3 S1 ; physical drive 3 goes forwards
      M584 X0 Y1 Z2 E3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E436.54 ; set steps per mm
      M566 X600.00 Y600.00 Z18.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X30000.00 Y30000.00 Z380.00 E6000.00 ; set maximum speeds (mm/min)
      M201 X2500.00 Y2500.00 Z100.00 E10000.00 ; set accelerations (mm/s^2)
      M906 X500 Y500 Z500 E700 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X-33 Y-10 Z0 S1 ; set axis minima
      M208 X220 Y220 Z240 S0 ; set axis maxima

      ; Endstops
      M574 X1 S1 P"!xstop" ; configure active-low endstop for low end on X via pin xstop
      M574 Y1 S1 P"!ystop"
      M574 Z0 P"!zstop" ; configure active-low endstop for low end on Z via pin zstop

      ; Z-Probe
      M950 S0 C"exp.heater7" ; create servo pin 0 for BLTouch
      M558 P9 C"^zprobe.in" H5 F120 T12000 R0.5 S0.003 ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X-32 Y0 Z3 ; set Z probe trigger value, offset and trigger height
      M557 X20:200 Y20:200 S40 ; define mesh grid

      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bedheat" T0 ; create bed heater output on bedheat 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 S130 ; set temperature limit for heater 0 to 130C
      M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; 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
      M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
      M143 H1 S275 ; set temperature limit for heater 1 to 275C

      ; Fans
      M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 H1 T150 ; set fan 0 value. Thermostatic control is turned on
      M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
      M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off

      ; Tools
      M563 P0 S"Change nozzle" D0 H1 F0 ; define tool 0
      G10 P0 X0 Y0 Z100 ; set tool 0 axis offsets
      G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

      ; Custom settings are not defined

      ; Miscellaneous
      T0 ; select first tool
      M564 H0

      ; homeall.g
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Jul 12 2021 06:15:47 GMT+0700 (Indochina Time)
      G91 ; relative positioning
      G1 H2 Z5 F12000 ; lift Z relative to current position
      G1 H1 X-258 Y-235 F8000 ; move quickly to X and Y axis endstops and stop there (first pass)
      G1 H2 X5 Y5 F12000 ; go back a few mm
      G1 H1 X-258 Y-235 F460 ; move slowly to X and Y axis endstops once more (second pass)
      G90
      G1 X142 Y120 F9000 ; move X and Y to bed center
      G30 ; move Z down stopping at the endstop ; absolute positioning
      ;G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

      ; Uncomment the following lines to lift Z after probing
      G91 ; relative positioning
      G1 Z5 F200 ; lift Z relative to current position
      G90 ; absolute positioning

      ; homez.g
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Jul 12 2021 06:15:47 GMT+0700 (Indochina Time)
      G91 ; relative positioning
      G1 H2 Z5 F12000 ; lift Z relative to current position
      ;G1 H1 Z-245 F1800 ; move Z down until the endstop is triggered
      ;G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
      G90
      G1 X143 Y120 F2000 ; put head over the center of the bed, or wherever you want to probe
      G30 ; lower head, stop when probe triggered and set Z to trigger height

      ; retractprobe.g
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Jul 12 2021 06:15:47 GMT+0700 (Indochina Time)
      M280 P0 S90 ; retract BLTouch

      ; deployprobe.g
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Jul 12 2021 06:15:47 GMT+0700 (Indochina Time)
      M280 P0 S10 ; deploy BLTouch

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

        @commie said in BL-Touch V3.1 not automatically deploying:

        ; Tools
        M563 P0 S"Change nozzle" D0 H1 F0 ; define tool 0
        G10 P0 X0 Y0 Z100 ; set tool 0 axis offsets
        G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

        The G10 ... Z100 tool 0 offset is causing the Z height to be set to 100 after sending G92 Z0. Change it to Z0.

        Do you still get the "Error: G30: Zprobe 0 not found" message?

        Just before running G30, send M558 on it's own to check probe is defined.

        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
        • Commieundefined
          Commie
          last edited by Commie

          @droftarts Thank you amended tool Z setting to 0.

          @droftarts said in BL-Touch V3.1 not automatically deploying:

          Do you still get the "Error: G30: Zprobe 0 not found" message?

          No. That only occurred when I tried rewiring white wire to zstop, changing pin in config G accordingly.

          m558
          Z Probe 0: type 9, input pin zprobe.in, output pin nil, dive height 5.0mm, probe speeds 120,120mm/min, travel speed 12000mm/min, recovery time 0.50 sec, heaters normal, max taps 1, max diff 0.00

          However, there's still no triggering when probe touches the bed.

          This is getting weird. When my Anet board died I first tried to move GT2560 board from Geeetech (I urgently needed direct drive extrusion) and configure it under Marlin 2.0.7. 3D touch didn't work no matter whatever I tried to do, even with help from Marlin devs. Now similar picture with Duet. BUT sensor works perfectly when I put GT2560 back on Geetech, flashed Marlin 1.1.8 config provided by them and connected the sensor.

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

            @commie What is reported in DWC for the Z-probe value? When not triggered it should be 0, when triggered it should be 1000. If it's constantly 1000, try changing M558 to:

             M558 P9 C"!^zprobe.in" H5 F120 T12000 R0.5 S0.003 ; set Z probe type to bltouch and the dive height + speeds
            

            Note the extra ! in the pin name, to invert the signal. There have been other people who have struggled with clone BLTouch.

            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

            Commieundefined 1 Reply Last reply Reply Quote 0
            • Commieundefined
              Commie @droftarts
              last edited by

              @droftarts If I invert it G28 returns an error "Probe already triggered at start of probing move" and probe value sets to 1000.

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

                @commie If the probe isn't registering as triggering in DWC (ie going from 0 to 1000) then either the wiring isn't right (no signal recieved on the white wire, so check continuity from probe to Duet pin) or there is something strange about the output of the clone BLTouch; maybe it doesn't output a high enough voltage to trigger the Duet. If it works like a real BLTouch, you could try changing the mode to 5V (the probe pin on the Duet is 30V tolerant). See the "Logic Voltage Conversion (writing to EEPROM) " section here: https://www.antclabs.com/bltouch-v3

                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
                • Commieundefined
                  Commie
                  last edited by

                  @droftarts Could be the case with the output, yes, although I still can't figure out why does it work in one case and doesn't in another. I'll try messing around with voltages and see what happens. Original BLTouch was ordered a few days ago too (to see and try, as both of these 3D touch sensors were bought few years ago and something might have been changed in hardware logic since), but shipping from China might take up to a month. I guess in the mean time I'll try to DIY a probe from and optical switch and micro servo and see if that works. Thanks for all the help anyway, I really appreciate it.

                  jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk @Commie
                    last edited by

                    @commie i use a BFPTouch on one of my printers and it works very very well. If you do make one, make sure you go for the metal servos

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    Commieundefined 1 Reply Last reply Reply Quote 0
                    • Commieundefined
                      Commie @jay_s_uk
                      last edited by

                      @jay_s_uk awww metal ones weren't available so I ordered a plastic RC SG90

                      jay_s_ukundefined 1 Reply Last reply Reply Quote 1
                      • jay_s_ukundefined
                        jay_s_uk @Commie
                        last edited by

                        @commie I meant MG-90 like this https://www.amazon.co.uk/ARCELI-MG90S-Geared-Helicopter-Trex450/dp/B07MY2SWMN/ref=sr_1_5?dchild=1&keywords=mg-90&qid=1626263332&sr=8-5

                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                        Commieundefined 1 Reply Last reply Reply Quote 0
                        • Commieundefined
                          Commie @jay_s_uk
                          last edited by Commie

                          @jay_s_uk 7 quid for servo, 12 quid shipping it to Thailand. Thanks but no thanks 🙂
                          Living on a remote island has its disadvantages too LOL

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

                            @commie said in BL-Touch V3.1 not automatically deploying:

                            12 quid shipping it to Thailand. Thanks but no thanks
                            Living on a remote island has its disadvantages too LOL

                            worthy trade off, no doubt.

                            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