GCodeTutor

Transcription

GCodeTutor.com

GCodeTutor.comMachinists HandbookContentConversion Calculations 1/64” to 1” 1 1/64” to 2” 2 1/64” to 3”Screw Thread Charts Metric Coarse Thread Metric Fine Thread BSW British Standard Whitworth Thread BSF British Standard Fine Thread BA British Association Screw Thread BSPP British Standard Pipe parallel BSPT British Standard pipe Taper UNC Unified Coarse Thread UNF Unified Fine Thread UNEF Unified Extra Fine Thread Reamer Drill SizeAbbreviationsCNC Programming Reference G Code M Code Auxiliary CommandsG Code Canned Cycles - Turning G70 Finishing G71 Roughing G72 Facing G73 Pattern Repeating G74 Peck Drilling G75 Peck Grooving G76 Screw Cutting Single Line G76 Screw Cutting Double Line G83 Z-axis Peck Drilling G84 Z-axis Tapping G87 X-axis Peck Drilling G88 X-axis TappingG Code Canned Cycles - Milling G81 Drilling G82 Counter bore G83 Peck Drilling G84 Tapping G85 Bore in / Bore out G86 Bore in / Rapid outCalculations Speeds and Feeds Tapping Drill TrigonometryTrigonometry ChartsTool Geometry RH Knife Tool Drill Centre Drill End Mill Morse TaperAfterword

GCodeTutor.comMachinists HandbookConversion Charts

GCodeTutor.comMachinists HandbookConversion CalculationsLengthKilometers (km)x0.62 Miles (mi)Miles (mi)x1.61 Kilometers (km)Kilometers (km)x3280.8 Feet (ft)Feet (ft)x0.0003048 Kilometers (km)Meters (m)x3.28 Feet (ft)Feet (ft)x0.3 Meters (m)Centimeters (cm)x0.39 Inches (in)Inches (in)x2.54 Centimeters (cm)Millimeters (mm)x0.039 Inches (in)Inches (in)x25.4 Millimeters (mm)Meters (m)x39.37 Inches (in)Inches (in)x0.0254 Meters (m)Meters (m)x1.09361 Yards (yd)Yards (yd)x0.91 Meters (m)Kilometers (km)x1093.61 Yards (yd)Yards (yd)x0.00091 Kilometers (km)VolumeLiters (l)x1.057 Quarts (qt)Quarts (qt)x0.95 Liters (l)Liters (l)x0.264 Gallons (gal)Gallons (gal)x3.785 Liters (l)Milliliters (ml)x0.0042 Cups (c)Cups (c)x236.6 Milliliters (ml)Milliliters (ml)x0.0338 Ounces (oz)Ounces (oz)x29.57 Milliliters (ml)MassKilogram (kg)x0.0011 Tons (ton)Tons (ton)x907.18 Kilograms (kg)Kilogram (kg)x2.2046 Pounds (lb)Pounds (lb)x0.454 Kilograms (kg)Grams (g)x0.035 Ounces (oz)Ounces (oz)x28.35 Grams (g)Grams (g)x0.002205 Pounds (lb)Pounds (lb)x453.592 Grams (g)Milligrams (mg)x0.000035 Ounces (oz)Ounces (oz)x28350 Milligrams (mg)TemperatureFahrenheit (F)(Temperature (F) – 32)*5/9Celsius (C)Celsius (C)(Temperature (C)*9/5) 32Fahrenheit (F)

GCodeTutor.comMachinists HandbookMeasurement Conversion .539/640.609415.47817/320.21885.5563.0.610215.5

