Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: Plasmakid16 on January 26, 2024, 07:56:23 PM
-
Using my plasma table & Mach 3 I want to burn out a hole that uses x0, y0, i and j to describe the circle to be cut. I then want to move say 2 inches in the X axis direction and then repeat the hole cut but want to be able reset the x0 & y0 origin for that new position so I don't have keep changing the i & j values if I want to keep moving to subsequent hole locations. What I have been doing is manually moving to the next location and manually resetting the x0, y0 origin for each hole. I want to be able to program this into the code to make the operation seamless. Any help would be great!
-
G52 X-2.
do your code here
G52 X-4.
do your code
G52 X0 when you are finished
-
This will work! Thanks for the information. Always seems simple once you know how.