TOP HEADING FOR HEAD 1)% O0006(PART NUMBER GOES HERE) (PART NAME GOES HERE)(HEAD 1)M150 (ROTARY MAGIC BUSHING ON)G99G97G0G40M9#531=.75(***CHANGE TO STOCK SIZE***)M3S300 IF[#5041GT0]GOTO1000 M11 (OPEN MAIN COLLET)G4U.5G0Z.535T0M10 (CLOSE MAIN COLLET)G4U.5 (G4 IS DWELL, U IS TIMED FOR 1/2 SECOND)G120Z.535 (Z-AXIS COORDINATE SYSTEM SETTING)M5 (STOP MAIN SPINDLE)M200 (WAIT CODE)M20 (ONE CYCLE STOP)M10T100 (TOOL NUMBER)G0X1.5Z-.05/M25 (COOLANT ON)M27(BROKEN CUTOFF DET.)(MAIN BODY OF PROGRAM STARTS HERE)(CUT OFF)M25T100 G99G97 M3S2000Z1.556T1G0X[#531+.05]M82M40G1U-.1F.0015 G0U.1W.025G1X[#531] F.008U-.05W-.025X-.03M41G0W-.05M83M80/M98P7000 M99(BOTTOM HEADING FOR HEAD 1)N1000M10M150 (ROTARY MAGIC BUSHING ON)G4U.5G28U0 (RAPID HOME, U IS 'X')M25T200 T100 G99G97G40M9 (G99=FEED PER REVOLUTION, G97=CONSTANT SURFACE OFF)(G40=TOOL NOSE RADIUS COMP. OFF, M9=MAIN 'C' AXIS OFF)M3S1200 (MAIN SPINDLE CLOCKWISE @ 1200 RPM)G0X[#531+.05]W.02G1U-.1F.001G0X[#531+.05]W.02 G1X#531F.001 G1U-.04W-.02F.001G1X-.03F.0015M11 (MAIN COLLET OPEN)G4U.5M5 G28W0T0 G0W8.75 (10.63-PART LENGTH-CUTOFF BLADE WIDTH-FACE AMOUNT-~.25)G120Z0. (Z-AXIS COORDINATE SYSTEM SETTING)M10M99%(HEAD 2 SAMPLE)% O0006(5152938) (SCREW, BREECH LOCK CAM)(HEAD 2)G99G97G0G40M5G130(Z AXIS ZERO HOME) G28W0T0(MOVES TO HOME POS) G50Z0(SETS Z 0)T2000(MOVES TO X ZERO) M200(WAITS ON HEAD 1)M20(ONE CYCLE STOP)M25(C00LANT ON)M75(OPITIONAL BLOCK SK ON) M300 (WAIT CODE)/M5(SPINDLE STOP)/M8 (SUB C-AXIS ON) /G0C90./G0Z-.05T16M310 (WAIT CODE)/G98/G1Z.062F2.M320(WAIT CODE USED AS NEEDED TO MATCH HEAD 1)M330(WAIT CODE)M340(WAIT CODE)/G1Z-.05F2./G0Z0T0/M9M350(EJECTION OF PART) /T2900 /M3S300/G0W1.5/M14(AIR BLOW ON)/M11(OPEN COLLET)/G4U.5(DWELLS 1/2 SEC.)/M15(AIR BLOW OFF) /M27(PART EJECTION ERROR)/G0Z0T0(Z AXIS HOME) /M5(SPINDLE STOP)/T2000(X AXIS HOME)/M84 (PARTS CONVEYOR ON)M76(OPITIONAL BLOCK SKIP OFF)M01(PART PICKUP)M4S3000M11(COLLET OPEN) M82(SPINDLE SYNC ON,WAIT)G131(ZERO ON FACE PART REF)G0Z-.250 M68(FEED TORQ ON)G98(FEED-INCH/MIN) G1Z.600F100. G99(FEED INCH/REV) G130(ZERO,Z AXIS HOME REF) M10(CLOSE COLLET)M69(FEED TORQ OFF) M40(Z1 & Z2 AXIS LOCK ON,WAIT) M41(Z1 & Z2 AXIS LOCK OFF,WAIT)G98(FEED INCH/MIN) M68(FEED TORQ ON)G1W-.25F100. M69(FEED TORQ OFF) M83(SPINDLE LOCK OFF,WAIT) G0Z0T0(Z AXIS HOME)M5(SPINDLE OFF)M26(COOLANT OFF) M99(REWIND TO TOP) %(ACTUAL PROGRAM HEAD 1)% O2642(CUSTOMER NAME) (PART NAME)(PART NUMBER) (DATE RAN: 04/04/2012)(HEAD 1) M150 G99G97G0G40M9#531=.993 M3S300 IF[#5041GT0]GOTO1000 M11G4U2.G0Z.56T0 M10G4U2.G120Z.56 M5 M200 M20M10T100 G0X1.5Z-.05/M25 M27(FACE) M25T200 G50S3000 G99G96 M3S300 G0Z-.05T2X1.1Z.02 G1X.993X.953Z0F.002X-.032 G0Z-.05X2.0T0 M5 M1 (.375 DIA. SPOT DRILL) M25T1100G50S4000 G99G97 M3S1500G0Z-.05T11 X0.0 G1Z.075F.002 G4U1.G0Z-.05T0 M5 M1 (.272 DIA. DRILL)M25T1200G99G97 M3S650 G0Z-.05T12 X0.0 G83Z.822R.05Q0500F.004 G80G0Z-.05T0 M5 M1 (TURN OD)M25T200 G50S1700 G99G96 M3S350 G0Z-.05T2X.490G1Z0F.005X.5G2X.6Z.05R.05G1Z.622X.8455 G2X.938Z.6683R.0462G1Z.822X1.0794Z.7513G0X2.T0 M1 (CUT OFF)M25T100 G99G97 M3S810 G0X1.025Z1.358T1 M82M40G1X.94F.0015 G0X1.04W.025G1X.99 G1U-.0W-.025 G1X-.035 M41M83M80/M98P7000M99N1000M10M150 G4U2.G28U0T0 M25T200 T100 G99G97G40M9M3S810T1 G0X[#531+.05]W.02G1U-.1F.0008 G0X[#531+.05]W.02 G1X#531F.0008G1U-.04W-.02F.0008 G1X-.03F.0008M11G4U2.M5 G28W0T0G0W9.028 G120Z.0M10M99%(ACTUAL PROGRAM HEAD 2)% O2642(PROGRAM NUMBER)(CUSTOMER) (PART NAME)(PART NUMBER) (DATE RAN: 04/04/2012)(HEAD 2) G99G97G0G40M5M9 G130(Z AXIS COORD. SYS. OFF) G28W0T0(MOVES TO HOME POS) G50Z0(SETS Z 0)T2000(MOVES TO X ZERO) M200(WAITS ON HEAD 1)M20(ONE CYCLE STOP)M25(C00LANT ON)M5 T0 M1 (FINISH FACE)(.015 NOSE RADIUS)M75/G99G97/M4S2200 /T2300 /G0X-1.025Z-.05T13 /M21(ERROR DETECT ON)/Z.035/G1X-.938F.005/Z.0306F.0025/G2X-.8768Z0.R.0306/G1X-.43 /Z-.05F.01/G0X-1.1 /G0Z0T0/M5M76M1 M75(RUFF ID)(.45-.48 DIA. REGRIND 2 FLUTE 1/2" EM) /T2100 /G97S800M3 /G0X0.Z-0.05T11/G1Z.564F0.002 /G0Z-0.05/(SHIFT OVER AMOUNT NEEDED TO RUFF ID)X.04/G1Z.549/G2X.01Z.564R.015(CHANGE TO MATCH SHIFT AMOUNT)/G1X0./G0Z-.05/G0Z0T0/M5M76M1 M75(FIN. BORE)/G99G96/G50S2200
/M3S2200
/T2300
/G0Z-0.05T13
/X.5613
/G1Z0.F.005
/G3X.5Z.0306R.0306F.002
/G1Z.564
/X.47F.005
/G0Z-.05
/G0Z0T0
/M5
M76
M1
M75
(CHAMFER .272 HOLE)
/G99G96
/G50S2200
/M3S2200
/T2300
/G0Z-0.05T13
/X0.
/G1Z-.6F.02
/Z-.65F.002
/G04U1.0
/G0Z-.05
/G0Z0T0
/M5
M76
M1
M75
/G99G97
(EJECTION OF PART)
/T2900(SETS UP LOCATION)
/M3S300
/G0W2.5
/M14(AIR BLOW ON)
/M11(OPEN COLLET)
/G4U.5(DWELLS 1/2 SEC.)
/M15(AIR BLOW OFF)
/M27(PART EJECTION ERROR)
/G0Z0T0(Z AXIS HOME)
/M5(SPINDLE STOP)
/T2000(X AXIS HOME)
/M84(PARTS CONVEYOR ON)
M76(OPITIONAL BLOCK SKIP OFF)
đang được dịch, vui lòng đợi..