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

    mechanical z probe and BLtouch

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    6
    995
    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.
    • npm1undefined
      npm1
      last edited by

      Hi,
      I am looking to use a mechanical end stop for homing, this would be in a fixed position just to find a stable Z Min and BLTouch as the probe i.e. bed leveling and compensation.

      How would i set up the code for this setup:

      M574 X1 Y1 Z1 S1;
      M574 E0 Z1 S2;
      M558 P4 X0 Y0 Z1 E0 H10 I1 F80 T6000 ; for inductive sensor, Set Z probe type to switch, the axes for which it is used and the dive height + speeds
      M557 X0:170 Y13:180 S25; Define mesh grid
      G31 P1000 X0 Y0 Z0; Set Z probe trigger

      Would it work, with the setup above.

      Ender 5 pro(LGXextruderddewith e3d revo rapid changer) with fly rrf e3 and a standard prusa mk3, both siting air-tight in a ikea kitchen cabinet.

      dc42undefined 1 Reply Last reply Reply Quote 0
      • npm1undefined
        npm1
        last edited by npm1

        so far i managed to get the z axis to stop with the endstop however the bltouch still activates:

        M574 X1 Y1 Z1 S1;
        M574 E0 S0 ;
        M307 H3 A-1 C-1 D-1 ;Disable heater
        M558 P4 X0 Y0 Z1 H3 F50 I1 T6000 ;Set Z probe type to switch, the axes for which it is used and the dive height + speeds
        G31 P1 X0 Y0 Z1.90;X25 Y22.5
        M557 X0:170 Y13:180 S25; Define mesh grid

        I know all the BLtouch moves work as needed

        T0 ; select first hot end
        G91 ; Relative coordinates
        G1 Z5 F200 ; Lower bed.
        G4 P500 ; Dwell for 500ms - to ensure bed is down
        G90 ; Absolute positioning
        G1 X10 Y15 F300 ; Go to first bed probe point and home the Z axis
        G1 Z5 F200 ; Lower bed.
        G1 Z-300 F100 S1 ; move Z down until the switch triggers
        M208 S1 Z-2.3
        G92 Z2.15; ABS. higher g92 means that 0 is lower down on the z axis

        When i type the G30 S-1 Command the following error occurs:
        Error: Z probe was not triggered during probing move
        The Bltouch is plugged into the probe connector rather than E0 STP connector

        Ender 5 pro(LGXextruderddewith e3d revo rapid changer) with fly rrf e3 and a standard prusa mk3, both siting air-tight in a ikea kitchen cabinet.

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

          @npm1 said in mechanical z probe and BLtouch:

          Hi,
          I am looking to use a mechanical end stop for homing, this would be in a fixed position just to find a stable Z Min and BLTouch as the probe i.e. bed leveling and compensation.

          How would i set up the code for this setup:

          M574 X1 Y1 Z1 S1;
          M574 E0 Z1 S2;
          M558 P4 X0 Y0 Z1 E0 H10 I1 F80 T6000 ; for inductive sensor, Set Z probe type to switch, the axes for which it is used and the dive height + speeds
          M557 X0:170 Y13:180 S25; Define mesh grid
          G31 P1000 X0 Y0 Z0; Set Z probe trigger

          Would it work, with the setup above.

          1. Remove the second M574 command. You don't need a M574 command for a Z probe, unless the Z probe doubles up as the X or Y endstop switch.

          2. Your bltouch is incorrectly wired and configured. see the wiki page on connecting a Z probe.

          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

          npm1undefined 1 Reply Last reply Reply Quote 0
          • npm1undefined
            npm1 @dc42
            last edited by npm1

            @dc42 so the:
            M574 X1 Y1 Z1 S1;
            Do i need to define E0 plugging in the E0 STP pins or can I use the probe connector.

            Should that matter?

            I.e. the second one M574 would be used as:
            M574 E0 S2;

            Or should I omit that 2nd M574 command and define when/call the probe is being used i.e. in the bed.g (G32) and G29 Macro. Especially since this probe aint used as the endstop for the Z axis.

            In the Homez.g use:
            G1 to send the z axis towards the bed

            Kind regards
            And thnks for ur time

            Ender 5 pro(LGXextruderddewith e3d revo rapid changer) with fly rrf e3 and a standard prusa mk3, both siting air-tight in a ikea kitchen cabinet.

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

              M574 commands do not apply to extruder endstop inputs. They used to, but that was many firmware versions ago.

              The wiring instructions for bltouch in the wiki tell you to use the probe connector.

              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

              npm1undefined 1 Reply Last reply Reply Quote 0
              • npm1undefined
                npm1 @dc42
                last edited by

                @dc42 thnks 4ur time

                Ender 5 pro(LGXextruderddewith e3d revo rapid changer) with fly rrf e3 and a standard prusa mk3, both siting air-tight in a ikea kitchen cabinet.

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