My question is how can i do the equivalent of pressing zero button with g-code in mach3
Thanks
N0150 G92 Z0 (set Z to 0)
1 Like
Also don’t forget you can use G92 X0.0 Y0.0;
ONLY IF YOU KNOW WHERE X/Y ZERO IS.
I program all my parts with x/y origin or X0.0 Y0.0 as lower left of part, so If I know where my torch is sitting and I need a 12 x12 area of material. (To the right and up) I can move to any random pc of scrap, make sure I have room just hit go.
G92 X0.0 Y0.0 is put up before the rapid move G0/G00
To 1st pierce.
If this sounded confusing I can elaborate.
All my parts are same origin, I don’t nest alot, I can just grab a program and move torch to a part of sheet that has room right and up, zero out DRO and hit go. Great for repeat random requests.