SlideShare a Scribd company logo
1 of 18
Interpolation Methods
1.Linear interpolation
Straight line between two points in space
2. Circular interpolation
Circular arc defined by starting point, end point, centre or radius, and direction.
3. Helical interpolation
Circular plus linear motion
4. Parabolic and cubic interpolation
Free form curves using higher order equations
Circular Interpolation
Approximation of a curved path in NC by a series of straight line segments,
where tolerance is defined on only the outside of the nominal curve.
Circular Interpolation
Approximation of a curved path in NC by a series of straight line segments,
where tolerance is defined on both the inside and outside of the nominal
curve.
Circular Interpolation
Approximation of a curved path in NC by a series of straight line
segments, where tolerance is defined on only the inside of the nominal
curve.
Machine axes
Machine axes are established according to the industry standard report EIA RS - 267A
Axes configuration
 X axes moves from right to left as you face the machine
 Y axes move toward and away from you
 The Z axes is the spindle movement up and down spindle .
 A move toward work is Z(-Z)
 A move away from work is Z(+ Z)
Dimensioning Systems
CNC Programming
 Programming consists of a series of instructions in form of letter codes
Preparatory Codes:
 G codes- Initial machining setup and establishing operating conditions
 N codes- specify program line number to executed by the MCU
 Axis Codes: X,Y,Z - Used to specify motion of the slide along X, Y, Z direction
 Feed and Speed Codes: F and S- Specify feed and spindle speed
 Tool codes: T – specify tool number
Miscellaneous codes – M codes For coolant control and other activities
Programming Key Letters
O - Program number (Used for program identification)
N - Sequence number (Used for line identification)
G - Preparatory function
X - X axis designation
Y - Y axis designation
Z - Z axis designation
R - Radius designation
F – Feed rate designation
S - Spindle speed designation
H - Tool length offset designation
D - Tool radius offset designation
T - Tool Designation
M - Miscellaneous function
Table of Important G Codes
G00 Rapid Transverse
G01 Linear Interpolation
G02 Circular Interpolation, CW
G03 Circular Interpolation, CCW
G17 XY Plane, G18 XZ Plane,G19 YZ Plane
G20/G70 Inch units
G21/G71 Metric Units
G40 Cutter compensation cancel
G41 Cutter compensation left
G42 Cutter compensation right
G codes are instructions describing machine tool movement
G43 Tool length compensation (plus)
G44 Tool length compensation (minus)
G49 Tool length compensation cancel
G80 Cancel canned cycles
G81 Drilling cycle
G82 Counter boring cycle
G83 Deep hole drilling cycle
G90 Absolute positioning
G91 Incremental positioning
Table of Important M codes
M Codes are instructions
describing miscellaneous
functions like calling the
tool, spindle rotation,
coolant on/off etc.,
Z
X
Part Program
T0101
G97 S500 M03
G01 X25 G95 F0.3
G01 Z-7.5
G01 X40 Z-15
G01 Z-25
G01 X60 Z-35
G40 G00 X200 Z100
CNC Milling example
G90 G71
T1 M6
G92 X-100 Y86 Z95
G00 X0 Y0 S2500 M3
Z12.5
G01 Z-12.5 F150
X-20 Y30
G02 X10 Y100 R80
G01 X140 Y60
G02 X150 Y0 R50
G01 X0 Y0
G00 Z12.5
G91 G28 Z0 M5
G91 G28 X0 Y0
M30
G17 G71 G90 G94 G54
T1 L90
G00 Z5 D5 M03 S500 X20 Y90
G01 Z-2 F50
G02 X60 Y-50 R40
G03 X80 Y-50 R20
G00 Z100
M30
Considering Extreme Left Top Corner(of rectangle) to be as origin
THANK YOU

More Related Content

What's hot

What's hot (20)

Numeric control
Numeric controlNumeric control
Numeric control
 
CNC AND ITS COMPONENTS
CNC AND ITS COMPONENTSCNC AND ITS COMPONENTS
CNC AND ITS COMPONENTS
 
Cnc cutting tools
Cnc cutting toolsCnc cutting tools
Cnc cutting tools
 
Numerical control machines
Numerical control machines Numerical control machines
Numerical control machines
 
Unit V CNC Machining
Unit V CNC MachiningUnit V CNC Machining
Unit V CNC Machining
 
Unit IV robotics-- Kinematics
Unit IV robotics-- KinematicsUnit IV robotics-- Kinematics
Unit IV robotics-- Kinematics
 
Cnc feed drives
Cnc feed drivesCnc feed drives
Cnc feed drives
 
Introduction to CNC machine and Hardware.
Introduction to CNC machine and Hardware. Introduction to CNC machine and Hardware.
Introduction to CNC machine and Hardware.
 