GCodeTutor.comMachinists HandbookMeasurement Conversion ChartsMeasurement Conversion ChartMeasurement Conversion ChartFractionDecimalmmFractionDecimalmm1 1/641.015625.79691 37/641.578140.08441 1/321.031326.19381 19/321.593840.48131 3/641.046926.59061 39/641.609440.87811 1/161.062526.98751 5/81.62541.2751 5/641.078127.38441 41/641.640641.67191 3/321.093827.78131 21/321.656342.06881 7/641.109428.17811 43/641.671942.46561 1/81.12528.5751 11/161.687542.86251 9/641.140628.97191 45/641.703143.25941 5/321.156329.36881 23/321.718843.65631 11/641.171929.76561 47/641.734444.05311 3/161.187530.16251 3/41.7544.451 13/641.203130.55941 49/641.765644.84691 7/321.218830.95631 25/321.781345.24381 15/641.234431.35311 51/641.796945.64061 1/41.2531.751 13/161.812546.03751 17/641.265632.14691 53/641.828146.43441 9/321.281332.54381 27/321.843846.83131 19/641.296932.94061 55/641.859447.22811 5/161.312533.33751 7/81.87547.6251 21/641.328133.73441 57/641.890648.02191 11/321.343834.13131 29/321.906348.41881 23/641.359434.52811 59/641.921948.81561 3/81.37534.9251 15/161.937549.21251 25/641.390635.32191 61/641.953149.60941 13/321.406335.71881 31/321.968850.00631 27/641.421936.11561 63/641.984450.40311 7/161.437536.51252250.81 29/641.453136.90941 15/321.468837.30631 31/641.484437.70311 1/21.538.11 33/641.515638.49691 17/321.531338.89381 35/641.546939.29061 9/161.562539.6875

GCodeTutor.comMachinists HandbookMeasurement Conversion ChartsMeasurement Conversion ChartMeasurement Conversion ChartFractionDecimalmmFractionDecimalmm2 1/642.015651.19692 37/642.578165.48442 1/322.031351.59382 19/322.593865.88132 3/642.046951.99062 39/642.609466.27812 1/162.062552.38752 5/82.62566.6752 5/642.078152.78442 41/642.640667.07192 3/322.093853.18132 21/322.656367.46882 7/642.109453.57812 43/642.671967.86562 1/82.12553.9752 11/162.687568.26252 9/642.140654.37192 45/642.703168.65942 5/322.156354.76882 23/322.718869.05632 11/642.171955.16562 47/642.734469.45312 3/162.187555.56252 3/42.7569.852 13/642.203155.95942 49/642.765670.24692 7/322.218856.35632 25/322.781370.64382 15/642.234456.75312 51/642.796971.04062 1/42.2557.152 13/162.812571.43752 17/642.265657.54692 53/642.828171.83442 9/322.281357.94382 27/322.843872.23132 19/642.296958.34062 55/642.859472.62812 5/162.312558.73752 7/82.87573.0252 21/642.328159.13442 57/642.890673.42192 11/322.343859.53132 29/322.906373.81882 23/642.359459.92812 59/642.921974.21562 3/82.37560.3252 15/162.937574.61252 25/642.390660.72192 61/642.953175.00942 13/322.406361.11882 31/322.968875.40632 27/642.421961.51562 63/642.984475.80312 7/162.437561.91253376.22 29/642.453162.30942 15/322.468862.70632 31/642.484463.10312 1/22.563.52 33/642.515663.89692 17/322.531364.29382 35/642.546964.69062 9/162.562565.0875

Machinists HandbookScrew Thread ChartsGCodeTutor.com

GCodeTutor.comMachinists HandbookMetric Coarse Thread ChartMetric Coarse Thread dHeightPitchPitchDiameterTap 03586860.639683.681664.10362Dimensions in mm unless otherwise stated

GCodeTutor.comMachinists HandbookMetric Fine Thread ChartMetric Fine Thread dHeightPitchPitchDiameterTap 26.52825.546281.227226.70126Dimensions in mm unless otherwise stated

