Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

G-code, G41 and G42 3

Status
Not open for further replies.

dho

Mechanical
May 19, 2006
255
how to use these codes? what do left or right means?
if in turning half a ball (sphere), from 0 to 90 degrees, G41 (or G42) will compensate right?
thanks.
 
Replies continue below

Recommended for you

You might want to start with a basic intro to cnc book. G41 offset compensation is for climb milling, G42 is for conventional milling. Left and right simply confuse the issue. A good book or manual with illustrations and accompanying sample code will be the easiest. As they say, a picture is worth a thousand words.

It is better to have enough ideas for some of them to be wrong, than to be always right by having no ideas at all.
 
In general.. Cutter compensation
G41 means the cutter stays to the left of the programmed path.
G42 means the cutter stays to the right of the programmed path.
 
In your ball example, assuming the 0 is furthest from the lathe head and the 90 is furthest from the lathe spindle axis AND you are cutting above tha axis, then a G42 with appropriate value entered in the machine controller for that tool offset will cut the part oversize with a positive ofset value. The tool stays to the right of the theoretical shape.

G41 for climb and G42 for conventional is not always a valid statement, especially on a lathe.

Think of it as driving a car and staying away from the centerline on the road. If I want to stay to the right in the direction of travel by 2 feet, I enter 2 in the offset register and use a G42 to stay to the right of the line. If I want to drive in England, I would use a G41 to stay away from the centerline. :)


"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
i have code from several machinists........ three seem not right in some degree.
your judgement?

xx---cor

We use a .012 R tool

G0 X.8563 Z.1
G96 S300
G1 Z.025 F.002
G41 Z0
X.75
G2 X.6131 Z-.0183 I0 K-.137
G3 X.48 Z-.04 I-.0665 K.0913
G1 X.1254

----------

XX-tool

The following G-code requires a .008 tool nose radius. X.766 Z0; G2 X.6112 Z-.0248 R.133; G3 X.496 Z-.040 R.117.

-----------

XX--com

Untitled
N4G97S1625M13(FINISH FORM FACE)
M98P1
T0404
G0G99X.9Z.1
G1G41X.85Z.0005F.005
X.750F.0005
G2X.615Z-.020R.125
G3X.48Z-.040R.125
G1X.15
G40Z.1F.2
M98P2
M1

-------------

XX-TECH

NAT05(R.BORE)
N0600G97S2500M08
N0601G00X0.185Z0.05T050505
N0602G96S275
N0603G85N0604D.025F0.004U0.008W0.004
N0604G81
N0605G00X0.75
N0606G01Z0G41E0.004
N0607G02X0.615Z-0.02I0.0003K-0.125E0.004
N0608G03X0.48Z-0.04I-0.0678K0.105
N0609G01X0.22

 
 http://files.engineering.com/getfile.aspx?folder=6d634f31-11f4-46f4-886e-22fdae3b4be2&file=G41.pdf
Status
Not open for further replies.

Part and Inventory Search

Sponsor