Skip to main content

CNC program with detailed explanation

Also Read




N05 G90 G20 G94; Program in Absolute co-ordinate system and units are in inches, Feed rate in mm/min.

N06 G28 X0 Y0 Z5 ;  Tool reference/home command , where X0 ,Y0 and Z5

N10 M06 T01; Tool change command and Select tool number 1 Tool diameter = 0.25 inch.

N15 S2000 M03; Turn on Spindle with 2000 RPM in clockwise direction.

N20 G00 X0 Y0 Z.100; Move the tool rapidly to X0 Y0 and Z0.1 inch absolute location at lower left corner.

N25 X.375 Y.375; Move tool rapidly to X.375, Y.375

N30 G01 Z.25 F80; Move tool with given feed rate of 80 mm/min to down wards in upto Z=0.25

Now the material is removing is started from X.375 Y.375 co-ordinate. 

N35 X.375 Y1.375 ; Now move the tool to X.375 , Y1.375 with Z as .25, material removed.

N40 X1.625; Move tool to X1.625

N45 Y.375; Move tool to Y = 0.375

N50 X.375 ; Move tool to X =0.375

N55 G00 Z.10 ; Now move the tool upwards upto Z = 0.1 inch rapidly.

;Upto this the rectangular boarder is created. 
; Now create the inside shapes

N60 G00 X1.25 Y.875; Move tool reaidly to X=1.25, Y= 0.875

N65 G01 Z-.25 F80; Now again move tool to down wards to remove material upto Z = 0.25 inch.

N70 G00 Z.100; Move tool upwards to Z=0.1 rapidly. 

;One hole is completed

;Now creae another hole 

N75 X.875 Y1.25; Move tool in air rapidly up to X= 0.875 and Y = 1.25 inch.

N80 G01 Z-.25 F80; Now move tool inside to work piece upto Z = -0.25 with feed as 80mm/Min.

N85 G00 Z.100; Move tool upwards to Z=0.1 rapidly. 

; Hole number 2 alos completed.
;Now generate arc shape "C" with G03

N90 G0 X0.75 Y1.000 ; move tool to X=0.75, Y=1.00 in air

N95 G01 Z-.25;

N100 G03 X1.000 Y.750 R.250; Move tool in circular interpolation with counter clockwise direction with radius of 0.25 inch to X= 1, Y = 0.75

N105 G00 Z.1; Move tool to air from work piece upto Z = 0.1 inch rapidly.

; Now the arc is completed.

;Now create the slot B

N110 G00 X1.125 Y1.125 ; Move tool to point B

N115 G01 Z-.25 F80; move tool inside the work piece.

N120 G01 X1.375 Y1.375 ; Move tool to slot end point

N125 G00 Z.1

N130 G28 X0 Y0 Z5 ;  Tool reference/home command , where X0 ,Y0 and Z5

N135 M30; Program END

Comments

Recent posts

Fluid mechanics VIVA QUESTIONS and ANSWERS

1. Define density? Ans: It is defined as the ratio of mass per unit volume of the fluid. 2. Define viscosity? Ans: It is defined as the property of fluid which offers resistance to the movement of fluid over another adjacent layer of the fluid. 3. Differentiate between real fluids and ideal fluids? Ans: A fluid, which is in-compressible and is having no viscosity, is known as ideal fluid while the fluid, which possesses viscosity, is known as real fluid. 4. What is a venturimeter? Ans: It is a device which is used for measuring the rate of flow of fluid flowing through pipe. 5. What is a notch? Ans: A notch is a device used for measuring the rate of flow of a fluid through a small channel or a tank. 6. Define buoyancy? Ans: When a body is immersed in a fluid, an upward force is exerted by the fluid on the body. This upward force is equal to the weight of the fluid displaced by the body. 7. Define meta-centre? Ans: It is defined as the point about which a body

Welding VIVA question and answers