GCodeTutor.comMachinists HandbookBSW British Standard Whitworth Thread ChartBSW British Standard Whitworth Thread eightPitchThreadsper inch(TPI)Tap 8072.822919.251"21.33525.42.0333.1758221 1/8"23.92928.5762.3243.629724.51 1/4"27.10431.7512.3243.629727.251 3/8"29.50534.9262.7114.233630.251 1/2"32.6838.12.7114.233633.51 5/8"34.77141.2773.2535.08535.51 3/4"37.94644.4523.2535.08538.51 7/8"40.39847.6273.6145.6454 1/241.252"43.57350.8023.6145.6454 1/244.52 1/4"49.0257.1524.0666.354502 1/2"55.3763.5024.0666.354562 3/4"60.55869.8534.6477.2573 1/261.53"66.90976.2034.6477.2573 1/2683 1/4"72.54482.5535.0057.8163 1/473.753 1/2"78.89488.9035.0057.8163 1/4803 .4673924 1/4"96.639107.9545.6578.8352 7/8984 1/2"102.99114.3045.6578.8352 7/8104.24 3/4"108.625120.6655.9159.2372 3/41105"115.176127.0055.9159.2372 3/4116.55 1/4"120.963133.3556.1969.6772 5/8122.55 1/2"127.313139.7056.1969.6772 5/8128.55 3/4"133.043146.0556.50610.162 1/2134.56"139.394152.4066.50610.162 1/2141Dimensions in mm unless otherwise stated

GCodeTutor.comMachinists HandbookBSF British Standard Fine Thread ChartBSF British Standard Fine Thread ightPitchThreadsper inch(TPI)Tap 825.41.6272.541022.751 1/8"24.96328.5751.8072.822926.51 1/4"28.13831.751.8072.822928.751 3/8"30.86134.9252.0333.175831.51 1/2"34.03638.12.0333.175834.51 5/8"37.21141.2752.0333.1758381 297472 1/4"51.7357.152.7114.2346532 1/2"58.0863.52.7114.2346592 ensions in mm unless otherwise stated

GCodeTutor.comMachinists HandbookBA British Association Thread ChartBA British Association Screw Thread ightPitchThreadsper inch(TPI)Tap DrillDiameterNo. 160.560.790.1150.668133.680.6No. 150.650.90.1250.766120.950.7No. 140.7210.140.853110.40.75No. 130.91.20.151.04101.60.95No. 120.961.30.171.12190.711No. 111.131.50.1851.30181.931.2No. 101.281.70.211.47672.571.35No. 91.431.90.2351.6565.121.5No. 81.682.20.261.92559.071.8No. 71.922.50.292.19352.922No. 62.162.80.322.46147.922.3No. 52.493.20.3552.82243.052.6No. 42.813.60.3953.17738.482.95No. 33.224.10.443.63334.793.4No. 23.734.70.4854.18131.353.9No. 14.225.30.544.72428.224.4No. 04.860.65.3625.45Dimensions in mm unless otherwise stated

GCodeTutor.comMachinists HandbookBSPP BritishStandard Pipe Parallel Thread ChartBSPP Briitish Standard Pipe Parallel Thread eightPitchThreadsper inch(TPI)Tap .8141428.251"30.29133.2491.4792.3091130.751 1/8"34.93937.8971.4792.3091135.51 1/4"38.95241.911.4792.3091139.51 1/2"44.84547.8031.4792.3091147.41 92.3091160.12 1/4"62.75265.711.4792.3091163.32 1/2"72.22675.1841.4792.3091172.82 92.3091185.53 4792.30911110.54 792.309111365 .4792.30911161.5Dimensions in mm unless otherwise stated

GCodeTutor.comMachinists HandbookBSPT British Standard Pipe Taper Thread ChartBSPT Briitish Standard Pipe Taper Thread eightPitchEffectiveThreadLengthThreadsper inch(TPI)Tap 1621.81451423.751"30.29133.2491.4792.3096.411301 1/4"38.95241.911.4792.3096.41138.51 .4792.3097.511562 31.4792.30911.511161.5Dimensions in mm unless otherwise stated

