0% found this document useful (0 votes)
8 views

NC PROGRAMMING FOR MILLING L - AND - C - Type

Uploaded by

u21me050
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

NC PROGRAMMING FOR MILLING L - AND - C - Type

Uploaded by

u21me050
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

NC PROGRAMMING FOR VARTICLE MILLING MACHINE

(L & C -TYPE)
PREPARATORY FUNCTION (G-CODES)
 This is denoted by “G” .
 It is a preset function associated with machine
axes and the associated geometry
MOTION GROUP

 G00 Rapid positioning

 G01 Linear Interpolation


G00 - Rapid positioning
For CNC mill or lathe. Moves from point to point at full feed
(as per the machine setting).

G01 - Linear Interpolation


The mathematical process the CNC controller performs to
determine the time and distance each axis must move to insure
a perfectly straight and smooth tool movement regardless of
the angle.
G02/G03 - Circular Interpolation
G02 – Clockwise circular interpolation

G03 - Anti-clockwise circular interpolation


For the motion from point ‘F’ to ‘G’
in XY plane, the program block
would be;

N010 G02 X 65000 Y 60000 I


35000 J-10000 F 250…..

For the motion from point ‘G’ to ‘F’ in XY


plane, the program block would be;

N010 G03 X 15000 Y 30000 I -15000 J-


40000 F 250…..
ACTIVE PLANE SELECTION GROUP – G17, G18, G19

G17 - XY Plane Selection


This is default turn-on code. This allows the
working to be carried out in XY Plane

G18 - XZ Plane Selection


This allows the working to be carried out in
XZ Plane

G19 - YZ Plane Selection


This allows the working to be carried out in YZ
Plane
UNITS GROUP
 G70 – Programming in Inches
 G71 – Programming in Millimeters(mm)

 This group of codes specifies the units in which


the programming is to be interpreted.
COORDINATE SYSTEM GROUP
 G90 – Absolute Coordinate System
 G91 – Incremental Coordinate System
 G92 – Absolute Pre-set

 The tip of the setting tool, is made to touch the point A.


 The point ‘O’ is 0,0,0 and if point ‘C’ is G92 X0 Y0 Z0 means
point ‘O’ is -200,-30
 N--- G92 X 20000 Y17000 Z 30000
COORDINATE SYSTEM GROUP

 G90 – Absolute Coordinate System


COORDINATE SYSTEM GROUP

 G91 – Incremental Coordinate System


CUTTER PATH PROGRAMMING :
N.C. Program for Vertical Milling Machine (L-Type Machine)

End and Side milling cutter,


d = 20mm Φ

Points Geometry Cutter


C.L. coordinates coordinate
A 0,0 0,0
B 50,40 40,30
C 150,40 160,30
D 150,95 160,105
E 50,95 40,105
A 0,0 0,0

C.L : Cutter Location Point


N001 G92 X0 Y0 Z0 (*)

N002 G90 (*)

N003 G71 (*)

N004 G01 G78 X40000 Y 30000 Z 52000


R 33000 F100 S100 T01 M03 (*)

N005 G79 X160000 (*)

N006 Y 105000 (*)

N007 X 40000 (*)

N008 Y 30000(*)

N009 G 80 Z0 F0 M05 (*)

N010 G00 X0 Y0 (*)

N011 M02 or M30 (*)


CUTTER PATH PROGRAMMING :
N.C. Program for Vertical Milling Machine (L-Type Machine)
Incremental Mode : G91 End and Side milling cutter,
d = 20mm Φ

Points Geometry Cutter Cutter


coordinates coordinate Coordinate
(Increment
al)

A 0,0 0,0 0,0


B 50,40 40,30 40,30
C 150,40 160,30 120,0
D 150,95 160,105 0,75
E 50,95 40,105 -120,0
B 0,0 0,0 0,-75
N001 G92 X0 Y0 Z0 (*)

N002 G91 (*)

N003 G71 (*)

N004 G01 G78 X40000 Y 30000 Z 52000


R 33000 F100 T01 M03 (*)

N005 G79 X120000 Y 0(*)

N006 X 0 Y 75000 (*)

N007 X -120000 Y 0(*)

N008 X0 Y-75000(*)

N009 G90 (*)

N010 G 80 Z0 F0 M05 (*)

N011 G00 X0 Y0 (*)

N012 M02 or M30 (*)


GEOMETRY PATH PROGRAMMING :
TOOL RADIUS CORRECTION :
(G41 - OVERSHOOT & G42- UNDERSHOOT)

During geometry path programming tool radius correction is used.

G41 – Over Shoot Command

G42 – Under Shoot Command

G40 – Cancel Overshoot and Undershoot commands

This facility can be used only while machining along X & Y axis.

G41 – Over shoot. The tool travel is more (equal to tool radius) than the
specified coordinate of a point as per geometry path programming in
respective X or Y direction.

G42 – Under shoot. The tool travel is less (equal to tool radius) than the
specified coordinate of the point as per geometry path programming in
respective X or Y direction.
Under shoot : (at Point B)

N___ G42 X 50000 Y 40000 …… for Point B


B C
Over shoot : ( at Point C)

N ___ G41 X 150000 Y40000 …… for Point C


N001 G92 X0 Y0 Z0 (*)

N002 G90 (*)

N003 G71 (*)

N004 G01 G78 G42 X50000 Y 40000 Z 52000


R 33000 F100 T01 Q0001 M03 (*)

N005 G79 G41 X150000 (*)

N006 Y 95000 (*)

N007 G42 X 50000 (*)

N008 Y 40000(*)

N009 G40 G 80 Z0 F0 M05 (*)

N010 G00 X0 Y0 (*)

N011 M02 or M30 (*)


N.C. Program for Vertical Milling Machine (C-Type Machine)
Tool Length, ΔL
No L mm
1 45 25
2, R 70 0
3 50 20
Coordinate Table: Points Geometry Cutter
coordinates coordinates

A 0,0 -8,-8

B 0,50 -8,58

C 90,0 98,-8

D 30,50 22,58

E 90,50 98,50

F 20,30 20,30

G 40,20 40,20

F 70,50 70,50
N001 G92 X0 Y0 Z0 (*)
N002 G90 G71 (*)
(For machining edge AC)
N003 G42 G01 G78 X0 Y0 Z68000
R48000 Q0101 F100 T01 M03 (*)
N004 G41 G79 X90000 (*)
:
N008 G40 Q0100 (*)
:
(For machining arc E to D)
N010 G01 X98000 Y 50000 Z68000
(*) R48000 Q0100 F100 T01 M03 (*)
(For milling slot GH)
N011 G03 X22000 Y 58000 I-38000
N018 G78 X40000 Y20000
J0 (*)
Z55000 R 48000 Q0300 F200
(For machining edge DB)
T03 M03 (*)
N012 G01 X-8000 (*)
N019 G01 G79 X 70000 Y50000
N013 Z0F0 Q0000 M05 (*)
(*)
(For drilling hole F)
N020 G80 Z0 F0 Q0000 M05 (*)
N015 G81 X20000 Y30000 Z68000
N021 G00 X0 Y0 (*)
R48000 Q0200 F300 T02 M03 (*)
N022 M02 or M30 (*)
N016 G80 Z0 F0 Q0000 M05 (*)
THANK YOU

You might also like