SlideShare a Scribd company logo
1 of 14
BASIC INFORMATION OF CNC
PROGRAM
• Controlled by G and M codes.
• These are number values and co-ordinates.
• Each number or code is assigned to a particular operation.
• Manually Programmed by machine operators.
• G & M codes are automatically generated by the computer software.
HOW CNC WORKS
• The tool or material moves automatically.
• Larger machines have a machine control unit (MCU) which manages
operations.
• Movement is controlled by motors.
• Feedback is provided by sensors.
• Tool magazines are used to change tools automatically.
FEATURES OF CNC MACHINERY
� A Part Program is a list of coded instructions which describes how the design
component, or part, will be manufactured.
� The part program can be further broken down into separate lines of data, each line
describing a particular set of machining operations. These lines, which run in
sequence, are called blocks.
� A block of data contains words, sometimes called codes. Each word refers to a
specific cutting/movement command or machine function, which includes the G
and M code groups. Each program word is composed from a letter called the
address, along with a number.
N2 G91 G0 X0 Y0 Z0
N3 M6 T1
N4 G43 H1
N5 M3 S3000
Composition of a Part Program
Composition of a Part Program
N08 G01 Z-0.5 F40 BLOCK EXAMPLE – N08 G01 Z-0.5 F40
WORD EXAMPLE –
G01
ADDRESS EXAMPLE -
G
Addresses
Address Refers to
N refers to the block number.
G refers to the G code (Preparatory function).
X refers to the absolute/incremental distance travelled by the slide tool
in the X axis direction.
Y refers to the absolute/incremental distance travelled by the slide tool
in the Y axis direction.
Z refers to the absolute/incremental distance travelled by the slide tool
in the Z axis direction.
F refers to the feed rate.
M refers to the M code (Miscellaneous function).
S refers to the spindle speed.
T refers to the tooling management.
Each
Coordinates System
� Absolute Coordinates:(G90)
The addresses X, Y and Z within a program, when G90 (Absolute
co-ordinates) is active, relate to a coordinate position from the
work piece datum (the zero position).
Coordinates System
Example :
� Incremental Coordinates:(G91)
The addresses X, Y and Z within a program, when G91
(Incremental co-ordinates) is active, relate to the individual axis
movements required to reach the new position, from the last
position reached by the tool.
Coordinates System
� Rapid Positioning (G0)
The G0 code executes a non cutting movement, at a rapid feed rate, to
a specific co-ordinate position. A G0 command is written in the
following format:
G0 X _ _ _ _ Y_ _ _ _ Z _ _ _ _ ;
� Liner Interpolation (G01)
The G01 code executes a cutting movement following a straight line,
at a set feed rate.
G01 X _ _ _ _ Y_ _ _ _ Z _ _ _ _F_ _ _ _ ;
� Circular Interpolation (G02,G03)
� The G02 code executes a cutting movement following a clockwise
circular path, at a set feed rate.
� The G03 code executes a cutting movement following a
counterclockwise circular path, at a set feed rate
G Codes
Preparatory Functions
G0 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
G81 Drilling cycle
G82 Counter boring cycle
G83 Deep hole drilling cycle
G90 Absolute positioning
G91 Incremental positioning
Table of Important G codes
M00 Program stop
M01 Optional program stop
M02 Program end
M03 Spindle on clockwise
M04 Spindle on counterclockwise
M05 Spindle stop
M06 Tool change
M08 Coolant on
M09 Coolant off
M30 Program stop, reset to start
Table of Important M codes
Automatic Part Programming
AUTOMATIC GENERATION OF CNC PROGRAMS THROUGH SOFTWARE
Make 3D model
Define Tool
CNC data
Simulate
cutting
THANK
YOU

More Related Content

Similar to CNC(computerized Numeric Coding) Lecture.pptx

CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASHCNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASHVed Prakash
 