GCodeTutor.comMachinists HandbookUNC Unified Coarse Thread ChartUNC Unified Coarse Thread DiameterPitchThreadsper inch(TPI)Tap DrillDiameter1 - 640.0731.8540.397641.52 - 560.0862.1840.453561.83 - 480.0992.5150.529482.14 - 400.1122.8450.635402.355 - 400.1253.1750.635402.656 - 320.1383.5050.794322.858 - 320.1644.1660.794323.510 - 240.194.8261.05824412 - 240.2165.4861.058244.651/4" - 200.256.351.27205.355/16" - 180.3137.9381.411186.83/8" - 160.3759.5251.587168.257/16" - 140.43811.1121.814149.651/2" - 130.512.71.9541311.159/16" - 120.56314.2882.1171212.65/8" - 110.62515.8752.3091114.053/4" - 100.7519.052.5410177/8" - 90.87522.2252.8229201" - 8125.43.175822.851 1/8" - 71.12528.5753.628725.651 1/4" - 71.2531.753.628728.851 3/8" - 61.37534.9254.233631.551 1/2" - 61.538.14.233634.71 3/4" - 51.7544.455.08540.42" - 4 1/2250.85.6444.546.32 1/4" - 4 1/22.2557.155.6444.552.652 1/2" - 42.563.56.35458.52 3/4" - 42.7569.856.35464.753" - 4376.26.35471.13 1/4" - 43.2582.556.35477.453 1/2" - 43.588.96.35483.83 3/4" - 43.7595.256.35490.154" - 44101.66.35496.5Dimensions in mm unless otherwise stated

GCodeTutor.comMachinists HandbookUNF Unified Fine Thread ChartUNF Unified Fine Thread DiameterPitchThreadsper inch(TPI)Tap DrillDiameter0 - 800.061.5240.317801.251 - 720.0731.8540.353721.552 - 640.0682.1840.397641.93 - 560.0992.5150.453562.154 - 480.1122.8450.529482.45 - 440.1253.1750.577442.76 - 400.1383.5050.635402.958 - 360.1644.1660.705363.510 - 320.194.8260.794324.112 - 280.2165.4860.907284.71/4" - 280.256.350.907285.55/16" - 240.3137.9381.058246.93/8" - 240.3759.5251.058248.57/16" - 200.43811.1121.27209.91/2" - 200.512.71.272011.59/16" - 180.56314.2881.4111812.95/8" - 180.62515.8751.4111814.53/4" - 160.7519.051.5871617.57/8" - 140.87522.2251.8141420.41" - 12125.42.1171223.251 1/8" - 121.12528.5752.1171226.51 1/4" - 121.2531.752.1171229.51 3/8" - 121.37534.9252.1171232.751 1/2" - 121.538.12.1171236Dimensions in mm unless otherwise stated

GCodeTutor.comMachinists HandbookUNEF Unified Extra Fine Thread ChartUNEF Unified Extra Fine Thread DiameterPitchThreadsper inch(TPI)Tap DrillDiameter12 - 800.2165.4860.794324.81/4" - 320.256.350.794325.75/16" - 320.3137.9380.794327.253/8" - 320.3759.5250.794328.857/16" - 280.43811.1120.9072810.351/2" - 280.512.70.9072811.89/16" - 240.56314.2881.0582413.45/8" - 240.62515.8751.058241511/16" - 240.68817.4621.0582416.63/4" - 200.7519.051.27201813/16" - 200.81320.6381.272019.67/8" - 200.87522.2251.272021.1515/16" - 200.93823.8121.272022.71" - 20125.41.272024.31 1/16" - 181.06326.9881.4111825.81 1/8" - 181.12528.5751.4111827.351 1/4" - 181.2531.751.4111830.551 5/16" - 181.31333.3381.4111832.11 3/8" - 181.37534.9251.4111833.71 7/16" - 181.43836.5121.4111835.31 1/2" - 181.538.11.4111836.91 9/16" - 181.56339.6881.4111838.551 5/8" - 181.62541.2751.4111840.11 11/16" - 181.68842.8621.4111841.6Dimensions in mm unless otherwise stated

