Hello Guest it is April 19, 2024, 01:52:30 AM

Author Topic: need G code format to drill hole using tangent function  (Read 1922 times)

0 Members and 1 Guest are viewing this topic.

Offline DMF

*
  •  17 17
    • View Profile
need G code format to drill hole using tangent function
« 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?
Re: need G code format to drill hole using tangent function
« Reply #1 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