CNC Turning Programming Exellent Explaination

Embed Size (px)

DESCRIPTION

CNC lathe programming explaination.G&M codes and descriptions

Citation preview

  • CAD/CAM LABORATORY MEL58

    SIMPLE TURNINGa/ W'it"a manual part program for Simple Turning Operation for the component shown infigure below.

    PLANNING AND OPERATIONS SHEETBILLBT SIZE :22 x60 MATERIAL: AluminumPROGRAM NO : 1002 DWGNO:2

    Simple SDJCRtzlzHtl

    DCMTl1T304

    TOOL OFFSET SHEETTool offset No. Compensations, mm

    Radius. mmStandard Tool

    Number

    (Drawing No .2(CNC program for Simple Turning(Reducing the diameter from 22 mmto l4 mm01002 program Number 1002[BILLET X22 2,60 Defining Billet size dia : 22length60 mmG2l G98 Initial iettinssG28 U0 W0 Going to horie positionM06 T0303 Selecting Tool

    ^lrlo. 3 with offset No 3M03 S 1200 Setring spindle speed at 1200 rpmG00 X22 Z1 tool moving to tool entry poini X22 Zl alGOl X21 rapid traverse.

    GOl z-30 F45G00 X22 Simple Turning operarionGOO ZIGOl x2iGOl z-30 F45G00 x22GOO ZT

    DEPARTI\{ENT OF MECHANICAL BNGINEERING, K.S.I.T. BANGALORE-6256

  • CAD/CAM LABORATORY MEL58

    GOl x20G01 Z-30 F45G00 x22GOO ZTGOl x l9G0r z-30 F45G00 x22GOO Z1GOl x18GOl z-30 F45G00 x22GOO ZIGOl x l7GOl z-30 F45G00 x22GOO ZIGOl x16GOl z-30 F45G00 x22GOO ZTG01 X15G}t z-30F4sG00 x22GOO ZIGOl x l4GOl z-30 F45G00 x22GOO ZIG28 U0 W0M05M30

    Going to home positionStop the spindle

    stop and rewind.

    CIRCULAR INTERPOLATION _ GO2/GO3

    Data to be given Command MeaningI Rotation Direction G02 Clockwise direction (CW)

    G03 Counter clockwise direction(ccw)2 End point position Absolute

    commandX.Z End point position in the work

    coordinate systemIncrementalcommand

    u,w Distance from start point to endpoint.

    aJ Distance from start

    point to center[,K Distance with direction from

    start point to arc center.Radius of arc R Radius of arc.

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE.62 57

  • CAD/CAM LABORATORY MEL58

    The end point of an arc is specified by address X,Z or U, W and is expressed as anabsolute or incremental value. For the incremental value, the coordinate of the endpoint whichis viewed from the start point of the arc is specified. The arc center is specified byaddresses Iand K for the X and Z axis. The numerical value following I,J is always specified as anincremental value- I and K must be signed according^to the direction. The radius is specifiedwith address R, if the circular path is greater than 1800, then R should be negative. For a lathe,because of the characteristics of the turning operation, the circular motion can only b" t.ss tha,i1 g00.

    Clockwise and counter clockwise directions of rotations are distinguished on the basisof the rule that when one looks from the positive direction of the axis perpe-ndicular to the planeon which the circular motion is performed, the motion is in clockwise ind counter clockwisedirections respectively. The clockwise or counter clockwise direction varies in right or left handcoordinate systems as shown in figures below :

    GOa operat icrnMachine wi th

    tool post

    CONTOURTNGWrite a manual part program for Linear and Circular Contour Operation for thecomponent shown in figure below.

    G03 oper , r . t ion

    DEPARTMENT OI.. MECHANICAL ENGINEERING, K.S.I.T, BANGAL0RE-6258

  • CAD/CAM LABORATORY MEL58

    ?

    5- - - - {

    DWG. NO.3PLANNING AND OPERATIONS SHEET

    BILLET SIZE : 32 x 60 MATERIAL: AluminumPROGRAM NO : 1003 DWG NO :3SL.NO Operation Tool

    HolderToolTip

    ToolStation

    No

    ToolOffset

    No

    SpindleSpeed,rpm

    Feed,mm/min

    LinearIntemolation

    SDJCRt2t2Hrl

    DCMT11T304

    I I 1200 45

    2 Contouring SDJCRt2t2Htl

    DCMTl1T304

    I r200 25

  • CAD/CAM LABORATORY MEL58

    G03 U5 Z-37 F.r}G9t z-42F45x30 z-47z-52G28 U0 W0M05M30

    F25 Counter Clockwise Interpolation - G03

    Going to home positionStop the spindlePro stop and rewind.

    o) Step Fo.cingcyc(e

    G94 _ FACING CYCLEN

    r

    Al.\-lf

    b)Toper Focingcycte R-

    tc)Taper Fo.cing

    cycle R+

    Description IllustrationA G94 is a "Box Type" cutting cycle.This cycle is used for stock removaleither parallel or at an angle to workpieceface. It is the equivalent of rapid to Zposition, feed to X position, feed to startZ position, and rapid to start X position.If the "R" value is specified tapering willbe performed. The sign of "R" dependson direction of the taper. The initial rapidmove will be to the Z position plus .,r"value. As carmed cycles are modal, torepeat the cycle for removing furthermaterial only the value in the axis to bemoveci needs to be changed.

    a)Ge4 x(u) z(w) Fb) Ge4 x(u) z(w) R- Fc) G94 X(U) Z(w) R+ FWhere X: diameter to which the movementis being made.{J: The incremental distance from thecurrent tool position to the required finaldiameter.Z: The Z axis coordinate to which themovement is being made.W : The incremental distance from thecurrent tool position to the required position.R: The difference in incremental of the cutstart radius value and the cut finish radiusvalue.

    60DBPARTMENT OF MECHANICAL ENGINEERTNG, K.S.I.T, BANGALORE-62

  • t9 Z9-!ruO'IVDNVTI'I'I'S'X'CNTUSSNI)NS -IYJINYHJf,W dO INflIAIJUYdg(

    V Zzxlurod,&lue loot ol Eurrrou 1oo1rufu 00Zt 1e paads alpurds 3ur11eg

    t oN lesJJo qU^A t 'oN IooJ 8ur1ce1aguorlrsod ryoq ol Surog

    sdurlles IuqruItulrt 0t r{}Eua1 Z(.: e\p azrs }ollrg Surugeq

    t00l raqun5l ururSor6

    C Z XV6D: xe1u,{g epoc ?6Ca1c,(c SurceC xofl t6C -----------

    9'Z-ZZ-Z

    9 ' I -ZrZgEC 9'0-Z 0rx r6c

    IZ ZEXOOJOOZIS 'OhIt00J 90IAI01K 0n 8zc

    86C rZCOVZ ZZX Tg-lr|lg]

    t00roe1c,(c Surceg ro3 ruerSo;d 3p3)

    ?'oN Sur,r,rerq)

    t v'0 IJaqrunN

    IooI prBpuBfs

    u Z X'oN tesJJo looJ

    Iutu 'snrp8uesoulo0I turu (suorlzsuaduro3

    rgtrHs Jtrsddo'IooI

    unururnlY : .IvtuflJvhtrJgflHS SNOII\TUfldO (INY CNINNVTd

    t 'oN'ca\o

    I-0+ - - - --T*-II

    ',$oJJq e"rn8rtrur u,raoqs luauoduoc aql roJ uorlurado Surceg xog roJ uer8ord lrud lenuuu B alirA\

    CNIJVd XOg

    {

    I IHZIZ I I Eurseculfcs I xog

    IooI I loo.[alpurd5 | IooI

    oNuorlBls

    IOOI? : ON CA\(I t00I : oN I IYUSOUd

    0v x z7: uzIS J,g.I.Ufl

    SSTgW AUOI\NUOflY'I'TIVJ/(YJ

  • CAD/CAM LABORATORY MEL58

    z-3z-3.5z-4z-4.5z-5G00 x22 z-5G94 XlO Z-5.5 F35z-6z-6.5z-7z-7.5z-8z-8.5z-9z-9.5z-r0G28 U0 W0M05M30

    G94 Box Facing cycle

    Going to home positionStop the spindleProgram stop and rewind.

    TAPER FACINGWrite a manual part program for Taper Facing Operation for the component shown infigure below.

    DWG. NO.5

    |}

    mry ERATIONS SHEETL MATERIAL : AluminumrRUGR-d Nl N0 : 1005 DWG NO:5SL.NO Operation Tool

    HolderToolTip

    ToolStation

    No

    ToolOffset

    No

    SpindleSpeed,

    rDm

    Feed,mm/min

    I PlainTurning

    SDJCRlztzHtr

    DCMTI 1T304

    I t 200 352 Taper

    FacinpSDJCR

    l2r2HtlDCMTI1T304

    aJ

    aJ 1000 30

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-6262

  • CAD/CAM LABORATORY MEL58

    TOOL OFFSET SHEETTool offset No. Compensations, mm Toolnose

    Radius. mmStandard Tool

    NumberX Z R

    1 0.4 aJaJ 0.2 nJ

    (Drawing No .5(CNC program for Taper Facing cycle

    or005IBTLLET X22 260G21 G98G28 U0 W0M06 T0303M03 51200G00 x22 zrG94 XlO Z-0.5F35z-lz-t .5z-2z-2.5z-3z-3.5z-4z-4.5z-5z-5.5z-6z-6.5z-7z-7.sz-8z-8.5z-9z-9.5z-t0G28 U0 W0M06 T0101M03 51000G00 x22 z-r0G94X22 Z-2s R-10 F30x2rx20xl9x l8

    Program Number 1005Defining Billet size dia :22length 60 mmInitial settings

    Going to home positionSelecting Tool No. 3 w'ith offset No 3Setting spindle speed at 1200 rpmTool moving to tool entry point X22 ZlG94 For Facing cycleG94 code Syntax : G94X Z F

    Going to home positionusing Left Hand Tool

    Taper Facing Cycle - G94

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T. BANGALORE-6263

  • CAD/CAM LABORATORY MEL58

    xl7x l6x l5xt4x l3xt2x l lx l0G28 U0 W0M05M30

    Going to Home position.Stop the spindleProgram stop and rewind.

    G72 MULTIPLE FACINGDescription Illustration

    This multiple facing cycle is usedwhen the major direction of cut isalong the "X" axis. This cyclecauses the profile to be roughedout by facing. Control passes onto after the last block of theprofile. Two G72 blocks areneeded to specify all the values.

    G72WRGTzPQUWFSTWhere W - Depth of cut in Z axisR - Escape of relief amountP- The line number in the program marking the startof the finished form required.Q - The line number in the program marking the endof the finished form required.U - The amount and direction of the finishingallowance left in the X axisW - The amount and direction of the finishinsallowance left in the Z axisF - Feed rateS - SpeedT - Tool number

    The values of F,S and T contained in the datablocks for the profiles are ignored when G72 line isread.

    64DEPARTMENT OF MECHANICAL ENGINEERTNG, K.S.I.T, BANGALORE-62

  • CAD/CAM LABORATORY MEL58

    MULTIPLE FACINGWrite a manual part program for Multiple Facing Operation for the component shown infigure below.

    (Drawing No .6(CNC program for Multiple Facing cycle01006 Prosram Number 1006IBTLLET X30 260c21 ce8 --------- ?:fllilSillT:"^

    dia : 30 mm rength 60 mmG28 U0 W0 Going to horie positionM06 T0303 Selectins Tool No. 3 with offser No 3M03 51200 Setting lpindle speed at 1200 rpmG00 X31 21 Tool moving to tool entry point ){3I ZlMULTIPLE FACING CYCLE _ G72

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-62 . 65

    DWG. NO.6PLANNING AND OPERATIONS SHEET

    BILLET SIZE : 30 x 60 MATERIAL: AluminumPROGRAM NO : 1006 DWGNO:6SL.NO Operation Tool

    HolderToolTip

    ToolStation

    No

    ToolOffset

    No

    SpindleSpeed,

    rDm

    Feed,mm/min

    I Multipleroughfacins

    SDJCRtzt2Htl

    DCMTI1T304

    I 1200 45

    2 Finishing SDJCRt2tzHtl

    DCMTI1T302

    2 2 1450 25

    TOOL OFFSET SHEETTool offset No. Compensations, mm Toolnose

    Radius. mmStandard Tool

    NumberX Z R

    I 0.4 J2 0.2 aJ

  • CAD/CAM LABORATORY MEL58

    (Depth of cut for each pass W:0.5 mm(Relief amount R:0.5 mm(P & Q - Beginning & end of cycles sequence Nos.(Allowances on X andZ axis:0.1 mm respectively.(Feed rate F:35 mm/min.G72 W0.5 R0.5G72Pr} Q20UO.l w0.1 F3sNlO GOl z-s2x30z-47x25 Z-42z-37G02X20 Z-30 RtO F25GOI Z-25G03 X lO z - ls R10GOl z-10 F35N2O X5 ZOG20 U0 W0M06 T0202 Using Left Hand Finishing toolM03 S14s0G00 x3l 21G70 P10 Q20 F25 Finishing CycleG28 U0 W0 Going to Home position.Mo5 Stop the spindleM30 Prosram stop and rewind.

    G9O SINGLE TURNING CYCLEThis cycle can be used to produce either a parallel or tapered tool path. This cycle

    performs four distinct moves with one line of information and it is equivalent of. Rapid to X positiono Feed to Z positiono Feed to start X positiona rd to start Z position

    Description IllustrationWith the above command the cyclewill execute removing material to therequired diameter and length. Torepeat this cycle to reduce thediameter but maintain the samelength, only the value to be changedneed to be programmed.

    GeO x(u) z(w) FWhere X - Diameter to which the movement isbeing made.U- The incremental distance from the currenttool position to the required final diameterZ-TheZaxis coordinate to which the movementis being made.W- The incremental distance from the currenttool position to the required Z axts positionF- Feed

    DEPARTMENT OFMECHANICAL ENGINEERING, K.S.I.T, BANGALORE-6266

  • CAD/CAM LABORATORY MEL58

    STEP TURNINGWrite a manual part program for Step Turning Operation with G90 cycle for thecomponent shown in figure below.

    DWG. NO.7PLANNING AND OPERATIONS SHEBT

    BILLET SIZE :22 x60 MATERIAL : AluminumPROGRAM NO : 1007 DWG NO: 7

    SDJCRt212Hrl

    DCMTl1T304

    TOOL OFFSET SHBETTool offset No. Compensations, mm Toolnose

    Radius, mmStandard Tool

    NumberX Z R

    0.4 aJ

    (Drawing No.7(CNC program for Step Turningo1007IBTLLET X22 260G2l c98G28 U0 W0M06 T0303M03 51200G00 x22 zlG90X22Z-30F30x2lx20x19xl8xr7

    Program Number 1007Defining Billet size dia :22lensth 60 mmInitial settings

    Going to home positionSelecting Tool No. 3 with offset No 3Setting spindle speed at 1200 rpmTool moving to tool entry point X22 ZlG90 Step Turning cycleG90 code Syntax : G90 X Z F

    DEPARTMENT OFMECHANICALENGINBBRING, K.S.I.T, BANGALORE-6267

  • CAD/CAM LABORATORY MEL58

    xl6x l5xl4G00 xr4 zIG90 Xl3 Z-r5xt2x l lx l0G28 U0 W0M05M30

    F30

    Going to home positionStop the spindleProgram stop and rewind.

    G9O TAPER TURNING

    il!n

    f

    l l( )

    1r\ h/r - - -$--+t it-, F fnp---\--__j

    r-r -=>-

    ,l ,y;

    h)Toper Turnlngcycte R-

    c)Toper Tur-nlngcyc(e R+

    .F-

    {-\

    DescrirrtionIf an "R" value is specified in thecommand format of G90 cycle,tapering will be performed. Thesign of "R" will depend on thedirection of the taper. The initialrapid move will be ro the X positionplus the "R" value.

    IllustrationGeO x(u) z(w) R FWhere X - Diameter to which the movement isbeing made.U- The incremental distance from the current toolposition to the required final diameterZ- The Z axis coordinate to which the movement isbeing made.W- The incremental distance from the current toolposition to the required Z axis positionR- The difference in incremental of the cur srarrradius value and the cut finish radius value.F- Feed

    DEPARTMENT OFMECHANICAL ENGINEERING, K.S.I.T, BANGALORE-6268

  • CAD/CAM LABORATORY MEL58

    TAPER TURNINGWrite a manual part program for Taper Turning Operation for the component shown infigure below.

    g- fr

    - 15 -

    B

    DWG. NO.8PLANNING AND OPERATIONS SHEET

    BILLET SIZE :22 x60 MATERIAL : AluminumPROGRAM NO : 1008 DWGNO:8SL.NO 0peration Tool

    HolderToolTip

    ToolStation

    No

    ToolOffset

    No

    SpindleSpeed,

    rDm

    Feed,mm/min

    I TaperTurning

    SDJCRt2t2Htl

    DCMTI1T304

    I t200 35

    TOOL OFFSET SH ETTool offset No. Compensations, mm Standard Tool

    NumberX Z R

    I 0.4 J

    (Drawing No.8(CNC program for Taper Turningo1008IBTLLET X22 260G2l G98G28 UO WOM06 T0303M03 51200G00 x22 zlG90X22Z-54F35x2lx2axl9x l8xl7 z-6x l6x15

    Program Number 1008Defining Billet size dia :22length 60 mmInitial settings

    Going to home positionSelecting Tool No. 3 with offset No 3Setting spindle speed at 1200 rpmTool moving to tool entry point X22 ZlG90 Step Turning cycleG90 code Svntax : G90 X Z F

    69DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-62

  • CAD/CAM LABORATORY MBL58

    xt4x l3xt2x l lx t0X9G00 xl8 2-6G9O X18 Z-21ROF3Oxl8 R-0.5x l8 R- lx l8 R- I .5xr8 R-2xl8 R-2.5x18 R-3xl8 R-3.5xl8 R-4xl8 R-4.5

    Taper Turning - G90 R-R:(D 1-DF)/2

    :(9-t8)t2Dl : -9/2: -4.5

    G0l x lSz-33G90 X18 Z-48 R0 F50xl7 R0.5XI6 Rlx l5 R l .5XI4 R2xl3 R2.5XI2 R3xl l R3.5XIO R4x9 R4.5G00 xt 8 z-48G90 Xl8 z-54 F30xt7x l6x l5x14

    Taper Turning - G90 R+R:(Dl-DFy2

    :(18-9)t2l8 Dl :9 /2= 4.5

    Taper Turning - G90

    xl3xt2x l lxr0X9G28 U0 W0M05M30

    Going to home positionStop the spindieProgram and rewind.

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-6270

  • CAD/CAM LABORATORY MEL58

    G71 MULTIPLE TURNINGDescription Illustration

    This multiple turning cycle isused when the major directionof cut is along the 'Z' axis.This cycle causes the profileto be roughed out by turning.Control passes on to after thelast block of the profile. TwoG71 blocks are needed toJpqqiry all the values.

    G7l U(*u l ) RGT IPQU( *u2 )WFSTWhere ul - Depth of cut (Radius Designation).R- Relief amount, F - Feed rate, S - SpeedP- Line or block number of the start of the final profile.Q- Line or block number of the end point of the finalprofile, T-Tool number.U2 - Finishing allowance in the X axis.W- Finishing allowance in the Z axis.

    G7O FINISHING CYCLEDescription Illustration

    On completion of roughing out operationusing cycles G7l, G72 or G76,the materialleft as a finishing allowances is removedusing the finishing cycle G70. the tool pathprogram used as the finishing cycle are thesame programming lines that the roughingcycle is based on. A G70 cycle causes arange of blocks to be executed, then controllglses to the block after the G70.

    N40 c7l U(*ul) RN50 c7l P60 Ql20 U(*u2) W F S

    Nr30 c70 P60 Ql20The 'P' and 'Q' values specifres the .N,

    block numbers at the start and end of theprofile.

    MULTIPLE TURNINGWrite a manual part program for Multiple Turning Operation for the component

    shown in figure below.

    DWG. NO. g

    -+e0-- f i t0------

    DEPARTMENT OI' MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-6271

  • CAD/CAM LABORATORY

    PLANNINGANDOPEMBILLET SIZE :32 x 60 MATERIAL : AluminumPROGRAM NO : 1009 DWG NO:9

    Tool I SpindteOffset j Speed,

    SDJCRt2t2Ht1

    Finishing SDJCRtzt2Ht1

    TOOL OF'FSET SHEETTool offset No. Compensations, mm Standard Tool

    Number

    (CNC program for Multiple Turningo1009

    (Drawing No.9

    IBILLET ){32 Zj60G21 c98G28 U0 w0M06 T0303M03 s1200G00 x32 Zl(G7I MULTIPLE TURNING

    Program Number 1009Defining Billet size dia : 32 length 60 mmInitial sertings

    Going to home positionSelecting Tool No. 3 with offset No 3Setting spindle speed at 1200 rpmTool moving to tool entry point X32 Zl

    (Depth of cut for each pass U:0.5 mm(Relief amount R: 1.0 mm(Pand Q : Beginning and end of cycle sequence Nos.(Allowances on X(U) and Z(W) axis:0.1 mm respectively.(Feedrate:35 mm/min.G7l u0.5 RlG7l Pl0 Q20 u0. l w0.1 F35NlO cOl z0GOI ZOGOl x lo z-10G0l z-r5G02 X20 z-25 Rt}G}r z-30G03 x25 Z-37 Rr}G}t z-42x30 z-47N20 z-52

    DEPARTMENT OF MECHANICAL ENGINEBRTNG, K.S.I.T, BANGALORE-621)

  • CAD/CAM LABORATORY MEL58

    G28 U0 W0M06 T0202M03 S14s0G00 x32 zrG70 Pl0 Q20 F2sG28 U0 W0M05M30

    Using RH Finishing tool.

    Going to home positionStop the spindleProgram stop and rewind.

    G75 EXTERNAL GROOVING CYCLE

    Description IllustrationThis cycle is designed for Outer/ Innerdiameter drilling. The drill entering theworkpiece by a predetermined amount thenbacking off by another set amount toprovide breaking and allowing swarf toclear the drill flutes. The cycle iscommanded by two distinct lines of data.

    G75 RG7s X(u) Z(w) P Q FWhereR-ReturnamountX - Total depth along X axis(absolute)U - Total depth along X axis(Incremental)Z -Total width along Z axis(absolute)W - Total width along Z axis (Incremental)P - Peck increment in X axis in microns.Q - Stepping distance inZaxis in microns.F- Feed rate in mm.

    EXTERNAL GROOVING

    Write a manual part program for External Grooving Operation for the component shownin figure below.

    J

    tlt4EI

    --q 0--

    I7--4

    - r l

    -??+7 t-

    DWG. NO. r0

    {A

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-62

  • CAD/CAM LABORATORY MEL58

    PLANNING AND OPERATIONS SHEETBILLET SIZE :22 x 60 MATBRIAL: AluminumPROGRAM NO : l0l0 DWG NO : 10SL.NO Operation Tool

    HolderToolTip

    ToolStation

    No

    ToolOffset

    No

    SpindleSpeed,rpm

    Feed,mm/min

    MultipleRoughtuming

    SDJCRIzLzHI1

    DCMTr 1T304

    I I 1200 45

    2 Finishing SDJCRr2r2Htl

    DCMTI1T302

    2 2 1450 25aJ Grooving HSS 3mm

    width5 5 750 l5

    Tool offset No.

    I25

    (Drawing No.10(CNC program for Multiple Tumingo1010IBTLLET ){22 260G21 c40 c98G28 U0 W0M06 T0i0lM03 51200G00 x22 zlG7l U0.5 RlG7l Pl0 Q20 u0. l w0. l F45N10 GOl x8GOT ZOxrD z-rz-22xt& z-29N20 Z-38G28 U0 W0M06 T0202M03 S1450G00 x22 zlG70 P10 Q20 F25G28 U0 W0M06 T0505M03 5750G00 xt2 z-22

    TOOL OFFSET SHEETCompensations, mm Toolnose

    Radius, mmStandard Tool

    NumberR

    0.40.2

    Program Number 1010Defining Billet size dia :22length60 mmInitial settingsGoing to home positionSelecting Tool No. 1 with offser No ISetting spindle speed at 1200 rpmTool moving to tool entry point X22 ZlMULTIPLE TURNING

    CALLING FINISHING TOOL

    Calling Finishing cycle.GROOVING OPERATION USTNG G8ICalling 3 mm GROOVING TOOL

    aJaJ

    DEPARTMENT OFMECHANICALENGINEERING, K.S.I.T, BANGALORE-6274

  • CAD/CAM LABORATORY MEL58

    G81 X10 F20x9.75x9.5x9.25X9x8.75x8.5x8.25X8G00xl9 z-34G75 RIG75 X16 W-2 P100 Q1500 F ls

    (Relief amount, R:1.0 mm.(Depth of Groove, X:2mm.

    GROOVING USTNG G75 CYCLE

    (P- Peck increment along X axis 0.1 mm: 100 Microns.(Q - Stepping distance along Z axis 1.5 mm : 1500 Microns.

    G28 U0 W0M05M30

    Going to home positionStop the spindle

    m stop and rewind.

    G76 MULTIPLE THREADING CYCLEDescription Il lustration

    This is a "Box type" cycle that isrepeated a given number of times.After the first pass subsequentpasses cut with one edge of thethreading tool only to reduce theload at the tool tip. This cyclerequires two distinct blocks of data.When the cutting depth of one cyclebecomes smaller than the limit, theactual amount of cut is clamped atthe minimum cut depth.

    G76 P(m)(r)(a) Q(ql)(rl)G76 X(x) Z(z) P(p2) Q(qZ) FWhere m - Repetitive count in finishing (l to 99)r - Chamfering amoun(0.O1 to 9.91)a - Angle of tool tip1800,600 ,550,300,290 & 0o)ql - Minimum cutting depth.Rl - Finishing allowance.x - Finished depth of threadz-End position of threadp2 - Height of the thread as a radius value x 1000.as the controller accepts this value in microns. Eg.1.02 mm becomes P1020q2 - Depth of first cut as a radius value X 1000,value in microns, F- Lead or pitch of thread.

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T. BANGALORE-62

  • j ' -:

    :

    CAD/CAM LABORATORY

    EXTERNAL MULTIPLE THREADINGWrite a manual part program for External Threading operation for the componentshown in figure below.

    MEL58

    PLANNING AND OPERATIONS SHEETBILLET SIZE :22 x 60 MATERIAL : AluminumPROGRAM NO : t0ll DWG NO: 11

    SDJCRt2t2Htl

    Finishing SDJCRr2r2Htl

    Tool offset No.

    I257

    (Drawing No .ll

    IBTLLET X22 260G2t c98G28 U0 w0M06 T0l0lM03 S1200

    TOOL OFFSET SHEETCompensations, mm Toolnose

    X Z Radius' mm

    0.40.2

    Standard ToolNumber

    aJ

    J

    58

    (CNC program for Multiple Turning010 l I Program Number 101I

    Defining Billet size dia :22length60 mrnInitial settings

    Going to home positionSelecting Tool No. I with offset No ISettine spindle at 1200 rom

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-6276

  • CAD/CAM LABORATORY MEL58

    G00 x22 zl

    G7t U0.5 RlG71 P10 Q20 U0. l w0.1 F35N10 G01 X lOGOI ZOxt2 z-Iz-20G02 X16 Z-30R25G}t z-40G03 X22 Z-50 P.25N20 G01 Z-55G28 U0 W0M06 T0202M03 Sl4s0G00 x22 zlG70 P10 Q20 F2sG28 U0 W0M06 T0s05M03 5650G00 xr3 z-20G81 X12 Z-20F25x11.75x l1 .5x l1 .25x l lx10.75xl0.sx10.25xl0x9.75X9

    Tool moving to tool entry point X22 Zl atrapid traverse.MULTIPLE TURNING

    CALLING RH FINISHING TOOL

    FINISHING OPERATION

    CALLING 2mm Width Groovins tool

    GROOVING OPERATION G75

    CALLING THREADING TOOL

    MULTIPLE THREADING CYCLE.

    Going to home positionStop the spindle

    and rewind.

    G28 U0 W0M06 T0707G00xt7 223G76 P031560 Q20 R0.15

    G28 U0 W0N405M30

    G76 X9.853 Z,r9 Pr073 Q30 F1.75(03 - Number of passes for finishing operation(15 - chamfer amount or pull out angle (60 - Angle of the thread, deg(Q - Minimum cutting depth :250 microns ( .25 mm)(R - Finishing allowances - 0.15 mm (X - Core diameter:9.853 mm for Ml2(z-Lenglh of thread:19 mm (P - Height of thread: 1073 microns (1.073 mm)(Q - Depth of cut for first pass : 300 microns (0.3 mm)(F - Pitch of the thread : 1.75 mm

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-62

  • CAD/CAM LABORATORY MEL58

    G74 END FACE PECK DRILLING

    lllustrationG74 R(rl)G74 z(w) Q(fl R(r2) FWhere rl - Return amountZ - T otal depth(abso lute)W - Total depth (lncremental)q -_Depth of cut (incremental, unsigned)F- Feed rate

    PECK DRILLINGwrite a manual part program for Peck drilling operation fbr the component shown infigure below.

    DWG. NO. 12

    This cycle is aesign@drilling, the drill entering the workpiece bya predetermined amount then backing offby another set amount to provide breikingand allowing swarf to clear the drill flutes.The cycle is commanded by two distinctlines of data

    PLANNING AND OPERA-IONS SHEETBILLET SIZE :32 x 60 MATERIAL: AluminumPROGRAM NO : 1012 DWG NO: 12

    Drilli

    TOOL OFFSBT SHEETToolnose I Standard Tool

    Radius, mm I Number

    Tool offset No. Compensations, mm

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-6278

  • CAD/CAM LABORATORY MEL58

    (Drawing No .12(CNC program for Drilling operation - G74 CYCLEol0 l I Program Number l0l2IBILLET x32 Z,60 Defining Billet size dia : 32 length 60 mmG2l G98 Initial settinssG28 U0 W0 Going to horie positionM06 T0606 Using 6 mm center drill with tool no 6.M03 51200 Setting spindle speed at 1200 rpmG00 X0 Z2 Tool moving to tool entry point X0 Z2G74 Ri PECK DRILLTNG CYCLEG74 X0 Z-5 Q500 F20(R: Relief amount: 1.0 mm(X, Z = Position of the bottom of the hole 0, -5(Q : Depth of cut for each pass - 500 microns (0.5 mm)G28 U0 W0M06 T0808M03 5800G00 x0 z2G74 RIG74 X0 Z-3s Qs00 F20G28 UO WOM05M30

    Usins 12 mm drill.

    Going to home positionStop the spindle

    am stop and rewind.

    STEP BORING

    Write a manual part program for Step Boring operation for the component shown infigure below.

    DWG. NO. 13

    DEPARTI\{BNT OF MECHANICAL ENGINEERING. K.S.I.T. BANGALORE-62

  • CAD/CAM LABORATORY MEL58

    PLANNING AND OPERATIONS SHEETBILLET SIZE : 32 x 60 MATERIAL : Aluminum

    DWG NO : 13PROGRAM NO : 1013Tool I Tool

    Station I Offset

    Drilling

    TOOL OFFSET SHEETTool offset No. Compensations, mm Standard Tool

    Number

    (Drawing No.l3(cNC program for Internal operation, Face Drilling, step boring cycle01013 program Number l0l3[BILLET X32 260 Defining Biltet size dia : 32 tength 60 mmG2l G98 Initial settinssG28 U0 W0 Going to horie positionM06 T0606 Using 6 mm..nt., drill with tool no 6.M03 S1200 Setting spindle speed at 1200 rpmG00X0 Z2 Tool moving to tool entry poini X0 22 atG74 Rl

    rapid traverse'

    G74X0 Z-5 Q500 R0 F20(R: Relief amount: 1.0 mm(X,Z= Position of the bottom of hole (0,-5)(Q: Depth of cut for each pass - 500 microns (0.5 mm)(R = Relief amount for the tool at the bottom of the hole:0.0 mmG28 U0 W0M06 T0808M03 5800G00xr2 zlG74 RIG74XA Z-3s Qs00 R0 F15G28 U0 W0},/.06 T0202M03 51200

    Using l2 mm drill.

    CALLING 10 MM DIA BORING TOOL

    80DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-62

  • CAD/CAM LABORATORY MEL58

    GOOXI2 ZLG90 X12 Z-30F20x13xt4x l5xr6 z-20xr7xl8x l9x20G28 U0 W0M05M30

    TNTERNAL BORING USING G9O

    Going to home positionStop the spindleProgram stop and rewind.

    BORINGWrite a manual part program for Boring operation for the component shown in figurebelow.

    TOOL OFFSET SHBETTool offset No. Compensations, mm Toolnose

    Radius. mmStandard 1'ool

    NumberX Z R

    8 0.4 8I 0 9

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-62 81

    --$1.?-E'16-fr20--fi

    DWG. NO. 14PLANNING AND OPERATIONS SHEET

    BILLET SIZE : 32 x 60PROGRAM NO : 1014

    I uararunl-: ar"minumI DWG NO: 14

    SL.NO Operation ToolHolder

    ToolTip

    ToolStation

    No

    ToolOffset

    No

    SpindleSpeed,

    Feed,mm/min

    I Drilling l2 mmDrill

    8 8 700 l 5

    2 Boring l0 mm II 800 20

  • CAD/CAM LABORATORY MEL58

    (Drawing No.l4(CNC program for Internal operation, Boring cycleOl0l4 program Number l0l4IBILLET X32 260 Defining Billet size dia : 32 length 60 mmG21 G98 Initial iettingsG28 U0 W0 Going to horie positionM06 T0606 Using 6 mm

    ""r,t.. drill with tool no 6.M03 S 1200 Setting spindle speed at 1200 rpmG00 X0 Z2 foot rnovlng to tool entry point X0 22 at

    G74 Rl raPid traverse'

    G74X0 Z-s Q500 Fls(R : Relief amount : 1.0 mm(X, Z : Position of the bottom of hole (0,_5)(Q : Depth of cut for each pass - 500 microns (0.5 mm)G28 U0 w0M06 T0808 Using t2 mm drill.M03 5700G00xt2zrG74 RIG74X0 z-35 Qs00 R0 Fl5G28 U0 W0M06 T0101M03 5800G00xt2zlG71 U0.2 R0.5G7l Pl0 Q20 u0.l w0.1 F20NlO cOl x30G02X25 Z-8 R8 Fl5G}t z-16F20G03 x20 z-21 R8 Fl5G()l x16 z-3t F20N20 cOl xl2G70 PlO Q20 FsOG28 U0 W0M05M30

    CALLING FINISHING CYCLE.Going to home positionStop the spindle

    -------- Program stop and rewind.

    CALLTNG IO MM DIA BORING TOOL

    BORING OPERATION

    DEPARTMENT OF MECHANICAL ENGINEERTNG, K.S.I.T, BANGALORE-6282

  • CAD/CAM LABORATORY MEL58

    SUBPROGRAM CALL / EXIT - M98 ID.{99Main Program SubProgram

    A Program is divided into a main program andsubprogram. Normally the CNC operatesaccording to the main program but when acommand calling a subprogram is encountered inthe main program control is passed to thesubprogram. When a command indicating toreturn to the main program is encountered in thesubprogram, control is returned to the mainprogram. The first block of program / subroutinemust contain a program number "O".

    When a program contains certainfixed sequences or frequentlyrepeated patterns these sequences orpatterns may be entered into memoryas a subprogram to simpli$rprogramming. A subprogram can callanother subprogram. When the mainprogram call a subprogram, it isregarded as a one-loop subprogramcall.

    Main program

    00001;--. ----;-------;M98 P1000;

    M30;

    Subprogram Subprogram01000; 02000:--------;

    --"

    ---------'

    --------; ---------;

    M98 P2000; > ---------;\- -------- ' \ - -------- ;---------;

    \ ---------;M99; M99;l 't Loop 2nd LoopNesting Nesting

    PARTING OFFWrite a manual part program for turning and parting off operation throughsubprograms for the component shown in figure below.

    - - -q --4.+

    0

    DWG. NO. ls

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-62 83

    tr

  • CAD/CAM LABORATORY

    PLANNING AND OPERATIONS SHEETBILLET SIZE 222 x60 MATERIAL : Aluminum

    DWG NO: 15PROGRAM NO : 1015Operation I Tool

    Holder

    SDJCRL2t2Htr

    TOOL OFFSET SHEETTool offset No. Compensations, mm Standard Tool

    Number

    (Drawing No .15(CNC program for parting off using subprogramsOl0l5 Program Number l0l5[BILLET X22 260 Defining Billet size dia : 22length60 mmG21 G98 Initial sertinssG28 U0 W0 Going to horie positionM06 T0l0l Using RH Roughing tbolM03 51000 Setting spindle spe"d ut 1200 ,prnG00 X22 Z0 Tool moving to tool entry poini X22 Z0 at

    rapid traverse.M98 P0101000 Calling subprogram for turningl01000] l0 timesG00x22 z-tsM98 P0061000 Calling subprogram for turningl0l000] 6 times(PARTING OFF OPERATIONG28 U0 W0M06 T0505M03 5750G00 x23 z-32M98 P0421021G00 x22G28 U0 W0M05M30o1000G90 U-l W-I5 F45G0l u-1M99o1021G0l u-0.5 F50M99

    Calling grooving tool with Z mmwidth.

    Calling subprogram '1021' 42 times.

    Going to home positionStop the spindleProgram stop and rewind.

    SUBPROGRAM FOR TURNING

    SUBPROGRAM FOR PARTING

    DEPARTMENT OF MECHANICAL ENGINEERING, K.S.I.T, BANGALORE-6284