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

    BL-Touch and the Duex 5

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    10
    68
    7.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.
    • JustDundefined
      JustD
      last edited by JustD

      @Phaedrux. No.. the BLTouch is absolute without any function

      Now I have this..

      ; homex.g
      ; called to home the X axis
      ;
      ; generated by RepRapFirmware Configuration Tool on Fri Mar 22 2019 12:45:27 GMT+0100 (Mitteleuropäische Normalzeit)
      G91 ; relative positioning
      G1 Z5 F9000 S2 ; lift Z relative to current position
      G1 S1 X-365 F1800 S2 ; move quickly to X axis endstop and stop there (first pass)
      G1 X5 F9000 S2 ; go back a few mm
      G1 S1 X-365 F360 S2 ; move slowly to X axis endstop once more (second pass)
      G1 Z-5 F9000 S2 ; lower Z again
      G90 ; absolute positioning

      ; homey.g
      ; called to home the Y axis
      ;
      ; generated by RepRapFirmware Configuration Tool on Fri Mar 22 2019 12:45:27 GMT+0100 (Mitteleuropäische Normalzeit)
      G91 ; relative positioning
      G1 Z5 F9000 S2 ; lift Z relative to current position
      G1 S1 Y355 F1800 S2 ; move quickly to Y axis endstop and stop there (first pass)
      G1 Y-5 F9000 S2 ; go back a few mm
      G1 S1 Y355 F360 S2 ; move slowly to Y axis endstop once more (second pass)
      G1 Z-5 F9000 S2 ; lower Z again
      G90 ; absolute positioning

      ; homez.g
      ; called to home the Z axis
      ;
      ;betrue3d.dk´s Homing-Z5
      ; Homez.g
      G30 ; Do a single probe to home our Z axis
      G90 ; Make sure we are in absolute mode
      G1 Z10 F8000 S2 ; Rapidly move the Z axis to Z=10

      HomeU.g/ Homev.g/ Homew.g are copy´s of Homez.g

      Now I get this Errormessage

      " G28 Z

      Error: Z probe already triggered at start of probing move
      Error: Homing failed"

      @SAM: Thats a good question

      Own Tronxy X5S modified to 360x360x430, 7 linear-rails (4 Z; 2 Y; 1 X-Axis), 3 independent Z-Axis with 3 Steppers; BL-Touch..
      Duet 2 Wifi 1.04 + DUEX5, 3input-nozzle with 3 extruders, 6mm Glas Plate and 600W silicon-headbed with own powersupply.

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

        @justd said in BL-Touch and the Duex 5:

        ; homez.g
        ; called to home the Z axis
        ;
        ;betrue3d.dk´s Homing-Z5
        ; Homez.g
        G30 ; Do a single probe to home our Z axis
        G90 ; Make sure we are in absolute mode
        G1 Z10 F8000 S2 ; Rapidly move the Z axis to Z=10

        Error: Z probe already triggered at start of probing move
        Error: Homing failed"

        That error is likely because you haven't moved the probe into position before doing the G30.

        You need something like this

        ; Homez.g
        G90 ; Make sure we are in absolute mode
        G1 X150 Y150 F8000 ; move probe to bed center. Adjust to make the probe be in the center of the bed. Note that X and Y must be homed first.
        G30 ; Do a single probe to home our Z axis
        G1 Z10   ; Rapidly move the Z axis to Z=10
        G1 X0 Y0 ; return to home position. Adjust as needed.
        

        I don't think it matters if the heater unbinding comes before or after as long as it is unbound when the probe is called into action. I've seen people do both.

        If the probe doesn't respond at all and appears to be dead that means that either the wiring is incorrect or damaged, or the probe is dead.

        Can you temporarily setup the BLTouch without the Duex? Just to see if you can get it working that way to prove if the probe is dead or alive. It may also help to verify the wiring.

        Can you post a photo of how exactly it is wired?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • JustDundefined
          JustD
          last edited by

          I have an spare BLTouch.. and for testing I connected directly

          0_1563947848943_20190724_074213.jpg

          Own Tronxy X5S modified to 360x360x430, 7 linear-rails (4 Z; 2 Y; 1 X-Axis), 3 independent Z-Axis with 3 Steppers; BL-Touch..
          Duet 2 Wifi 1.04 + DUEX5, 3input-nozzle with 3 extruders, 6mm Glas Plate and 600W silicon-headbed with own powersupply.

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

            Did it work?

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • JustDundefined
              JustD
              last edited by JustD

              No.. not..
              I still get this Errormessage

              " G28 Z

              Error: Z probe already triggered at start of probing move
              Error: Homing failed"

              I think it´s not a Problem of homing.. ..
              For my viepoint it is a point at the PWM-Channel ..-- What I say.. after I connect the DUEX, the BLTouch never have the Light on.... in normal mode..

              I search at the Wiki.. but I see nothing.. to set a jumper. or so..

              Also I try.. to switch to Heater 5.. or 3.. so.. Heater 3 is on PWM1 (right?)
              Where is heater 5 assigned... to wich PWM Channel?

              Own Tronxy X5S modified to 360x360x430, 7 linear-rails (4 Z; 2 Y; 1 X-Axis), 3 independent Z-Axis with 3 Steppers; BL-Touch..
              Duet 2 Wifi 1.04 + DUEX5, 3input-nozzle with 3 extruders, 6mm Glas Plate and 600W silicon-headbed with own powersupply.

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

                @justd it saying that it is already triggered makes me think the probe signal needs to be inverted.

                Does the web interface indicate 0 or 1000?

                Can you try adding I1 to M558?

                If that doesn't work tomorrow I'll try to duplicate your exact setup myself on the test bench.

                Z-Bot CoreXY Build | Thingiverse Profile

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

                  Does the BLTouch run its self test when you power on the Duet? If it doesn't then perhaps it's not getting 5V power.

                  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
                  • JustDundefined
                    JustD
                    last edited by JustD

                    @Phaedrux: Web-Interface show´s 1000

                    But.. If I test your suggestion.. with i1 at M558.. the Value at WEB-interface is 0

                    @DC42: No selftest at power on, no Light.. nothing.... The original in the Mashine.. and the spare ... no function.
                    I try to messure with a mulltimeter.. the 5V.. at the DUEX.. no 5V.. no 3.3V.

                    Thats what I mean.. is there any Jumper who should be set up?

                    Own Tronxy X5S modified to 360x360x430, 7 linear-rails (4 Z; 2 Y; 1 X-Axis), 3 independent Z-Axis with 3 Steppers; BL-Touch..
                    Duet 2 Wifi 1.04 + DUEX5, 3input-nozzle with 3 extruders, 6mm Glas Plate and 600W silicon-headbed with own powersupply.

                    1 Reply Last reply Reply Quote 0
                    • JustDundefined
                      JustD
                      last edited by JustD

                      @DC42 at a DUEX5 is there always 5V power at the PWM´s?
                      Or only if the Chanel is called?

                      I checked now.. the general Power at the DUEX... I use the GPIO-Pin.. GND - 5V and 3.3V.. it´s all OK.. 5V and 3.3V are OK at this point.
                      But If I messure between GND (GPIO) and 5V at any PWM-Channel.. I get only 0.1V

                      Hmm.. any Idea whats going on there?

                      OH.. I check the Board-Layout.. and see.. the Jumpers at the Endstop-Voltage-Select is at 3.3V set.
                      Is it save for the Board and the BLTouch, if I switch it to 5V?

                      My origin BLT who´s in the printer, is the newest on.. (normaly with 3.3V & plastic-pin), but the spare is a little older with Alu-pin and 5V.

                      But I´m wondering, that at the 5V-Pin nothing is to messure at the PWM-channel.. egual wich Channel....hmm.

                      Own Tronxy X5S modified to 360x360x430, 7 linear-rails (4 Z; 2 Y; 1 X-Axis), 3 independent Z-Axis with 3 Steppers; BL-Touch..
                      Duet 2 Wifi 1.04 + DUEX5, 3input-nozzle with 3 extruders, 6mm Glas Plate and 600W silicon-headbed with own powersupply.

                      1 Reply Last reply Reply Quote 0
                      • JustDundefined
                        JustD
                        last edited by

                        No Ideas.. no hints for me?

                        Own Tronxy X5S modified to 360x360x430, 7 linear-rails (4 Z; 2 Y; 1 X-Axis), 3 independent Z-Axis with 3 Steppers; BL-Touch..
                        Duet 2 Wifi 1.04 + DUEX5, 3input-nozzle with 3 extruders, 6mm Glas Plate and 600W silicon-headbed with own powersupply.

                        1 Reply Last reply Reply Quote 0
                        • JustDundefined
                          JustD
                          last edited by JustD

                          New Info´s.. I found something out..

                          I read this Thread..
                          https://forum.duet3d.com/topic/10978/bltouch-isn-t-working-after-change-to-duex-5

                          and test it at my configuration...
                          And I see..
                          If I start my Z-Axis for Probing.. my Heater 6 is going on (the LED).. hmm.. But What PWM is this Heater corresponding?

                          I changed my Config.g to this

                          M307 H7 A-1 C-1 D-1 ; Disable heater 7 to free up PWM channel 5 on the Duex board.
                          M307 H6 A-1 C-1 D-1 ; Disable heater 7 to free up PWM channel x on the Duex board.

                          Restart and I see.. no light goes on.. at Heater 6.. and If I start Homing Z, the Z-Axis go´s up.. to 0.. but.. the BLTouch have no light.. and no Pin-Down.. so it´s clear.. Z-Axis never stop..
                          There is still no light on at the BLTouch.. hmm..

                          Now my question:

                          1. How can I see, Wich Heater corresponding wich what PWM-Channel?
                          2. and how can I check this with G-Codes?
                          3. At what time-step does the 5V-Pin have 5V?

                          Ups .. strange. very strange!

                          After I try something with the Parameters and Heaters...
                          from M558 P5 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 I1
                          to M558 P5 H5 F500 T9000 X0 Y0 Z1:U1:V1:W1
                          or M558 P5 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 I1
                          and M558 P9 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1
                          and back to M558 P5 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 I1

                          Is not the same reaction as before...
                          Now .. the heater LED is on, If I try to start a Probe... but the BLTouch-LED is off.. and no deploy... .. means no pin down or selftest.. nothing.

                          He Guy´s.. please help me.. I´m stucking.. with this one Point.. and I have no Idea at the moment.

                          Own Tronxy X5S modified to 360x360x430, 7 linear-rails (4 Z; 2 Y; 1 X-Axis), 3 independent Z-Axis with 3 Steppers; BL-Touch..
                          Duet 2 Wifi 1.04 + DUEX5, 3input-nozzle with 3 extruders, 6mm Glas Plate and 600W silicon-headbed with own powersupply.

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

                            @justd said in BL-Touch and the Duex 5:

                            After I try something with the Parameters and Heaters...
                            from M558 P5 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 I1
                            to M558 P5 H5 F500 T9000 X0 Y0 Z1:U1:V1:W1
                            or M558 P5 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 I1
                            and M558 P9 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1
                            and back to M558 P5 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 I1

                            The M558 P and H values have nothing to do with the servo and heater pins.
                            M558 P is the probe type. BLtouch should use P9.
                            M558 H is the dive height for the probe to use when probing. 5 to 10mm is normal.

                            M307 H7 targets the heater 7 pin, and would mean the M208 servo command would use P7.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • JustDundefined
                              JustD
                              last edited by JustD

                              Oh Phaedrux.. thank you for explanation..
                              Ohh.. I see.. at the WiKi.. what H5-10 means... OK.. Thank you.

                              Is it right.. M307 H6 targets the heater 7Pin (E5) could be used in M208 P6 and is PWM4?
                              Is that the logic behind?

                              Hmm.. and why is the LED on at H7.. and no 5V at PWM5 or PWM1?

                              Own Tronxy X5S modified to 360x360x430, 7 linear-rails (4 Z; 2 Y; 1 X-Axis), 3 independent Z-Axis with 3 Steppers; BL-Touch..
                              Duet 2 Wifi 1.04 + DUEX5, 3input-nozzle with 3 extruders, 6mm Glas Plate and 600W silicon-headbed with own powersupply.

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

                                @justd said in BL-Touch and the Duex 5:

                                H7 means.. the difference between end of Nozzle and end of BLtouch?

                                M558 H7 would mean that the print head would lift up 7mm before going back down to trigger the probe. It's to ensure there is enough clearance for a good probe result.

                                @justd said in BL-Touch and the Duex 5:

                                Hmm.. and why is the LED on at H7.. and no 5V at PWM5 or PWM1?

                                I don't know anything about that unfortunately.

                                Were you able to test the BLTouch connected directly to the Duet without the Duex connected at all? Making sure to change the configuration for that setup.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • JustDundefined
                                  JustD
                                  last edited by

                                  It´s not so easy, to deconnect the DUEX. .and test the BLTouch.. Why?
                                  I have 3 independent Z-Axis.. and so.. the SW detects, it´s no Z-Engine connected.. .or not?
                                  I use no original Z-Axis.. only at Duex.

                                  Own Tronxy X5S modified to 360x360x430, 7 linear-rails (4 Z; 2 Y; 1 X-Axis), 3 independent Z-Axis with 3 Steppers; BL-Touch..
                                  Duet 2 Wifi 1.04 + DUEX5, 3input-nozzle with 3 extruders, 6mm Glas Plate and 600W silicon-headbed with own powersupply.

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

                                    I just want to verify that the BLTouch actually works at all. Since it isn't responding at all and you think you have the wiring correct then I wonder if the probe is faulty.

                                    You say you have another BLTouch, but have you tried connecting it?

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    1 Reply Last reply Reply Quote 0
                                    • JustDundefined
                                      JustD
                                      last edited by JustD

                                      Yes.. directly.. If I connect only with Duet.. then the BLTouch have at startup a selftest.. and the LED is ON.. the Pin goes down und up...
                                      Thats OK..
                                      But with DUEX.. not

                                      What did this mean??

                                      As answer to above..: Yes I connected the spare.. to the DUEX.. and the sam Result.. no function at power on.

                                      I also checked the Flat-Cable between Duet and DUEX.. it´s OK.

                                      Is it normaly, if the H7 is free up with the M307 that the LED for Heater7 is still on If I start a M208?

                                      Own Tronxy X5S modified to 360x360x430, 7 linear-rails (4 Z; 2 Y; 1 X-Axis), 3 independent Z-Axis with 3 Steppers; BL-Touch..
                                      Duet 2 Wifi 1.04 + DUEX5, 3input-nozzle with 3 extruders, 6mm Glas Plate and 600W silicon-headbed with own powersupply.

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

                                        @justd said in BL-Touch and the Duex 5:

                                        Is it normaly, if the H7 is free up with the M307 that the LED for Heater7 is still on If I start a M208?

                                        I don't know.

                                        But at least we know the BLTouch is alive.

                                        Now the question is are you sure the wiring is correct for when connecting to the Duex.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        1 Reply Last reply Reply Quote 0
                                        • JustDundefined
                                          JustD
                                          last edited by JustD

                                          Hmm, The Check the Flat-Cable with a multimeter.. and it´s all OK.. if the Pin 1 is 5V and pin2 is GND at the DUEX...

                                          Power-connection.. .. yes.. the Z-Axis (drive 5-7) and Extruder at Drive 8 running well.. and I´m absolutly shure.. I connected the 24V from the Duet correct at the DUEX.
                                          or is there any Jumper to set, if I use the Duex with 24V instead of 12v?

                                          At my picture above, you can see teh connection of the spare BLTouch.. if this is OK.. then this is also rigth.

                                          Anything forgotten?
                                          I´m open for anything..

                                          Own Tronxy X5S modified to 360x360x430, 7 linear-rails (4 Z; 2 Y; 1 X-Axis), 3 independent Z-Axis with 3 Steppers; BL-Touch..
                                          Duet 2 Wifi 1.04 + DUEX5, 3input-nozzle with 3 extruders, 6mm Glas Plate and 600W silicon-headbed with own powersupply.

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

                                            This weekend I should be able to find some time to duplicate a BLtouch on Duex configuration.

                                            Until then I'm all out of ideas.

                                            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