Cam Shot
Cam Shot
Cam Shot
O1221
N5 G90 ; (ABSOLUTE PROGRAMMING)
N10 G96 ; (CONSTANT SPEED PROGRAMMING)
N15 S1300 F10 M4 ; (SPINDLE SPEED=1300, FEED RATE=10, SPINDLE CCW
ROTATION=4)
N20 T0101 ; (FINISHING TOOL SDJC #4)
N25 G0 X0 Z0 ; (TOOL POSITIONED TO X0 Z0)
N30 X44 Z1 ; (TOOL POSITIONED TO X44 Z1)
N35 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N40 G0 Z1 ; (TOOL POSITIONED TO Z1)
N45 X43; (TOOL POSITIONED TO X43)
N50 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N55 G0 Z1 ; (TOOL POSITIONED TO Z1)
N60 X42 ; (TOOL POSITIONED TO X42)
N65 G1 Z-80; (LINEAR INTERPOLATION TO Z-80)
N70 G0 Z1; (TOOL POSITIONED TO Z1)
N75 X41; (TOOL POSITIONED TO X41)
N80 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N85 G0 Z1 ; (TOOL POSITIONED TO Z1)
N90 X40 ; (TOOL POSITIONED TO X40)
N95 G1 Z-80; (LINEAR INTERPOLATION TO Z-80)
N100 G0 Z1; (TOOL POSITIONED TO Z1)
N105 X39; (TOOL POSITIONED TO X39;)
N110 G1 Z-80; (LINEAR INTERPOLATION TO Z-80)
N115 G0 Z1; (TOOL POSITIONED TO Z1)
N120 X38; (TOOL POSITIONED TO X38)
N125 G1 Z-80; (LINEAR INTERPOLATION TO Z-80)
N130 G0 Z1 (TOOL POSITIONED TO Z1)
N135 X37; (TOOL POSITIONED TO X37)
N140 G1 Z-80; (LINEAR INTERPOLATION TO Z-80)
N145 G0 Z1 ; (TOOL POSITIONED TO Z1)
N150 X36 ; (TOOL POSITIONED TO 36
N155 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N160 G0 Z1 ; (TOOL POSITIONED TO Z1)
N165 X35 ; (TOOL POSITIONED TO X35)
N170 G1 Z-80 ; (LINEAR INTERPOLATION TO Z-80)
N175 G0 Z1; (TOOL POSITIONED TO Z1)
N180 X34 ; (TOOL POSITIONED TO X34)
N185 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N190 G0 Z1 ; (TOOL POSITIONED TO Z1)
N195 X33 ; (TOOL POSITIONED TO X33)
N200 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N205 G0 Z1 ; (TOOL POSITIONED TO Z1)
N210 X32; (TOOL POSITIONED TO X32)
N215 G1 Z-65; (LINEAR INTERPOLATION TO Z-65)
N220 G0 Z1; (TOOL POSITIONED TO Z1)
N225 X31; (TOOL POSITIONED TO X31)
N230 G1 Z-65; (LINEAR INTERPOLATION TO Z-65)
N235 G0 Z1; (TOOL POSITIONED TO Z1)
N240 X30; (TOOL POSITIONED TO X30)
N245 G1 Z-65 ; (LINEAR INTERPOLATION TO Z-65)
N250 G0 Z1 ; (TOOL POSITIONED TO Z1)
N255 X29; (TOOL POSITIONED TO X29)
N260 G1 Z-65; (LINEAR INTERPOLATION TO Z-65)
N265 G0 Z1; (TOOL POSITIONED TO Z1)
N270 X28; (TOOL POSITIONED TO X28)
N275 G1 Z-65; (LINEAR INTERPOLATION TO Z-65)
N280 G0 Z1; (TOOL POSITIONED TO Z1)
N285 X27 ; (TOOL POSITIONED TO X27)
N290 G1 Z-45; (LINEAR INTERPOLATION TO Z-45)
N295 G0 Z1; (TOOL POSITIONED TO Z1)
N300 X26 ; (TOOL POSITIONED TO x26)
N305 G1 Z-45 ; (LINEAR INTERPOLATION TO Z-45)
N310 G0 Z1; (TOOL POSITIONED TO Z1)
N315 X25 ; (TOOL POSITIONED TO X25)
N320 G1 Z-45; (LINEAR INTERPOLATION TO Z-45)
N325 G0 Z1 ; (TOOL POSITIONED TO Z1)
N330 X24 ; (TOOL POSITIONED TO X24)
N335 G1 Z-45; (LINEAR INTERPOLATION TO Z-45)
N340 G0 Z1; (TOOL POSITIONED TO Z1)
N345 X23; (TOOL POSITIONED TO X23)
N350 G1 Z-45; (LINEAR INTERPOLATION TO Z-45)
N355 G0 Z1; (TOOL POSITIONED TO Z1)
N360 X22; (TOOL POSITIONED TO X22)
N365 G1 Z-45; (LINEAR INTERPOLATION TO Z-45)
N370 G0 Z1; (TOOL POSITIONED TO Z1)
N375 X21 ; (TOOL POSITIONED TO X21)
N380 G1 Z-45; (LINEAR INTERPOLATION TO Z-45)
N385 G0 Z1; (TOOL POSITIONED TO Z1)
N390 X20 ; (TOOL POSITIONED TO X20)
N395 G1 Z-45; (LINEAR INTERPOLATION TO Z-45)
N400 G0 Z1 ; (TOOL POSITIONED TO Z1)
N405 X19 ; (TOOL POSITIONED TO X19)
N415 G0 Z1 ; (TOOL POSITIONED TO Z1)
N420 X18 ; (TOOL POSITIONED TO X18)
N425 G1 Z-30 ; (LINEAR INTERPOLATION TO Z-30)
N430 G0 Z1 ; (TOOL POSITIONED TO Z1)
N420 X18 ; (TOOL POSITIONED TO X18)
N435 X17 ; (TOOL POSITIONED TO X17)
N440 G1 Z-30 ; (LINEAR INTERPOLATION TO Z-30)
N445 G0 Z1 ; (TOOL POSITIONED TO Z1)
N450 X16 ; (TOOL POSITIONED TO X16)
N455 G1 Z-30 ; (LINEAR INTERPOLATION TO Z-30)
N460 G0 Z1 ; (TOOL POSITIONED TO Z1)
N465 X15; (TOOL POSITIONED TO X15)
N470 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N475 G0 Z1 ; (TOOL POSITIONED TO Z1)
N480 X14; (TOOL POSITIONED TO X14)
N485 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N490 G0 Z1 ; (TOOL POSITIONED TO Z1)
N495 X13; (TOOL POSITIONED TO X13)
N500 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N505 G0 Z1 ; (TOOL POSITIONED TO Z1)
N510 X12 ; (TOOL POSITIONED TO X12)
N515 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N520 G0 Z1; (TOOL POSITIONED TO Z1)
N525 X11; (TOOL POSITIONED TO X11)
N530 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N535 G0 Z1 ; (TOOL POSITIONED TO Z1)
N540 X10; (TOOL POSITIONED TO 10)
N545 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N550 G0 Z1 ; (TOOL POSITIONED TO Z1)
N555 X9; (TOOL POSITIONED TO X9)
N560 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N565 G0 Z1 ; (TOOL POSITIONED TO Z1)
N570 X8 ; (TOOL POSITIONED TO X8)
N575 G1 Z-15 ; (LINEAR INTERPOLATION TO Z-15)
N580 G0 Z1 ; (TOOL POSITIONED TO Z1)
N585 X7 ; (TOOL POSITIONED TO X7)
N590 G1 Z-0.5 ; (LINEAR INTERPOLATION TO Z-0.5)
N595 X8 Z-1.5 ; (LINEAR INTERPOLATION TO X8 Z-1.5)
N600 G0 Z1; (TOOL POSITIONED TO Z1)
N605 X6.5 Z0; (TOOL POSITIONED TO X6.5 Z0)
N610 G1 X7 Z-0.5; (LINEAR INTERPOLATION TO Z-0.5)
N615 G0 X45 Z1; (TOOL POSITIONED TO Z1)
N620 M30; (MAIN PROGRAM END)
%
G20 LONGITUDINAL TURNING
CYCLE
O1225
N5 T0202; (ROUGHING TOOL SCAC R #2)
N10 G90; (ABSOLUTE PROGRAMMING)
N15 S600 F5 M4; (SPINDLE SPEED=600, FEED RATE=5, SPINDLE CCW
ROTATION=4)
N20 G0 X61 Z-0.1; (TOOL POSITIONED TO X61 Z-0.1)
N25 ( facing ) ;
N30 G1 X-1; (LINEAR INTERPOLATION TO X-1)
N35 G0 X60 Z1; (TOOL POSITIONED TO X60 Z1;)
N40 G20 X58 Z-56.5; (LONGITUDINAL TURNING CYCLE TO X58
Z-56.5)
N45 X56; (LINEAR INTERPOLATION TO X56)
N50 X54; (LINEAR INTERPOLATION TO X54)
N55 X52; (LINEAR INTERPOLATION TO X52)
N60 X50; (LINEAR INTERPOLATION TO X50)
N65 X48; (LINEAR INTERPOLATION TO X48)
N70 X46; (LINEAR INTERPOLATION TO X46)
N75 X45; (LINEAR INTERPOLATION TO X45)
N80 ( chamfer ) ;
N85 G0 X50 Z-56.5; (TOOL POSITIONED TO G0 X50 Z-56.5)
N90 G1 X60 C5; (LINEAR INTERPOLATION TO X60 C5)
N100 Z-61.5; (LINEAR INTERPOLATION TO Z-61.5)
N105 G0 X45 Z1; (TOOL POSITIONED TO X45 Z1)
N110 G20 X43 Z-27.5; (LONGITUDINAL TURNING CYCLE X43 Z-
27.5)
N115 X41; (LINEAR INTERPOLATION TO X41)
N125 X37; (LINEAR INTERPOLATION TO X37)
N130 X35; (LINEAR INTERPOLATION TO X35)
N135 X33; (LINEAR INTERPOLATION TO X33)
N140 X31; (LINEAR INTERPOLATION TO X31)
N145 X29; (LINEAR INTERPOLATION TO X29)
N150 X28; (LINEAR INTERPOLATION TO X28)
N155 G0 X28 Z0; (TOOL POSITIONED TO X28 Z0)
N160 G20 X26 Z-22; (LONGITUDINAL TURNING CYCLE X26 Z-
22)
N165 X24; (LINEAR INTERPOLATION TO X24)
N170 X22; (LINEAR INTERPOLATION TO X22)
N175 X20; (LINEAR INTERPOLATION TO X20)
N180 ( CHAMFER ) ;
N185 G0 X25 Z-22; (TOOL POSITIONED TO X25 Z-22)
N190 G1 X28 C1.5; (LINEAR INTERPOLATION TO X28
C1.5)
N195 Z-23.5; (LINEAR INTERPOLATION TO Z-
23.5)
N200 G0 X22 Z0; (TOOL POSITIONED TO X22 Z0)
N205 G0 X16 Z0; (TOOL POSITIONED TO X16 Z0)
N210 G1 X20 C2; (LINEAR INTERPOLATION TO X20
C2)
N215 Z-2; (LINEAR INTERPOLATION TO Z-2)
N220 ( TAPER )
N225 G0 X45 Z-27.5; (TOOL POSITIONED TO X45 Z-27.5)
N230 G20 X45 Z-40.5 R-8.5; (LONGITUDINAL TURNING CYCLE TO X45 Z-
40.5 R-8.5)
N235 ( GROOVING ) ;
N240 T0404; (PARTING-OFF TOOL)
N245 G0 X21 Z-4; (TOOL POSITIONED TO X21 Z-4)
N250 G1 X15 F1; (LINEAR INTERPOLATION TO X15
F1)
N255 Z-6; (LINEAR INTERPOLATION TO Z-6)
N260 G0 X21; (TOOL POSITIONED TO X21)
N265 G0 X21 Z-12; (TOOL POSITIONED TO X21 Z-12)
G21 THREAD CUTTING CYCLE
G24 FACE TURNING CYCLE
O1227
N5 G90 ; (ABSOLUTE PROGRAMMING)
N6 G71 ; (METRIC DATA INPUT)
N10 S500 F5 M4 ; (SPINDLE SPEED=500 FEED RATE=5 SPINDLE ON
CCW)
N15 ( FACING ) ; (FACING CYCLE)
N20 T0202 ; (ROUGHING TOOL SCAC R #4)
N25 G0 X31 Z-0.1 ; (TOOL POSITIONED TO X31 AND Z-0.1)
N30 G1 X-1 ; (LINEAR INTERPOLATION X-1)
N35 G0 X30 Z0 ; (TOOL POSITIONED TO X30 AND Z-45)
N40 G24 X29 Z-45 ; (FACE TURNING CYCLE STARTING AT X29 Z-45)
N45 X28 ; (FACE TURNING CYCLE AT X28)
N50 X27 ; (FACE TURNING CYCLE AT X27)
N55 X26 ; (FACE TURNING CYCLE AT X26)
N60 G20 X25 Z-30 ; (LONGITUDINAL TURNING CYCLE STARTING AT X25 Z-30)
N65 X24 ; (LONGITUDINAL TURNING CYCLE AT X24)
N70 X23 ; (LONGITUDINAL TURNING CYCLE AT X23)
N75 X22 ; (LONGITUDINAL TURNING CYCLE AT X22)
N80 X21 ; (LONGITUDINAL TURNING CYCLE AT X21)
N85 X20; (LONGITUDINAL TURNING CYCLE AT X20)
N90 ( CHAMFER ) ;
N95 G0 X31 Z5 ; (TOOL POSITIONED TO X31 AND Z5)
N100 X0 Z0 ; (TOOL POSITIONED TO X0 AND Z0)
N105 G1 X20 C3 ; (CHAMFER OF 3MM STARTING AT X20)
N110 Z-3 ; (CHAMFER OF 3MM AT Z-3)
N115 G0 Z-30; (TOOL POSITIONED TO Z-30)
N120 G1 X26 C3 ; (CHAMFER OF 3MM STARTING AT X26)
N125 Z-33 ; (CHAMFER OF 3MM AT Z-33)
N130 G0 X28 ; (TOOL POSITIONED TO X28)
N135 Z5 ; (TOOL POSITIONED TO Z5)
N140 M1 (PROGRAM STOPPED CONDITIONAL)
N145 S200 F2 M4 ; (SPINDLE SPEED=200 FEED RATE=2 SPINDLE ON
CCW =4)
N150 T0404 ; (PARTING-OFF TOOL #16)
N155 G0 X27 ; (TOOL POSITIONED TO X27)
N160 Z-25 ; (TOOL POSITIONED TO Z-25)
N165 G1 X15 ; (LINEAR INTERPOLATION X15)
N170 G0 X27 ; (TOOL POSITIONED TO X27)
N175 Z-27 ; (TOOL POSITIONED TO Z-27)
N180 G1 X15 ; (LINEAR INTERPOLATION X15)
N185 G0 X27 ; (TOOL POSITIONED TO X27)
N190 Z5 ; (TOOL POSITIONED TO Z5)
N195 M1 ; (PROGRAM STOPPED CONDITIONAL)
N200 ( THREADING ) ;
N205 S100 F1 M4 ; (SPINDLE SPEED=100 FEED RATE=1 SPINDLE ON
CCW=4)
N210 T0606 ; (EXTERNAL THREAD TOOL RIGHT HANDED #12)
N215 G0 X20 Z1 ; (TOOL POSITIONED TO X20 AND Z1)
N220 G21 X19.5 Z-26 F2.5 ; (THREAD CUTTING CYCLE STARTING AT X19.5 Z-
26, THREAD PITCH=2.5MM)
N225 X19; (THREAD CUTTING CYCLE AT X19)
N230 X18.5 ; (THREAD CUTTING CYCLE STARTING AT X18.5)
N235 X18 ; (THREAD CUTTING CYCLE AT X18)
N240 X17.5 ; (THREAD CUTTING CYCLE AT X17.5)
N245 X17 ; ; (THREAD CUTTING CYCLE AT X17)
N250 X16.5 ; (THREAD CUTTING CYCLE AT X16.5)
N255 X16 ; (THREAD CUTTING CYCLE AT X16)
N260 X15.8; (THREAD CUTTING CYCLE AT X15.8)
N265 X15.67 ; (THREAD CUTTING CYCLE AT X15.67)
N270 G0 X20 ; (TOOL POSITIONED TO X20)
N275 Z5 ; (TOOL POSITIONED TO Z5)
N273 M1 ; (PROGRAM STOPPED CONDITIONAL)
N280 S150 F2 M4 ; (SPINDLE SPEED=150 FEED RATE=2 SPINDLE ON CCW=4)
N285 T0404 ; (PARTING-OFF TOOL #16)
N290 Z-45 ; (TOOL POSITIONED TO Z-45)
N295 G1 X-1; (LINEAR INTERPOLATION X-1)
N300 G0 X31 ; (TOOL POSITIONED TO X31)
N305 Z5 ; (TOOL POSITIONED TO Z5)
N310 M30 ; (END OF PROGRAM)
%
G21 THREAD CUTTING CYCLE
G24 FACE TURNING CYCLE
O1228
N05 G90 ; (ABSOLUTE PROGRAMMING)
N10 S500 F5 M4 ; (SPINDLE SPEED=500 FEED RATE=5 SPINDLE ON
CCW)
N15 G70 ; (INCHES DATA INPUT)
N20 T0202 ; (ROUGHING TOOL SCAC R #2)
N25 G0 X1.6 Z-0.004; (TOOL POSITIONED TO X1.6 AND Z-0.004)
N30 G1 X-0.04 ; (LINEAR INTERPOLATION X-0.04)
N35 G0 X1.5 Z0 ; (TOOL POSITIONED TO X1.5 AND Z0)
N40 G24 X1.4 Z-1.947; (FACE TURNING CYCLE STARTING AT X1.4 AND AT Z-
1.947)
N45 X1.3 ; (FACE TURNING CYCLE AT X1.3)
N50 X1.25 ; (FACE TURNING CYCLE AT X1.25)
N55 G20 X1.1 Z-1.447 ; (LONGITUDINAL TURNING CYCLE STARTING AT X1.1
AND AT Z-1.447)
N60 X1 ; (LONGITUDINAL TURNING CYCLE AT X1)
N65 X0.90 ; (LONGITUDINAL TURNING CYCLE AT X0.90)
N70 X0.80 ; (LONGITUDINAL TURNING CYCLE AT X0.80)
N75 X0.75; (LONGITUDINAL TURNING CYCLE AT X0.75)
N80 G0 X1.6 Z0.2; (TOOL POSITIONED TO X1.6 AND Z0.2)
N85 ( CHAMFER ) ;
N90 X0 Z0 ; (TOOL POSITIONED TO X0AND Z0)
N95 G1 X0.75 C0.118; (CHAMFER OF 0.118IN STARTING AT X0.75)
N105 G0 Z-1.447; (TOOL POSITIONED TO Z-1.447)
N110 G1 X1.25 C0.118; (CHAMFER OF 0.118IN STARTING AT X1.25)
N115 Z-1.565; (CHAMFER OF 0.118IN AT Z-1.565)
N120 G0 X1.3; (TOOL POSITIONED TO X1.3)
N125 Z0.2; (TOOL POSITIONED TO Z0.2)
N130 M1; (PROGRAM STOPPED CONDITIONAL)
N135 Z5; (TOOL POSITIONED TO Z5)
N140 M1; (PROGRAM STOPPED CONDITIONAL)
N145 S200 F2 M4; (SPINDLE SPEED=200 FEED RATE=2 SPINDLE ON CCW
=4)
N150 T0404; (PARTING-OFF TOOL)
N155 G0 X27; (TOOL POSITIONED TO X27)
N160 Z-25; (TOOL POSITIONED TO Z-25)
N165 G1 X15; (LINEAR INTERPOLATION X15)
N170 G0 X27; (TOOL POSITIONED TO X27)
N175 Z-27; (TOOL POSITIONED TO Z-27)
N180 G1 X15; (LINEAR INTERPOLATION X15)
N185 G0 X27; (TOOL POSITIONED TO X27)
N190 Z5; (TOOL POSITIONED TO Z5)
N195 M1; (PROGRAM STOPPED CONDITIONAL)
N200 S200 F2 M4; (SPINDLE SPEED=200 FEED RATE=2 SPINDLE ON CCW=4)
N205 T0606; (EXTERNAL THREAD TOOL RIGHT HANDED)
N210 G0 X0.75 Z0.04 ; (TOOL POSITIONED TO X0.75 Z0.04)
N215 G21 X0.71 Z-1.29 F0.1; (THREAD CUTTING CYCLE STARTING AT X0.71 Z-
1.29, THREAD PITCH=0.1IN)
N220 X0.67; (THREAD CUTTING CYCLE AT X0.67)
N225 X0.65; (THREAD CUTTING CYCLE AT X0.65)
N230 X0.63; (THREAD CUTTING CYCLE AT X0.63)
N235 X0.61; (THREAD CUTTING CYCLE AT X0.61)
N240 X0.59; (THREAD CUTTING CYCLE AT X0.59)
N245 X0.58; (THREAD CUTTING CYCLE AT X0.58)
N250 X0.5768; (THREAD CUTTING CYCLE AT X0.5768)
N255 G0 X1.3; (TOOL POSITIONED TO X1.3)
N260 Z0.2; (TOOL POSITIONED TO Z0.2)
N265 M1; (PROGRAM STOPPED CONDITIONAL)
N270 S150 F2 M4; (SPINDLE SPEED=150 FEED RATE=2 SPINDLE ON
CCW=4)
N275 T0404; (PARTING-OFF TOOL)
N280 G0 X1.6; (TOOL POSITIONED TO X1.6)
N285 Z-1.947; (TOOL POSITIONED TO Z-1.947)
N290 G1 X-0.04; (LINEAR INTERPOLATION X-0.04)
N295 G0 X1.6; (TOOL POSITIONED TO X1.6)
N300 Z0.2; (TOOL POSITIONED TOZ0.2)
N305 M30; (END OF PROGRAM)
%
G73 CONTOUR TURNING CYCLE
O1229
N5 G90 ; (ABSOLUTE PROGRAMMING)
N10 S1000 F10 M4; (SPINDLE SPEED=1000 FEED RATE=10SPINDLE CCW
ROTATION=4 )
N15 T0202 ; (ROUGHING TOOL SCAC R #2)
N20 G0 X40 Z2 ; (TOOL POSITIONED TO X40 Z2)
N25 G73 U0.5 R1 ; (CONTOUR TURNING)
N30 G73 P35 Q75 U0 W0; (CONTOUR TURNING FROM N35 TO N75)
N35 G0 X8; (LINEAR INTERPOLATION TO X8)
N40 X10.47 Z-7 ; (LINEAR INTERPOLATION TO X10.47 Z-7)
N45 X16.47; (LINEAR INTERPOLATION TO X16.47)
N50 X20.47 Z-9; (LINEAR INTERPOLATION TO X20.47 Z-9)
N55 Z-18 ; (LINEAR INTERPOLATION. TO Z-18)
N60 X26.47 ; (LINEAR INTERPOLATION TO X26.47)
N65 X30 Z-28 ; (LINEAR INTERPOLATION TO X30 Z-28)
N70 X40 ; (LINEAR INTERPOLATION TO X40)
N75 Z-40 ; (LINEAR INTERPOLATION TO Z-40)
N80 G0 X45 Z5 ; (TOOL POSITIONED TO X45 Z5)
N85 M30 ; (MAIN PROGRAM END)
G02 CIRCULAR INTERPOLATION CLOCKWISE
G03 CIRCULAR INTERPOLATION
COUNTERCLOCKWISE
O1230
N5 G90 ; (ABSOLUTE PROGRAMMING)
N10 S1000 F10 M4 ; (SPINDLE SPEED=1000 FEED RATE=10 SPINDLE CCW
ROTATION=4 )
N15 T0202 ; (ROUGHING TOOL SCAC R #2)
N20 G0 X15 Z1 ; (TOOL POSITIONED TO X15 Z1)
N25 G73 U0.5 R1 ; (CONTOUR TURNING)
N30 G73 P35 Q60 U0 W0 ; (CONTOUR TURNING FROM N35 TO N60)
N35 G0 X0 Z0 ; (TOOL POSITIONED TO X0 Z0)
N40 G3 X4.4 Z-6.22 R3.5 ; (CIRCULAR INTERPOLATION CW TO X4.4 Z-6.22
R3.5)
N45 G2 X12 Z-33 R45; (CIRCULAR INTERPOLATION CCW TO X12 Z-33 R45)
N50 G3 X13.53 Z-35 R45 ; (CIRCULAR INTERPOLATION CW TO X13.53 Z-35 R45)
N55 G3 X14 Z-38.5 R45 ; (CIRCULAR INTERPOLATION CW TO X14 Z-38.5
R45)
N60 G3 X12.22 Z-49.5 R45 ; (CIRCULAR INTERPOLATION CW TO X12.22 Z-49.5
R45)
N65 T0505 ; (FINISHING TOOL SVVC #6)
N70 S500 F10 M4 ; (SPINDLE SPEED=500 FEED RATE=10 SPINDLE CCW
N76 Z-35 ; (TOOL POSITIONED TO Z-35)
N77 G1 X12 ; (LINEAR INTERPOLATION TO X12 )
N78 G0 X15 ; (TOOL POSITIONED TO X15)
N80 Z-38.5 ; (TOOL POSITIONED TO Z-38.5)
N85 G1 X12; (LINEAR INTERPOLATION TO X12 )
N90 G0 X15 ; (TOOL POSITIONED TO X15)
N95 Z-42 ; (TOOL POSITIONED TO Z-42)
N100 G1 X12 ; (LINEAR INTERPOLATION TO X12 )
N105 G0 X15 ; (TOOL POSITIONED TO X15)
N110 Z2 ; (TOOL POSITIONED TO Z2)
N115 M1 ; (PROGRAMMED STOP CONDITIONAL)
N120 T0404 ; (PARTING-OFF TOOL #16)
N125 G0 X15 ; (TOOL POSITIONED TO X15)
N130 Z-49 ; (TOOL POSITIONED TO Z-49)
N135 G1 X-1 ; (LINEAR INTERPOLATION. TO X-1 2 )
N140 G0 X15 ; (TOOL POSITIONED TO X15)
N145 Z0 ; (TOOL POSITIONED TO Z0)
N150 M30 ; (MAIN PROGRAM END)
%
G74 FACING CYCLE WITH G72 FINISHING CYCLE
O1233
N5 ( USING G74 ) ;
N10 S1000 F10 M4 ; (SPINDLE SPEED=1000, FEED RATE=10, SPINDLE CCW
ROTATION=4)
N15 T0202 ; (ROUGHING TOOL SCAC R #2)
N20 G0 X27 Z-.1 ; (TOOL POSITIONED TO X27 Z-.1)
N25 G1 X-1 ; (LINEAR INTERPOLATION TO X-1 )
N30 G0 X26 Z5 ; (TOOL POSITIONED TO X26 Z5)
N35 G74 W.5 R1.5 ; (FACING CYCLE)
N40 G74 P45 Q110 U4 W0 ; (FACING CYCLE FROM N45 TO N110)
N45 G0 X18 Z-50 ; (TOOL POSITIONED TOX18 Z-50)
N50 G1 X26 Z-30 ; (LINEAR INTERPOLATION TO X26 Z-30 )
N55 Z-22 ; (LINEAR INTERPOLATION TO Z-22 )
N60 X21 Z-20 ; (LINEAR INTERPOLATION TO X21 Z-20)
N65 X17 ; (LINEAR INTERPOLATION TO Z17 )
N70 X15 Z-19 ; (LINEAR INTERPOLATION TO X15 Z-19)
N75 Z-16.621 ; (LINEAR INTERPOLATION TO Z-16.621 )
N80 X12 Z-16 ; (LINEAR INTERPOLATION TO X15 Z-16)
N85 Z-14 ; (LINEAR INTERPOLATION TO Z-14)
N90 X15 Z-13.379 ; (LINEAR INTERPOLATION TO X15 Z-13.379)
N95 Z-10 ; (LINEAR INTERPOLATION TO Z-10)
N100 X10 Z-5 ; (LINEAR INTERPOLATION TO X10 Z-5)
N105 Z-2 ; (LINEAR INTERPOLATION TO Z-2)
N110 X6 Z0 ; (LINEAR INTERPOLATION TO X6 Z0)
N115 T0707 ; (FINISHING TOOL SVJC #8)
N120 G72 P45 Q110 ; (FINISHING CYCLE FRO N45 TO N110)
N125 M30 ; (MAIN PROGRAM END)
%
G75 PATTERN REPEATING CYCLE WITH G72
O1233
N5 ( USING G74 ) ;
N10 S1000 F10 M4 ; (SPINDLE SPEED=1000, FEED RATE=10, SPINDLE CCW
ROTATION=4)
N15 T0202 ; (ROUGHING TOOL SCAC R #2)
N20 G0 X27 Z-.1 ; (TOOL POSITIONED TO X27 Z-.1)
N25 G1 X-1 ; (LINEAR INTERPOLATION TO X-1 )
N30 G0 X26 Z5 ; (TOOL POSITIONED TO X26 Z5)
N35 G75 U40 W20 R20; (PATTERN REPEATING TO U40 W20 R20)
N40 G75 P45 Q110 U4 W0 ; (PATTERN REPEATING FROM N45 TO N110)
N45 G0 X18 Z-50 ; (TOOL POSITIONED TOX18 Z-50)
N50 G1 X26 Z-30 ; (LINEAR INTERPOLATION TO X26 Z-30 )
N55 Z-22 ; (LINEAR INTERPOLATION TO Z-22 )
N60 X21 Z-20 ; (LINEAR INTERPOLATION TO X21 Z-20)
N65 X17 ; (LINEAR INTERPOLATION TO Z17 )
N70 X15 Z-19 ; (LINEAR INTERPOLATION TO X15 Z-19)
N75 Z-16.621 ; (LINEAR INTERPOLATION TO Z-16.621 )
N80 X12 Z-16 ; (LINEAR INTERPOLATION TO X15 Z-16)
N85 Z-14 ; (LINEAR INTERPOLATION TO Z-14)
N90 X15 Z-13.379 ; (LINEAR INTERPOLATION TO X15 Z-
13.379)
N95 Z-10 ; (LINEAR INTERPOLATION TO Z-10)
N100 X10 Z-5 ; (LINEAR INTERPOLATION TO X10 Z-5)
N105 Z-2 ; (LINEAR INTERPOLATION TO Z-2)
N110 X6 Z0 ; (LINEAR INTERPOLATION TO X6 Z0)
N115 T0707 ; (FINISHING TOOL SVJC #8)
N120 G72 P45 Q110 ; (FINISHING CYCLE FRO N45 TO N110)
N125 M30 ; (MAIN PROGRAM END)
DRILLING AND BORING OPERATION
(ROOK)
O1237
N5 ( rook ) ;
N10 S1000 F10 M4 ; (SPINDLE SPEED=1000, FEED RATE=10, SPINDLE CCW
ROTATION=4)
N15 T0202 ; (ROUGHING TOOL SCAC R #2)
N20 G0 X40 Z-0.1 ; (TOOL POSITIONED TO X40 Z-0.1)
N25 G1 X-1 ; (LINEAR INTERPOLATION TO X-1)
N30 G0 X40 Z5; (TOOL POSITIONED TO X40 Z5)
N35 G75 U20 W20 R20 ; (PATTERN REPEATING CYCLE)
N40 G75 P45 Q105 U10 W0 ; (PATTERN REPEATING CYCLE FROM N45 TO
N105)
N45 G0 X34.49 Z-63 ; (TOOL POSITIONED TO X34.49 Z-63)
N50 G1 X36 Z-62 ; (LINEAR INTERPOLATION TO X36 Z-62
)
N55 Z-57 ; (LINEAR INTERPOLATION TO Z-57)
N60 G2 X34.49 Z-50.2 R5 ; (CIRCULAR INTERPOLATION TO X34.49 Z-50.2
WITH R5)
N65 G1 X27 Z-47 ; (LINEAR INTERPOLATION TO X27 Z-47
)
N70 G2 X27 Z-45 R1 ; (CIRCULAR INTERPOLATION TO X27 Z-45
WITH R1 )
N75 G1 X22 Z-18 ; (LINEAR INTERPOLATION TO X22 Z-18
N105 G0 X40 ; (TOOL POSITIONED TO X40 )
N106 T0606 ; (PARTING-OFF TOOL #16)
N110 G72 P45 Q105 ; (FINISHING CYCLE FROM N45 TO Q105)
N115 T0202 ;
N120 G0 X30 Z2 ; (TOOL POSITIONED TO X30 Z2 )
N125 G1 X30 Z-1 ; (LINEAR INTERPOLATION TO X30 Z-1)
N130 G0 X29 Z0 ; (TOOL POSITIONED TO X29 Z0)
N135 G3 X30 Z-1 R1 ; (CIRCULAR INTERPOLATION TO X30 Z-1
WITH R1 )
N140 M1 ; (CONDITIONAL PROGRAMMED STOP)
N145 S1000 F10 M4 ; (SPINDLE SPEED=1000, FEED RATE=10, SPINDLE CCW
ROTATION=4)
N150 T0303 ; (TWIST DRILL 7MM)
N155 G0 X0 Z2 ; (TOOL POSITIONED TO X0 Z2)
N160 G1 Z-3 ; (LINEAR INTERPOLATION TO Z-3)
N165 G0 Z5 ; (TOOL POSITIONED TO Z5)
N166 T0404 ; (TWIST DRILL 9MM)
N170 G0 X0 Z1 ; (TOOL POSITIONED TO X0 Z1)
N175 G1 Z-7 ; (LINEAR INTERPOLATION TO Z-7)
N180 G0 Z10; (TOOL POSITIONED TO Z10)
N185 M30 ; (MAIN PROGRAM END)
%
G83 DRILLING CYCLE
O1238
N5 ( INT THREAD 7/8 X 9 ) ;
N10 ( DRILLING CYCLE )
N15 G70 ; ( INCH DATA INPUT)
N20 S500 F5 M4 ; (SPINDLE SPEED=500, FEED RATE=5, SPINDLE CCW
ROTATION=4)
N25 T0303; (START DRILL 90°6MM)
N30 G0 X0 Z0.5 ; (TOOL POSITIONED TO Z0.5)
N35 G1 Z-0.197 ; (LINEAR INTERPOLATION TO Z-
0.197)
N40 G0 Z1 ; (TOOL POSITIONED TO X Z1)
N45 M0 ; (PROGRAMMED STOP)
N50 S500 F10 M4 ; (SPINDLE SPEED=500, FEED RATE=10, SPINDLE CCW
ROTATION=4)
N55 T0505 ; (TWIST DRILL 12MM)
N60 G0 X0 Z0.5; (TOOL POSITIONED TO X0 Z0.5)
N65 G99 G83 X0 Z-1.05 R0.197 Q196.56 P1000 K5 ; (DRILLING CYCLE) (RETURN
TO WITHDRAWAL PLANE )
N70 ( BORING OPERATION ) ;
N75 S500 F10 M4 ; (SPINDLE SPEED=500, FEED RATE=10, SPINDLE CCW
ROTATION=4)
N80 T0808 ;(FINISHING TOOL SVJC #4)
N85 G0 X0 Z0.079 ; (TOOL POSITIONED TO X0
Z0.079)
N90 G73 U0.007 R0.019685 ; (CONTOUR TURNING)
N95 G73 P100 Q110 U0 W0 ; (CONTOUR TURNING FROM N100 TO
N110)
N100 G0 X1.01122 ; (TOOL POSITIONED TO X1.01122)
N105 G1 X0.875 Z-0.0787402; (LINEAR INTERPOLATION TO X0.875 Z-
0.0787402)
N110 Z-1.05 ; (LINEAR INTERPOLATION TO Z-
1.05)
N115 G0 Z0.197 ; (TOOL POSITIONED TO Z0.197)
N120 M1 ; (PROGRAMMED STOP,CONDITIONAL)
N125 T0808 ; (FINISHING TOOL SVJC #4)
N130 G21 X0.875 Z-1.05 F0.0787402 ; (THREAD CUTTING CYCLE AT X0.875 Z-1.05
F0.0787402)
N135 X0.900 ; (LINEAR INTERPOLATION TO
G78 MULTIPLE THREADING CYCLE
O1231
N5 G90 ; (ABSOLUTE COORDINATES)
N10 S1200 F20 M4 ; (SPINDLE SPEED=1200, FEED RATE=20, SPINDLE CCW
ROTATION=4)
N15 T0202 ; (ROUGHING TOOL SCAC R #2)
N20 G0 X29 Z-0.1 ; (TOOL POSITIONED TO X29 Z-0.1)
N25 G1 X-1 ; (LINEAR INTERPOLATION TO X-1)
N30 G0 X29 Z5 ; (TOOL POSITIONED TO X29 Z5)
N35 G73 U1 R1 ; (CONTOUR TURNING)
N40 G73 P45 Q85 U0 W0 ; (CONTOUR TURNING FROM N45 TO N85)
N45 G0 X12 Z0; (TOOL POSITIONED TO X12 Z0)
N50 X14 Z-2 ; (LINEAR INTERPOLATION TO X14 Z-2)
N55 Z-15.8 ; (LINEAR INTERPOLATION TO Z-
15.8)
N60 X12 Z-18 ; (LINEAR INTERPOLATION TO X12
Z-18)
N65 Z-20 ; (LINEAR INTERPOLATION TO Z-20 )
N70 X16 Z-20 ; (LINEAR INTERPOLATION TO X16 Z-20 )
N75 X18 Z-21 ; (LINEAR INTERPOLATION TO X18 Z-21 )
N80 Z-35.276 ; (LINEAR INTERPOLATION TO Z-35.276)
N85 G3 X28 Z-46 R14 ; (CIRCULAR INTERPOLATION TO X28 Z-46 WITH
R14)
N90 M0 ; (CONDITIONAL PROGRAMMED STOP)
N95 S500 F10 M4 ; (SPINDLE SPEED=500, FEED RATE=10, SPINDLE CCW
ROTATION=4)
N100 T0606 ; (EXTERNAL THREAD TOOL #12)
N105 G0 X14 Z0 ; (TOOL POSITIONED TO X29 Z-0.1)
N110 G78 P040060 Q100 R0 ; (MULTIPLE THREADING CYCLE)
BISHOP
O1239
N5 G90 ; (ABSOLUTE COORDINATES)
N10 G71 ; (METRIC DATA INPUT)
N15 S1000 F10 M4 ; (SPINDLE SPEED=1000, FEED RATE=10, SPINDLE
ROTATION=4)
N20 T0606 ; (FINISHING TOOL SVJC #8)
N25 G0 X40 Z-0.1 ; (TOOL POSITIONED TO X40 Z-0.1)
N30 G1 X0.1 ; (LINEAR INTERPOLATION TO X0.1)
N35 G0 X40 Z2 ; (TOOL POSITIONED TO X40 Z2)
N40 G73 U0.1 R1 ; (CONTOUR TURNING)
N45 G73 P50 Q105 U0 W0 ; (CONTOUR TURNING FROM N50 TO
N105)
N50 G0 X0 Z0 ; (TOOL POSITIONED TO X0 Z0)
N55 G3 X3 Z-6.66 R3.5 ; (CIRCULAR INTERPOLATION TO X3 Z-6.66 WITH
R3.5)
N60 G1 X12 Z-11.29 ; (LINEAR INTERPOLATION TO X12 Z-
11.29)
N65 G3 X12 Z-24.71 R9 ; (CIRCULAR INTERPOLATION TO X12 Z-24.71
WITH R9)
N66 G3 X12 Z-27.71 R1.5 ; (CIRCULAR INTERPOLATION TO X12 Z-27.71 WITH
R1.5)
N70 G1 X27.23 Z-31.13 ; (LINEAR INTERPOLATION TO X27.23
Z-31.13)
N75 G3 X26 Z-34 R1.5 ; (CIRCULAR INTERPOLATION TO X26 Z-34 WITH
R1.5)
N80 G0 X22 Z-63 ; (TOOL POSITIONED TO X22 Z-63)
N105 X27.95 Z-84 ; (LINEAR INTERPOLATION TO X27.95
Z-84)
N110 M1 ; (CONDITIONAL PROGRAMMED STOP)
N115 T0202 ; (FINISHING TOOL SVJC #7)
N120 G74 W0.1 R0.1 ; (FACING CYCLE)
N125 G74 P130 Q145 U1 W1 ; (FACING CYCLE FROM N130 TO
N145)
N130 G0 X26 Z-32 ; (TOOL POSITIONED TO X26 Z-32)
N135 G1 X12 ; (LINEAR INTERPOLATION TO X12)
N140 G1 X16.03 Z-58.92 ; (LINEAR INTERPOLATION TO
X16.03 Z-58.92 )
N145 G2 X22 Z-63 R6 ; (CIRCULAR INTERPOLATION TO X22 Z-63 WITH
R6)
N150 T0101 ; (PARTING-OFF TOOL #16)
N155 S200 F5 M4 ; (SPINDLE SPEED=200, FEED RATE=5, SPINDLE CCW
ROTATION=4)
N160 G0 X40 Z-84 ; (TOOL POSITIONED TO X40 Z-84)
N165 G1 X-1 ; (LINEAR INTERPOLATION TO X-1)