On Fri, Jul 27, 2018 at 6:02 PM, andy pugh <bodge...@gmail.com> wrote:

> On 27 July 2018 at 21:39, Kurt Jacobson <kurtcjacob...@gmail.com> wrote:
>
> > There are significant advantages to having the probed pos be in ABS
> > coordinates, mainly because it makes it easy to set a WCS to the probed
> pos:
> >
> > G38.2 Z-.5
> > G10 L2 P0 Z[#5063]
>
> Is G10 L20 any help here?
>

G10 L20 set the current position to be the value specified by the axis
letters.
I have noticed several people using G10 L20 in their probing routines
(presumably because it is easy), but it is not at all correct.

Here is a snippet taking from a probing routine:
...
G21 G91
G38.2 z-20 F80
G10 L20 P1 Z0
...

This will not produce accurate results, as it assumes that the probe
stopped immediately upon tripping, when in fact it has to decelerate, so
will have over-shot the pos at which the probe tripped.
There are ways to use G10 L20 to set the WCO correctly, but they are not
clean or neat.

I believe that this is one of the main reasons almost all of the successful
probing routines for LCNC have been written in python, because the python
interface reports the probed pos in ABS coordinates, so makes it really
easy to set the WCO using G10 L2.

Thanks Andy!
Kurt
------------------------------------------------------------------------------
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
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to