GCodeTutor.comMachinists HandbookReamer Drill SizeReamer Size (mm)Drill Size 837.54039.54241.54443.54645.54847.55049.5

GCodeTutor.comMachinists HandbookAbbreviations

GCodeTutor.comMachinists s cornersAFacross flatsAFFabove finished floorAISIAmerican Iron and Steel InstituteAl or ALaluminiumALYalloyAMERAmericanAMSAerospace Material StandardsAN-Army-NavyANNanneal, annealedANSIAmerican National Standards InstituteAPPROXapproximatelyAQLacceptable quality levelARas requiredASAerospace Standards; Australian StandardsAPSapproved product supplierAPVapproved product vendorASAAmerican Standards AssociationASMEAmerican Society of Mechanical EngineersASSY or ASYassemblyASTMAmerican Society for Testing and MaterialsAVGaverageAWGAmerican Wire GaugeBASICbasic dimensionBC or B.C.bolt circleBHCSbutton head cap screwBHNBrinell hardness numberBoM or BOMbill of materialsBoP or BOPbought out partBP, B/PblueprintBRZbronzeBSCbasic dimensionCADcomputer-aided designCAGECommercial and Government EntityC-C or C-TO-Ccentre-to-centre; on centresCBNcubic boron nitrideCDAcurrent design activityCERT or certcertificationCGcenterless ground, centerless grindingCHchamferCHAMchamferCIcast iron

GCodeTutor.comMachinists HandbookAbbreviationsAbbreviationDefinitionCL or center lineCNCcomputer numerical controlCRcontrolled radiusCREScorrosion-resistantCRScold rolled steel; on centresC/TCorrelation / TrackingC'BORE or CBOREcounterboreCSK or CSINKcountersinkCTN, ctncarton diameterDdiameter; deltaDIAdiameterDIPductile iron pipeDIMdimension, dimensioningDO, dodittoDOD, DoD[U.S.] Department of DefenseDPDdigital product definitionDWG, dwgdrawingEDedge distanceEO, ECO, ECNengineering orderEQequal, equallyERCelectrical rule checkffinishFAOfinish all overFCFfeature control frameFD or F/Dfield of the drawingFIMfull indicator movementFLflag note, flagnoteFLFloor LevelFN or F/Nflag note, flagnote; find numberFoSfeature of sizeFSfar sideFSCMFederal Stock/Supply Code for ManufacturersFTGfittingGCIgray cast ironGD&T or GDTgeometric dimensioning and tolerancingGN or G/Ngeneral noteHBWhardness, Brinell, tungsten tipHHCShex head cap screwHRAhardness, Rockwell, A scaleHRBhardness, Rockwell, B scaleHRChardness, Rockwell, C scale

GCodeTutor.comMachinists ness, Rockwell, C scaleHRShot rolled steelHT TRheat treat, heat treatmentH&T or H/T or HThardened and temperedIAWin accordance withIDinner diameter; identity, identification numberIEDInsufficient Edge DistanceISOInternational Organization for StandardizationKEYkeyKPSI, kpsikilopounds per square inchKSI, ksikilopounds per square inchLDDLimited Dimension DrawingLHleft-handLM or L/Mlist of materialsLMCleast material conditionMACHmachine; machinedMAJmajorMAXmaximumMBDmodel-based definitionMBPmeasurement between pinsMBWmeasurement between wiresMF or M/Fmake MIL-[U.S.] MilitaryMINminimum; minutes; minorMMCmaximum material conditionMOD, MoDMinistry of Defence [U.K. and others]MOP, MoPmeasurement over pinsMOW, MoWmeasurement over wiresMPa, MPAmegapascalsMRBmaterial review boardMS-[U.S.] Military StandardNASNational Aerospace StandardsNCNational Coarse; numerical controlNCMnonconforming materialNCRnonconformance reportNECnot elsewhere classified; National Electrical CodeNEFNational Extra FineNFNational FineNL or N/Lnotes list

