On Friday 29 June 2018 17:10:00 Andrew wrote:

> 2018-06-29 23:59 GMT+03:00 Gene Heskett:
> > Greetings all;
> >
> > Because it was handy, my tool length contact bit of pcb is pretty
> > close to the workpiece, like maybe a fat 1/16" from it. The lack of
> > a debris vacuum during the drilling and tapping operations allows
> > quite a pile of swarf to build up, leading to "probe tripped while
> > some other motion was in progress" errors and machine stoppages. It
> > seems to me there ought to be some way short of a manual switch to
> > disable this when there is no g38.x being executed.
> >
> > But short of a custom M command to set an and2 to disable it,
> > wrapped around the g38.x so its only live when running the g38.x, I
> > don't see how else to do it.  Is there a simpler way?
>
> Hi Gene!
>
> I think you can use motion.motion-type for the logic.
> http://linuxcnc.org/docs/html/man/man9/motion.9.html
> Only enable the probe input when  motion-type is 5.
>
> Cheers,
> Andrew

Looks good Andrew, thanks. But checking the man page, its under DEBUGGING 
and subject to going away at any time. Not good when this code might be 
legacy code someday. I recall seeing it quite a few years ago, exactly 
as the man page says today.

I'll see what I can hack up anyway, thanks for the reminder.

A bitslice to change that 5 into 3 setup pins for a lut5, so 2 additional 
modules get loaded by hal.  Or is there a simpler way?

Thanks again.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to