Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Boxford DUET Tutorial 2 CNC Tutorials and Exercises

Tutorial 2: Linear Interpolation

This tutorial illustrates the use of the G01 code; cutting takes place in a straight line
at a controlled feed rate.
Consider the component illustrated below; it is required to mill the two L shaped slots.

45

B C D

20
50

A F E
15

15 20 30
Y
80

Material: 15mm thick Plastic


X
Grooves: 5 wide x 2 deep
Tool change at: X 0, Y 0, Z 25
Tool used: 5mm Slot Drill

Absolute Co-ordinates
The absolute co-ordinates of the points are shown in the table below:

POINT A B C D E F T.C.
X 15 15 45 65 65 35 0
Y 15 35 35 35 15 15 0

The program can be written in tabulated format as shown on the following page.
Note:
G00 is a default value and need not be programmed. The first tool is selected when entering the program
into the computer.
Boxford DUET Tutorial 2 CNC Tutorials and Exercises

DRAWING DUET PROGRAMMING SHEET-MILLING SHEET No. 1 OF 1


NUMBER TUT 2/1
TITLE PROGRAMMED BY

SEQUENCE PREP MISC FEED SPINDLE


No. FUNCTION FUNCTION CO-ORDINATES RATE SPEED
NOTES
N G M X Y Z I J F S
ABSOLUTE PROGRAMMING N10 90
METRIC UNITS N20 71
TOOL CHANGE N30 0 0 25
SPINDLE N40 03 1500
2mm ABOVE POINT A N50 15 15 2
FEED TO 2 DEEP N60 01 –2 125
POINT B N70 01 15 35 125
POINT C N80 01 45 125
2mm ABOVE WORK N90 2
ABOVE POINT D N100 65
FEED TO 5 DEEP N110 01 –2 125
POINT E N120 01 15 125
POINT F N130 01 35 125
2mm ABOVE WORK N140 2
PARK POSITION N150 05 0 0 25
END OF PROGRAM N160 30
Boxford DUET Tutorial 2 CNC Tutorials and Exercises

Using compact format, the program for the component shown previously will be as
follows:
N10 G90
N20 G71
N30 X0 Y0 Z25
N40 M03 S1500
N50 X15 Y15 Z2
N60 G01 Z-2 F125
N70 G01 X15 Y35 F125
N80 G01 X45 F125
N90 Z2
N100 X65
N110 G01 Z-2 F125
N120 G01 Y15 F125
N130 G01 X35 F125
N140 Z2
N150 M05 X0 Y0 Z25
N160 M30
Incremental Co-ordinates
The incremental co-ordinates for the component are shown in the table below.
Using these co-ordinates the program can be written as shown as follows:

POINT TOOL A B C D E F T.C. FROM


CHANGE F
X 0 35 0 30 20 0 -30 -35
Y 0 35 20 0 0 -20 0 -15
PROGRAMMING SHEET

DRAWING DUET PROGRAMMING SHEET-MILLING SHEET No. OF


NUMBER
TITLE PROGRAMMED BY

SEQUENCE PREP MISC FEED SPINDLE


No. FUNCTION FUNCTION CO-ORDINATES RATE SPEED
NOTES
N G M X Y Z I J F S

You might also like