GCodeTutor.comMachinists nalNORM or NORMDnormalizedNPSNaval Primary StandardNPTNational Pipe TaperNSNational Special; near sideNSCMNational Stock/Supply Code for ManufacturersN&T or N/T or NTnormalized and temperedNTSnot to scaleOALoverall lengthOCon centerODouter diameterODAoriginal design activityOHLover high limitOPPoppositeORIGoriginalpc, pcspiece, piecesPDpitch diameterPDMproduct data managementPH or P/Hprecipitation hardening / pilot holePHR BRZphosphor bronzePL or P/Lparts listPLMproduct lifecycle managementPN or P/Npart numberPOIpoint of intersectionP.F.press fitPSIpounds per square inchPTFEpolytetrafluoroethylenePVCpolyvinyl chlorideQMSquality management systemQTY or qtyquantityRradiusRA, Raroughness, average; Rockwell A scaleRB, RbRockwell B scaleRC, RcRockwell C scaleREFreferenceREQD or REQ'DrequiredREVrevisionRFSregardless of feature sizeRHright-handRHRroughness height readingRLReduced Level or Relative LeveRMAreturn material authorization

GCodeTutor.comMachinists HandbookAbbreviationsAbbreviationDefinitionRMSroot mean squareRT or R/Trough turn, rough turned; room temperatureRTPrelease to productionRTVroom-temperature vulcanizing; return to vendorRZ, Rzroughness, mean depthSAESociety of Automotive EngineersSC or S/Csharp cornersSF or S/FspotfaceSFACE or S/FACEspotfaceSHCSsocket head cap screwSHNshownSHSSsocket head set screwSISystème internationalSN or S/Nserial numberSOL ANNsolution anneal, solution annealedSPEC or specspecificationSPHER ANNspheroidize annealSPOTFACESpot facingSRspherical radiusSS or S/Sstainless steelSSTstainless steelSTDStandardSTEPStandard for the Exchange of Product Model DataSTAsolution treated and agedSTIscrew thread insertSTLsteelSTKstockTAPTapped holeTB or T/Btitle blockTDPtechnical data packageTHD or thdthreadTHK or thkthicknessTHRUThroughTHRU ALLThrough allTIRtotal indicator reading; total indicated run-outTOLtolerance, tolerancingTSCtheoretical sharp cornerTYtypeTYPTypicalUAIuse as-isULLunder low limitUNCUnified National Coarse

GCodeTutor.comMachinists fied National Extra FineUNFUnified National FineUNJCUnified National "J" series CoarseUNJFUnified National "J" series FineUNOunless noted otherwiseUNSUnified National SpecialUONunless otherwise notedUOSunless otherwise specifiedUSASIUnited States of America Standards InstituteUSSUnited States Standard; United States SteelUTSultimate tensile strength; Unified Thread StandardvfinishWCtungsten carbideWIwrought ironW/I, w/iwithinW/O, w/owithoutXused to indicate the word “by”YSyield strength

GCodeTutor.comMachinists HandbookCNC ProgrammingReference

GCodeTutor.comMachinists HandbookG Code ReferenceG Code Reference ListG CodeFunctionG CodeFunctionG00Positioning at rapid travel;G58Set Datum;G01Linear interpolation using a feed rate;G59Set Datum;G02Circular interpolation clockwise;G70Finish cycle (Lathe);G03Circular interpolation, counterclockwise;G71Rough turning cycle (Lathe);G04DwellG72Rough facing cycle (Lathe);G17Select X-Y plane;G73Chip break drilling cycle;G18Select Z-X plane;G74Left hand tapping Mill);(G19Select Z-Y plane;G74Face grooving cycle;G20Imperial units;G75OD groove pecking cycle (Lathe);G21Metric units;G76Boring cycle (Mill);G27Reference return check;G76Screw cutting cycle (Lathe);G28Automatic return through reference point;G80Cancel cycles;G29Move to a location through reference point;G81Drill cycle;G31Skip function;G82Drill cycle with dwell;G32Thread cutting operation on a Lathe;G83Peck drilling cycle;G33Thread cutting operation on a Mill;G84Tapping cycle;G40Cancel cutter compensation;G85Bore in, bore out;G41Cutter compensation left;G86Bore in, rapid out;G42Cutter compensation right;G87Back boring cycle;G43Tool length compensation;G90Absolute programming;G44Tool length compensation;G91Incremental programming;G50Set coordinate system (Mill);G92Reposition origin point (Mill);G50Maximum RPM (Lathe);G92Screw thread cutting cycle (Lathe);G52Local coordinate system setting;G94Per minute feed;G53Machine coordinate system setting;G95Per revolution feed;G54Set Datum;G96Constant surface speed (Lathe);G55Set Datum;G97Constant surface speed cancel;G56Set Datum;G98Feed per minute (Lathe);G57Set Datum;G99Feed per revolution (Lathe);

GCodeTutor.comMachinists HandbookM Code ReferenceM Code Reference ListM CodeFunctionM00Program stopM01Optional program stopM03Spindle on clockwiseM04Spindle on counterclockwiseM05Spindle offM06Tool changeM08Coolant onM09Coolant offM30Program end, return to start

GCodeTutor.comMachinists HandbookAuxiliary CommandsAddressFunctionDescriptionOProgram Number4 digit number to define theprogram used for storage and identificationin machine memoryNBlock NumberBlock Numbers are used forsearch both manuallyand automaticallyGG CodeMachine control function.For a full list of G Codes refer tothe G Code list pageMM CodeAuxilary machine control function.For a full list of M Codes refer tothe M Code list pageX,Y,Z,U,V,WCoordinatesAxis positional commandsusing the Cartesian coordinatesystemRRadial CoordinatesDefines the radiifor cornersand arcsI,J,KCentre point CoordinatesDefines the centrepoint of arcsand radiusSSpindle SpeedDefines the spindle speed in RPMor if in surface speed mode thefeet per min of surface of materialFFeed RateTToolDefines the toolnumber and offset numberi.e. T0101I,K,P,Q,RCycle DefinitionsUsed within canned cycles with various functions.Refer to the section on cyclesfor uses.Defines themotion speed of the tool

Machinists HandbookG Code Canned CyclesTurningGCodeTutor.com

GCodeTutor.comMachinists HandbookG Code Cycles Lathe ReferenceG70Finishing CycleG70 P Q;P start of the contourQ end of the contourExample:G00 X70.0 Z2.0;G42;G70 P100 Q200;G00 X70.0 Z5.0;G53 X0.0 Z-210.0 M09;G40 M05;

GCodeTutor.comMachinists HandbookG Code Cycles Lathe ReferenceG71Roughing CycleG71 U R;G71 P Q U W F;U Depth of cutR Retract valueP Sequence number for the start of the program contourQ Sequence number for the end of the program contourU Finishing allowance in XW Finishing allowance in ZF Feed rateExample:G71 U1.0 R1.0;G71 P100 Q200 U0.2 W.05 F0.2;N100 G00 X19.0;G01 G42 Z0.0 F0.2;Z-65.0 ,R5.0;X60.0;N200 G40 X70.0 Z5.0 F200;

GCodeTutor.comMachinists HandbookG Code Cycles Lathe ReferenceG72Facing CycleG72 W(1) R;G72 P Q U W(2) F;W(1) Depth of cutR Retract amountP Sequence number for the start of the program contourQ Sequence number for the end of the program contourU Finishing allowance in XW(2) Finishing allowance in ZF Feed rateExample:G72 W1000 R100;G72 P100 Q200 U0.03 W0.03 F0.01;N100 G00 Z-0.2 S500 P11;G01 X3.0 F0.01;X2.0 Z-0.5;Z-0.1;X0.5;N200 X0.0;

GCodeTutor.comMachinists HandbookG Code Cycles Lathe ReferenceG73Pattern Repeating CycleG73 U(1) W(1) R;G73 P Q U(2) W(2) F;U(1) Amount of material to be machined on the X-axis.W(1) Amount of material to be machined on the Z-axiR Amount of roughing passesP Sequence number for the beginning of the contourQ Sequence number for the end of the contourU 2) Finish allowance on the X-axis.W 2) Finish allowance on Z-axisF Feed rate.Example:G73 U0.5 W0.2 R0.03;G73 P100 Q200 U0.4 W0.01 F0.01;N100 G00 X1.0 S1000 P11;G01 Z-0.4 F0.01;X2.0 Z-1.0;Z-1.5;N200 X4.0;

GCodeTutor.comMachinists HandbookG Code Cycles Lathe ReferenceG74Peck Drilling CycleG74 Z R Q F;Z Total depth of holeR Retract amount after each peckQ Depth of each peck (no decimal point)F Feed rateExample:G74 Z-2. R500 Q2000 F.007;G0 X40.0 Z50.0 ;

GCodeTutor.comMachinists HandbookG Code Cycles Lathe ReferenceG75Peck Grooving CycleG75 X Z P Q F;X Depth of groove (dia)Z Distance to groove from datumP Depth of peckQ Step over amount on the Z axisF Feed rateExample:G00 X3.0 Z-6.0;G75 X2.0 Z-1.0 P0.1 Q0.15 F.002;G00 X10.0 Z12.0;

GCodeTutor.comMachinists HandbookG Code Cycles Lathe ReferenceG76Screw Thread Cycle (Single Line)G76 X Z I K D A F;X Core diameter of the threadZ End position of the threadI TaperK Depth of threadD Depth of first passA Tool nose angleF Pitch of ThreadExample:G97 S400 M03;G00 X20.0 Z5.0 M08;G76 X18.2 Z-18.0 I-.01 K900 D100 A60 F1.5;G00 X25.0 Z10.0;

GCodeTutor.comMachinists HandbookG Code Cycles Lathe ReferenceG76Screw Thread Cycle (Double Line)G76 P (1) (2) (3) Q R;G76 X Z P Q R F;P is a six digit character, two digits each for (1), (2) and (3)(1) number of finishing passes(2) chamfering amount(3) included angle of the tool tipQ Minimum cutting depthR Finishing allowanceX Minor Diameter of the threadZ End position of the threadP Depth of threadQ Depth of first passR TaperF PitchExample:G00 X20.0 Z5.0 M08;G76 P040060 Q100 R.02;G76 X18.2 Z-18.0 P180 Q160 F1.5;G00 X25.0 Z10.0;

GCodeTutor.comMachinists HandbookG Code Cycles Lathe ReferenceG83Z-axis Peck Drilling CycleG83 Z Q R P F;Z Depth of holeQ Peck distanceR Distance from initial pointP Dwell time at bottom of hole (milliseconds)F Feed rateExample:Z1.0;G83 Z-50.0 P500 Q2000 P1000 F0.08;G80;

GCodeTutor.comMachinists HandbookG Code Cycles Lathe ReferenceG84Z-axis Tapping CycleG84 Z Q R F;Z Depth of holeQ

CNC Programming Reference G Code M Code Auxiliary Commands G Code Canned Cycles - Turning G70 Finishing G71 Roughing G72 Facing G73 Pattern Repeating G74 Peck Drilling G75 Peck Grooving G76 Screw Cutting Single Line G76 Screw Cutting Double Line G83 Z-axis Peck Drilling G84 Z-axis Tapping