Sample QP CAD CAM Lab PDF
Sample QP CAD CAM Lab PDF
Sample QP CAD CAM Lab PDF
1) To write the part program for given work piece shown in figure 1a (Turning program) & 1b
(Milling program)
Figure 1a
Figure 1b
(ANSWER KEY)
Aim:
To write the part program for a given work piece.
Procedure:
1. Start a new file.
2. Write the program.
3. Define the blank.
4. Check the syntax.
5. Correct the errors.
6. Define a tool.
7. Save the file
Turning Program (Figure 1a)
G21 G40 G98
G28 UO WO
M06 T0101
M03 S1200
G00 X28 Z2.0
G71 U1 R0.5
G71 P10 Q20 U1.0 W1.0 F2
N10 G00 X0
G01 Z0 Program- (30 Marks)
G03 X10 Z-5 R5
G01 Z-15
G01 X20 Z-20
G01 Z-30
G01 X25 Z-35
N20 G01 X28 Z-35
G28 UO WO
M05
M30
G21-DIMENSION IN mm
G40-CANCEL CRC
G98-FEED PER MIN
G28-GO TO TOOL ZERO POINT
M06-TOOL CHANGE
M03- SPINDLE ON CW Write the explanation of all G and M code written in the
F-FEED turning program – (20 Marks)
S-SPEED
G71- CANNED TURNING CYCLE
N – SEQUENCE NUMBER
M30-PROGRAM END
Milling Program (Figure 1b)
G21-DIMENSION IN mm
G40-CANCEL CRC
G94-FEED PER REV
G28-GO TO TOOL ZERO POINT
G90 – ABSOLUTE MODE
G91 – INCREMENTAL MODE Write the explanation of all G and M code written in the
G01 – LINEAR INTERPOLATION milling program – (20 Marks)
G03 – CCW INTERPOLATION
G43 – TOOL LENGTH COMPENSTION
G41 – LEFT CRC COMPENSATION
RESULT:
I have written, assigned tool and verified the syntax of a part program for a given work piece.