CNC PART PROGRAMMING.pptx
CNC PART PROGRAMMING.pptxCNC PART PROGRAMMING.pptx
CNC PART PROGRAMMING.pptxAtharvaJagtap15
 
Cam presentation..
Cam presentation..Cam presentation..
Cam presentation..Akash Maurya
 
Cnc part programming 4 unit
Cnc part programming 4 unitCnc part programming 4 unit
Cnc part programming 4 unitpalanivendhan
 
Computer integrated Manufacture & design Lab Manual
Computer integrated Manufacture & design Lab  ManualComputer integrated Manufacture & design Lab  Manual
Computer integrated Manufacture & design Lab ManualSpikeAerotek
 
Cnc Programming Basics
Cnc Programming BasicsCnc Programming Basics
Cnc Programming Basicsshlxtn
 
7-CNC_Programming_For_Lathe_na_eng.pdf
7-CNC_Programming_For_Lathe_na_eng.pdf7-CNC_Programming_For_Lathe_na_eng.pdf
7-CNC_Programming_For_Lathe_na_eng.pdfssuser46f1ac
 
CNC-LATHE MPP1.ppt
CNC-LATHE MPP1.pptCNC-LATHE MPP1.ppt
CNC-LATHE MPP1.pptdharma raja`
 
CNC Programming Basics
CNC Programming BasicsCNC Programming Basics
CNC Programming BasicsSupanShah2
 
Cnc pgrming seminar-
Cnc pgrming   seminar-Cnc pgrming   seminar-
Cnc pgrming seminar-abhipawar123
 

Similar to CNC(computerized Numeric Coding) Lecture.pptx (20)

Me3m02 expt p3
Me3m02 expt p3Me3m02 expt p3
Me3m02 expt p3
 
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASHCNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
 
CNC PART PROGRAMMING.pptx
CNC PART PROGRAMMING.pptxCNC PART PROGRAMMING.pptx
CNC PART PROGRAMMING.pptx
 
Cam presentation..
Cam presentation..Cam presentation..
Cam presentation..
 
Cnc part programming 4 unit
Cnc part programming 4 unitCnc part programming 4 unit
Cnc part programming 4 unit
 
cnc_codes_and_letters.ppt
cnc_codes_and_letters.pptcnc_codes_and_letters.ppt
cnc_codes_and_letters.ppt
 
Computer integrated Manufacture & design Lab Manual
Computer integrated Manufacture & design Lab  ManualComputer integrated Manufacture & design Lab  Manual
Computer integrated Manufacture & design Lab Manual
 
5 g-code
5   g-code5   g-code
5 g-code
 
Cnc Programming Basics
Cnc Programming BasicsCnc Programming Basics
Cnc Programming Basics
 
Navjot Singh Thakur.pptx
Navjot Singh Thakur.pptxNavjot Singh Thakur.pptx
Navjot Singh Thakur.pptx
 
7-CNC_Programming_For_Lathe_na_eng.pdf
7-CNC_Programming_For_Lathe_na_eng.pdf7-CNC_Programming_For_Lathe_na_eng.pdf
7-CNC_Programming_For_Lathe_na_eng.pdf
 
Cnc programming basics.doc
Cnc programming basics.docCnc programming basics.doc
Cnc programming basics.doc
 
CNC-LATHE MPP1.ppt
CNC-LATHE MPP1.pptCNC-LATHE MPP1.ppt
CNC-LATHE MPP1.ppt
 
CNC Programming Basics
CNC Programming BasicsCNC Programming Basics
CNC Programming Basics
 
Cnc pgrming seminar-
Cnc pgrming   seminar-Cnc pgrming   seminar-
Cnc pgrming seminar-
 
Cnc programming
Cnc programmingCnc programming
Cnc programming
 
Cncprogramming
CncprogrammingCncprogramming
Cncprogramming
 
Cnc programming
Cnc programmingCnc programming
Cnc programming
 
5 g-code
5   g-code5   g-code
5 g-code
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 

Recently uploaded

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
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
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
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
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
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
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
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
 
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
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
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
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
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
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 

Recently uploaded (20)

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
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
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
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
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
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
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
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...
 
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 )
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
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
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
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
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 

CNC(computerized Numeric Coding) Lecture.pptx

  • 1. BASIC INFORMATION OF CNC PROGRAM
  • 2. • Controlled by G and M codes. • These are number values and co-ordinates. • Each number or code is assigned to a particular operation. • Manually Programmed by machine operators. • G & M codes are automatically generated by the computer software. HOW CNC WORKS
  • 3. • The tool or material moves automatically. • Larger machines have a machine control unit (MCU) which manages operations. • Movement is controlled by motors. • Feedback is provided by sensors. • Tool magazines are used to change tools automatically. FEATURES OF CNC MACHINERY
  • 4. � A Part Program is a list of coded instructions which describes how the design component, or part, will be manufactured. � The part program can be further broken down into separate lines of data, each line describing a particular set of machining operations. These lines, which run in sequence, are called blocks. � A block of data contains words, sometimes called codes. Each word refers to a specific cutting/movement command or machine function, which includes the G and M code groups. Each program word is composed from a letter called the address, along with a number. N2 G91 G0 X0 Y0 Z0 N3 M6 T1 N4 G43 H1 N5 M3 S3000 Composition of a Part Program
  • 5. Composition of a Part Program N08 G01 Z-0.5 F40 BLOCK EXAMPLE – N08 G01 Z-0.5 F40 WORD EXAMPLE – G01 ADDRESS EXAMPLE - G
  • 6. Addresses Address Refers to N refers to the block number. G refers to the G code (Preparatory function). X refers to the absolute/incremental distance travelled by the slide tool in the X axis direction. Y refers to the absolute/incremental distance travelled by the slide tool in the Y axis direction. Z refers to the absolute/incremental distance travelled by the slide tool in the Z axis direction. F refers to the feed rate. M refers to the M code (Miscellaneous function). S refers to the spindle speed. T refers to the tooling management. Each
  • 7. Coordinates System � Absolute Coordinates:(G90) The addresses X, Y and Z within a program, when G90 (Absolute co-ordinates) is active, relate to a coordinate position from the work piece datum (the zero position).
  • 9. � Incremental Coordinates:(G91) The addresses X, Y and Z within a program, when G91 (Incremental co-ordinates) is active, relate to the individual axis movements required to reach the new position, from the last position reached by the tool. Coordinates System
  • 10. � Rapid Positioning (G0) The G0 code executes a non cutting movement, at a rapid feed rate, to a specific co-ordinate position. A G0 command is written in the following format: G0 X _ _ _ _ Y_ _ _ _ Z _ _ _ _ ; � Liner Interpolation (G01) The G01 code executes a cutting movement following a straight line, at a set feed rate. G01 X _ _ _ _ Y_ _ _ _ Z _ _ _ _F_ _ _ _ ; � Circular Interpolation (G02,G03) � The G02 code executes a cutting movement following a clockwise circular path, at a set feed rate. � The G03 code executes a cutting movement following a counterclockwise circular path, at a set feed rate G Codes Preparatory Functions
  • 11. G0 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 G81 Drilling cycle G82 Counter boring cycle G83 Deep hole drilling cycle G90 Absolute positioning G91 Incremental positioning Table of Important G codes
  • 12. M00 Program stop M01 Optional program stop M02 Program end M03 Spindle on clockwise M04 Spindle on counterclockwise M05 Spindle stop M06 Tool change M08 Coolant on M09 Coolant off M30 Program stop, reset to start Table of Important M codes
  • 13. Automatic Part Programming AUTOMATIC GENERATION OF CNC PROGRAMS THROUGH SOFTWARE Make 3D model Define Tool CNC data Simulate cutting