Replies: 2 comments 57 replies
-
I think that stock LinuxCNC still only uses a single probe pin, but at least both Pathpilot (Tormach) and Haas use G37 for this function with their toolsetter implementations in order to separate the function from normal probing. |
Beta Was this translation helpful? Give feedback.
-
There is already if driver code is changed and a way to select the correct input is added. Making it generic is a bit more tricky, at least an optional function pointer for selecting the probe input has to be added to the HAL structure so code (in a plugin?) can detect that input switching is available. Then there is the issue of which pin(s) to use, the best would be to have a plugin claim one or more aux inputs and tell the driver which to use? A quick glance at G37 Tormach and Haas specs it seems to me that they are not equal so I am am not so sure I want to adopt that. Perhaps automatic switching could be implemented by hooking it into the grblHAL tool change protocol when touch off at G59.3 is enabled? @andrewmarles Should I add a link to your GRBLHAL2000 board in the new repo? |
Beta Was this translation helpful? Give feedback.
-
Hey terjeio and others. I've just switched my 4-axis PrintNC to grblHAL on a GRBLHAL2000 board (I've also had it running on one of Phil's Teensy 4.1 boards, but I wanted to try the GRBLHAL2000 as it was created by a member of the PrintNC community.) Moving between boards was super easy thanks to ioSender's grbl settings backup, so thanks for that terjeio.
In setting up the new board, I've come across an interesting edge case that may be something to think about for future development:
I have both a 3D touch probe (DIG3D.LP.M) and a tool length sensor (generic Aliexpress one, like this).
Both are NC sensors, but the touch probe has a magnetically connected cable, which gets removed when not in use, breaking the circuit. So I can't just daisy-chain the two NC sensors.
Would there be a way in current or future grblHAL to use separate inputs for probe and tool length sensors? Or perhaps to specify an input to use while probing vs tool changing? Z- limit input could make sense as a tool length sensor.
Obviously there's a number of ways I could get around this - stop unplugging the 3d probe, make a physical switch to choose which probing device to use - but if I can make something a bit more foolproof in software, then I have less chance to break stuff.
Beta Was this translation helpful? Give feedback.
All reactions