VIVA QUESTIONS : Q1: Define welding? Ans:  Welding is a fabrication process that joins two or more materials, typically metals or thermoplastics, by melting and fusing them together using heat or pressure. Q2: What is the typical thickness of MS Plate used in general welding workshop experiments? Ans:  The thickness of the MS (Mild Steel) plate used in general welding workshop experiments can vary depending on the specific requirements of the experiment. However, commonly used thicknesses range from 3 mm to 12 mm. Q3: What is the common job material used in welding experiments? Ans:  The common job material used in welding experiments is mild steel. It is widely available, affordable, and relatively easy to work with, making it suitable for various welding applications and practice. Q4: What is the main function of an electrode in welding? Ans:  The main function of an electrode in welding is to carry the electric current necessary for the welding process and to provide filler mate

Welding-LAP JOINT

Ex. No :                                                                              Date : LAP JOINT Aim To join the given two work pieces as a lap joint by arc welding. Material used Mild Steel plates. Tools required Welding power supply  Flat file Welding rod Chipping hammer Electrode holder Wire brush Gloves and apron Earthing clamps Shield and goggles Procedure The given workpieces are thoroughly cleaned, i.e. rust, scales are removed and the  edges are filed. The electrode is held in an electrode holder and ground clamp is clamped to the  welding plates and the power is supplied. The workpieces are positioned on the table to form a “Lab joint”. The tag weld is done on the both the ends of joining plates to avoid the movement of  workpieces during welding. The welding is carried throughout the length of the workpieces on both sides by  maintaining 3mm gap between plates and the welding rod. The welded plates are allowed f

Carpentry Viva Questions

Q1: Define carpentry? Ans:  Carpentry is a skilled trade that involves working with wood to construct, install, and repair structures and objects. It encompasses various tasks such as measuring, cutting, shaping, joining, and finishing wood to create functional and aesthetically pleasing products. Q2: What are the various types of wood material used in carpentry? Ans:  The various types of wood materials used in carpentry include softwoods (such as pine, fir, cedar, and spruce) and hardwoods (such as oak, maple, mahogany, and walnut). Other wood materials used in carpentry can include plywood, particleboard, MDF (medium-density fiberboard), and engineered wood products like laminated veneer lumber (LVL) and oriented strand board (OSB). Q3: What is the sequence of operations in carpentry? Ans:  The sequence of operations in carpentry typically involves planning and design, material selection and preparation, measuring and marking, cutting and shaping, joinery or fastening, assembly,

TIN SMITHY & Sheet metal

TIN SMITHY Introduction : Many engineering and house articles such as boxes, cans, funnels, ducts etc. are made from a flat sheet of metal. The process being known as tin smithy. For this the development of the article is first drawn on the sheet metal, then cut and folded, to form the required shape of the article. Allowance should be given in the drawing stage for folding and bending. This allowance depends upon the radius of the bend and thickness of the sheet metal. Sheet Metal Materials : A variety of metals are used in a sheet metal shop such as galvanized Iron, black, Iron, tin, Stainless Steel, copper and Aluminium. Hand Tools : The common hand tools used in sheet metal work are steel, try square, Wire gauge, Scriber, Ball peen hammer, Nylon Mallet, Snips Divider, Stakes, Cutting plier and Soldering Iron. Here, the details of tools that are being equipped by our workshop purpose only are presented. Wire Gauge: The thickness of sheet is referred in numbers known

sheet metal rectangular tray making

Aim :- To make a rectangular tray from a given metallic sheet. Tools Required MALLET Snip Stake STEEL RULE Ball peen HAMMER Straight EDGE RIVETS Scriber Procedure The given metal sheet is smoothed using mallet. The measurements of rectangular tray (tray development drawing) is drawn on the sheet with given dimensions using the scriber and steel rule. The sheet is cut as per the marked dimensions by straight snips. Fold or bend as per the given order using mallet and stake. Bending is done as per the given dimension using the stake and mallet. Rivet the folded sheet by using the given rivets and hammer. Safety Precautions Each cut you make exposes sharp edges and creates burrs that can slice a finger. Must Use Hand gloves when cutting the sheet. Metal waste also has hazardous edges. So

