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

PLUMBING Introduction Plumbing deals with the laying of a pipeline. A craftsman may be perfectly proficient with the hammer, saw and other tools, but the faces difficulties with leaking pipes and overflowing toilets. Many people rush to a plumber on seeking a tripping pipe, but a person with a little knowledge of the sanitary system can control this problem easily, saving time and, one with help of few tools. Plumbing tools The tools used by a plumber can be classified as follows Pipe wrench  Pipe vice Pipe cutter Hacksaw  Dies Files and Rasps Plumb bob Pipe wrench A pipe wrench is used for holding and turning the pipes, rods and machine prts. Wrenches are classified as follows. 1.Fixed wrenches  2. Adjustable wrenches. Pipe vice A pipe vice is fitted on the work bench. This has a set of jaws to grip the pipe and prevent it from turning while cutting, threading and fitting of bends, couplings etc. The yoke vice is co...

Isometric drawings for practice in AutoCAD

What is Isometric Drawing? Isometric drawing is a method of visually representing three-dimensional objects in two dimensions. It allows for a clear and comprehensive depiction of complex structures by keeping the scale consistent and eliminating distortion. Isometric drawings use a 30-degree angle from the horizontal in all three axes (X, Y, and Z), creating a pseudo-3D effect where the height, width, and depth are equally foreshortened. Creating Isometric Drawings in AutoCAD AutoCAD provides tools and settings that make creating isometric drawings straightforward. Here’s a step-by-step guide: Step 1: Set Up Isometric Snap/Grid 1. Enable Isometric Snap/Grid:    - Type `SNAP` in the command line and press `Enter`.    - Type `Style` and press `Enter`.    - Choose `Isometric` and press `Enter`. 2. Switch Between Isoplanes:    - Type `F5` or `CTRL+E` to toggle between the top, right, and left isoplanes. Step 2: Draw Isometric Circles and Arcs 1. Isom...

Welding introduction

WELDING Introduction : Welding is a process of joining two similar or dissimilar metals by the application of heat with or without application of pressure and addition of filler material. The welding is extensively used in manufacturing industry, construction industry and maintenance work, replacing riveting and bolting, to a greater extent.  The various welding processes are 1. Electric arc welding 2. Gas welding 3. Thermit welding 4. Resistance welding and 5. Friction welding However only electric arc welding is discussed here. In this process, the work pieces are melted along a common edge, to their melting point and then a filler metal is introduced to form the joint on solidification. The materials to be welded must be free from rust, scale oil or other impurities, so as to obtain a sound weld. Arc Welding: In arc welding, the heat required for joining the metals is obtained from an electric arc. Transformers or motor generator sets are used as arc welding ma...

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...

Composite materials Viva Question and Answers

Q1- What is a composite? a. Recycled waste b. A chemical reaction c. The latest computer software d. A structural material consisting of two or more constituents.  Answer: A composite is a structural material which consists of combining two or more constituents Q2- Advanced composites are a. naturally found b. traditionally used in aerospace industries c. low performance composites Answer: Advanced composites are traditionally used in aerospace industries  Q3- Composites are easy to repair a. True b. False Answer:   Composites are generally difficult to repair  Q4- What fiber factors contribute to the mechanical performance of a composite? a. Length b. Orientation c. Shape d. All of the above Answer:   Length, orientation, and shape all contribute to the mechanical performance of a composite  Q5- PMC stands for: a. Polymer Metal Composition b. Polymer Matrix Composite c. Polyethylene Metal Composition Answer:   PMC stands for Polymer Matrix Composite...

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 wor...

Step by step procedure to insert 3rd Angle Projection symbol in Solidworks

Step 1: open solidworks drawing tool with default or your required sheet size. Then the object view in paper space. Step 2: 1. Click on Annotation tab and select "Note". 2. Then add the note at title block. 3. Then click on add symbol in properties manager. 4. Then click on add more symbols. Step 3: Check the symbol in symbol library categories. if you found the symbol then click on "OK" button. if you not found the 3rd angle projection in the symbol library categories then see the Step 4 in this page. Step 4: 1. Go to this file location from your computer by pasting the below in your windows explorer or browse from your computer or search "gtol.sym" and open the file location by using right clicking on the searchable file. C:\ProgramData\SOLIDWORKS\SOLIDWORKS 2019\lang\english 2. Then copy the "gtol.sym" file then paste this file in anywhere you like. here i'm pasting this file in desktop > Solidworks > pr...

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 ...

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 m...

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 fasteni...

Search This Blog