SlideShare a Scribd company logo
1 of 36
Download to read offline
CNC Programming
Hands on Training on ‘CNC Programming’ Date: 08-07-2017
Presented by
Mohamed Ismail A
Assistant Professor
Mechatronics
Alpha Breathing
2
Breath In
Breath Out
Learning through evocation
3
CNC Programming
4
General Objective
5
To Create CNC programming for the part diagram
Specific Objectives
6
Students will able to
SO 1: List the types of controllers used in machines .
(E) (R-F).
SO 2: generate the CNC program for the given part
diagram . ( E) (Cr-C).
7
Taxonomy of Objectives
Knowledge Dimension The Cognitive Process Dimension
Remember Understand Apply Analyse Evaluate Create
A. Factual Knowledge
1
B. Conceptual Knowledge
2
C. Procedural Knowledge
D. Meta Cognitive
Knowledge
Pre requisite
8
1.Basic workshop Laboratory.
2.Manufacturing technology
❖ Coordinate systems.
❖ Address Characters.
❖ Offsets.
❖ Unit Considerations.
❖ G-codes.
❖ M-codes.
❖ Simple Programming.
Contents
Coordinate system
❑ Numbers which indicate the location of a point relative to
a fixed reference point (the origin).
Types of Coordinate System
❖ Absolute Method
❖ Incremental Method
Absolute method
Uses X, Y, and sometimes a Z-axis to establish a point
some distance from a common Reference point (origin)
Examples:
10
30
40
Incremental method
Point at some distance is established from its Previous
point(origin).
In this case reference point not common.
Example:
10
20
10
Two Axes CNC
Z – Horizontal
X - Vertical
Point Establishment in Absolute
Method
points axes
Z X
p1 0 0
p2 20 0
p3 20 5
p4 10 5
p5 10 20
p6 0 20
Take p1 as reference point
Point Establishment in Incremental
Method
points axes
Z X
p1 0 -20
p2 20 0
p3 0 5
p4 -10 0
p5 0 15
p6 -10 0
Point Establishment in Incremental
Method
points axes
Z X
p1 -10 0
p2 0 15
p3 -10 0
p4 0 -20
p5 20 0
p6 0 5
ADDRESS CHARACTERS
O _ _ _ _ Program Name
It must start with ‘O’ followed by 4 digits 0000 to 9999
T_ _ _ _ Tool number
It must be start with ‘T’ followed by four digits whereas first two
digit represents tool number (01 to 12) and the next two digit
represents offset number (01 to 64)
A Angle
R Radius
F Feed Rate(mm/rev)
S Spindle Speed (rpm)
OFFSETS IN CNC
Offset - compensation of something
Geometry offset:
difference between machine’s(Tool) reference point and
work’s reference point
OFFSETS IN CNC
Wear offset:
• Compensation of an error (difference between observed
dimension and desired dimension)
• The value which is given to compensate the worn out of the
tool.
Unit Considerations
Sl.
no.
Input Machine
consideration
1) 1 1 micron
2) 1.0 1mm
3) 0.1 100 microns
Note: 1mm = 1000 microns
G-code
Preparatory code- where and how the tool has to move.
G00 - Rapid Traverse (syntax: G00 X_ Z_)
G01 - Linear Interpolation (G00 X_ Z_ F_)
G02 - Circular Interpolation Clockwise (G02 X_ Z_ R_ F_ )
G03 - Circular Interpolation Counter Clockwise. (G02 X_ Z_ R_ F_ )
G28 - Return to home position (G28 U0 W0)
G97 - Constant Spindle Speed (G97 S1500 M03)
G50 - Maximum Spindle Speed (G50 S1500)
M-code
Miscellaneous code (diverse characteristics)
M00 - Program end
M01 - Optional Stop
M03 - Spindle ON Clockwise
M04 - Spindle ON Counter Clockwise
M05 - Spindle OFF
M06 - Automatic Tool Changer
M07&M08- Coolant ON
M09 - Coolant OFF
M30 - Program End & Rewind
Part Diagram for Facing Process
44
Φ50 Φ50
40
All Dimensions are in mm
Raw Material Finished
Component
CNC Program for Facing
• O1234
• G28 U0 W0
• T0101
• G97 S2000 M03
• G00 X 52.0 Z 2.0 M07
• Z -2.0
• G01 X -1.0 F0.2
• G00 X52.0 Z 0.0
• Z -4.0
• G01 X-1.0 F0.15
• G28 U0 W0
• M05
• M09
• M30
• %
(0,0) Z
44
-Z
-50
50
-X
X
Part Diagram for Facing &
Turning Process
54
Φ66 Φ60
50
All Dimensions are in mm
Raw Material Finished
Component
CNC Program for Facing and Turning
• O1234
• G28 U0 W0
• T0101
• G97 S2000 M03
• G00 X 68.0 Z 2.0 M07
• Z -2.0
• G01 X -1.0 F0.2
• G00 X68.0 Z-2.5
• X -4.0
• G01 X-1.0 F0.2
• G00 X64.0
• G01 Z-54.0 F0.2
• G00 X66.0 Z-3.0
• G01 Z-54.0 F0.2
• G00 X60.0 Z-3.5
• G01 Z-54
• G28 U0 W0
• M05
• M09
• M30
• %
STARTUP (Common to all prog.)
FACING
TURNING
ENDING (Common to all prog.)
Queries ?
Program for Practice
34
Φ54
Φ48
20
All Dimensions are in mm
Raw Material Finished
Component
10
Φ40
Formative Assessment II
• ___ code is used for circular
interpolation clockwise direction.
• G01
• G02
• G03
• G04
Stimulating question
Mind Map
CNC
PROGRAMMING
G codes M
codes
Coordinate
systems
Program 1
Program 2
Discussion
33
Summary
34
•Thank you
Thank You:)

More Related Content

Similar to Hands-on CNC programming training

introduction to cnc machines
 introduction to cnc machines introduction to cnc machines
introduction to cnc machinesSTAY CURIOUS
 
INDUSTRIAL TRAINING CIHT
INDUSTRIAL TRAINING CIHTINDUSTRIAL TRAINING CIHT
INDUSTRIAL TRAINING CIHTASHISH ACHARJEE
 
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.pptxsahils237192101
 
Introduction to CNC machines.pptx
Introduction to CNC machines.pptxIntroduction to CNC machines.pptx
Introduction to CNC machines.pptxDr.M BALA THEJA
 
Cam presentation..
Cam presentation..Cam presentation..
Cam presentation..Akash Maurya
 
CAD CAM Exercise CNC PROGRAMMING LATHE.pptx
CAD CAM Exercise CNC PROGRAMMING LATHE.pptxCAD CAM Exercise CNC PROGRAMMING LATHE.pptx
CAD CAM Exercise CNC PROGRAMMING LATHE.pptxPraveen Kumar
 
Computer numerical control (CNC)
Computer numerical control (CNC)Computer numerical control (CNC)
Computer numerical control (CNC)Sudip Phuyal
 
Computer integrated Manufacture & design Lab Manual
Computer integrated Manufacture & design Lab  ManualComputer integrated Manufacture & design Lab  Manual
Computer integrated Manufacture & design Lab ManualSpikeAerotek
 
COMPUTER NUMERICAL CONTROL MACHINE
COMPUTER NUMERICAL CONTROL MACHINECOMPUTER NUMERICAL CONTROL MACHINE
COMPUTER NUMERICAL CONTROL MACHINEGopal Bhargava
 
