Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: DMF on March 16, 2013, 04:58:32 PM

Title: need G code format to drill hole using tangent function
Post by: DMF on March 16, 2013, 04:58:32 PM
I want to rotate the router and then drill a hole moving the x and z together using the tangent function. I think I need to have a G18 first to set the active plane to XZ. What is the G code and format to move the X and Z together for this?
Title: Re: need G code format to drill hole using tangent function
Post by: cncalex on March 16, 2013, 06:03:22 PM
Hi DMF,

do you mean this?



g90g54g0x10y10z0
g18
g0y2
g0y0f777
g91
m98p1l10
g90g0y10
g17
m30
%
o1
g3x0z0i-10k0y-2
m99
%


Alex