Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Z probe setup for CNC

    CNC
    2
    6
    94
    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.
    • djthuma
      djthuma last edited by

      Hello,

      Trying to setup a stationary Z probe, using a LED switch endstop, like I have on the other axes.

      I have been using
      https://forum.duet3d.com/topic/29771/fusion-360-cnc-and-laser-post-processors-with-tool-workflow?_=1678326759314
      as a reference and trying to recreate the macros for my machine.

      e7948eac-3fbd-4d71-aeb0-31daa952b22f-image.png
      (I havent modified the comments yet)

      How can I setup an endswitch as a tool set probe?

      Thank you

      1 Reply Last reply Reply Quote 0
      • djthuma
        djthuma last edited by

        This is on a Duet 3 6XD.

        T3P3Tony 1 Reply Last reply Reply Quote 0
        • Referenced by  djthuma djthuma 
        • T3P3Tony
          T3P3Tony administrators @djthuma last edited by

          @djthuma you are trying to us a switch as the Z endstop, or to set tool lengths?

          you can't have a single IO as both an endstop and as a zprobe which you have in the config above :

          M950 P2 C"io5.in"							; Allocate GPOP Port 1 to Z Probe in
          M558 P5 C"io5.in" H180 F700 T1000	        ; Set to Z probe type 5 and to switch and dive height + speeds
          

          This is wrong. If you look at the example you reference:
          https://forum.duet3d.com/topic/29771/fusion-360-cnc-and-laser-post-processors-with-tool-workflow/4?_=1679327030257

          You will see that the M950 command is commented out:

          ;M950 P2 C"io5.in"							; Allocate GPOP Port 1 to Z Probe in
          M558 P5 C"io5.in" H180 F700 T1000	        ; Set to Z probe type 5 and to switch and dive height + speeds
          

          www.duet3d.com

          djthuma 1 Reply Last reply Reply Quote 0
          • djthuma
            djthuma @T3P3Tony last edited by

            @T3P3Tony
            I have a Z endstop at the top of my gantry head and a stationary endstop on the spoilboard 20+mm higher. I want the tool to touch that endstop and set the new Z height. Based on whatever tool I have setup.

            Even with the M558 P5 C"io5.in" H180 F700 T1000 only, I am not getting any response from the endstop to trigger the Z movement to stop.

            T3P3Tony 1 Reply Last reply Reply Quote 0
            • T3P3Tony
              T3P3Tony administrators @djthuma last edited by

              @djthuma are you using the same macros as in the referenced thread?

              www.duet3d.com

              djthuma 1 Reply Last reply Reply Quote 0
              • djthuma
                djthuma @T3P3Tony last edited by

                @T3P3Tony I have them uploaded. But I know they are not functioning properly for the endstop I want to use.

                How would you write a probe macro for this situation?

                Sorry, I don't have that much experience working with the reprap language for duet.

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