Chapter 1 fundamentals of cam
Chapter 1 fundamentals of camChapter 1 fundamentals of cam
Chapter 1 fundamentals of cam
 
14 symbols of gd&t
14 symbols of gd&t14 symbols of gd&t
14 symbols of gd&t
 
CNC Presentation
CNC PresentationCNC Presentation
CNC Presentation
 
Interpolation
InterpolationInterpolation
Interpolation
 
Unit-I Robotics
Unit-I RoboticsUnit-I Robotics
Unit-I Robotics
 
Nc Machine
Nc MachineNc Machine
Nc Machine
 
CNC MACHINE
CNC MACHINECNC MACHINE
CNC MACHINE
 
CNC machining center and CNC controllers
CNC machining center and CNC controllersCNC machining center and CNC controllers
CNC machining center and CNC controllers
 
Cnc machine training
Cnc machine trainingCnc machine training
Cnc machine training
 
Cmm ppt
Cmm pptCmm ppt
Cmm ppt
 
Cnc machine centre
Cnc machine centreCnc machine centre
Cnc machine centre
 
Mechanical CNC machine
Mechanical CNC machineMechanical CNC machine
Mechanical CNC machine
 

Similar to Interpolation and CNC Programming Techniques

Similar to Interpolation and CNC Programming Techniques (20)

CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
CNC1 (1).ppt
CNC1 (1).pptCNC1 (1).ppt
CNC1 (1).ppt
 
CNC Training.ppt
CNC Training.pptCNC Training.ppt
CNC Training.ppt
 
Cnc1
Cnc1Cnc1
Cnc1
 
CNC part programming
CNC part programmingCNC part programming
CNC part programming
 
5 g-code
5   g-code5   g-code
5 g-code
 
CNC.ppt
CNC.pptCNC.ppt
CNC.ppt
 
Lecture 25.pdf
Lecture 25.pdfLecture 25.pdf
Lecture 25.pdf
 
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptxCAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
 
CNC(computerized Numeric Coding) Lecture.pptx
CNC(computerized Numeric  Coding) Lecture.pptxCNC(computerized Numeric  Coding) Lecture.pptx
CNC(computerized Numeric Coding) Lecture.pptx
 
nc and cnc dp
nc and cnc dpnc and cnc dp
nc and cnc dp
 
9_CNC.ppt
9_CNC.ppt9_CNC.ppt
9_CNC.ppt
 
9_CNC.ppt
9_CNC.ppt9_CNC.ppt
9_CNC.ppt
 
5 g-code
5   g-code5   g-code
5 g-code
 
9 cnc (1)
9 cnc (1)9 cnc (1)
9 cnc (1)
 
9 cnc
9 cnc9 cnc
9 cnc
 
MT-II UNIT V CNC MACHINING
MT-II UNIT V CNC MACHININGMT-II UNIT V CNC MACHINING
MT-II UNIT V CNC MACHINING
 
Cnc programming basics.doc
Cnc programming basics.docCnc programming basics.doc
Cnc programming basics.doc
 

More from Ashok Mannava

Sole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptxSole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptxAshok Mannava
 
notes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptxnotes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptxAshok Mannava
 
Cell_Manufacturing.ppt
Cell_Manufacturing.pptCell_Manufacturing.ppt
Cell_Manufacturing.pptAshok Mannava
 
Computer assisted part programming.pdf
Computer assisted part programming.pdfComputer assisted part programming.pdf
Computer assisted part programming.pdfAshok Mannava
 
Group Technology Basics.ppt
Group Technology Basics.pptGroup Technology Basics.ppt
Group Technology Basics.pptAshok Mannava
 
443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-pptAshok Mannava
 
Uvl simplysupported beam
Uvl simplysupported beamUvl simplysupported beam
Uvl simplysupported beamAshok Mannava
 
Agriculture chapter 10
Agriculture chapter 10Agriculture chapter 10
Agriculture chapter 10Ashok Mannava
 
Agricultural revolution
Agricultural revolutionAgricultural revolution
Agricultural revolutionAshok Mannava
 
77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-pptAshok Mannava
 

More from Ashok Mannava (20)

Sole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptxSole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptx
 
Model QP (1).docx
Model QP (1).docxModel QP (1).docx
Model QP (1).docx
 
notes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptxnotes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptx
 
Cell_Manufacturing.ppt
Cell_Manufacturing.pptCell_Manufacturing.ppt
Cell_Manufacturing.ppt
 
Computer assisted part programming.pdf
Computer assisted part programming.pdfComputer assisted part programming.pdf
Computer assisted part programming.pdf
 
Group Technology Basics.ppt
Group Technology Basics.pptGroup Technology Basics.ppt
Group Technology Basics.ppt
 
Ie550nc
Ie550ncIe550nc
Ie550nc
 
443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt
 
Uvl simplysupported beam
Uvl simplysupported beamUvl simplysupported beam
Uvl simplysupported beam
 
What is technology
What is technologyWhat is technology
What is technology
 
Transducer
TransducerTransducer
Transducer
 
Cmm
CmmCmm
Cmm
 
Capacitance
CapacitanceCapacitance
Capacitance
 
Auto cad material
Auto cad materialAuto cad material
Auto cad material
 
L5 2018 09_17
L5 2018 09_17L5 2018 09_17
L5 2018 09_17
 
Agriculture chapter 10
Agriculture chapter 10Agriculture chapter 10
Agriculture chapter 10
 
Agricultural revolution
Agricultural revolutionAgricultural revolution
Agricultural revolution
 
77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt
 
Compressor final
Compressor finalCompressor final
Compressor final
 
Dht
DhtDht
Dht
 

Recently uploaded

(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 

Recently uploaded (20)

(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 

Interpolation and CNC Programming Techniques

  • 1. Interpolation Methods 1.Linear interpolation Straight line between two points in space 2. Circular interpolation Circular arc defined by starting point, end point, centre or radius, and direction. 3. Helical interpolation Circular plus linear motion 4. Parabolic and cubic interpolation Free form curves using higher order equations
  • 2. Circular Interpolation Approximation of a curved path in NC by a series of straight line segments, where tolerance is defined on only the outside of the nominal curve.
  • 3. Circular Interpolation Approximation of a curved path in NC by a series of straight line segments, where tolerance is defined on both the inside and outside of the nominal curve.
  • 4. Circular Interpolation Approximation of a curved path in NC by a series of straight line segments, where tolerance is defined on only the inside of the nominal curve.
  • 5. Machine axes Machine axes are established according to the industry standard report EIA RS - 267A
  • 6. Axes configuration  X axes moves from right to left as you face the machine  Y axes move toward and away from you  The Z axes is the spindle movement up and down spindle .  A move toward work is Z(-Z)  A move away from work is Z(+ Z)
  • 8. CNC Programming  Programming consists of a series of instructions in form of letter codes Preparatory Codes:  G codes- Initial machining setup and establishing operating conditions  N codes- specify program line number to executed by the MCU
  • 9.  Axis Codes: X,Y,Z - Used to specify motion of the slide along X, Y, Z direction  Feed and Speed Codes: F and S- Specify feed and spindle speed  Tool codes: T – specify tool number Miscellaneous codes – M codes For coolant control and other activities
  • 10. Programming Key Letters O - Program number (Used for program identification) N - Sequence number (Used for line identification) G - Preparatory function X - X axis designation Y - Y axis designation Z - Z axis designation R - Radius designation F – Feed rate designation S - Spindle speed designation H - Tool length offset designation D - Tool radius offset designation T - Tool Designation M - Miscellaneous function
  • 11. Table of Important G Codes G00 Rapid Transverse G01 Linear Interpolation G02 Circular Interpolation, CW G03 Circular Interpolation, CCW G17 XY Plane, G18 XZ Plane,G19 YZ Plane G20/G70 Inch units G21/G71 Metric Units G40 Cutter compensation cancel G41 Cutter compensation left G42 Cutter compensation right G codes are instructions describing machine tool movement
  • 12. G43 Tool length compensation (plus) G44 Tool length compensation (minus) G49 Tool length compensation cancel G80 Cancel canned cycles G81 Drilling cycle G82 Counter boring cycle G83 Deep hole drilling cycle G90 Absolute positioning G91 Incremental positioning
  • 13. Table of Important M codes M Codes are instructions describing miscellaneous functions like calling the tool, spindle rotation, coolant on/off etc.,
  • 14. Z X
  • 15. Part Program T0101 G97 S500 M03 G01 X25 G95 F0.3 G01 Z-7.5 G01 X40 Z-15 G01 Z-25 G01 X60 Z-35 G40 G00 X200 Z100
  • 16. CNC Milling example G90 G71 T1 M6 G92 X-100 Y86 Z95 G00 X0 Y0 S2500 M3 Z12.5 G01 Z-12.5 F150 X-20 Y30 G02 X10 Y100 R80 G01 X140 Y60 G02 X150 Y0 R50 G01 X0 Y0 G00 Z12.5 G91 G28 Z0 M5 G91 G28 X0 Y0 M30
  • 17. G17 G71 G90 G94 G54 T1 L90 G00 Z5 D5 M03 S500 X20 Y90 G01 Z-2 F50 G02 X60 Y-50 R40 G03 X80 Y-50 R20 G00 Z100 M30 Considering Extreme Left Top Corner(of rectangle) to be as origin