On 10/18/25 17:10, andy pugh wrote:
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
Exactly what I had in mind. Thanks Andy.

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.


Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Don't poison our oceans, interdict drugs at the src.




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

Reply via email to