Final-CAM
Final-CAM
Final-CAM
MEE 322
COMPUTER-AIDED
MANUFACTURING
Presented to
Joel B. Sumugat, PME
Technological University of
the Philippines – Visayas
In Partial Fulfilment of
the requirements for the Subject
In MEE 322 (Computer-Aided Manufacturing)
By:
March 2023
G0: RAPID TRAVERSE & G1: LINEAR INTERPOLATION
O3276 ;
N5 G90 ; (ABSOLUTE PROGRAMMING)
N10 G71 G96 ; (METRIC DATA INPUT, CONSTANT CUTTING SPEED)
N15 S1200 F10 M4 ; (SPINDLE SPEED=1200, FEED RATE=10, SPINDLE ON CCW)
N20 T0102 ; (TOOL CALL TO TOOL STATION 1: ROUGHING TOOL SCAC R)
N25 G0 X0 Z0 ; (RAPID POSITIONING TO X0, Z0)
N30 X51 Z-0.1 ; (RAPID POSITIONING TO X51, Z-0.1)
N35 G1 X-1 ; (LINEAR INTERPOLATION TO X-1)
N40 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N45 X49 ; (RAPID POSITIONING TO X49)
N50 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N55 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N60 X48 ; (RAPID POSITIONING TO X48)
N65 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N70 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N75 X47 ; (RAPID POSITIONING TO X47)
N80 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N85 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N90 X46 ; (RAPID POSITIONING TO X46)
N95 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N100 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N105 X45 ; (RAPID POSITIONING TO X45)
N110 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N115 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N120 X44 ; (RAPID POSITIONING TO X44)
N125 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N130 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N135 X43 ; (RAPID POSITIONING TO X43)
N140 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N145 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N150 X42 ; (RAPID POSITIONING TO X42)
N155 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N160 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N165 X41 ; (RAPID POSITIONING TO X41)
N170 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N175 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N180 X40 ; (RAPID POSITIONING TO X40)
N185 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N190 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N195 X39 ; (RAPID POSITIONING TO X39)
N200 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N205 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N210 X38 ; (RAPID POSITIONING TO X38)
N215 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N220 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N225 X37 ; (RAPID POSITIONING TO X37)
N230 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N235 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N240 X36 ; (RAPID POSITIONING TO X36)
N245 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N250 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N255 X35 ; (RAPID POSITIONING TO X35)
N260 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N265 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N270 X34 ; (RAPID POSITIONING TO X34)
N275 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N280 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N285 X33 ; (RAPID POSITIONING TO X33)
N290 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N295 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N300 X32 ; (RAPID POSITIONING TO X32)
N305 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N310 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N315 X31 ; (RAPID POSITIONING TO X31)
N320 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N325 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N330 X30 ; (RAPID POSITIONING TO X30)
N335 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N340 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N345 X29 ; (RAPID POSITIONING TO X29)
N350 G1 Z-35 ; (LINEAR INTERPOLATION TO Z-35)
N355 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N360 X28 ; (RAPID POSITIONING TO X28)
N365 G1 Z-35 ; (LINEAR INTERPOLATION TO Z-35)
N370 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N375 X27 ; (RAPID POSITIONING TO X27)
N380 G1 Z-35 ; (LINEAR INTERPOLATION TO Z-35)
N385 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N390 X26 ; (RAPID POSITIONING TO X26)
N395 G1 Z-35 ; (LINEAR INTERPOLATION TO Z-35)
N400 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N405 X25 ; (RAPID POSITIONING TO X25)
N410 G1 Z-35 ; (LINEAR INTERPOLATION TO Z-35)
N415 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N420 X24 ; (RAPID POSITIONING TO X24)
N425 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N430 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N435 X23 ; (RAPID POSITIONING TO X23)
N440 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N445 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N450 X22 ; (RAPID POSITIONING TO X22)
N455 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N460 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N465 X21 ; (RAPID POSITIONING TO X21)
N470 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N475 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N480 X20 ; (RAPID POSITIONING TO X20)
N485 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N490 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N495 X19 ; (RAPID POSITIONING TO X19)
N500 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N505 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N510 X18 ; (RAPID POSITIONING TO X18)
N515 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N520 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N525 X17 ; (RAPID POSITIONING TO X17)
N530 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N535 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N540 X16 ; (RAPID POSITIONING TO X16)
N545 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N550 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N555 X15 ; (RAPID POSITIONING TO X15)
N560 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N565 G0 X51 Z0 ; (RAPID POSITIONING TO X51, Z0)
N570 M30 ; (PROGRAM END)
O0987 ;
N5 G90 ; (ABSOLUTE PROGRAMMING)
N6 S500 F10 M4 ; (SPINDLE SPEED=500, FEED RATE=10, SPINDLE ON CCW)
N10 T0208 ; (TOOL CALL TO TOOL STATION 2: FINISHING TOOL SVJC)
N25 G73 P30 Q47 U0 W0 ; (COUNTOUR TURNING CYCLE FROM N30 TO N47)
N30 G0 X0 Z-0.1 ; (RAPID POSITIONING TO X0, Z0.1)
N35 G3 X4.4 Z-6.22 R3.5 ; (CIRCULAR INTERPOLATION CCW: X4.4, Z-6.22 W/ R3.5)
N40 G1 X6 Z-18 ; (LINEAR INTERPOLATION TO X6, Z-18)
N45 G2 X12 Z-33 R45 ; (CIRCULAR INTERPOLATION CW: X12, Z-33 W/ R45)
N47 G3 X11 Z-49.5 R45 ; (CIRCULAR INTERPOLATION CCW: X11, Z-49 W/ R45)
O6756 ;
N5 G90 ; (ABSOLUTE PROGRAMMING)
N10 S1000 F10 M4 ; (SPINDLE SPEED=1000, FEED RATE=10, SPINDLE ON CCW)
N15 T0102 ; (TOOL CALL TO TOOL STATION 1: ROUGHING TOOL SCAC R)
N20 G0 X101 Z-0.1 ; (RAPID POSITIONING TO X101, Z-0.1)
N21 G1 X-1 ; (LINEAR INTERPOLATION TO X-1)
N22 G0 X101 Z2 ; (RAPID POSITIONING TO X101, Z2)
N25 G73 U1 R1 ; (CONTOUR TURNING CYCLE)
N30 G73 P35 Q40 U0 W0 ; (CONTOUR TURNING CYCLE FROM N35 TO N40)
N35 G1 X20 Z-50 ; (LINEAR INTERPOLATION TO X20, Z-50)
N40 G2 X100 Z-74.385 R45 ; (CIRCULAR INTERPOLATION CW: X100, Z-74.385 W/ R45)
N45 G0 X0 Z0 ; (RAPID POSITIONING TO X0, Z0)
N50 G3 X20 Z-10 R10 ; (CIRCULAR INTERPOLATION CCW: X20, Z-10 W/ R10)
N55 G0 X100 Z2 ; (RAPID POSITIONING TO X100, Z2)
N65 T0516 ; (TOOL CALL TO TOOL STATION 5: PARTING-OFF TOOL)
N70 G0 X105 Z-125 ; (RAPID POSITIONING TO X105, Z-125)
N75 G1 X-1 ; (LINEAR INTERPOLATION TO X-1)
N80 G0 X110 ; (RAPID POSITIONING TO X110)
N85 Z2 ; (RAPID POSITIONING TO Z2)
N90 M30 ; (PROGRAM END)
O0320 ;
N75 G3 X28 Z-47.638 R14 ; (CIRCULAR INTERPOLATION CCW: X28, Z-47.638 W/ R14)
N85 S500 F10 M4 ; (SPINDLE SPEED=500, FEED RATE=10, SPINDLE ON CCW)
O0321 ;
O0334 ;
N5 G90 G71 ; (ABSOLUTE PROGRAMMING, METRIC DATA INPUT)
N10 S1000 F10 M4 ; (SPINDLE SPEED=1000, FEED RATE=10, SPINDLE ON CCW)
N15 T0102 ; (TOOL CALL TO TOOL STATION 1: ROUGHING TOOL SCAC R)
N20 G0 X31 Z-0.1 ; (RAPID POSITIONING TO X31, Z-0.1)
N25 G1 X-1 ; (LINEAR INTERPOLATION TO X-1)
N30 G0 X40 Z2 ; (RAPID POSITIONING TO X40, Z2)
N35 T0208 ; (TOOL CALL TO TOOL STATION 2: FINISHING TOOL SVJC)
N40 G75 U10 W0 R15 ; (PATTERN REPEATING)
N45 G75 P50 Q115 U0.05 W0 ; (PATTERN REPEATING FROM N50 TO N115)
N50 G0 X6 Z0 ; (RAPID POSITIONING TO X6, Z0)
N55 G1 X10 Z-2 ; (LINEAR INTERPOLATION TO X10, Z-2)
N60 Z-5 ; (LINEAR INTERPOLATION TO Z-5)
N65 X15 Z-10 ; (LINEAR INTERPOLATION TO X15, Z-10)
N70 Z-13.379 ; (LINEAR INTERPOLATION TO Z-13.379)
N75 X12 Z-14 ; (LINEAR INTERPOLATION TO X12, Z-14)
N80 Z-16 ; (LINEAR INTERPOLATION TO Z-16)
N85 X15 Z-16.621 ; (LINEAR INTERPOLATION TO X15, Z-16.621)
N90 Z-19 ; (LINEAR INTERPOLATION TO Z-19)
N95 X17 Z-20 ; (LINEAR INTERPOLATION TO X17, Z-20)
N100 X21 ; (LINEAR INTERPOLATION TO X21)
N105 X25 Z-22 ; (LINEAR INTERPOLATION TO X25, Z-22)
N110 Z-30 ; (LINEAR INTERPOLATION TO Z-30)
N115 X18 Z-50 ; (LINEAR INTERPOLATION TO X18, Z-50)
N120 G72 P50 Q115 ; (FINISHING CYCLE FROM N50 TO Q115)
N125 T0516 ; (TOOL CALL TO TOOL STATION 5: PARTING-OFF TOOL)
N130 G0 X35 Z-49.6 ; (RAPID POSITIONING TO X35, Z-49.6)
N135 G1 X-1 ; (LINEAR INTERPOLATION TO X-1)
N140 G0 X35 ; (RAPID POSITIONING TO X35)
N145 Z2 ; (RAPID POSITIONING TO Z2)
N150 M30 ; (PROGRAM END)
O0333 ;
N5 G96 ; (CONSTANT CUTTING SPEED)
N10 S1000 F10 M4 ; (SPINDLE SPEED=1000, FEED RATE=10, SPINDLE ON CCW)
N15 T0102 ; (TOOL CALL TO TOOL STATION 1: ROUGHING TOOL SCAC R)
N20 G0 X40 Z-0.1 ; (RAPID POSITIONING TO X40, Z-0.1)
N25 G1 X-1 ; (LINEAR INTERPOLATION TO X-1)
N30 G0 X40 Z2 ; (RAPID POSITIONING TO X40, Z2)
N35 T0708 ; (TOOL CALL TO TOOL STATION 7: FINISHING TOOL SVJC)
N40 G0 X50 Z-63 ; (RAPID POSITIONING TO X50, Z-63)
N45 G75 U10 R20 ; (PATTERN REPEATING)
N50 G75 P55 Q115 U0.1 R0.1 ; (PATTERN REPEATING FROM N55 TO N115)
N55 G1 X36 ; (LINEAR INTERPOLATION TO X36)
N60 X37 Z-62 ; (LINEAR INTERPOLATION TO X37, Z-62)
N65 Z-57 ; (LINEAR INTERPOLATION TO Z-57)
N70 G2 X34.39 Z-50.2 R5 ; (CIRCULAR INTERPOLATION CW: X34.39, Z-50.2 W/ R5)
N75 G1 X27 Z-47 ; (LINEAR INTERPOLATION TO X27, Z-47)
N80 G2 X27 Z-45 R1 ; (CIRCULAR INTERPOLATION CW: X27, Z-50 W/ R5)
N85 G1 X22 Z-18 ; (LINEAR INTERPOLATION TO X22, Z-18)
N90 G2 X26 Z-16 R2 ; (CIRCULAR INTERPOLATION CW: X26, Z-16 W/ R2)
N95 G1 Z-13 ; (LINEAR INTERPOLATION TO Z-13)
N100 X29 ; (LINEAR INTERPOLATION TO X29)
N105 G2 X30 Z-12 R1 ; (CIRCULAR INTERPOLATION CW: X30, Z-12 W/ R1)
N110 G1 Z0 ; (LINEAR INTERPOLATION TO Z0)
N115 G0 X80 ; (RAPID POSITIONING TO X80)
N120 G72 P55 Q115 ; (FINISHING CYCLE FROM N55 TO N115)
N125 T0102 ; (TOOL CALL TO TOOL STATION 1: ROUGHING TOOL SCAC R)
N130 G0 X30 Z2 ; (RAPID POSITIONING TO X30, Z2)
N135 G1 X30 Z-1 ; (LINEAR INTERPOLATION TO X30, Z-1)
N140 G0 X29 Z0 ; (RAPID POSITIONING TO X29, Z0)
N145 G3 X30 Z-1 R1 ; (CIRCULAR INTERPOLATION CCW: X30, Z-1 W/ R1)
N150 T0604 ; (TOOL CALL TO TOOL STATION 6: FINISHING TOOL SDJC)
N155 G0 X0 Z2 ; (RAPID POSITIONING TO X0, Z2)
N160 G1 Z-3 ; (LINEAR INTERPOLATION TO Z-3)
N165 G0 Z5 ; (RAPID POSITIONING TO Z5)
N170 G0 X0 Z1 ; (RAPID POSITIONING TO X0, Z1)
N175 G99 G83 Z-7 R10 Q5000 P1000 ; (RETURN TO WITHDRAWAL PLANE, DRILLING CYCLE TO Z-7, R10)
N180 G0 Z15 ; (RAPID POSITIONING TO Z15)
N185 T0516 ; (TOOL CALL TO TOOL STATION 5: PARTING-OFF TOOL)
N190 G0 X45 Z-63 ; (RAPID POSITIONING TO X45, Z-63)
N195 G1 X-1 ; (LINEAR INTERPOLATION TO X-1)
N200 G0 X45 ; (RAPID POSITIONING TO X45)
N205 Z2 ; (RAPID POSITIONING TO Z2)
N210 M30 ; (PROGRAM END)
O9456 ;
N5 G90 ; (ABSOLUTE PROGRAMMING)
N10 G70 ; (ENGLISH DATA INPUT)
N15 S100 F5 M4 ; (SPINDLE SPEED=100, FEED RATE=5, SPINDLE ON CCW)
O9745 ;
N85 G74 P90 Q120 U0.05 W0 ; (FACING CYCLE FROM N90 TO N120)
N90 G0 X34 Z-107 ; (RAPID POSITIONING TO X34, Z-107)
N95 G1 X36 Z-106 ; (LINEAR INTERPOLATION TO X36, Z-106)
N100 Z-101 ; (LINEAR INTERPOLATION TO Z-101)
N105 G2 X35.96 Z-90.48 R7 ; (CIRCULAR INTERPOLATION CW: X35.96, Z-90.48 W/ R7)
N110 G1 X28 Z-87 ; (LINEAR INTERPOLATION TO X28, Z-87)
N175 G74 P180 Q215 U0.05 W0 ; (FACING CYCLE FROM N180 TO N215)
N180 G2 X31.3 Z-44.15 R1.5 ; (CIRCULAR INTERPOLATION CW: X31.3, Z-44.15 W/ R1.5)
N195 G2 X14 Z-34 R1.5 ; (CIRCULAR INTERPOLATION CW: X14, Z-34 W/ R1.5)
N200 G1 X26 Z-22 ; (LINEAR INTERPOLATION TO X26, Z-22)
O0337;
N5 G90 G71 ; (ABSOLUTE PROGRAMMING, METRIC DATA INPUT)
N40 G73 P45 Q70 U0 W0 ; (CONTOUR TURNING CYCLE FROM N45 TO N70)
N45 G0 X0 Z0 ; (RAPID POSITIONING TO X0, Z0)
N90 G74 P95 Q125 U0.05 W0 ; (FACING CYCLE FROM N95 TO N125)
N95 G0 X40 Z-62 ; (RAPID POSITIONING TO X40, Z-62)
N150 G74 P155 Q165 U0.05 W0 ; (FACING CYCLE FROM N155 TO N165)
N155 G0 X20 Z-21 ; (RAPID POSITIONING TO X20, Z-21)
O0338 ;
N5 G90 G71 ; (ABSOLUTE PROGRAMMING, METRIC DATA INPUT)
N30 G73 P35 Q61 U0 W0 ; (CONTOUR TURNING CYCLE FROM N35 TO N61)
N35 G0 X0 Z0 ; (RAPID POSITIONING TO X0, Z0)
N67 G74 P68 Q90 U0.05 W0 ; (FACING CYCLE FROM N68 TO N90)
N68 G0 X22 Z-63 ; (RAPID POSITIONING TO X22, Z-63)
N105 G74 P110 Q120 U0.05 W0 ; (FACING CYCLE FROM N110 TO N120)
N110 G0 X27.23 Z-34 ; (RAPID POSITIONING TO X27.23, Z-34)