On Sat, 18 Oct 2025 at 20:25, gene heskett <[email protected]> wrote:

> I have about half the code written & to implement the results, so the
> question is: which of the G10 codes is the equ of a touch off for the
> named axis's?

There are two ways to do this.
The simplest is probably to calculate your centre point, move to that
point, and then.

G10 L20 X0 Y0

Or you could calculate the position of the centre in _machine_
coordinates and then set the offset directly with G10 L2.
(To probe in machine coordinate space you could zero the current
offset with G10 L2 X0 Y0)

As you probably want to go to the centre anyway, I would advocate the
simpler G10 L20 way.

-- 
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, 1912


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

Reply via email to