Z probe setup for CNC
-
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.
(I havent modified the comments yet)How can I setup an endswitch as a tool set probe?
Thank you
-
This is on a Duet 3 6XD.
-
-
@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?_=1679327030257You 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
-
@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.
-
@djthuma are you using the same macros as in the referenced thread?
-
@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.