0% found this document useful (0 votes)
34 views30 pages

Basic of CNC Machine For Mechanical Engineer

Basic CNC operations codes for machine learning.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views30 pages

Basic of CNC Machine For Mechanical Engineer

Basic CNC operations codes for machine learning.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 30

Why Advance Machining comes in

Practice
NC CNC DNC ANC FMS CAD
CAM CIM
Conventional Machining
Component
Drawing

Process
Planning

Operator

Machine

Product
Advance Machining
Component
Drawing

Process
Planning

Programmer

Tape Control Unit


Prepration

Product Machine
CNC LATHE (FANUC)
Parts Made by Advanced Machining
Processes

(a)
(b)

Figure 27.1 Examples of parts produced by advanced machining processes. (a)


Samples of parts produced from waterjet cutting. (b) Turbine blade, produced by
plunge EDM, in a fixture to produce the holes by EDM. Source: (a) Courtesy of Omax
Corporation. (b) Courtesy of Hi-TEK Mfg., Inc.
Part Programming Geometry
Co-ordinate System for a CNC Lathe
Machine Zero point (M)
Workpiece Zero Point (W)
Reference Point (R)
CNC LATHE (MTAB)
Program build-up for CNC Lathe using FANUC
System.

CNC Program can be divided into three parts.

1. Start-up Program
2. Profile Program
3. End of the Program
1. Start-up Program

O1000
G21 G98
G28 U0 W0
M06 T1
M03 S1500
G00 X32 Z5
Explanation:
O1000:- While writing a program on FANUC controller first line has to
be started with letter “O” followed by four digit number which specifies the
program number.

G21 G98:- G21 - specifies that program is done in metric units


G98 gives the unit of feed in mm / min

G28 U0 W0:- Makes the tool to go to home position. U & W are secondary
movements about x and z axis.

M06 T1:- Tool Change with tool position No: 1

M03 S1500:- Makes the spindle rotation in clockwise with spindle rotates at 1500
RPM

G00 X32 Z5:- G00 gives rapid position of the tool to a point X32 Z5. This is
just above the billet. This point is called as the Tool entry Point.
2. Profile Program:

Profile program is based on the given part


drawing.
3. End of the Program

G28 U0 W0
M05
M30

G28 U0 W0:- Makes the tool to go to home position. U & W


are secondary Movements about X
and Z axis.
M05 :- Stop the Spindle
M30:- program stop
*Miscellaneous Function (M Codes)
M00-Program Stop
M01-Optional Stop
M02-Program End
M03-Spindle Rotation Clockwise
M04-Spindle Rotation Counter Clockwise
M05-Spindle Stop
M06-Tool Change
M08-Coolant On
M09-Coolant Off
M10-Chuck Open
M11-Chuck Close
M30-Program Stop and Rewind
Miscellaneous Function (M Codes)

M62-Output 1 On
M63-Output 2 On
M64-Output 1 Off
M65-Output 2 Off
M66-Wait input 1 On
M67-Wait input 2 On
M76-Wait input 1 Off
M77-Wait input 2 Off
M98-Sub-program Call
M99-Sub-program Exit
G-Codes
 G00 Rapid Motion Positioning
 G01 Linear Interpolation Motion
 G02 CW Circular Interpolation Motion / G03 CCW
Circular Interpolation Motion
 G04 Dwell
 G10 Set Offsets
 G17 XY Plane, G18 ZX Plane and G19 YZ Plane
 G18 ZX Plane Selection
 G18 ZX Plane Selection
 G20 Select Inches / G21 Select Metric
G-Codes
 G28 Return To Machine Zero, set optional G29
Reference point
 G40 Tool Nose Compensation Cancel
 G41 Tool Nose Compensation Left / G42 TNC Right
 G70 Finishing Cycle
 G71 O.D./I.D. Stock Removal Cycle
 G72 End Face Stock Removal Cycle
 G73 Irregular Path Stock Removal Cycle
 G74 End Face Grooving Cycle, Peck Drilling
 G75 O.D./I.D. Grooving Cycle
 G76 Threading Cycle, Multiple Pass
G-Codes
 G90 O.D./I.D. Turning Cycle
 G92 Threading Cycle
 G94 End Facing Cycle
 G95 Live Tooling Rigid Tap (Face)
 G96 Constant Surface Speed ON
 G97 Constant Surface Speed OFF
 G98 Feed Per Minute
 G99 Feed Per Revolution
G00: Fast Traverse
G01: Linear Traverse
G02 CW Circular Interpolation Motion / G03 CCW
Circular Interpolation Motion
Work Part Zero Procedure

CHUCK

WORKPIECE

TOOL
Facing Cycle (G94)

 This cycle is used for stock removal in parallel


tool path. It is equivalent of
1. Rapid to Z Position
2. Feed to X Position
3. Feed to start Z Position
4. Rapid to start X Position
Facing Cycle (G94) Format:

G94 X Z F

X - Diameter to which the movement is being made .


Z - The Z axis co-ordinate to which the movement is
being made
F - Feed Rate
 O1000 ( FACING OPERATION)
 G21 G98
 G28 U0 W0
 M06 T1
 M03 S1500
 G00 X10 Z4
 G94 X0 Z-0.5 F.5
 Z-.5
 Z-1
 Z-1.5
 Z-2
 G28 U0 W0
 M05
 M30
Turning Cycle (G90)

 This cycle is used for stock removal in parallel tool path.


This cycle performs four distinct moves with one line of
information. It is equivalent of
 1. Rapid to X Position
 2. Feed to Z Position
 3. Feed to start X Position
 4. Rapid to start Z Position
Turning Cycle (G90) Format:

G90 X Z F

 X - Diameter to which the movement is being made


 Z - The Z axis co-ordinate to which the movement is
being made
 F - Feed Rate
O1001 ( STEP TURNING)
G21 G98 – (Initial Settings.)
G28 U0 W0 – (Going to home position.)
M06 T1 – (Tool Change Position No. 01.)
M03 S1500 –(Spindle clockwise with 1500
RPM.)
G00 X33 Z5 –(Tool Moving to Tool Entry Point of
X33 Z5 at Rapid Traverse) X27 Z-14
X26
G90 X31 Z-26 F100 – (Calling G90 Cycle and
defining first depth X25
of cut) X24
X23
X30
X22
X29 G28 U0 W0
X28 M05
M30

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy