×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

G-code, G41 and G42
3

G-code, G41 and G42

G-code, G41 and G42

(OP)
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.

RE: G-code, G41 and G42

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.

RE: G-code, G41 and G42

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.

RE: G-code, G41 and G42

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

RE: G-code, G41 and G42

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources