TRICHY ENGINEERING COLLEGE

KONALAI, TRICHIRAPALLI – 621 132.

DEPARTMENT OF MECHANICAL ENGINEERING

ME 1356 – CAD / CAM LAB MANUAL

ROLL NO. REGISTER NO. NAME SEM. / YEAR

: : :

:

INDEX I.
SL. NO. 01 02 03 04 DATE

LIST OF EXPERIMENTS COMPUTER AIDED DESIGN (CAD)
NAME OF THE MACHINE ELEMENT Flange Coupling – Unprotected Type Flange Coupling – Protected Type Screw Jack Machine Vice PAGE NO STAFF SIGN

II.
SL. NO. 05 05A 06 06A 07 08 09 09A 10

COMPUTER AIDED MANUFACTURING (CAM)
NAME OF THE CNC OPERATION PAGE (MANUAL PART NO PROGRAMMING) Multiple Turning – CNC Lathe Multiple Turning using Multiple Turning Cycle (G71) – CNC Lathe Grooving & Thread Cutting – CNC Lathe Grooving & Thread Cutting using Cycle – CNC Lathe Turning, Taper-Turning, Grooving & Tapping – CNC Lathe Linear with Circular Interpolation – CNC Milling Rectangular & Circular Pocketing – CNC Milling Rectangular & Circular Pocketing using Cycle – CNC Milling Profile Milling – CNC Milling STAFF SIGN

DATE

III. SIMULATION AND NC CODE GENERATION

SL. NO. 11 12 13 14 15

DATE

NAME OF THE OPERATION (SIMULATION AND NC CODE GENERATION) Grooving using CAPSturn Thread Cutting using CAPSturn Grooving & Thread Cutting using CAPSturn Circular & Rectangular Pocketing using CAPSmill Mirroring using CAPSmill

PAGE NO

STAFF SIGN

I. COMPUTER AIDED DESIGN (CAD) OF MACHINE ELEMENTS .

For correct alignment of shaft. And also it transmits the power from driver end flange to driven end flange. The number of bolt and nuts are depends on size of the coupling. a projection is made in the centre of the flange. Bolt & Nut: It is used to connect the two flanges (Male & Female).UNPROTECTED TYPE Introduction: Couplings are used for connecting shafts of two machines to function as a single unit.PROTECTED TYPE . Flange: It is made up of cast iron. This projection is made to fit accurately into a corresponding recess provided in the other flange. Keys: Keys are used to fix the flange and transmit the power from shaft to flange. and make it two machines as one machine. key and bolt & nuts. FLANGED COUPLING . It consists of male and female flange.1. The shafts are coupled for transmitting power and motion from driver unit to driven unit. 2. Flange coupling is extensively used. FLANGED COUPLING .

In this each flange is provided with annular projection. Bolt & nut: It is used to connect the two protected flange (Male & Female). Protected type flange coupling is extensively used. Keys: Keys are used to fix the flange and transmit the power from shaft to flange. and make it two machines as one machine. This projection is made to fit accurately into a corresponding recess provided in the other flange. It shelters the bolt heads or the nuts. a projection is made in the centre of the flange. And also it transmits the power from driver end flange to driven end flange. The shafts are coupled for transmitting power and motion from driver unit to driven unit. Hence it prevents them from catching cloths of workmen. Protected Flange: It is made up of cast iron. SCREW JACK . key and bolt & nuts. 3. For correct alignment of shaft.Introduction: Couplings are used for connecting shafts of two machines to function as a single unit. The number of bolt and nuts are depends on size of the coupling. It consists of male and female protected flange.

The square threaded screw spindle is screwed through gun metal nut. Internal thread of the nut is square threaded which guided the threaded spindle. This cast iron body with a circular base. screw spindle. It is used to lift the automobile vehicle and any heavy objects through a small height by applying small effort. It consists of cast iron body. The head of the screw has holes to insert the Tommy bar. mounted at the top of the body at tight fitted. Spindle: The spindle is made up of mild steel. It will be inserted at the head of the screw spindle hole. MACHINE VICE . the remaining portion of the spindle is square threaded. The cup is loosely held in position by a washer and counter shank screw. Cup: A load bearing cup is mounted at the top of the screw spindle. Nut: It is made up of gun metal. The effort is given by a Tommy bar. which provides a large bearing area. Tommy Bar: It is made up of mild steel. cup and Tommy bar. 4. It is to turn the spindle screw by applying minimum effort. so that when the spindle is rotated cup moves only up and down but will not rotate with it. Body: The body is made up of cast iron. One end of the spindle has knurled head.Introduction: Screw jack is a manually operated device. gunmetal nut.

COMPUTER AIDED MANUFACTURING (CAM) . A movable jaw is mounted on the guide ways of the body and secured to it by means of clamping plate using two set screws. shaping. Therefore when the screw rod is rotated. II. A screw rod passes through the threaded hole in the movable jaw. planning. the movable jaw slides over the bed ways of the body. The screw rod is supported by a spindle bearing block which is fitted on the body by means of set screws. Machine vices are fixed to the bed or table of milling.Machine vice is a work holding device used in machine shop. There are different types of machine vice. A ‘V’ – cut is provided in the fixed jaw to facilitate holding of round rod. drilling machines etc. A typical machine vice contains one fixed jaw and one movable jaw. Fixed jaw is fixed to the body of the vice by means of two set screws.

5 mm pitch 10 mm* 4 mm pitch Ground INTRODUCTION TO NC (NUMERICAL CONTROL) .1MT 10 mm (0. CAPACITY Distance between centers Swing over crosslide Swing over bed Spindle taper Spindle bore ‘X’ Axis balls crew ‘Z’ Axis ball screw Bed : : : : : : : : 250 mm (10’’) 38 mm (1.5’’) No . CABINET Length Width Height : : : 600 mm (26’’) 425 mm (16.MTAB DENFORD FANUC CONTROLLER .375’’) 8 mm * 2.STANDARD FEATURE & MACHINE SPECIFICATION A.25’’) 430 mm (17’’) B.5’’) 140 mm (5.CNC LATHE STARTURN .

In addition to memory. Numerical control programming with the help of some software is called computer-aided part programming (CAPP) or simply computer-aided manufacturing.. These generated electrical signals control the tool movement and also controls miscellaneous operations such as flow of coolant. NC machines usually have their own memory where they can store a program when it is read by the machine for the first time. without human intervention. tool changes. A typical NC system The Machine Control Unit (MNC) is the brain of an NC machine. unless a battery back-up is provided for the RAM. on the other hand. is a non-volatile memory. The coded program is usually transferred to the machine through a punched tape which the machine reads Machine . converts the coded information in the part program into voltage or current pulses of varying frequency or magnitude. It instructs the machine to operate in a particular manner. It gets washed out the moment the machine is switched off. It does not need any power supply to retain the information fed to it. Part Program Machine Control Unit Fig. ROM. RAM is a volatile memory. The information contained in the part program is read by the MNC which. A part program needs to be written for every job to be produced. door opening/closing and gripping / un-gripping the job. The primary types of memory are RAM (Random Access Memory) and ROM (Read One Memory). the MCU also contains hardware and software necessary to read and interpret the coded program for obtaining the desired movements in the machine. lower cost and most precise manufacturing. Numerical control is essentially an application of the digital technology to control a machine. Such instructions are called part programs. It uses the program stored in its memory for subsequent execution. based on a code of letters.Numerical Control is a technique of automatically operating a productive facility. numbers and special characters.1. This type of programming is also called manual part programming since it is performed manually without the help of a computer. the machine need not read the part program again. etc. Numerical control has been developed out of the need for higher productivity. in turn. For subsequent production of the same part. Today several softwares are available which automatically generate the codes for a given part. INTRODUCTION TO NC MACHINE AND ITS COMPONENTS NC Machine responds to a series of coded instructions by actuating various drives to required extents in desired sequence with pre-set speed. a separate computer is required for preparing codes for machining a part. Since an NC Machine does not have an on-board computer. A machine without any memory must read the part program every time. It stores information permanently which can be read any number of times unless the information is deliberately erased or overwritten. This slows the production process considerably. feed.

may also get damaged after repeated use. Out of these. From outside. The monitor continuously displays the machine status to enable us to communicate with the machine. INTRODUCTION MACHINE TO CNC (COMPUTER NUMERICAL CONTROL) A CNC machine is essentially an NC machine with a dedicated computer being its integral part.by passing light through it. Fig. DISADVANTAGE OF NC MACHINE Since an NC machine does not have an on-board computer. The tape is usually made of paper. Moreover. that too any number of times. Presence and absence of a hole is taken as 1 and 0 binary signals respectively. even for a small change the whole tape has to be re-made. This results in loss of time and sometimes error in reading.2. an NC machine can easily perform this task within the accuracy of microns. A simple example is circular motion of the tool where movements along both X and Y axes need to be simultaneously controlled while it is virtually impossible to do this manually on a conventional machine. The only apparent difference is the presence of a monitor (CRT) on a CNC machine which an NC machine does not have. a separate computer is required for preparing codes for machining a part. CNC Lathe / Turning Centre and CNC Milling / Machining Center are very commonly used. It has got more flexibility compared to an NC machine. ADVANTAGES OF NC MACHINE OVER CONVENTIONAL MACHINE The principal advantage of an NC machine is the increased and accurate control of the cutting tool which would be manually very difficult or even impossible in some cases. NC and CNC machines are not very different. A CNC system Part Program CPU Memory Monitor Interface electronics Machine Numerous types of CNC machines have been manufactured. Besides this. ADVANTAGES OF CNC SYSTEM OVER NC SYSTEM . the machine has to read the coded tape everytime a part is to be produced even if the same part is to be reproduced.

Direct Numerical Control system LIMITATIONS OF DIRECT NUMERICAL CONTROL SYSTEM 1. A bare of minimum of electronic hardware is used for control. Mainframe Computer NC machine NC machine NC machine Fig. Compared to NC machines. 2. They also provide graphical capabilities. INTRODUCTION TO DIRECT NUMERICAL CONTROL (DNC) MACHINE If a large capacity computer directly controls a number of NC machines. In conventional NC machine. diagnostic procedures and system troubleshooting. the control is hardwired which makes any change in the controller very difficult because of limitations of its basic configuration. This simplifies the operation and maintenance of CNC machines to a great extent. sends the control signals to respective NC machines. storing and editing the part programs. CNC machines have the added advantage of reading. 2. Software is used for obtaining the basic function leads to increased productivity and flexibility in manufacturing. centralized data handling and control is desirable. such a system is called DNC machine.1. Extensive cabling work is involved for interlinking the machines to the main computer. A CNC machine does not have such limitations which are inherent to an NC machine.3. It is expensive because a mainframe computer with a large memory is required. The main frame computer stores programs and after processing. This is useful because in present age of computeraided manufacturing. .

the whole system stops functioning.g. All the machines should be compatible with the computer being used.. which uses a network of computers to coordinate the operations of several machines. the workpiece moves with respect to the tool. which is always a fast traverse. Point-to-point placement Such a control simply places the tool over desired locations in desired sequence. 2. In some cases. There is no control over the speed of the tool movement between selected points. 3. Point-to-point placement Axial cut Contour cutting 1.3. Distributive Numerical Control system TOOL MOVEMENT MODES In an NC / CNC machine. it is a step towards automation of the manufacturing system. . usually the tool moves with respect to the workpiece which remains at the same place. and thus. Though expensive. Mainframe Computer Server Server Server Machines Machines Machines Fig. There are three types of motion control used in an NC / CNC machine: 1.4. INTRODUCTION TO DISTRIBUTIVE NUMERICAL CONTROL (DNC) MACHINE DNC is also the abbreviation for Distributive Numerical Control. in a milling machine. e. such a system can control the entire manufacturing operation of a company. and in case of any problem with the computer.

Contour Cutting This is the most flexible but the most expensive type of control. and its angular velocity is proportional to the frequency of pulses. It permits simultaneous control of more than one axis movement of the tool. So. Rotation of the motor shaft is proportional to the number of pulses it receives. For an angular cut. cutting along X. also provides point-to-point control.5. it cannot make an angular cut. 3. it is possible to make any complex contour which is approximated by several small straight line segments within permissible tolerance band. such motors are used in open-loop control system. Milling and turning operations are common examples of contouring control. A machine. Since it is possible to regulate the angular position and the angular velocity of a stepper motor. which is capable of performing axial cuts. Y. 3. Stepper motor AC servo motor DC servo motor Hydraulic servo motor 1. Stepper Motor Stepper motor is driven by an electrical pulse train generated by the machine control unit. That is why. punching or similar machines where only the location of the tool at the time of machining is important. the job will have to be reoriented so as to make the cutting direction parallel to one of the axes. DRIVES AND CONTROL LOOPS The drive motors which control the movement of various axes are of four basic types: 1. 2.This type of control can be used in drilling. 2. it is also called straight cut control. 4. Straight line approximation of a curve The contour cutting or contouring control also permits point-to-point and axial cut movements. Stepper motors are used on light duty machinery where high precision is not required. Axial Cut This control allows the tool to move along any major axis with desired speed. Therefore. So. Fig. The limitation being simultaneous motion along two axes is not possible. . or Z axis is possible.

In case of linear transducers. Open-loop control system CLOSED-LOOP CONTROL SYSTEM A closed-loop control system measures the actual position and velocity of axes and compares them with the desired values. The sensor is usually a rotary or a linear transducer. AC servo motors are regulated by varying the voltage frequency. there is no feedback from the output.2. Rotary transducers may be connected to the lead screw either directly or through gears. The control is designed in such a way as to eliminate or reduce the error to a minimum value. They are used on small to mediumsized CNC machines. Fig. Larger machines use servos rather than stepper motors. AC servos can develop more power than DC servos. one part of the device is fixed to the machine tool structure while the other part is attached to the moving slide. Such motors are used on large capacity machines. AC / DC Servo Motor The servo motor can be of AC / DC type. Hydraulic Servo Motor Hydraulic servos also are variable speed motors. The difference between the two is the error which is used to regulate the drive motor. They produce more power compared to electric servo motors. DC servo motors are controlled by varying the voltage magnitude. Pulse train from MCU Stepper Motor ` Fig.6. Open-loop control involves less hardware and is relatively inexpensive compared to closed-loop system. These are variable speed motors that rotate in response to the applied voltage. To axis drive A m pl ifi er MCU signal Comparator Servomotor Machine Slide Am plifi er . and accuracy of the machine depends fully on the response of the stepper motor. 3. OPEN-LOOP CONTROL SYSTEM In open-loop control system arrangement. MCU develops required magnitude and frequency of the voltage to control the speed of these motors.7 shows a closed-loop control system using negative feedback.

Interpolation schemes have been developed which calculate the intermediate points automatically for a given curve. ACCURACY AND REPEATABILITY Accuracy is the ability of a machine to produce desired dimensions. Closed-loop control system COMPARISON BETWEEN OPEN AND CLOSED LOOP CONTROL SYSTEM Advances in the manufacture and control of stepper motors have made the open-loop systems fairly accurate and dependable. However. They include: 1. which not only reduces the cost of the machine but also faces less maintenance problems. The advantage is that since there is no feedback circuit. whereas more complex ones can only be represented approximately. Repeatability is the ability to produce the same part for the same dimensions every time. For obtaining good accuracy. Hence.7. the tool is made to move along a contour such as a circle or other smooth curves. To cut along a curve. Linear interpolation 2. These straight lines are so small that the resulting contour quite a smooth curve for all practical purposes. Some of these curves can be exactly defined mathematically using simple formulae. the fundamental problem is that the curves are continuous whereas control is digital. one has to go in for closed loop control systems using servomotors. In any case. interpolation is a very important aspect in contour cutting. drive motor and the type of feedback sensor. The MCU locates the intermediate points and instructs the tool to follow the path defined by joining these points by straight lines. Repeatability of MCU to differentiate between closely spaced points is a function of factors such as the controller’s bit storage capacity. INTERPOLATION SCHEMES In contouring control.Feedback signal Sensor Fig. the curve must be divided into a series of small straight line segments. A number of interpolation schemes are available on various types of machine. The tool is made to trace these straight lines. However. Accuracy of a machine depends mainly on its control resolution which is the minimum distance between two points which the machine can differentiate. there is always a possibility of some error in the output. if accuracy cannot be compromised. less hardware is needed. the number of straight lines must be extremely large. Circular interpolation .

Parabolic interpolation 5. OTHER APPLICATIONS Computer numerical control has been used in a wide variety of machine tools. TOOL CHANGING DEVICES In a CNC machine. When a tool needs to be changed. While machining is being done on a job kept on one pallet. helical interpolation 4. etc. Some of the machines where computer numerical control is used are listed below: • • • • • • • • • • Lathe Turning centre Miller Machining centre Drilling machine Gear hobbing machine Grinding machine Electro-discharge machine Welding and cutting Coordinate measuring machine. increases productivity. These pallets simply move or rotate for interchanging their positions on the machine table. fits it and then retracts. There is no need to change the tool physically. This saves time and thus. Tool changing time is of the order of a few seconds. approaches the old tool and pulls it. In fact. On a lathe machine. tools are changed through program instructions. WORK HANDLING DEVICES Some machining centres provide more than one separate pallets which can be of linear or rotary types. the other pallets are accessible to the operator for clamping/unclamping raw material/ finished product. linear and circular interpolations are the most common and are available on most of the machines. the tool magazine only need to rotate to a new position to allow the new tool to come in the cutting position. Cubic interpolation Out of these. Then it again rotates to position the new tool. resulting in higher productivity.3. This is a typical tool changing sequence of an automatic tool changer (ATC) on a milling machine. This saves lot of material handling and set up time. whenever good accuracy and repeatability is desired and frequent changes in component type is expected. a CNC machine becomes an ideal choice. The tools are fitted in a tool magazine or drum. the drum rotates to an empty position. RECENT ADVANCES .

The positive sign to define positive coordinate locations is mandatory. FEED RATE (F WORD) This specifies the feed in a machining operation. For examples X+7. In a four or five axis machine. only two of the word would be used. SINUMERIK. spindle rotation. the rate at which the spindle rotates. In a two axis system. MISCELLANEOUS FUNCTIONS (M CODES) M codes are instructions describing miscellaneous functions like calling the tool. AND Z WORD) These give the coordinates positions of the tool.word is used to specify certain miscellaneous or auxiliary function which may be available on the machine tool of course. This is very useful as one can verify the tool paths even before actually machining the job.• Most of today’s CNC controllers. coolant on etc. • The graphic display in these controllers shows the tool movement for the program.325 or Y-0. MISCELLANEOUS FUNCTION (M WORD) This M . Y. an end of block (EOB) symbol is punched on the tape. To identify the end of the instruction.. The t-words specifies which tool is to be used in the operation . Units are inches per minute (ipm). such as FANUC. The miscellaneous function is the last word in the block. TOOL SELECTION (T WORD) This word would be needed only for machines with a tool turret or automatic tool changes. CUTTING SPEED (S WORD) This specifies the cutting speed of the process. HEIDENHAIN etc. Some formats do not use the decimal point in writing the coordinates.words and/or b . additional a . Although different NC systems use different formats for expressing a coordinate.For example T05 might be the designation of a 1/2 –in drill bit in turret position 5 on a NC turret drill. we will adopt the convention of expressing it in the familiar decimal form.500. M00 M03 M05 Program stop Spindle forward Spindle stop .. the machine must possess the function that is being called an example would be M03 to start the spindle rotation. include software that greatly simplify the programming and diagnostic processes. CO-ORDINATES (X.words would specify the angular positions..

W(1) R P Q U W(2) Depth of cut in z axis Relief amount in x axis Sequence number of the first block of the program Sequence number of the last block of the program Finish allowance in x axis Finish allowance in z axis .M06 Automatic tool change M98 Sub program call M99 Sub program end M08 Coolant on M08 Coolant off M10 Vice /chuck open M11 Vice/chuck close PREPARATORY FUNCTION (G FUNCTION) G codes are instructions describing machine tool movement. G72 P---Q---U---W(2) ---F---.R---.Z--. G94 (or) G79: CANNED CYCLE Format: G79 X---Z---F---. G00 G01 G02 G03 G21 G28 G70 G72 G76 G81 G90 G94 G98 G99 Fast traverse Linear interpolation Circular interpolation (CW) Circular interpolation (ACW) Metric (input in metric) Go to reference Finishing cycle Multiple facing cycle Multiple threading cycle Drilling cycle Turning cycle Facing cycle Feed per minute Feed per rev VARIOUS CYCLES USED IN THE CNC LATHE A. G72: STOCK REMOVAL MULTIPLE REPETITIVE CYCLE Format: G72 W(1) --.Z---. Z---. X Z F Depth of cut in x axis Depth of cut in z axis Feed rate 2. FACING 1.

R---. G76: MULTIPLE THREAD CYCLE Format: G76P_ _ _Q(1) _ R _. G 78 (or) G92: CANNED CYCLE THREADING Format: G78 X---Z---F---. X---X---X---X---. X Z F Depth of cut in x axis Depth of cut in z axis Pitch of the thread 3. Z F Depth of cut in z axis Pitch of the thread Depth of cut in x axis Relief amount in y axis & x axis Sequence number of the first block of the program Sequence number of the last block of the program Finish allowance in x axis Finish allowance in z axis Feed rate 2. X Z F - Feed rate - Depth of cut in x axis Depth of cut in z axis Feed rate 2 G71: STOCK REMOVAL MULTIPLE REPETITIVE CYCLE Format: G71 W(1) --. W(1) R P Q U W(2) F C.) 02Number of ideal pass (after cutting . G 32: THEARD CUTTING OPERATION Format: G32Z---F---. P020000 (eg. G71 P---Q---U---W (2) ---F---. G76X_Z_P_Q(2)_R_F_. X---X---X---. TURNING 1 G77 (or) G90 : CANNED CYCLE Format: G77 X---Z---F---. THREAD CUTTING 1.F B.

value (in case of int. This will be used after the completion of the roughing cycle.First block of cycle Q.Q(1) R X Z P Q(2) R F D . G75 GROOVING CYCLE Format: G75R---. Z F E. thread) (or) Thread major dia. G74Z---Q---F---. G75X---Z---P---Q---F---. R Z Q F F. The P and Q values specify the “N” block numbers at the start and end of the profile. Example: G70P10Q20 P. G74DRILLING CYCLE Format: G74R--. R X Z P Q F G70 FINISHING CYCLE: - thread) 00Retract angle 00Thread angle Radial depth of cut in regular pass Finishing allowance in the last pass Thread minor dia value (in case of ext. thread) Thread length Thread depth (one side depth) Radial depth of cut in the first pass Taper value Pitch of the thread - Depth of cut in z axis Pitch of the thread - Return amount in z axis Drill hole depth Incremental depth of cut in z axis Feed rate - Relief amount in x axis Groove diameter Groove length /Groove end point Depth of cut in x axis Incremental depth of cut in z axis Feed rate A G70 causes a range of blocks to be executed/ then control passes to the block after the G70.Last block of cycle G71 MULTIPLE TURNING CYCLE: .G33 TAPPING CYCLE Format: G33Z---F---.

) first block of the cycle.33”) 360 * 130 mm (14.1W0.5”) 115 mm (4. Q  End block number U  Finishing allowance along X axis in mm W  Finishing allowance along Z axis in mm F  Feed rate CNC MILLING XLMILL – MTAB SPECIFICATION: A.12”) 16 mm dia.54’’) 170 mm (11.A G71 causes the profile to be roughed out by turning.0 U  Depth of cut in mm R  Retraction (or) Retardation amount in mm ii) G71P10Q20U0.1F25 P  Starting block number (i.65’’) G CODES G00 G01 G02 G03 FUNCTION Positioning rapid transverse Linear interpolation Circular interpolation CC Circular interpolation CCW .1F25 i) G71U2.654’’) 540 mm (21.0R1. Two G71 blocks are needed to specify all the values.0R1. * 5 mm pitch 16 mm dia.1W0. Control passes on to after the last block of the profile. * 5 mm pitch : : : 550 mm (21.e.17” * 0. CAPACITY Maximum cross travel Maximum longitudinal travel Maximum head travel Spindle nose to table top Spindle to column Work table surface Z –axis ball screw Y –axis ball screw LIST OF G – CODES FOR MILLING : : : : : : : : 90 mm (3. Example: i) G71U2. CABINET Length Width Overall height (with guards) B.52”) 190 mm (7.25’’) 880 mm (34.5”) 110 (4.5 ii) G71P10Q20U0.

G04 G20 G21 G28 G30 G40 G41 G42 G43 G52 G54 G55 G56 G57 G58 G74 G76 G80 G81 G82 G83 G84 G85 G86 G87 G90 G91 G94 G95 G98 G99 LIST OF M CODES FOR MILLING M CODES M00 M01 M02 M03 M04 M05 M06 M07 M08 M09 M19 M30 M98 M99 Dwell Inch unit Metric unit Automatic zero return 2nd reference point return Tool nose radius compensation cancel Tool nose radius compensation left Tool nose radius compensation right Tool length compensation Work coordinate system 1 Work coordinate system 2 Work coordinate system 3 Work coordinate system 4 Work coordinate system 5 Work coordinate system 6 Left hand tapping cycle Fine boring cycle Canned cycle Drilling cycle Drilling cycle with dwell Peck drilling cycle /deep drilling cycle Tapping cycle Boring cycle/ reaming cycle Boring cycle Back boring cycle Absolute command Incremental command Feed per minute Feed per revolution Return to initial position in canned cycle Return to R point in canned cycle FUNCTIONS Optional program stop automatic Optional program stop request Program end Spindle ON CW Spindle OFF CCW Spindle stop Tool change Mist coolant ON(coolant 1 ON) Flood coolant ON(coolant 1ON) Coolant OFF Spindle orientation End program Sub program call Sub program end .

0F100. Example: G01X30. G28 GOTO REFERENCE POINT: A G28 causes a fast traverse to the specified position and then to the machine datum. By default metric units will be taken for programming. The feed rate for the linear motion should be mentioned in the part program. Examples: G00X0. This can only be at the main program.0 G90 ABSOLUTE MOVEMENT: All future movement will be absolute until overridden by a G91 instruction. .DESCRIPTION OF G CODES G00 FAST TRAVERSE A G00 causes linear motion to the given position at the maximum feed rate from the current position that is predefined in the option file. Example: G03X30Y20R20 G21 METRIC: A G21 cause positions to be interpreted as being in metric units (mm).0Y10. Example: G02X30. Example: G28U0.0 G01 LINEAR INTERPOLATION: A G01 causes linear motion to the position at the last specified feed rate from the current position.0W0. This is the default setting.0Y20.0R10.0 G02 CIRCULAR INTERPOLATION (CW) A G02 causes a clockwise arc to the specified position.0Y0.0 G03 CIRCULAR INTERPOLATION (CCW) A G02 causes a counter clockwise arc to the specified position.

G172 . in a finishing operation. Example: G172 I50 J50 K0 P0 Q3 R0 X25 Y25 Z-6 .is radius of pocket (a negative value effects CCW cutting). for finishing cycle Q .is roughing feed in Z direction.is roughing feed in XY plane.are the coordinates of the bottom centre point of the pocket. Z . K . but they must be specified. for roughing cycle and = 1. J . B . Example: G90 G01X15Y10 G91 G01X2 The position becomes (X17. For example.is finishing spindle speed. J . I . Example: G71 P90 S200 R10 F60 B4000 J30 P . R .is roughing spindle speed. F . All the parameters must be specified even if they are not required for machining.is side finishing allowance.is base finishing allowance.G173 RECTANGULAR POCKETING: It makes rectangular pocket on the surface of the work piece. roughing parameters are not relevant.1 K10 R is the Z value of the top surface of the uncut pocket. Y10). Y.is the depth of cut in each run. irrespective of the previous position.e.is finishing feed. G170 . Y0).G171 CIRCULAR POCKETING: It creates a circular pocket on the surface of the work piece Example: G170 R0 P0 Q1 X0 Y0 Z-5 I0. P = 0.is cutter moment (lateral) in percent of tool diameter for next cut (P90 implies 10% tool overlap during subsequent cuts). S . X. G91 INCREMENTAL MOVEMENT: All future movement will be incremental (i.2 J0. relative to the current position of the tool) until overridden by a G90 instruction.Example: G90 G01X30Y0 The position becomes (X30.

R . F .is the absolute depth of the start of the pocket from the surface (=0 for pocket on a flat surface).is the number of repetitions (it defaults to 1). J . i. F .0 Y1.is the percentage lateral shift of the tool for the next cut.is the tool number.is the delay in milliseconds. K . Zero corner radius is not possible. even if they are not needed. K . K=0 gives the minimum possible corner radius.0 R1.is the safe Z position.is the vase of the thread.are respectively roughing and finishing spindle speeds. Z . or greater than the cutter radius.is the side finish allowances.is the R point level.1 P75 T1 S2500 R75 F250 B3500 J200 Z5 I .is the finishing feed. P . Y . P = 0 for roughing cycle and 1 for finishing cycle. K . X.is the depth of cut for each pass. Z .is the base finish allowance. G84 can be used with G98orG99 in the same block. G84 RIGHT HAND TAPPING CYCLE: Example: G84X1.are the coordinates of the lower left hand pocket corner. Q . S. Z .0 P750 K1 F200 X and Y . R .. J .5 K0.is the roughing feed in Z.is the length of pocket in Y direction.is the Z coordinate of the base of the pocket. R . T .is roughing feed along XY. equal to the radius of the cutter). All the parameters must be specified. B .I .is the feed.is the corner radius (always zero. Example: G173 I0. .0 Z-6.specify the hole position. P .e.is the length of pocket in X direction.

.

Create the 3D model and Assemble the parts of the Flanged Coupling Unprotected type using Autodesk Inventor Professional 2008. NO. EX. : 01 DATE : COMPUTER AIDED DESIGN (CAD) Figure shows the details of a FLANGED COUPLING .I. .UNPROTECTED TYPE.

Assembled View Exploded View .

.EX. NO. Create the 3D model and Assemble the parts of the Flanged Coupling . : 02 DATE : Figure shows the details of a FLANGED COUPLING .Protected type using Autodesk Inventor Professional 2008.PROTECTED TYPE.

Assembled View Exploded View .

Create the 3D model and Assemble the parts of the Screw Jack using Autodesk Inventor Professional 2008. : 03 DATE : Figure shows the details of SCREW JACK.EX. Details of Screw Jack . NO.

Assembled View

Exploded View

EX. NO. : 04 DATE : Figure shows the details of MACHINE VICE. Create the 3D model and Assemble the parts of the Machine Vice using Autodesk Inventor Professional 2008. Details of Machine Vice

Assembled View

Exploded View

II. COMPUTER AIDED MANUFACTURING (CAM)

CNC – MANUAL PART PROGRAMMING
EX. NO. : 05 DATE : MULTIPLE TURNING AIM: To write a part program and simulate the tool path for the given model using fanuc controller. PROGRAM: o0011; [BILLET X22 Z70; G21 G97 G98; G28 U0 W0; M06 T01; M03 S1000; G00 X21 Z1; G01 Z-42 F50; X22; G00 Z1; X20; G01 Z-42; X22; G00 Z1; X19; G01 Z-42; X22; G00 Z1; X18; G01 Z-42; X22; G00 Z1; X17; G01 Z-42; X22; G00 Z1; X16; G01 Z-42; X22; G00 Z1; X15; G01 Z-28; X22; G00 Z1; X14; G01 Z-28; X22; G00 Z1; X13; G01 Z-28; X22; G00 Z1; X12; G01 Z-28; X22; G00 Z1; X11; G01 Z-14; X22; G01 Z1; X10; G01 Z-14; X22; G00 Z1; X9; G01 Z-14; X22; G00 Z1; X8; G01 Z-14; X22; G01 Z1; X21 Z-41; G01 Z-42; X22 Z-45; G00 Z1; X20 Z-41; G01 Z-42; X22 Z-48; G00 Z1; X11 Z-13; G01 Z-14; X12 Z-15; G00 Z1; X10 Z-13; G01 Z-14;

G01 Z-28. G01 Z-28. . G00 Z1. X12 Z-27. X13 Z-27. G01 Z-14. G00 Z1. G00 Z1. G03 X8 Z-4 R6. G03 X8 Z-2 R6. G01 Z0. G01 Z0. G03 X8 Z-1 R6. X14 Z-27. G02 X16 Z-32 R4. X4. G00 Z1. G00 Z1. G00 Z1. M30. X2. G00 Z1. G02 X16 Z-29 R4. RESULT: Thus the part program for the given model is written and verified through simulation. M05. G02 X16 Z-31 R4. X0. G01 Z-28.X12 Z-16. X15 Z-27. G00 Z1. G01 Z0. G02 X16 Z-30 R4. X6. G01 Z-14. G00 Z1. X9 Z-13. X12 Z-17. G01 Z0. G01 Z-28. G28 U0 W0. G00 Z1. X12 Z-18. X8 Z-13. G03 X8 Z-3 R6.

NO.EX. : 05A DATE : .

G01Z-14.0W0.0. G71U0. Z-28.0Z-32. N100G01X0. X20. G02X16.0.0.0. [BILLETX23. N120Z10.0.0. G28U0. G01Z0.0Z1.0F10. X24.0.2F50. M05.0. G03X8.0W0. RESULT: Thus the part program for the given model is written and verified through simulation. G00X23. X23.0Z-18. G70P100Q120S3000F10. S0.MULTIPLE TURNING BY USING MULTIPLE TURNING CYCLE (G71) AIM: To write a part program and simulate the tool path for the given model using fanuc controller.0.2W0.0.0.0.0.0Z-4. G00X23.0.0R6. M06T01.0.0Z10.0. PROGRAM: O0011.0R4.0. M30. .0Z-46.0Z90.5R1. G01Z-42.0. G71P100Q120U0. G28U0. S1300M03. X12.

EX. : 06 GROOVING AND THREAD CUTTING . NO.

2. X13. X13. G28 U0 W0. G28 U0 W0. G00Z10. X12. M05. G01 Z0.8 Z-20 F1. M05.5 R1.2 W0. . M06 T03. M06 T01. RESULT: Thus the part program for the given model is written and verified through simulation. G70 P100 Q200. X19. M30. M03 S1000.0W0.2.6. X15. PROGRAM: O 0012. N100 G01 X14. Z-30. [BILLET X22 Z70. N200 X22.774. G01 Z0 F50. G21 G97 G98. X12. X13.DATE : AIM: To write a part program and simulate the tool path for the given model using fanuc controller. G00 X22 Z1. G71 P100 Q200 U0. M06 T02. G71 U0. M05. Z-23.4. X13.8. G92 X13. M03 S1200. G00 X22 Z1. Z-40. G00 X14 Z1.0 S0 G28U0. M30. M03 S250.0 M05 G28 U0 W0. G28 U0 W0.

.

G28 U0 W0. RESULT . N100 G01 X14. G01 Z0 F50.5 R1. : 06A DATE : GROOVING AND THREAD CUTTING USING CYCLES AIM: To write a part program and simulate the tool path for the given model using fanuc controller. G28 U0 W0. M03 S1000. G00 X14 Z1. M05. G71 U0. M05. G00 X22 Z1. M03 S250. G28 U0 W0. X15. M05. [BILLET X22 Z70.2. G76 X12. X19. G70 P100 Q200. M03 S1200. G71 P100 Q200 U0. Z-23.15. N200 X22. M06 T02. G00 X14 Z10.EX. NO. G28 U0 QW0. G28 U0 W0. G21 G97 G98. Z-30. M30.774 Z-20 P0613 Q300 F1. G00 X22 Z1.2 W0. M06 T01. PROGRAM: O 0013. Z-40. M06 T03. G76 P031560 Q150 R0.

Thus the part program for the given model is written and verified through simulation. .

DATE : : 07 .EX. NO.

M30. X13. G74 Z-25 Q5000 F50. N100 G01 X18.5 Z-20 F50. M05. M06 T04. M03 S1000. TAPER-TURNING. M05. G00 X22 Z1. N200 X22 Z-35. G90 X12. G71 P100 Q200 U0. G00 X22 Z1. M05. PROGRAM: O 0014. M03 S1200. GROOVING & TAPPING – CNC LATHE AIM: To write a part program and simulate the tool path for the given model using fanuc controller.2 W0. RESULT: Thus the part program for the given model is written and verified through simulation. G28 U0 W0. . G28 U0 W0. Z-30. G00 X0 Z1. G28 U0 W0. G28 U0 W0. M05.2. G74 R1. G21 G97 G98. M06 T03.5 R1. G00 X0 Z1. G71 U0. G28 U0 W0. G00 Z1. G01 X12 Z1. G28 U0 W0. X13. M06 T02. M06 T01. [BILLET X22 Z70. G70 P100 Q200. M03 S1000.5.TURNING. G01 Z0 F50. G28 U0 W0. M03 S1000.

NO. : 08 DATE : .EX.

. M30.. M06 T01 D06. X15.. R10.. [BILLET X90 Y90 Z12. G01 Z-3.. R10. G01 X-15. Y25. Z50. R10.. Y0. M05.. G01 X-25. Y15. G00 Z50. Y0. G28 X0. Z0. G00 X-15... G03 X-25. G28 X0. Z0. Y-15. . Y-25. G03 X25. G21 G94 G90. R10. RESULT: Thus the part program for the given model is written and verified through simulation.. Y-25. G02 X15. Y-15. F50. G01 Y15. PROGRAM: O0010. M03 S1000.LINEAR WITH CIRCULAR INTERPOLATION AIM: To write a part program and simulate the tool path for the given model using fanuc controller.. G02 X-15...

: 09 .EX. NO.

Z50.. G01 Z-3. Y0. X-20. M05. M03 S1000... Y-20. G00 Z50. Z0.. G01 Z-5.. Y-20. M06 T02 D06.. M03 S1000. [BILLET X90 Y90 Z12. G21 G94 G90. Y20. F50. M06 T01 D06. G00 X0.. . F50. RESULT: Thus the part program for the given model is written and verified through simulation. M30.. G28 X0. G28 X0. Y0. G00 Z50... Z0. Z0. Y0.. G28 X0... G00 X-20. Y0. X20. M05. PROGRAM: O 0011.DATE : RECTANGULAR AND CIRCULAR POCKETING AIM: To write a part program and simulate the tool path for the given model using fanuc controller. Z50.

EX. : 09A . NO.

. Y0.. Y0. K0. Y-20. Z0. K0. G00 Z50.. Y-20. . G172 I40.1 J0. X-20. X-20. Z-5... P0 Q0. P1 Q0. G21 G94 G90. J40. G00 X-20. M03 S1000. Z-3. Y-20.DATE : RECTANGULAR AND CIRCULAR POCKETING USING CYCLE AIM: To write a part program and simulate the tool path for the given model using fanuc controller. G28 X0.5 X0. G28 X0. Z-3. G171 P50 S1000 R10 F50 B1200 J50. Z-5. G172 I40.. I0. G173 I0.1 K10.1 K0.5 X0..1 K0.. P0 Q0. Z1..5 R0. I0. G171 P50 S1000 R10 F50 B1200 J50. Y0.5 R0. M06 T01 D06. Y0. G00 Z50.1 P50 T1 S1000 R40 F60 B1200 J50 Z5. Z0.1 K10.1 P50 T1 S1000 R40 F60 B1200 J50 Z5. PROGRAM: O 0012.1 J0. M30. G170 R-3. [BILLET X90 Y90 Z12. P1 Q0. M05. J40. G173 I0. RESULT: Thus the part program for the given model is written and verified through simulation. G170 R-3.

NO. : 10 DATE : .EX.

PROFILE MILLING AIM: To write a part program and simulate the tool path for the given model using fanuc controller.1 K0. R20. G00 X0. Y15. K0. G01 Z-3. G171 P50 S1000 R10 F50 B1200 J50. M06 T03 D06.. Y15..1 P50 T1 S1000 R40 F60 B1200 J50 Z5. G170 R0. Y0.. Y0. Y-15.. G173 I0. P1 Q0. M05.. [BILLET X90 Y90 Z12. Y0. G00 X-23. G21 G94 G90. Z10. Y15. Y-15... I0. G170 R0. Y-10. Y0. M05.1 J0. J30. G00 Z50..1 J0. G00 Z50. M05.. G01 X-35. X15. G00 X-23. P0 Q0.1 K15. X-23.. M30. Z-5. G173 I0. Y-35.. Y-35. P0 Q0. Z0. Y-15. M03 S1000. Y-15. G01 Y15. J30. Z0.. G28 X0. M03 S1000. M06 T01 D06. Z-5. R20. G98 Y10.. Y-15. Z-8. F50.. X20. X-23.. . RESULT: Thus the part program for the given model is written and verified through simulation.. Z0.. K0. G03 X35. Z50. X15.1 K0.. M06 T02 D12... Y0. G83 G99 X-5. Z-5.. G03 X-20.1 K15. I0. Z0. G172 I20. Y0. G28 X0. G172 I20.. P1 Q0.. PROGRAM: O 0013.. F50..1 P50 T1 S1000 R40 F60 B1200 J50 Z5. G00 Z50.5 R0. M03 S1000. G28 X0. X-23..5 X0. G171 P50 S1000 R10 F50 B1200 J50. G28 X0.5 R0. Q2 R2. Z100.5 X0. Z-5.

.

SIMULATION AND NC CODE GENERATION EX. FILE .Toolpath Generation  7.Machine Selection  6.New Program  2.Machining  5.Geometry  4. : 11 DATE : GROOVING AIM: To generate NC code for a given component using capsturn. NO.Work Setup3. Z = 100 Diameter Rear turret Face up Length = 20.NEW 2. WORK SETUP a) SETUP DATA-1 (Compulsory) Units W/p material Holding Part load +un load time Limiting spindle speed Jaw position absolute Clearance (z) Clearance ID Clearance OD b) SETUP DATA -2 (Compulsory) Tool turret position Program mode Default turret position Default tool mounting Jaw size : : : : : Rear turret X = 200. PROCEDURE: 1. Height = 20 : : : : : : : : : mm Al External 30 sec 3000 rpm -115 mm 5 mm 0 mm 70 mm c) DOCUMENTATION (Optional) Part number Part name Set up number Fixture Programmer Remark Save the file as EX11.NC Code Generation 1. : : : : : : .C.

Z in the input box. Turning . Grooving the job using 32*32.0 20.4 tool B .-110 Give done to complete the line & Select zoom all. 0. D.3.-30 20.-70 42. 4.10R. Diameter = 60. Select the geometry mode Click geometry mode  Draw a part Define a part  Define a blank.-30 42.0 20.-60 20. GEOMETRY A. To define the part Click draw  Define part  Select the object by using mouse  Select YES. Enter the following data in the input box: Specify the first point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point : : : : : : : : : : : 0. To draw a part Click draw Choose multiline Enter the values of X. 20DEPTH.-25 10. C. 42.00W. LH tool. 3.-70. B. To draw chamfer Click draw  Select chamfer  Select chamfer type  Angle & Distance Enter the values in the input box (Distance = 5 & Angle = 45°) Select done  Select the lines by using the mouse  select done to complete the chamfer. Turning the job using PTGNL 1616 H11 R0. Start Z = 0)  Enter OK. To define the blank Click draw  Define blank  Enter the values for blank in the standard blank box (Length = 120.-60 20. MACHINING Select the machining mode Machining operations involved: A. A.-25 10.

Enter the following data in the contour turn page: Operation name : Contour turn Process : Roughing &finishing Depth of cut : 2 mm Finish allowance : X = 0. Z = 0. Select the first point on the part by using the mouse Select the second point on the part by using the mouse.4 Selected tool material : Coated carbide Tool number : 1 Tool offset number : 1 Enter ok to select the tool. 5.00W.1. MACHINE SELECTION Click machine  Choose the Fanuc OiT m/c type from machine list  Click select.1 Leave the other data as it is & Enter ok. B.10R. LH Selected tool material : Coated carbide Tool number : 2 Tool offset number : 2 Select the groove at the first end  Select the other end of the groove Enter the following data in the external groove page: Operation name : External groove Process : Roughing & Finishing Finish allowance : 0. 7. TOOLPATH GENERATION Click toolpath  Click solid mode  Click start to see the toolpath simulation. TO GENERATE NC CODE Click NC program  Enter the following data in the program number page Program file name : EX11 .3. 0. 6. Grooving Click machining  Turning  Groove Radial  New tool Enter the following data in the select tool page: Tool library : General mm Selected tool : 32*32.1 Start location : Right Cutting method : Plunge cut  Enter ok Repeat the same procedure for machining the second groove in the part.Click machining  Turning Contour turn  New tool Enter the following data in the select tool page: Tool library : mm Selected tool : PTGNL 1616 H11 R. 20DEPTH.

952 G3 X20. Z2. G1 X16.228 G3 X42. G0 X64. X52.5 G1 Z-110. X60. Z-40.4 R0.4 R0.093 X16. F0. X60.05 F0.5 G0 Z2. Z-27.046 G3 X20. Z-51.919 F0. G1 X36. Z-25.2 Z-51. G1 X28.2 Z-0.1 G3 X20.046 G3 X20.2 Z-70.948 G0 Z2.117 X19.857 X40. G1 X24.139 Z-60. F0.2 Z-5.16 X20. F0. click edit and read the program. G1 X48. G1 X32. G1 X56.953 G3 X20.907 Z-5. PROGRAM: % O11 T0 G40 G50 S50 T0303 G97 M4 S2274 G0 X70.311 X42. G0 X64.14 G1 X20.5 G1 X42.2 G3 X20.139 Z-30. X44. G1 X52.228 R0.093 G0 Z2. Z-46.5 G0 X28. F0.649 Z-29.139 Z-60.388 Z-30.43 R0. .2 Z-110. F0.5 G1 Z-25.402 X36.228 G3 X42.43 R0.5 G1 X19.198 Z-60. Z2. F0.948 X32.431 R0.5 G1 X20. G0 Z2.2 Z-57.2 Z-5. Z-3.198 Z-60.228 R0. Z-35.2 G3 X42.2 Z-29. G1 X44. G0 Z2. M8 X64.2 Z-110. G1 X10. Z2.4 G3 Z-25. F0. F0.4 G3 Z-25. X19.311 G0 Z2.5 G1 X41.2 Z-46. To read program.04 Z-69.14 X19.9 X41. G1 X10.5 G1 Z-25.645 Z-29. Z-30.2 Z-1.093 X19.2 G3 X42. F0. F0.05 Z-30.2 Z-40.5 G1 X41.402 G0 Z2. Z-5.2 Z-35.1 R0.493 G0 Z-27. F0.Program number Output directory : : 11 My document\2k6230 (Folder name) Enter ok.049 F0.493 X28.139 Z-30.9 X41. G0 Z2. G0 Z2. X56. G1 X12. F0.5 G1 X24.2 Z-110.4 R0. X48.1 F0.5 G1 Z-110. F0.2 S2728 Z0.1 R0.907 Z-5. F0. Z-5.2 Z-110. G1 X40.2 Z-70. Z-57.2 Z-3. G1 Z-5.431 R0.4 R0.857 G0 Z2. G42 Z2.04 Z-69. X20.

2 F0. X200.5 G0 X24.5 F0. G1 X10. .2 F0. S295 Z-63.2 Z-66. Z-28.1 M8 X46. X200. Z100.5 G0 X24. Z100. F0. X200.04 G0 X24. X42.04 G0 X24. F0.02 F0. X70. F0. X70.2 Z-66. Z-65.04 G0 X46.9 G1 X20. X42. F0. Z-70. S611 Z-27. G1 X20.777 Z-70.5 G0 X46. F0.02 F0. Z-110.04 G0 X46.9 G1 X42.7 G1 X10.2 F0. Z-30. M9 T0 M01 T0505 G97 M4 S505 G0 X70. X40. F0.806 F0. M9 T0 M5 M30 % RESULT: Thus the NC code was generated for the component using capsturn. G1 X20.5 G0 X46.04 X40.9 G1 X18.032 Z-66.032 Z-28.1 G1 X42. M9 T0 M01 T0404 G97 M4 S245 G0 X70.394 X20.032 Z-66. G1 X10. G0 G40 X70.04 X20. Z-29.5 G0 X46.X20. Z-63.5 G0 X46.04 G0 X24. Z-69. Z-63.2 F0.1 M8 X24.032 Z-28. F0. Z-67. Z-60.02 G1 X20. X64. Z-27. Z100.02 G1 X10.

NO.EX. : 12 DATE : .

Geometry  4. Z = 100 Diameter Rear turret Face up Length = 20.THREAD CUTTING AIM: To generate NC code for a given component using capsturn.Machine Selection  6.Machining  5. 3.New Program  2.load time Limiting spindle speed Jaw position absolute Clearance z Clearance ID Clearance OD b) SETUP DATA -2 (Compulsory) Tool turret position Program mode Default turret position Default tool mounting Jaw size : : : : : Rear turret X = 200. GEOMETRY Select the Geometry mode : : : : : : .Toolpath Generation  7. Height = 20 : : : : : : : : : mm Al External 30 sec 3000 rpm -115 mm 5 mm 0 mm 80 mm c) DOCUMENTATION (Optional) Part number Part name Set up number Fixture Programmer Remark Save the file as EX12.NEW 2.Work Setup  3. PROCEDURE: 1.NC Code Generation 1. WORK SETUP a) SETUP DATA-1 (Compulsory) Units W/p material Holding Part load + un . FILE.

83) Enter the radius value (4mm)  Enter done. depth3.-75 & Give done to complete To draw CW Arc Click draw  Arc  Start. Turning: Click machining  Turning  Contour turn  New tool Enter the following data in the select tool page: . radius  Give start point (53. To draw a part Click draw Choose multiline Enter the values of X. A. : : 61.-79)  Give end point (61. Diameter = 70.0 tool.-110  Enter done & Select zoom B.0 30. 60deg. To draw CCW Arc Click draw Arc  Start. Z in the input box Enter the following data in the input box: Specify the first point : Specify the next point : Specify the next point : Specify the next point : Specify the next point : Specify the next point : multiline. end. Thread cutting using 16*16. end.-25 55. 4. To define the part Click draw  Define part  Select the object by using mouse  Select YES C. To define the blank Click draw  Define blank  Enter the values for blank in the standard blank box (Length = 120.-60 45.-75)  Enter radius value (4mm)  Enter done.-1 30. A.4 tool B. 0.-83 61.Click geometry mode  Draw a part Define a part  Define a blank.-79)  Give end point (45. To draw Line Click draw  Line  Point – point Specify the start point Specify the end point all. MACHINING Select the Machining mode Machining operations involved: A. Turning the job using PTGNL 1616 H11 R0. Start Z = 0)  Enter OK. radius  Give start point (53.0 28.

6. TOOLPATH GENERATION Click toolpath  Click solid mode  Click start to see toolpath simulation.1.4 Coated carbide 1 1 Select the first point on the part by using the mouse Select the second point on the part by using the mouse. MACHINE SELECTION Click machine  Choose the Fanuc OiT m/c type from machine list  Click select. TO GENERATE NC CODE Click NC program  Enter the data in the program number page . Z = 0.Tool library Selected tool Selected tool material Tool number Tool offset number Enter ok to select the tool.1 Leave the other data as it is & Enter ok.0 Selected tool material : Coated carbide Tool number : 2 Tool offset number : 2 Enter ok  Select a line for threading. Thread Cutting Click machining  Turning  Thread  New tool Enter the following data in the select tool page: Tool library : General mm Selected tool : 16*16. depth3. : : : : : mm PTGNL 1616 H11 R0. B. of cutting passes : Number of starts : 1 Hand of thread : Left No. 7. Enter the following data in the contour turn page: Operation name : Contour turn Process : Roughing & Finishing Depth of cut : 1 mm Finish allowance : X = 0. of ideal pass : 1 Entry distance : 0 Exit distance : -5  Enter ok 5. Enter the following data in the threading page: Operation name : Threading Safe approach distance : 2 mm Thread type : Thread pitch :  Select from standard  Metric 60° Thread depth : External  Choose pitch=1. 60deg.5  Finish No.

279 Z-78.804 G0 Z2.2 Z-53. F0. Z-62.155 R4. F0. Z-77.804 F0.991 G3 X56.2 Z-109.2 X55.977 G0 Z2.281 F0. G1 X50. F0. click edit and read the program.5 G1 X54. G1 Z-58.281 F0.025 G2 X48.281 F0. Z-65. Z-58.214 G3 X55.206 Z-75.5 G1 Z-109. F0.155 G3 X61. G1 X64. Z-78.2 G2 X50. F0.5 G0 Z-68.2 R3.899 R3. Z-74. Z-109.965 X62.723 R3.207 Z-110. Z-79.2 Z-83. F0.2 Z-79. Z-56.14 X45.14 G1 X50.959 G3 X60. X54. G0 X74. Z-79.969 X64. Z2. Z-78. To read program.281 F0.14 G1 X48.986 X68.14 G1 X46. G1 X58. F0. F0.804 X52.5 G0 Z2. Z-109. Z-109.5 G0 Z-71. Z-71.321 R4.991 R4. G1 X52.2 Z-81.14 G1 X54.14 X50.281 F0. M8 X74.2 Z-109.899 G2 X52. PROGRAM: % O1234 T0 G40 G50 S50 T0101 G97 M4 S1624 G0 X80.304 .5 G1 X52. G1 X62.995 X69. Z2. F0.281 Z-78.304 X54.472 F0.14 X52.2 Z-56. Z-109.5 G0 Z-62.2 Z-109. X70. G1 X56. Z-68.5 G0 X60. G1 X68.5 G0 Z-74. Z-78. Z2. F0.5 G0 Z2. F0.2 Z-78. G1 X66.281 F0.14 X48.995 G0 Z2.2 Z-75.047 R3.281 F0.321 G3 X58.977 X66.5 G0 Z-65.4 R4.2 Z-79.14 X46. F0.2 Z-78.025 R3.2 Z-77. F0. G1 X60.Program file name : EX12 Program number : 12 Output directory : My document\2k6230 (Folder name) Enter ok.128 Z-60.723 G2 X52.9 G3 X54.281 F0.986 G0 Z2.959 R4.281 F0.2 Z-78.14 G1 X52.2 Z-109.542 G2 X46. Z-81. F0. Z-78.969 G0 Z2.149 Z-60.558 R0.

G1 X44. Z-83. G1 X42. G1 X28.2 Z-51. Z100.246 X36.2 Z-38. G1 X48.2 Z-46.907 Z-1. Z-75. Z-1. X200.5 G0 X31. Z-46. Z-28.6 X74.304 X50.304 X38. Z100.2 Z-41.046 G3 X30. R4. M9 T0 M5 M30 % RESULT: Thus the NC code was generated for the component using capsturn. F0.304 X46.938 G0 Z2.12 Z-20.938 G0 Z2. G3 X61.5 G1 Z-25. G1 X30.049 F0. Z-51.304 G0 Z2. M8 X34. F0. Z-35. F0.1 R0.2 Z-0.304 G0 Z2. G2 X52.804 G0 Z2.5 X80.938 X34.831 Z-78. Z-43.16 X30.304 X42.07 Z-79. Z-36. X35.1 G3 X30. G1 X34. Z-32.804 X44.2 S1949 Z0. G1 X38.938 X35. M9 T0 M01 T0202 G97 M4 S2653 G0 X80. Z-60. F0. G1 X46. X200. Z-38.338 X32.804 G0 Z2.2 Z-1. G1 X28. G1 Z-110.804 X48. F0. F0. G42 Z2. X45.804 G0 Z2.2 Z-43. G1 X53. Z-0.2 Z-32.154 Z-35.999 R4. Z-41. F0.2 Z-28.2 Z-48.4 R0. G0 G40 X80. F0.304 G0 Z2. X55. F0. F0. . Z-48.804 X40. Z-25.304 G0 Z2. Z-53. P940 Q383 F1.804 G0 Z2. F0. G1 X40. Z-1. Z-1.2 Z-36.117 X29.2 Z-1.G0 Z2. F0. X74. R0. G76 P060060 Q0 R0 G76 X28. G1 X36. G1 X32.

EX. : 13 DATE : GROOVING AND THREAD CUTTING . NO.

WORK SETUP a) SETUP DATA-1 (Compulsory) Units W/p material Holding Part load + un . .Geometry  4. FILE.NEW 2. 3.AIM: To generate NC code for a given component using capsturn.NC Code Generation 1. PROCEDURE: 1.New Program  2.load time Limiting spindle speed Jaw position absolute Clearance z Clearance ID Clearance OD b) : : : : : : : : : mm Al External 30 sec 3000 rpm -90 5 0 40 SETUP DATA -2 (Compulsory) Tool turret position Program mode Default turret position Default tool mounting Jaw size : : : : : Rear turret X = 200. Z = 100 Diameter Rear turret Face up Length = 20. GEOMETRY Select the Geometry mode Click geometry mode  Draw a part  Define a part  Define a blank.Toolpath Generation  7.Machine Selection  6.Machining  5.Work Setup  3. Height = 20 c) DOCUMENTATION (Optional) Part number Part name Set up number Fixture Programmer Remark : : : : : : Save the file as EX13.

-30 19.-20 12.-75 Give done to complete the line & Select zoom all. To draw a part Click draw  Choose multiline  Enter the values of X. 4.-45 20. Start Z = 0)  Enter ok.774. A. Click machining  Turning  Contour turn  New tool Enter the following data in the select tool page: Tool library : mm Selected tool : PTGNL 1616 H11 R.00W. Grooving the job using 12*12.-1 14. To define the part Click draw  Define part  Select the object by using mouse  Select YES. Turning the job using PTGNL 1616 H11 R0. 2.A. Thread cutting using 16*16.-23 15. 60DEG. C.774. MACHINING Select the Machining mode Machining operations involved: A. . To define the blank Click Draw  Define blank  Enter the values for blank in the standard blank box (Length = 100. Select the first point on the part by using the mouse  Select the second point on the part by using the mouse. Enter the following data in the input box: Specify the first point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point Specify the next point : : : : : : : : : : : : 0. 0. Turning.4 Selected tool material : Coated carbide Tool number : 1 Tool offset number : 1 Enter ok to select the tool. 0 12. Z in the input box. B. Diameter = 30.0 14. C.-45 20.0 tool.-20 12.-23 15.4 tool B.-30 19. LH tool. 08DEPTH.20R. DEPTH3.

20DEPTH.00W.1 Leave the other data as it is & Enter ok.10R. Enter the following data in the external groove page: Operation name : Threading Safe approach distance : 2 mm Thread type : Thread pitch :  Select from standard  Metric 60° Thread depth : External  Choose pitch=1 Finish No. Z = 0.1. 0. depth3. MACHINE SELECTION .Enter the following data in the contour turn page: Operation name : Contour turn Process : Roughing & Finishing Depth of cut : 1 mm Finish allowance : X = 0. Thread Cutting Click machining  Turning  Thread  New tool Enter the following data in the select tool page: Tool library : General mm Selected tool : 16*16. of cutting passes : Number of starts : 1 Hand of thread : Right No. B. Grooving: Click machining  Turning  Groove Radial  New tool Enter the following data in the select tool page: Tool library : General mm Selected tool : 32*32.3. of ideal pass : 1 Entry distance : 0 Exit distance : 0  Enter ok 5.0 Selected tool material : Coated carbide Tool number : 3 Tool offset number : 3 Enter ok  Select a line for threading. 60deg.1 Start location : Right Cutting method : Plunge cut  Enter ok C. LH Selected tool material : Coated carbide Tool number : 2 Tool offset number : 2 Select the groove at the first end  Select the other end of the groove Enter the following data in the external groove page: Operation name : External groove Process : Roughing & Finishing Finish allowance : 0.

4 R0.2 Z-1. To read program.3 Z-74. G1 X16.2 Z-45.3 Z-29. Z2.907 Z-1. Z2. Z-29.899 X18. Z-1. G1 X12.5 G1 Z-74.4 R0. Z-74.087 Z-20.4 R0.89 G0 X20.6 X34.5 G1 Z-20.887 X16. F0. G1 X24.046 G3 X14. F0. M8 X34.205 G3 X15.977 X26. F0.4 G3 X14. F0. 7. F0.207 Z-75.3 Z-29.89 X18. Z-29.3 Z-45. G1 X28.5 G0 Z2.1 R0. Z-74. Z-0.714 Z-22. F0.5 G0 X15. Z-20.9 X19. G1 X22. F0.24 . X14.3 Z-74.4 R0. Z2.631 R0.5 G1 X14. G1 X18. X30. TOOLPATH GENERATION Click toolpath Click solid mode  Click start to see toolpath simulation.3 G3 X14. click edit and read the program. G1 Z-1.995 G0 Z2. G1 X20. G1 X12. TO GENERATE NC CODE: Click NC program  Enter the following data in the program number page Program file name : EX13 Program number : 13 Output directory : My document\2k6230 (Folder name) Enter ok. G0 X34.2 Z-30. PROGRAM: % O13 T0 G40 G50 S50 T0101 G97 M4 S2107 G0 X40.3 Z-74. G1 X26. F0.Click machine  Choose the Fanuc OiT m/c type from machine list  Click select.986 G0 Z2. Z-74.205 G3 X20.969 G0 Z2.1 G3 X20. Z-74.969 X24.995 X29.2 Z-23.1 F0.961 X22.117 X13.899 G0 Z2.049 F0.205 G3 X19.5 G1 Z-44.3 S2528 Z0.1 R0. 6.899 X14. G42 Z2. Z-45.5 G1 Z-29. F0.3 Z-0.977 G0 Z2.3 Z-74.986 X28.

X40. M9 T0 M01 T0202 G97 M4 S3000 G0 X40.974 F0.9 G1 X12. X200. Z100. Z100. M8 X18.99 X15. Z-1. Z-44. Z-23. X200.25 G0 X19. X40.974 F0. Z100.125 G1 X12. X12.774 F0. Z-20. X34.5 F0. G1 X12.1 M8 X19.983 X19. G0 G40 X40. Z-20. Z-75. Z-45.178 Z-22. . M9 T0 M5 M30 % Thus the NC code was generated for the component using capsturn.25 G0 X19.125 F0.25 Z-22.774 F0.5 G0 X19. Z-22. Z-30.996 X20. G76 P050060 Q0 R0 G76 X12.X14.1 G1 X12. RESULT: Z-22.25 Z-22. Z-23. G1 X12.66 Z-1.774 Z-21. Z-22.25 G0 X19.974 F0.5 G0 X19. X200. Z-22. Z-29. P670 Q299 F1. M9 T0 M01 T0303 G97 M4 S2956 G0 X40. R0. Z-22.

NO.EX. : 14 DATE : .

Machine Selection  6.RECTANGULAR AND CIRCULAR POCKETING AIM: To generate NC code for a given component using capsmill. alloy. medium hardness 30 sec 100 X=100. FILE.NC Code Generation 1. 60 . Y=100. c) DOCUMENTATION (Optional) : : : : : mm cast iron.NEW 2.Toolpath Generation 7.Geometry  4. PROCEDURE: 1. Z=100. To draw a part Click draw Choose multiline  Enter the values of X.Work Setup  3. Y in the input box. 3. Part number Part name Set up number Fixture Programmer Remark Save the file as EX14. A. 0 100. WORK SETUP a) SETUP DATA (Compulsory) Units Work piece materials Part load + un-load time Clearance Z Tool change position b) TABLE SETUP (Compulsory) Select the first table setup type.Machining  5. Enter the following data in the input box: Specify the first point : Specify the next point : Specify the next point : 0.New Program  2. GEOMETRY : : : : : : Select the Geometry mode Click geometry mode  Draw a part Define contour  Define a blank. 0 100.

To draw the radius Click draw Select the radius  Enter the value of radius (20mm) in the dialog box  Select the first and second object by using mouse  Select done. To draw the centre point for φ30 circular pocket Click draw  Point pattern  Points . radius  Specify the start point (70.length . Breadth = 30. To define the blank Click Draw  Define blank  Enter the following data in the dialog box: Minimum Maximum X = -10 X = 110 Blank thickness = 23 .width)  Enter the following data in the dialog box appeared (Length = 20.random  Specify the three random points: [(80. Enter the chamfer distances (12&20)  Select the corresponding lines by using mouse  Select done.(60.30). 0 Give done to complete the line & Select zoom all. 60)  Specify the end point (30. To define the contour Select draw  Define contour  Auto Contour  Select the contour by mouse  Give YES  Select done. Radius = 2)  Select ok  Enter lower left corner of the rectangle (12.40)]  Select done.(80. B. To draw the chamfer Click drawSelect chamfer Select chamfer type  Distance 1 & Distance 2.random  Specify the random points (50. To draw the centre point for φ10 holes Click draw  Point pattern  Points . To draw the arc of radius 20mm Click draw  Arc  Start. To draw a rectangle for the rectangular pocket Click draw  Shapes  Rectangle (Corner . To trim the line Click Edit  Choose trim  Select the boundary objects by using mouse (top line and 20 mm radius arc)  Select done  Select the in-between line to trim  Select done.Specify the next point : 0. C.60) Enter the radius value (20mm)  Select done. 60 Specify the next point : 0. 60)  Select done. end. Rotation angle = 0°. 20) & Select done.20).

ii) Select the ‘blank contour’ by clicking a point on the contour iii) Enter the following data in the Face mill dialog box that appears: Operation name : Face mill Process : Roughing & Finishing Area to be cleared : Surface Work surface Z : 0 Material thickness : 3 Return to Z : 200 Depth of cut : 1 on cutting parameters tab menu & Give ok. To perform face milling i) Select Machining  Milling  Face mill  Click New tool To select the tool. iv) Specify the machining start point by clicking on any one of the circle. ii) Select the ‘inner contour’ by clicking a point on the contour iii) Enter the following data in the Face mill dialog box that appears: Operation name : Face mill Process : Roughing & Finishing Area to be cleared : Contour Work surface Z : -5 Material thickness : 5 Return to Z : 200 . fill the dialog box that appeared Tool library : General mm Tool type : Face mill .round insert Select tool : 40 mm dia. B. Drilling (3 holes. MACHINING Z coordinate at the bottom = -20 Select the Machining mode Machining operations involved: A. 10 mm. fill the dialog box that appeared Tool library : General mm Tool type : End mill finish .Face mill Tool material : Carbide  Enter ok. round insert . 4. To perform contour milling i) Select Machining  Milling  Face mill  Click New tool To select the tool. 8 mm deep) D. Face milling B.2 flute Tool material : Carbide  Enter ok. 30 mm) E.Y = -10 Y = 90 Select ok & Select zoom all. Contour milling C.2 flute Select tool : 2 mm dia. Circular pocketing (dia. End mill finish . Rectangular pocket milling A. dia.

8 mm deep) i) Select Machining  Hole  Drilling  Click New tool To select the tool.Twist drill Select tool : 10 mm dia. Select done & Give ‘NO’ iii) Enter the following data in the drill dialog box: Operation name : Drill Work surface : 0 Hole depth : 8 Return to z : 200  Enter ok D. from 32 to 30Enter ok. dia. fill the dialog box that appeared Tool library : General mm Tool type : End mill – End mill finish .Depth of cut & : 1 on cutting parameters tab menu Give ok. To perform the rectangular pocket milling i) Select Machining  Milling  Pocket  Click New tool To select the tool.Hole mill Select tool : 32 mm dia. End mill finish . iv) Enter the machining start point by clicking on any one of the corner & Select YES & Select the same point as the tool entry and exit point. ii) Select the three points for drilling. ii) Select the point for hole milling. To perform circular pocketing operation (diameter 30mm) i) Select Machining  Hole  Drilling  Click New tool To select the tool. 10 mm. C. Twist drill Tool material : Carbide  Enter ok. Select done & Give ‘NO’ iii) Enter the following data in the drill dialog box: Operation name : Drill Work surface : 0 Hole depth : 5 Return to z : 200  Enter ok E.2 flute Tool material : Carbide  Enter ok. To perform drilling operation (3 holes. ii) Select the contour for pocket milling iii) Enter the following data in the Pocketing milling dialog box: Work surface : 0 Pocket depth : 5 mm Side allowance : 0 . fill the dialog box that appeared Tool library : General mm Tool type : Drill . Hole mill Tool material : Carbide Edit tool geometry : Change dia.2 flute Select tool : 5 mm dia. fill the dialog box that appeared Tool library : General mm Tool type : Hole mill .

635 X-35. F457.2 G01 Z0.335 G00 Z3. Y78.373 G00 Z4. F653.373 G00 Z4.Bottom allowance Return to Z Cutting method Entry into the material Depth of cut ok 5. X135. ROUND INSERT FACE MILL) M3 S1088 G43 H1 G54 T1 G90 G00 X135.2 G01 Z0. Y78. F653.4 G01 Z0. DIA.8 G01 Z0. F653.4 S1256 G01 Z0. PROGRAM: % O14 G17 G21 G0 G49 G40 G80 G90 (40. X135.4 M54 Z100. G01 Z2. To read program.6 G01 Z0.635 X-35. Y78. F452. F457. click edit and read the program. F653.6 Z4. X135.335 G00 Z3. F316.361 M98 P00010055 G90 G00 X-10. X135. Y1. TOOLPATH GENERATION Click toolpath Click solid mode  Click start to see toolpath simulation. Z6. 6. 7. Y1. F457.635 .361 X-10.361 M98 P00010055 G90 G00 X-10. Y1. Y31. F452. X135. F457. F316.373 G00 Z3.00 MM. F316.361 X-10. X135. X135. MACHINE SELECTION : : : : : 0 200 Zigzag Plunge 1 mm (in cutting parameters) Enter Click Machine  Choose the Fanuc OiM m/c type from machine list Click select.8 G01 Z0.4 G01 Z1.6 Z5. F457. F457. X135.373 G00 Z4. Y62. Y1. Y62. Y31.361 X-10.361 X-10. TO GENERATE NC CODE Click NC program  Enter the following data in the program number page Program file name : EX14 Program number : 14 Output directory : My documents \ 2k6230 (Folder name) Enter ok.

M54 Z100.055 Y59. X100. Z200. X12.5 Y22.042 X100.6 G01 Z0. G03 X100.31 Y47. X100.972 X70. Y20.5 G00 Z3.5 X14. S6000 G01 Z-5. F557. F381. X14.X-35. HOLE MILL) M3 S583 G43 H4 G54 T4 X50.00 MM. X60.5 G01 Z-1. Y20. F316. Y0.055 Y59. F452. X135. DIA. Y60.004 R3.989 G00 Z3. M5 (10.5 F318. DIA. G01 X0.5 Y23. Y60.5 F318. F116.055 Y59. Y78.055 Y59. J20. TWIST DRILL) M3 S3183 G43 H3 G54 T3 X80. X100. Z200. G01 Z-4. M98 P00010056 G90 X100. G01 Z-3.042 G00 Z3.5 Y35.989 F557.989 F557. Z3. Z3.5 Y31.5 Y43. Y60.817 X29. G01 Z-1.5 X14.00 MM. M98 P00010056 G90 X100. G98 G81 Z-11. M5 (2.989 F557. G01 Z-1. F222. G80 M5 (32. G03 X30.989 M54 Z100.335 G00 Z200. Y60. G01 Z-2. F557.635 X-35.00 MM. M98 P00010056 G90 X100.5 .042 G00 Z3.465 Y40.5 X29. F267. M98 P00010056 G90 X100. I-20. DIA. M54 Z100.5 X14.5 Y22.5 Y27. X100. J0. M98 P00010056 G90 X100.989 G00 Z200. DIA.00 MM. Y20.042 G00 Z3.055 Y59. R3. END MILL-FINISH2 FLUTE) M3 S6000 G43 H2 G54 T2 X100.055 Y59. F222. END MILL-FINISH2 FLUTE) M3 S3183 G43 H5 G54 T5 X29.042 G00 Z3.055 Y59.5 X29. G98 G81 Z-5.335 G00 Z3. F452. X80. Y60.817 X14. Y30.042 X100.38 X100. I0. G01 Y60.5 X29.31 Y39. F477. G01 Z-5.714 G80 M5 (5. Y60.5 M54 Z100. Y60.989 F557.

31 Y39.5 X29.31 Y47. M5 G80 M56 G59 X0 Y0 Z100 M16 M30 O55 (SUB PROGRAM) G91 X-145.31 Y39.5 Y23.5 Y22.5 F318. F653. F222.373 G00 .5 G01 Z-3.5 X29.5 Z-1.5 Y27.5 G00 Z3.5 F318.5 X14.5 F318.31 Y39.5 Y31.5 Y27.5 Y22.5 G01 Z-4.5 G00 Z3.5 Y22. X14.5 Y43.5 Y35.5 Y23.817 X14. F222.5 X29.5 F318.5 Y23.5 X29.5 G01 Z-5.31 Y39.5 G01 Z-4.5 Y43.5 Y23. F222.5 G01 Z-2.5 Y35. X29.5 F318.5 G00 Z3.5 X14.5 X14.5 G01 Z-2.5 G00 Z3. F222. F222.5 Y22.5 X29.5 X29.5 Y31. X14.817 X14.5 Y22.5 G01 Z-3.5 Y43.5 F318.5 X14.5 G00 Z3. F222.G00 Z3.5 X14.5 Y22.5 Y22.5 X29. X14.817 X14.5 X29.817 X29.5 Y43.5 F318.5 Y27.31 Y47.5 Y31.5 Y27.5 X29.31 Y47.817 X29. X14.817 X29. Y-0.5 X14.5 Z-2.5 Z-0.5 X14. X29. X29.817 X29.5 Y35.5 X14.5 Y22.31 Y47.5 X29. F222. F222.5 G00 Z3.5 X14.5 Y35. X29.5 F318.5 G00 Z200.817 X14.5 X14.5 X29.5 Y31.5 X29.5 X14.5 G01 Z-5.5 X14.5 G00 Z3.5 Z-3.

373 M99 O56 (SUB PROGRAM) G91 X-30.Z4. Y30. X145. Y-20. F457. Y-40. G01 Y40.373 G00 Z4. F457. J0.361 X-145.361 X-145. Y-0. Y30. F653. F795.4 G01 Z-4. I-20. F653.4 G01 Z-4. Y-0. J20. F457. Y20. F653. X-0. X12. G01 X-30. X145. M99 % RESULT: Thus the NC code was generated for the component using capsmill. X145. Y-0. G03 X20.361 X-145.373 G00 Z4. Y0. . X68.775 G03 X-40. I0. Y16. Y-0.4 G01 Z-4.

EX. NO. : 15 DATE : MIRRORING .

10 .Geometry  4. : : : : : : 3. alloy. Z = 100 b) TABLE SETUP (Compulsory) Select the first table setup type.AIM: To generate NC code for a given component using capsmill. 60 Specify the next point : 10.Machining  5. 60 Specify the next point : 10. GEOMETRY Select the Geometry mode Click geometry mode  Draw a part  Define contour  Define a blank.New Program  2. PROCEDURE: 1. FILE.Toolpath Generation  7. A.NC Code Generation 1. c) DOCUMENTATION (Optional) Part number Part name Set up number Fixture Programmer Remark Save the file as EX15. 10 Specify the next point : 60. To draw a part Click Draw  Choose multiline  Enter the values of X.Work Setup  3. medium 30 sec 100 X = 100. Y = 100.Machine Selection  6. Y in the input box Enter the following data in the input box: Specify the first point : 20.NEW 2. WORK SETUP a) SETUP DATA (Compulsory) Units Work piece materials hardness Part load + un-load time Clearance Z Tool change position : : : : : mm Cast iron.

10) A. To define contour Select Draw  Contour  Window  Select the contour  Select done. To define the blank Click Draw  Define blank  Enter the following data in the dialog box: Minimum X = -70 Y = -70 Maximum X = 70 Y = 70 Blank thickness Z coordinate at the bottom = 23 = -20 Select ok & Select zoom all. C. 25)  Enter done. Face milling B.random  Specify the random point (25. Contour milling C. end. 60)  Give the end point (60.Face mill Tool material : Carbide  Enter ok. 4. MACHINING Select the machining mode Machining operations involved: A. dia.Specify the next point Give done to complete the line. (NOTE: Use the same procedure to mirror the remaining elements) B. fill the dialog box that appeared Tool library : General mm Tool type : Face mill . Drilling (4 holes. 20)  Enter the radius value (40mm)  Enter done.round insert Select tool : 40 mm dia. 20 Click Draw  Arc  Start. radius  Give the start point (20. ii) Select the ‘blank contour’ by clicking a point on the contour . round insert . To perform face milling i) Select Machining  Milling  Face mill  Click New tool To select the tool. To draw the arc of radius 40mm : 60. To mirror the object Click Edit  Mirror  Select the object through window  Specify the first point of the mirror line (using the mouse)  Specify the second point of the mirror line  Give YES to retain the original object  Give done. To draw the centre point for the hole Click Draw  Point pattern  Points .

Twist drill Select tool : 10 mm dia. iv) Enter the machining start point by clicking on any one of the corner & Select YES & Enter the same point as the tool entry and exit point. iv) Specify the machining start point by clicking on any one of the circle. Twist drill Tool material : Carbide  Enter ok.iii) Enter the following data in the Face mill dialog box that appears: Operation name : Face mill Process : Roughing & Finishing Area to be cleared : Surface Work surface Z : 0 Material thickness : 3 Return to Z : 200 Depth of cut : 1 on cutting parameters tab menu & Give ok. ii) Select the ‘inner contour’ by clicking a point on the contour iii) Enter the following data in the Face mill dialog box that appears: Operation name : Face mill Process : Roughing & Finishing Area to be cleared : Contour Work surface Z : -5 Material thickness : 5 Return to Z : 200 Depth of cut : 1 on cutting parameters tab menu & Give ok. To perform drilling operation (4 holes dia. ii) Select the four points for drilling. 10 depth) i) Select Machining  Hole  Drilling  Click New tool To select the tool. End mill finish . fill the dialog box that appeared Tool library : General mm Tool type : Drill . Select done & Give ‘No’ iii) Enter the following data in the drill dialog box: Operation name : Drill Work surface : 0 Hole depth : 10 Return to z : 200  Enter ok .2 flute Tool material : Carbide  Enter ok. To perform contour milling i) Select Machining  Milling  Face mill  Click New tool To select the tool. B.10 mm. fill the dialog box that appeared Tool library : General mm Tool type : End mill finish .2 flute Select tool : 2 mm dia. (NOTE: Follow the same procedure to mill the other three contours) C.

335 G00 Z3. Y-28. F452. Y-58.373 G00 Z3.361 M98 P00010055 G90 G00 X-70. Y2. TO GENERATE NC CODE Click NC program  Enter the following data in the program number page: Program file name : EX15 Program number : 15 Output directory : My document \ 2k6230 (Folder name) Enter ok.361 X-70. MACHINE SELECTION Click Machine  Choose the Fanuc OiM m/c type from machine list  Click select. Y-58.361 X-70.6 Z5. Y58. F457.335 G00 Z3. Y-58.635 X-95. Z6.373 G00 Z4. F452. X95. X95.361 X-70.6 Z4. Y-58. Y32. G01 Z2.361 X-70.361 X-70.6 G01 Z1.373 G00 Z4.635 X-95. X95. F457. X95. Y2. F457. F316.361 M98 P00010055 G90 G00 X-70. X95.373 G00 Z4. 6.2 G01 Z0. F457. X95. F653.2 G01 Z0. Y58.5.2 G01 Z0. F316. F452.00 MM. X95. X95. ROUND INSERT FACE MILL) M3 S1088 G43 H1 G54 T1 G90 G00 X95. PROGRAM: % O15 G17 G21 G0 G49 G40 G80 G90 (40. F457. F653. 7. F653. To read program.635 X-95.335 G00 . F457. F316.6 G01 Z0. F457.6 G01 Z0. X95. X95. F316.373 G00 Z4. click edit and read the program. DIA.335 G00 Z3.635 X-95. F452.6 M54 Z100.6 S1256 G01 Z0.6 G01 Z0. F653.2 G01 Z0. Y32.6 G01 Z0. Y-28. Y58. F653. TOOL PATHGENERATION Click toolpath  Click solid mode  Click start to see toolpath simulation.

05 M98 P00010057 G90 X-10. J-40. Z3.05 Y-60.05 M98 P00010057 G90 X-10. F222.789 Y-20. G01 Z-4. Z3.817 M98 P00010056 G90 G00 X60. F222. G01 X10.817 M98 P00010056 G90 G00 X60.635 X-95. I0. Z3. G01 X-10. Z3. G01 Z-1.817 X-10.817 G00 Z3. Y10.817 M98 P00010056 G90 G00 X60. G00 Z3. S3183 X-10.05 Y-10. S3183 Y10. X60. G01 Z-3. F222. G00 Z200. F222. F316.817 G00 Z3.05 M98 P00010058 G90 X-10. F222. X-10. X-10. G01 Z-2. S3819 G01 Z-5. Y-10.05 M98 P00010057 G90 X-10. F222. Y58. F152. X-10.05 M98 P00010058 G90 X-10. G01 Z-5. Y-10. Y-10.05 M98 P00010057 G90 X-10. F222. Y-10. G01 Z-3.952 X-60.817 X-10. X-10.00 MM. G01 Z-2. Y10. F106. Y-10.817 .817 X-10.817 X-10. G01 Z-5. Y-10.6 G01 Z0. X95. END MILL-FINISH-2 FLUTE) M3 S3183 G43 H2 G54 T2 X60.05 M98 P00010057 G90 X-10. F222. Z3.335 G00 Z200. F222. G02 X-20. G01 Z-3. Y-10. G01 Z-1. DIA. Y-10. S3819 G01 Z-5. M5 (5. F222. Y-10.05 M98 P00010058 G90 X-10. X-10. I0. Z3. G01 Z-4. Y-10.817 M98 P00010056 G90 G00 X60. M54 Z100. G00 Z200.05 F152.817 G00 Z3. Y-60. F452.Z3. Z3. Y10. G01 Z-1. G01 Z-2.817 G00 Z3. F222. F222. G00 Z3.789 G03 X20. F222.952 Y-20.817 G00 Z3.817 M98 P00010056 G90 G00 X60. F106. F222. Y-10. J-40. F222. Z3. Y-10.

4 G01 Z-4. Y10. X50. I0. G80 M5 G80 M56 G59 X0 Y0 Z100 M16 M30 O55 (SUB PROGRAM) G91 X-165.817 M98 P00010059 G90 G00 X10. M99 O57 (SUB PROGRAM) G91 X-50. Y-0. G00 Z200. G03 X-20.817 M98 P00010059 G90 G00 X10. Y-0. Y50. F222.952 X-60. X-10. Y0.31 G03 X-40.817 G00 Z3. Y10. X165.05 Y10. X0. Y10.05 Y60. Y10. I0. G02 X20.817 M98 P00010059 G90 G00 X10.05 M98 P00010058 G90 X-10. M54 Z100.817 G00 Z3. Y-40. Z3.373 G00 Z4. Z200.05 M98 P00010058 G90 X-10. S3183 X10. S3819 G01 Z-5. Z3. J-40.789 Y20. Y0. F457. F457.127 Y-25. G01 X10. Y10. G01 Z-3.00 MM. F222.4 G01 Z-4. S3819 G01 Z-5.361 X-165. F457. G01 Z-4. F152. G01 Z-5.004 R3.4 G01 Z-4. DIA. TWIST DRILL) M3 S891 G43 H3 G54 T3 X25. X-10.G00 Z3. F457. Z3.817 M98 P00010059 G90 G00 X10. I0. Y30. Y-0.373 M99 O56 (SUB PROGRAM) G91 X-0. Y-0. G01 Z-4. F318. F222.361 X-165. G01 X-10. F106. Y10. G01 X-10.373 G00 Z4. M5 (10.31 . F106. J40. Y30. Y10. F653. Y-10. F222. J40.373 G00 Z4. F653. Y-0.789 Y20. X-10. X-25. F89. F318. X165.05 Y25. F653.05 F152.373 G00 Z4. G01 Z-2. Y26. F222. G98 G81 Z-13.361 X-165. Z3. G01 Z-1. G01 Z-5. F653. Z3. X165. Y30. Y10. G00 Z200. X165. F222.361 X-165.952 X60. Y60. Y-0. G01 Z-4. Z3. F653. F222.817 M98 P00010059 G90 G00 X10. Y25.

F318. I0. . G01 X-10. Y-50. G01 X10. Y-10. M99 O59 (SUB PROGRAM) G91 X50. Y-0.31 Y10. Y0. Y40. X0.X-0. G02 X40. G03 X40.31 X0. I0. Y10. J40. Y0. M99 O58 (SUB PROGRAM) G91 X-50. J-40. I0. X-0. F318. G02 X-40. Y0. M99 % RESULT: Thus the NC code was generated for the component using capsmill. Y50. Y-50. Y40. J40. G01 X10. Y-40.

Sign up to vote on this title
UsefulNot useful