CNC-LATHE MPP1.ppt
CNC-LATHE MPP1.pptCNC-LATHE MPP1.ppt
CNC-LATHE MPP1.pptdharma raja`
 
Computer Numerical Control (CNC) & Manufacturing Automation
Computer Numerical Control (CNC) & Manufacturing AutomationComputer Numerical Control (CNC) & Manufacturing Automation
Computer Numerical Control (CNC) & Manufacturing AutomationSTAY CURIOUS
 

Similar to Hands-on CNC programming training (20)

CNC Milling
CNC MillingCNC Milling
CNC Milling
 
Cnc programming basics.doc
Cnc programming basics.docCnc programming basics.doc
Cnc programming basics.doc
 
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
 
introduction to cnc machines
 introduction to cnc machines introduction to cnc machines
introduction to cnc machines
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
INDUSTRIAL TRAINING CIHT
INDUSTRIAL TRAINING CIHTINDUSTRIAL TRAINING CIHT
INDUSTRIAL TRAINING CIHT
 
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
 
Introduction to CNC machines.pptx
Introduction to CNC machines.pptxIntroduction to CNC machines.pptx
Introduction to CNC machines.pptx
 
Cam presentation..
Cam presentation..Cam presentation..
Cam presentation..
 
CAD CAM Exercise CNC PROGRAMMING LATHE.pptx
CAD CAM Exercise CNC PROGRAMMING LATHE.pptxCAD CAM Exercise CNC PROGRAMMING LATHE.pptx
CAD CAM Exercise CNC PROGRAMMING LATHE.pptx
 
Computer numerical control (CNC)
Computer numerical control (CNC)Computer numerical control (CNC)
Computer numerical control (CNC)
 
Computer integrated Manufacture & design Lab Manual
Computer integrated Manufacture & design Lab  ManualComputer integrated Manufacture & design Lab  Manual
Computer integrated Manufacture & design Lab Manual
 
COMPUTER NUMERICAL CONTROL MACHINE
COMPUTER NUMERICAL CONTROL MACHINECOMPUTER NUMERICAL CONTROL MACHINE
COMPUTER NUMERICAL CONTROL MACHINE
 
CNC-LATHE MPP1.ppt
CNC-LATHE MPP1.pptCNC-LATHE MPP1.ppt
CNC-LATHE MPP1.ppt
 
Lecture 25.pdf
Lecture 25.pdfLecture 25.pdf
Lecture 25.pdf
 
Computer Numerical Control (CNC) & Manufacturing Automation
Computer Numerical Control (CNC) & Manufacturing AutomationComputer Numerical Control (CNC) & Manufacturing Automation
Computer Numerical Control (CNC) & Manufacturing Automation
 

Recently uploaded

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
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
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
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
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 

Recently uploaded (20)

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
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
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
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
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
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
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 

Hands-on CNC programming training

  • 1. CNC Programming Hands on Training on ‘CNC Programming’ Date: 08-07-2017 Presented by Mohamed Ismail A Assistant Professor Mechatronics
  • 5. General Objective 5 To Create CNC programming for the part diagram
  • 6. Specific Objectives 6 Students will able to SO 1: List the types of controllers used in machines . (E) (R-F). SO 2: generate the CNC program for the given part diagram . ( E) (Cr-C).
  • 7. 7 Taxonomy of Objectives Knowledge Dimension The Cognitive Process Dimension Remember Understand Apply Analyse Evaluate Create A. Factual Knowledge 1 B. Conceptual Knowledge 2 C. Procedural Knowledge D. Meta Cognitive Knowledge
  • 8. Pre requisite 8 1.Basic workshop Laboratory. 2.Manufacturing technology
  • 9. ❖ Coordinate systems. ❖ Address Characters. ❖ Offsets. ❖ Unit Considerations. ❖ G-codes. ❖ M-codes. ❖ Simple Programming. Contents
  • 10. Coordinate system ❑ Numbers which indicate the location of a point relative to a fixed reference point (the origin).
  • 11. Types of Coordinate System ❖ Absolute Method ❖ Incremental Method
  • 12. Absolute method Uses X, Y, and sometimes a Z-axis to establish a point some distance from a common Reference point (origin) Examples: 10 30 40
  • 13. Incremental method Point at some distance is established from its Previous point(origin). In this case reference point not common. Example: 10 20 10
  • 14. Two Axes CNC Z – Horizontal X - Vertical
  • 15. Point Establishment in Absolute Method points axes Z X p1 0 0 p2 20 0 p3 20 5 p4 10 5 p5 10 20 p6 0 20 Take p1 as reference point
  • 16. Point Establishment in Incremental Method points axes Z X p1 0 -20 p2 20 0 p3 0 5 p4 -10 0 p5 0 15 p6 -10 0
  • 17. Point Establishment in Incremental Method points axes Z X p1 -10 0 p2 0 15 p3 -10 0 p4 0 -20 p5 20 0 p6 0 5
  • 18. ADDRESS CHARACTERS O _ _ _ _ Program Name It must start with ‘O’ followed by 4 digits 0000 to 9999 T_ _ _ _ Tool number It must be start with ‘T’ followed by four digits whereas first two digit represents tool number (01 to 12) and the next two digit represents offset number (01 to 64) A Angle R Radius F Feed Rate(mm/rev) S Spindle Speed (rpm)
  • 19. OFFSETS IN CNC Offset - compensation of something Geometry offset: difference between machine’s(Tool) reference point and work’s reference point
  • 20. OFFSETS IN CNC Wear offset: • Compensation of an error (difference between observed dimension and desired dimension) • The value which is given to compensate the worn out of the tool.
  • 21. Unit Considerations Sl. no. Input Machine consideration 1) 1 1 micron 2) 1.0 1mm 3) 0.1 100 microns Note: 1mm = 1000 microns
  • 22. G-code Preparatory code- where and how the tool has to move. G00 - Rapid Traverse (syntax: G00 X_ Z_) G01 - Linear Interpolation (G00 X_ Z_ F_) G02 - Circular Interpolation Clockwise (G02 X_ Z_ R_ F_ ) G03 - Circular Interpolation Counter Clockwise. (G02 X_ Z_ R_ F_ ) G28 - Return to home position (G28 U0 W0) G97 - Constant Spindle Speed (G97 S1500 M03) G50 - Maximum Spindle Speed (G50 S1500)
  • 23. M-code Miscellaneous code (diverse characteristics) M00 - Program end M01 - Optional Stop M03 - Spindle ON Clockwise M04 - Spindle ON Counter Clockwise M05 - Spindle OFF M06 - Automatic Tool Changer M07&M08- Coolant ON M09 - Coolant OFF M30 - Program End & Rewind
  • 24. Part Diagram for Facing Process 44 Φ50 Φ50 40 All Dimensions are in mm Raw Material Finished Component
  • 25. CNC Program for Facing • O1234 • G28 U0 W0 • T0101 • G97 S2000 M03 • G00 X 52.0 Z 2.0 M07 • Z -2.0 • G01 X -1.0 F0.2 • G00 X52.0 Z 0.0 • Z -4.0 • G01 X-1.0 F0.15 • G28 U0 W0 • M05 • M09 • M30 • % (0,0) Z 44 -Z -50 50 -X X
  • 26. Part Diagram for Facing & Turning Process 54 Φ66 Φ60 50 All Dimensions are in mm Raw Material Finished Component
  • 27. CNC Program for Facing and Turning • O1234 • G28 U0 W0 • T0101 • G97 S2000 M03 • G00 X 68.0 Z 2.0 M07 • Z -2.0 • G01 X -1.0 F0.2 • G00 X68.0 Z-2.5 • X -4.0 • G01 X-1.0 F0.2 • G00 X64.0 • G01 Z-54.0 F0.2 • G00 X66.0 Z-3.0 • G01 Z-54.0 F0.2 • G00 X60.0 Z-3.5 • G01 Z-54 • G28 U0 W0 • M05 • M09 • M30 • % STARTUP (Common to all prog.) FACING TURNING ENDING (Common to all prog.)
  • 29. Program for Practice 34 Φ54 Φ48 20 All Dimensions are in mm Raw Material Finished Component 10 Φ40
  • 30. Formative Assessment II • ___ code is used for circular interpolation clockwise direction. • G01 • G02 • G03 • G04
  • 32. Mind Map CNC PROGRAMMING G codes M codes Coordinate systems Program 1 Program 2