SINGLE ‘V’ BUTT JOINT

Experiment No.:                                                                                      Date: SINGLE ‘V’ BUTT JOINT Aim: To prepare a single ‘V’ Butt Joint as per dimensions given in the sketch. Material Required: Mild Steel plates: 80mm X 40mm X 6mm = 2 Nos Mild Steel electrode ¢ 3.15 mm Equipment required: A.C. Transformer with all welding accessories like Electrode holder, cables. Tool Required: Steel rule 300mm  Scriber 150mm Flat file 300mm Try square 200mm Flat Tong 450mm  Chipping hammer 200mm Ball peen hammer 750mm  Wire brush Welding screen Sequence of Operations: 1. Marking  2. Filing  3. Welding  4. Finishing Procedure: Take two Mild steel plates of size 80mm X 40mm X 6mm. Fix the work pieces one by one in bench vice and file the faces of work pieces using flat file as per dimensions. Then mark the pieces using steel rule and scriber as per drawing. Again fix the work pieces one by one in bench vice and file the pieces to

FACING, PLAIN TURNING AND STEP TURNING

Ex. No :                                                                                                          Date : FACING, PLAIN TURNING AND STEP TURNING Aim                       To perform turning, facing and chamfering on a cylindrical work piece. Material used                       Mild steel cylindrical rod. Tools required Lathe Three-jaw chuck Chuck key Vernier caliper Single-point cutting tool Procedure First loosen the jaw in the chuck key to position the work piece, and then tighten the  jaws. Fix the cutting tool in the toolpost. Switch on the lathe and move the carriage near to the workpiece. Give it a small cross  feed, and then move carriage longitudinally to the required length slowly. Bring the carriage to the original position, give a small cross feed and move carriage  longitudinally. Repeat this step until required diameter is obtained. To get smooth surface give a very small feed when the diameter is nearing

Coordinate systems in AutoCAD

World Coordinate System (WCS), User Coordinate System (UCS). There is 4 AutoCAD coordinates system you should know. Absolute coordinate system , Relative Rectangular coordinate system, Relative Polar coordinate system and Interactive system(Direct coordinate system). Absolute Coordinate system: Absolute Coordinates uses the Cartesian System to specify a position in the X, Y, and (if needed) Z axes to locate a point from the 0-X, 0-Y, and 0-Z (0,0,0) point. To locate a point using the Absolute Coordinate system, type the X-value, Y-value, and, if needed, the Z-value separated by commas (with no spaces). Syn: Enter LINE command: L [Enter] Start line at point A: 0,0 [Enter] End first line at point B: 2,2 [Enter] End of second line at point C: 2,3 [Enter] Examples shown bellow. Relative Rectangular Coordinate system: After first points entered, your next points can be entered by specifying the next coordinate compare/relative f

MOULD WITH SPLIT PATTERN

Ex. No :                                                                                       Date : MOULD WITH SPLIT PATTERN Aim To make the mould for the given split pattern. Material required •  Moulding board •  Riser pin •  Moulding box •  Sprue pin •  Green sand •  Rammer •  Trowel •  Lifter •  Riddle •  Draw spike •  Gate cutter  •  Bellow •  Vent rod  Procedure 1. Place the moulding board on a horizontal surface. 2. The drag box is placed above the moulding board. Now one piece      of pattern is kept at  center of the drag as shown in figure. 3. The parting sand is spread before we keep the pattern. 4. Facing sand is sprinkled over the pattern to a depth of 2mm. then      greensand is filled  over it. 5. Proper ramming is done on the green sand to get a air free                  packing. 6. Excess sand is remove with strike off bar. 7. The drag is inverted upside down. 8. The cope box is place over the drag box. 9.

Search This Blog