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

    Duet 2 and BL Touch

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    6
    14
    433
    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.
    • JL-Pundefined
      JL-P
      last edited by

      Hi im realy stugeling with my BL Touch config.
      I tried i think all other posts on this site but nothing works for me.
      i tried several bl touches . and cables but non works

      When i send a m401 or M402 the probe is deploying.

      but isnt working when homing z
      when i send a m280 it also works with 10 and 90.

      Connected the black and white wire to the z probe pin.
      and the other three at 1-Red 2-Brown and 8Yellow/orange

      config.g
      ; Configuration file for Duet WiFi (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.12 on Sun Sep 11 2022 20:16:12 GMT+0200 (Midden-Europese zomertijd)

      ; General preferences
      M575 P1 S1 B57600 ; enable support for PanelDue
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"JL-P-DUET2Ethernet" ; set printer name

      ; Network
      M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
      M586 P0 S1 ; enable HTTP
      M586 P1 S1 ; enable FTP
      M586 P2 S1 ; enable Telnet

      ; Drives
      M569 P0 S1 ; physical drive 0 goes forwards
      M569 P1 S1 ; physical drive 1 goes forwards
      M569 P2 S1 ; physical drive 2 goes forwards
      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 E420.00 ; set steps per mm
      M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
      M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X17 Y0 Z0 S1 ; set axis minima
      M208 X499 Y460 Z450 S0 ; set axis maxima

      ; Endstops
      M574 X1 S1 P"!xstop" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin xstop
      M574 Y1 S1 P"!ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
      M574 Z1 S2 ; set z-Probe ; configure Z-probe endstop for low end on Z

      ; Z-Probe
      M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
      M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X100 Y100 Z2.5 ; set Z probe trigger value, offset and trigger height
      M557 X32:215 Y15:195 S20 ; define mesh grid

      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
      M140 H0 ; map heated bed to heater 0
      M143 H0 S120 ; set temperature limit for heater 0 to 120C
      M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; 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 S280 ; set temperature limit for heater 1 to 280C

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

      ; Tools
      M563 P0 D0 H1 F0 ; 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

      ; Custom settings are not defined

      ; Miscellaneous
      M501 ; load saved parameters from non-volatile memory
      M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
      T0 ; select first tool

      tmitch205undefined jay_s_ukundefined 2 Replies Last reply Reply Quote 0
      • tmitch205undefined
        tmitch205 @JL-P
        last edited by tmitch205

        Need to see your Homez and Homeall, also

        JL-Pundefined 1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk @JL-P
          last edited by

          @jl-p do you have a deploy and reteach file for it?

          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

          1 Reply Last reply Reply Quote 0
          • JL-Pundefined
            JL-P @tmitch205
            last edited by

            @tmitch205
            .
            ; homez.g
            ; called to home the Z axis
            ;
            ; generated by RepRapFirmware Configuration Tool v3.3.12 on Sun Sep 11 2022 20:16:12 GMT+0200 (Midden-Europese zomertijd)
            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G90 ; absolute positioning
            G1 X50 Y5 F4800 ; go to first probe point
            G30 ; home Z by probing the bed

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


            ; deployprobe.g
            ; called to deploy a physical Z probe
            ;
            ; generated by RepRapFirmware Configuration Tool v3.3.12 on Sun Sep 11 2022 20:16:12 GMT+0200 (Midden-Europese zomertijd)
            M280 P0 S10 ; deploy BLTouch


            ; retractprobe.g
            ; called to retract a physical Z probe
            ;
            ; generated by RepRapFirmware Configuration Tool v3.3.12 on Sun Sep 11 2022 20:16:12 GMT+0200 (Midden-Europese zomertijd)
            M280 P0 S90 ; retract BLTouch


            ; homeall.g
            ; called to home all axes
            ;
            ; generated by RepRapFirmware Configuration Tool v3.3.12 on Sun Sep 11 2022 20:16:12 GMT+0200 (Midden-Europese zomertijd)
            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G1 H1 X487 Y-465 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
            G1 H2 X-5 Y5 F6000 ; go back a few mm
            G1 H1 X487 Y-465 F360 ; move slowly to X and Y axis endstops once more (second pass)
            G90 ; absolute positioning
            G1 X50 Y5 F4800 ; go to first probe point
            G30 ; home Z by probing the bed

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

            JL-Pundefined 1 Reply Last reply Reply Quote 0
            • JL-Pundefined
              JL-P @JL-P
              last edited by

              everything is basicly standard from the configurator tool.

              I removed the bltouch from my m3d quad and the one from my CR-10 Max including the cables.

              but now after a complete weekend trying i gave up.

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @JL-P
                last edited by

                @jl-p is your bltouch really 100mm away from your probe in X and Y?
                Your homing files look ok.

                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

                JL-Pundefined 1 Reply Last reply Reply Quote 0
                • JL-Pundefined
                  JL-P @jay_s_uk
                  last edited by

                  @jay_s_uk no I tried something's. I though it was the location where it should probe because my bed start at 17. From the end stop

                  Norderundefined 1 Reply Last reply Reply Quote 0
                  • Norderundefined
                    Norder @JL-P
                    last edited by

                    @jl-p
                    I also had problems with the BLTouch on exp.heater3.
                    I then connected exp.heater7 and since then everything is OK.
                    Somewhere in the depths of this forum or the Duet instructions I read something that could cause problems with exp.heater3.
                    Since it was all a long time ago, I can't tell you the reason for this and I just tried to find this info again... but without success.

                    If exp.heater7 is not yet occupied, it would be worth a test to reconnect the cable from exp.heater3 to exp.heater7 and to adapt the config.g.

                    Google Translate
                    -- Original Text --

                    Ich hatte auch Probleme mit dem BLTouch an exp.heater3.
                    Ich habe dann exp.heater7 angeschlossen und seitdem ist alles OK.
                    Irgendwo in den Tiefen dieses Forums oder der Duet Anleitungen habe ich mal etwas gelesen das es bei exp.heater3 zu Problemen kommen kann.
                    Da es alles sehr lange her ist, kann ich den Grund dafür nicht nennen und ich habe gerade versucht diese Info wieder zu finden... aber ohne Erfolg.

                    Wenn exp.heater7 noch nicht belegt ist, wäre es ein Test wert das Kabel von exp.heater3 auf exp.heater7 umzustecken und die config.g anzupassen.

                    DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                    Thingiverse

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

                      From your files it all looks ok, but you're saying when you send G30 the probe doesn't deploy? Where are your deployprobe.g and retractprobe.g files located? Where are your homing files located? They should be in the sys folder along side config.g. In the past I've seen someone have similar issues because the files they were editing were located in the macros folder, and the files that were actually being used were in sys.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • JL-Pundefined
                        JL-P @Norder
                        last edited by

                        @norder Thx that did the trick.

                        Stil no idea why the other one isnt working because the default deployment works fine.

                        Thx for your help

                        Norderundefined 1 Reply Last reply Reply Quote 1
                        • Norderundefined
                          Norder @JL-P
                          last edited by

                          @jl-p said in Duet 2 and BL Touch:

                          Thx for your help

                          very gladly.

                          I invested another 30 minutes this morning to find this information to prefer the Heater7 in certain cases.
                          Unfortunately I couldn't find the info again.

                          The info is also a few years old and is therefore more likely to be found on the dozuki server than on the duet3d server.

                          It's just too long ago to remember exactly.
                          I'm also a bit older (grandpa twice) 🙂

                          Maybe @dc42 knows more about why you should use Heater7 instead of Heater3 for the BLTouch in certain cases?
                          It had nothing to do with an expansion board though as I don't have one and the Heater7 info concerned me.
                          There was also no RRF3 for the Duet Wifi at the time.

                          It's brain terror when you can't think of certain things and you know roughly where they are... but you can't find them. 😬 Grrrr

                          Nice that your printer is working again. 👍

                          DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                          Thingiverse

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

                            @norder I'm not sure if there was ever an issue with using heater 3! I have tested it many times, and never found an issue. The only mistake I have seen repeatedly, because the picture showing the connections isn't that great, was that users didn't connect to the heater 3 pin but to the pin above. It can look like the pin the yellow wire connects to is on the top row of pins, when it is actually the bottom row, in the picture below.
                            alt text

                            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

                            JL-Pundefined Norderundefined 2 Replies Last reply Reply Quote 0
                            • JL-Pundefined
                              JL-P @droftarts
                              last edited by

                              @droftarts when moving back to heater 3 everything works also.

                              No idea what happened.

                              Thx all

                              Johan

                              1 Reply Last reply Reply Quote 0
                              • Norderundefined
                                Norder @droftarts
                                last edited by

                                @droftarts
                                That's a possibility I thought of at first too, but then I realized why I don't use Heater3 for my BLTouch.

                                In my case, I have always checked the Board-Diagram for every cable that I have connected to the Duet over the course of time.
                                Back then... yes, it's been a few years... my BLTouch on Heater3 didn't work.
                                Then I leave this info and switched to Heater7 and everything worked as requested.
                                I rule out 99.9% that I took the wrong pin at the time, because I checked it very often when it wasn't working.

                                Presumably every duet has a soul or a life of its own... for some like that for others like that !? 😄

                                I hope that someone finds this info text or can confirm it... otherwise people still think I'm crazy or a storyteller. LOL

                                Google Translate
                                -- Original Text --

                                Das ist eine Möglichkeit an die ich auch zuerst dachte, aber dann fiel mir ein warum ich Heater3 nicht für meinen BLTouch nutze.

                                Ich in meinem Fall habe bei jedem Kabel welches ich im laufe der Zeit an den Duet angeschlossen habe, immer auch das Board-Diagram zur Kontrolle genommen.
                                Damals... ja es ist schon einige Jahre her... funktionierte mein BLTouch an Heater3 nicht.
                                Dann laß ich diese Info und wechselte auf Heater7 und alles funktionierte wie gewünscht.
                                Das ich zu der Zeit einen falschen Pin genommen habe, schließe ich zu 99,9% aus, denn ich habe dieses sehr oft kontrolliert in der Zeit wo es nicht funktionierte.

                                Vermutlich hat jedes Duet eine Seele bzw ein Eigenleben... bei der einen so bei der anderen so !? 😄

                                Ich hoffe das irgend jemand diesen Infotext findet oder es bestätigen kann... sonst denken die Leute noch ich wäre verrückt oder ein Märchenerzähler. LOL

                                DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                                Thingiverse

                                1 Reply Last reply Reply Quote 0
                                • dc42undefined dc42 marked this topic as a question
                                • dc42undefined dc42 has marked this topic as solved
                                • First post
                                  Last post
                                Unless otherwise noted, all forum content is licensed under CC-BY-SA