Yeah like I say, to zero out the Zwork coords at present location would be 
confusing, and doesn't actually resolve much.

I'm not familiar with the internally defined parameters.  So #[5203 + [10 * 
#5220] is how you get the work offset of the current coord system?  Wacky... 
there's no "offset of present coord system"?  That's a strangely convoluted way 
to access the single most straightforward parameter there is, used by almost 
all moves.

Danny


---- andy pugh <[email protected]> wrote: 
> On 26 August 2016 at 05:27,  <[email protected]> wrote:

> I tried to prefix the G38.2 with G53 (machine coord operation), but I get an 
> error that G53 only works on G0/G1.
> Am I looking at the problem right?  How can I make this "probe to a fixed 
> machine coord point"?

That's annoying :-) (and G53 was going to be my first suggestion).

One way that comes to mind (and it is very likely that someone else
has a better idea) would be to zero out the Z offset, do the probe,
then put it back.

; Get the current Z offset,  it's lucky that #params can be computed
#1 = #[5203 + [10 * #5220]
G10 L2 P0 Z0
G38.2 F100000 Z-200
G38.3 F10 Z0
G10 L2 P0 Z#1

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users



------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to