SlideShare a Scribd company logo
Computer Numerical Control
Types of Automation Manufacturing Automation Hard/ Rigid/ Mechanized Automation Soft/ Flexible/ Programmable Automation Copy milling machines  Automats Special purpose machines CNC Machines  Robots Automatically Guided Vehicles (AGVs)   Reconfigurable conveyors  Unlimited muscle power Speed Accuracy Unmanned operation Flexibility Simplified generic tooling even for the most complex jobs Advantages of Soft Automation
Introduction to CNC Conventionally, an operator decides and adjusts various machines parameters like feed , depth of cut etc depending on type of job , and controls the slide movements by hand.  In a CNC Machine functions and slide movements are controlled by motors using computer programs.  The most basic function of any CNC machine is automatic, precise, and consistent motion control. The two most common axis types are linear (driven along a straight path) and rotary (driven along a circular path). 
Introduction to CNC Conventionally, an operator decides and adjusts various machines parameters like feed , depth of cut etc depending on type of job , and controls the slide movements by hand.  In a CNC Machine functions and slide movements are controlled by motors using computer programs.  The most basic function of any CNC machine is automatic, precise, and consistent motion control. The two most common axis types are linear (driven along a straight path) and rotary (driven along a circular path). 
Why CNC is Accurate?
Defining Axes
Defining Axes Lathe Vertical Machining Center
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 G43 Tool length compensation (plus) 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
Important M 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 M10 Clamps on M11 Clamps off M30 Program stop, reset to start
Modal and Non-Modal Commands Modal commands: Commands issued in the NC program that will stay in effect until it is changed by some other command, like, feed rate selection, coolant selection, etc. Nonmodal commands: Commands that are effective only when issued and whose effects are lost for subsequent commands, like, a dwell command which instructs the tool to remain in a given configuration for a given amount of time.
Open Loop and Closed Loop System
Tape Preparation
Programming : Absolute and Incremental 5 – Parity check 6 – Zero 7- Minus 8 – End of info EIA ASCII
Features of a CNC Systems The tool or material moves. Tools can operate in 1-5 axes. Larger machines have a machine control unit (MCU) which manages operations. Movement is controlled by a motors (actuators). Feedback is provided by sensors (transducers) Tool magazines are used to change tools automatically.
Types of Interpolations Point to Point - No contouring capability  Straight cut control - one axis motion at a time is controlled for machining Contouring - multiple axis’s controlled simultaneously
Sample Programming Preparatory Information: units, incremental orabsolute positioning Coordinates: X,Y,Z, RX,RY,RZ Machining Parameters: Feed rate and spindlespeed Coolant Control: On/Off, Flood, Mist Tool Control: Tool and tool parameters Cycle Functions: Type of action required Miscellaneous Control: Spindle on/off, directionof rotation, stops forpart movement This information is conveyed to the machine through a set of instructions arranged in a desired sequence – Program
Sample Programming Manual Part Programming: Manual programming of the machines Computer Aided Programming (CAP): Programming done by a computer Manual Data Input (MDI): A manual program is entered into the machine’s controller via its own keyboard
Sample Programming Tool size = 0.25 inch, Feed rate = 6 inch per minute, Cutting speed = 300 rpm, Tool start position: 2.0, 2.0 Programming in inches Motion of tool: p0  p1  p2  p3  p4  p5  p1  p0
Sample Programming Set up the programming parameters Programming in inches Use absolute coordinates Feed in ipm N010 G70 G90 G94 G97 M04  Spindle speed in rpm Spindle CCW
Sample Programming Set up the machining  conditions Machine moves in XY-plane Use full-circle interpolation Feed rate Spindle speed N020 G17 G75 F6.0 S300 T1001 M08  Tool no. Flood coolant ON
Sample Programming Move tool from p0 to p1 in straight line  Linear interpolation target coordinates N030 G01 X3.875 Y3.698
Sample Programming Cut profile from p1 to p2 Linear interpolation target coordinates N040 G01 X3.875 Y9.125  or N040 G01 Y9.125  X-coordinate does not change  no need to program it
Sample Programming Cut profile from p2 to p3 Linear interpolation target coordinates N050 G01 X5.634 Y9.125
Sample Programming Cut along circle from p3 to p4 circular interpolation, CCW motion target coordinates N060 G03 X7.366 Y9.125 I0.866 J-0.125  coordinates of center of circle  (always in incremental )
Sample Programming Complete Programming N010 G70 G90 G94 G97 M04  N020 G17 G75 F6.0 S300 T1001 M08  N030 G01 X3.875 Y3.698  N040 G01 X3.875 Y9.125  N050 G01 X5.634 Y9.125  N060 G03 X7.366 Y9.125 I0.866 J-0.125  N070 G01 X9.302  N080 G01 X3.875 Y3.698  N090 G01 X2.0 Y2.0 M30
Adaptive Control Adaptive control with constraints Adaptive control with optimization
Advantage of NC Increased productivity  Reduced tool/fixture storage and cost  Faster setup time  Reduced parts inventory  Flexibility that speeds changes in design  Better accuracy of parts Reduction in parts handling  Better uniformity of parts  Better quality control  Improvement in manufacturing control
Disadvantages Increase in electrical maintenance High initial investment Higher per-hour operating cost than traditional machine tools Retraining of existing personnel NC is a general term used for Numerical Control. CNC refers specifically to COMPUTER NUMERICAL CONTROL. CNC machines are all NC machines but not all NC machines are CNC machine.
Applications ,[object Object]
Turning, boring, milling, grinding etc.

More Related Content

What's hot

Mechanical Industrial Training (in Quality & CNC Machine )at Vishwas Overseas
Mechanical Industrial Training (in Quality & CNC Machine )at Vishwas OverseasMechanical Industrial Training (in Quality & CNC Machine )at Vishwas Overseas
Mechanical Industrial Training (in Quality & CNC Machine )at Vishwas Overseas
Gopal Saw
 
CNC Programmingmodifies examination 1
CNC Programmingmodifies examination 1CNC Programmingmodifies examination 1
CNC Programmingmodifies examination 1Prof. S.Rajendiran
 
introduction to CNC machine.
introduction to CNC machine.introduction to CNC machine.
introduction to CNC machine.
Anish jha
 
Cnc part programming 4 unit
Cnc part programming 4 unitCnc part programming 4 unit
Cnc part programming 4 unit
palanivendhan
 
Cnc program writing
Cnc program writingCnc program writing
Cnc program writing
mazharmustafa3
 
G and m_programming_for_mills_manual
G and m_programming_for_mills_manualG and m_programming_for_mills_manual
G and m_programming_for_mills_manualManuj Arora
 
Cnc programming basics.doc
Cnc programming basics.docCnc programming basics.doc
Cnc programming basics.doc
Soekarno Revolusi
 
Manual part programming
Manual part programmingManual part programming
Manual part programming
jntuhcej
 
Cnc lathe
Cnc latheCnc lathe
Cnc lathe
kailashgavare
 
CNC
CNCCNC
CNC
illpa
 
computer numerical control
computer numerical controlcomputer numerical control
computer numerical control
Lalrin Muani
 
Interesting facts about cnc machining
Interesting facts about cnc machiningInteresting facts about cnc machining
Interesting facts about cnc machining
Cnc Machinist
 
Cnc machine
Cnc machineCnc machine
Cnc machine
Azhar Aslam
 
CNC Part programming
CNC Part programmingCNC Part programming
CNC Part programming
jani parth
 
Cnc lecture1
Cnc lecture1Cnc lecture1
Cnc lecture1
Mohamed Atef
 
Cnc machine tools
Cnc machine toolsCnc machine tools
Cnc machine tools
ftesv
 
CNC PROGRAMMING FOR BEGAINER Part 1
CNC PROGRAMMING FOR BEGAINER Part 1CNC PROGRAMMING FOR BEGAINER Part 1
CNC PROGRAMMING FOR BEGAINER Part 1
Parveen Kumar
 
Product manufacturing cnc edm
Product manufacturing  cnc edmProduct manufacturing  cnc edm
Product manufacturing cnc edmGaurav Gunjan
 

What's hot (20)

Mechanical Industrial Training (in Quality & CNC Machine )at Vishwas Overseas
Mechanical Industrial Training (in Quality & CNC Machine )at Vishwas OverseasMechanical Industrial Training (in Quality & CNC Machine )at Vishwas Overseas
Mechanical Industrial Training (in Quality & CNC Machine )at Vishwas Overseas
 
CNC Programmingmodifies examination 1
CNC Programmingmodifies examination 1CNC Programmingmodifies examination 1
CNC Programmingmodifies examination 1
 
introduction to CNC machine.
introduction to CNC machine.introduction to CNC machine.
introduction to CNC machine.
 
Cnc part programming 4 unit
Cnc part programming 4 unitCnc part programming 4 unit
Cnc part programming 4 unit
 
Cnc program writing
Cnc program writingCnc program writing
Cnc program writing
 
G and m_programming_for_mills_manual
G and m_programming_for_mills_manualG and m_programming_for_mills_manual
G and m_programming_for_mills_manual
 
Cnc programming basics.doc
Cnc programming basics.docCnc programming basics.doc
Cnc programming basics.doc
 
Manual part programming
Manual part programmingManual part programming
Manual part programming
 
Cnc lathe
Cnc latheCnc lathe
Cnc lathe
 
CNC
CNCCNC
CNC
 
CNC Programmingmodifies1
CNC Programmingmodifies1CNC Programmingmodifies1
CNC Programmingmodifies1
 
computer numerical control
computer numerical controlcomputer numerical control
computer numerical control
 
Interesting facts about cnc machining
Interesting facts about cnc machiningInteresting facts about cnc machining
Interesting facts about cnc machining
 
Cnc machine
Cnc machineCnc machine
Cnc machine
 
9.pmat m 01
9.pmat m 019.pmat m 01
9.pmat m 01
 
CNC Part programming
CNC Part programmingCNC Part programming
CNC Part programming
 
Cnc lecture1
Cnc lecture1Cnc lecture1
Cnc lecture1
 
Cnc machine tools
Cnc machine toolsCnc machine tools
Cnc machine tools
 
CNC PROGRAMMING FOR BEGAINER Part 1
CNC PROGRAMMING FOR BEGAINER Part 1CNC PROGRAMMING FOR BEGAINER Part 1
CNC PROGRAMMING FOR BEGAINER Part 1
 
Product manufacturing cnc edm
Product manufacturing  cnc edmProduct manufacturing  cnc edm
Product manufacturing cnc edm
 

Viewers also liked

Fininclusion ruralagrifeb09 (1)
Fininclusion ruralagrifeb09 (1)Fininclusion ruralagrifeb09 (1)
Fininclusion ruralagrifeb09 (1)Krishna Shah
 
Land use planning
Land use planningLand use planning
Land use planning
WhyteDavid
 
Progettazione di una base di dati in ambiente office per un reparto di neurol...
Progettazione di una base di dati in ambiente office per un reparto di neurol...Progettazione di una base di dati in ambiente office per un reparto di neurol...
Progettazione di una base di dati in ambiente office per un reparto di neurol...thediabloz
 
Slides prelaurea sandonato luca
Slides prelaurea sandonato lucaSlides prelaurea sandonato luca
Slides prelaurea sandonato lucathediabloz
 
BBCS Power Point
BBCS Power PointBBCS Power Point
BBCS Power Point
AskMrFranchise
 
Album
AlbumAlbum
Evento IFRS: adaptation of international accounting standards in EDP Energias...
Evento IFRS: adaptation of international accounting standards in EDP Energias...Evento IFRS: adaptation of international accounting standards in EDP Energias...
Evento IFRS: adaptation of international accounting standards in EDP Energias...EDP - Energias do Brasil
 
Session 1C Regional Challenges and Key Success Factors to Implementation of I...
Session 1C Regional Challenges and Key Success Factors to Implementation of I...Session 1C Regional Challenges and Key Success Factors to Implementation of I...
Session 1C Regional Challenges and Key Success Factors to Implementation of I...International Federation of Accountants
 
2009 Green Clerks Presentation Short Version
2009 Green Clerks Presentation Short Version2009 Green Clerks Presentation Short Version
2009 Green Clerks Presentation Short Version
hullingerc
 
Procer Technical Engineering presentation
Procer Technical Engineering presentationProcer Technical Engineering presentation
Procer Technical Engineering presentationdiana_sfirlea
 
Giatech Airframe Wire Development
Giatech Airframe Wire DevelopmentGiatech Airframe Wire Development
Giatech Airframe Wire Development
John Jocham
 
3D Design(Printing) Technology
3D Design(Printing) Technology3D Design(Printing) Technology
3D Design(Printing) TechnologyUday Reddy
 
International Accounting:Foreign Currency Translation
International Accounting:Foreign Currency TranslationInternational Accounting:Foreign Currency Translation
International Accounting:Foreign Currency Translation
HelpWithAssignment.com
 
Clerks Presentation
Clerks PresentationClerks Presentation
Clerks Presentation
Jordan Murphy
 
Pictorial essay: Wilderness Safaris Community-Based Natural Resource Manageme...
Pictorial essay: Wilderness Safaris Community-Based Natural Resource Manageme...Pictorial essay: Wilderness Safaris Community-Based Natural Resource Manageme...
Pictorial essay: Wilderness Safaris Community-Based Natural Resource Manageme...
Rob Moffett
 
Damaraland Camp, Torra Conservancy and Namibia's Community-Based Natural Reso...
Damaraland Camp, Torra Conservancy and Namibia's Community-Based Natural Reso...Damaraland Camp, Torra Conservancy and Namibia's Community-Based Natural Reso...
Damaraland Camp, Torra Conservancy and Namibia's Community-Based Natural Reso...VisualBee.com
 
Micro Earthquake Survey Design, Optimization with modeling
Micro Earthquake Survey Design, Optimization with modeling Micro Earthquake Survey Design, Optimization with modeling
Micro Earthquake Survey Design, Optimization with modeling
Firman Syaifuddin
 

Viewers also liked (18)

Fininclusion ruralagrifeb09 (1)
Fininclusion ruralagrifeb09 (1)Fininclusion ruralagrifeb09 (1)
Fininclusion ruralagrifeb09 (1)
 
Land use planning
Land use planningLand use planning
Land use planning
 
Progettazione di una base di dati in ambiente office per un reparto di neurol...
Progettazione di una base di dati in ambiente office per un reparto di neurol...Progettazione di una base di dati in ambiente office per un reparto di neurol...
Progettazione di una base di dati in ambiente office per un reparto di neurol...
 
Slides prelaurea sandonato luca
Slides prelaurea sandonato lucaSlides prelaurea sandonato luca
Slides prelaurea sandonato luca
 
BBCS Power Point
BBCS Power PointBBCS Power Point
BBCS Power Point
 
Album
AlbumAlbum
Album
 
Evento IFRS: adaptation of international accounting standards in EDP Energias...
Evento IFRS: adaptation of international accounting standards in EDP Energias...Evento IFRS: adaptation of international accounting standards in EDP Energias...
Evento IFRS: adaptation of international accounting standards in EDP Energias...
 
Session 1C Regional Challenges and Key Success Factors to Implementation of I...
Session 1C Regional Challenges and Key Success Factors to Implementation of I...Session 1C Regional Challenges and Key Success Factors to Implementation of I...
Session 1C Regional Challenges and Key Success Factors to Implementation of I...
 
2009 Green Clerks Presentation Short Version
2009 Green Clerks Presentation Short Version2009 Green Clerks Presentation Short Version
2009 Green Clerks Presentation Short Version
 
Procer Technical Engineering presentation
Procer Technical Engineering presentationProcer Technical Engineering presentation
Procer Technical Engineering presentation
 
Giatech Airframe Wire Development
Giatech Airframe Wire DevelopmentGiatech Airframe Wire Development
Giatech Airframe Wire Development
 
3D Design(Printing) Technology
3D Design(Printing) Technology3D Design(Printing) Technology
3D Design(Printing) Technology
 
International Accounting:Foreign Currency Translation
International Accounting:Foreign Currency TranslationInternational Accounting:Foreign Currency Translation
International Accounting:Foreign Currency Translation
 
Clerks Presentation
Clerks PresentationClerks Presentation
Clerks Presentation
 
airframe grad
airframe gradairframe grad
airframe grad
 
Pictorial essay: Wilderness Safaris Community-Based Natural Resource Manageme...
Pictorial essay: Wilderness Safaris Community-Based Natural Resource Manageme...Pictorial essay: Wilderness Safaris Community-Based Natural Resource Manageme...
Pictorial essay: Wilderness Safaris Community-Based Natural Resource Manageme...
 
Damaraland Camp, Torra Conservancy and Namibia's Community-Based Natural Reso...
Damaraland Camp, Torra Conservancy and Namibia's Community-Based Natural Reso...Damaraland Camp, Torra Conservancy and Namibia's Community-Based Natural Reso...
Damaraland Camp, Torra Conservancy and Namibia's Community-Based Natural Reso...
 
Micro Earthquake Survey Design, Optimization with modeling
Micro Earthquake Survey Design, Optimization with modeling Micro Earthquake Survey Design, Optimization with modeling
Micro Earthquake Survey Design, Optimization with modeling
 

Similar to Cnc programming

CNC.ppt
CNC.pptCNC.ppt
introduction to cnc machines
 introduction to cnc machines introduction to cnc machines
introduction to cnc machines
STAY CURIOUS
 
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
sahils237192101
 
CNC Maching.pptx
CNC Maching.pptxCNC Maching.pptx
CNC Maching.pptx
studyall1
 
Introduction to CNC machines.pptx
Introduction to CNC machines.pptxIntroduction to CNC machines.pptx
Introduction to CNC machines.pptx
Dr.M BALA THEJA
 
Navjot Singh Thakur.pptx
Navjot Singh Thakur.pptxNavjot Singh Thakur.pptx
Navjot Singh Thakur.pptx
ThakurNavjotSingh
 
Cnc pgrming seminar-
Cnc pgrming   seminar-Cnc pgrming   seminar-
Cnc pgrming seminar-
abhipawar123
 
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
Ved Prakash
 
CNC Milling
CNC MillingCNC Milling
CNC Milling
Manpreet Singh
 
CNC part programming
CNC part programmingCNC part programming
CNC part programming
jntuhcej
 
Cam presentation..
Cam presentation..Cam presentation..
Cam presentation..
Akash Maurya
 
CNC Training.ppt
CNC Training.pptCNC Training.ppt
CNC Training.ppt
Aniket Verma
 
CNC1 (1).ppt
CNC1 (1).pptCNC1 (1).ppt
CNC1 (1).ppt
WondererBack
 
Akshit
AkshitAkshit
Akshit
Akshit goyal
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
WondererBack
 
Computer numerical control (CNC)
Computer numerical control (CNC)Computer numerical control (CNC)
Computer numerical control (CNC)
Sudip Phuyal
 
Introduction to CNC machining processes-
Introduction to CNC machining processes-Introduction to CNC machining processes-
Introduction to CNC machining processes-
Rukminisrikant Revuru
 

Similar to Cnc programming (20)

CNC.ppt
CNC.pptCNC.ppt
CNC.ppt
 
introduction to cnc machines
 introduction to cnc machines introduction to cnc machines
introduction to cnc machines
 
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 Maching.pptx
CNC Maching.pptxCNC Maching.pptx
CNC Maching.pptx
 
Introduction to CNC machines.pptx
Introduction to CNC machines.pptxIntroduction to CNC machines.pptx
Introduction to CNC machines.pptx
 
Navjot Singh Thakur.pptx
Navjot Singh Thakur.pptxNavjot Singh Thakur.pptx
Navjot Singh Thakur.pptx
 
Cnc pgrming seminar-
Cnc pgrming   seminar-Cnc pgrming   seminar-
Cnc pgrming seminar-
 
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 Milling
CNC MillingCNC Milling
CNC Milling
 
CNC part programming
CNC part programmingCNC part programming
CNC part programming
 
Cam presentation..
Cam presentation..Cam presentation..
Cam presentation..
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
CNC Training.ppt
CNC Training.pptCNC Training.ppt
CNC Training.ppt
 
Cnc1
Cnc1Cnc1
Cnc1
 
CNC1 (1).ppt
CNC1 (1).pptCNC1 (1).ppt
CNC1 (1).ppt
 
Akshit
AkshitAkshit
Akshit
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
Computer numerical control (CNC)
Computer numerical control (CNC)Computer numerical control (CNC)
Computer numerical control (CNC)
 
Introduction to CNC machining processes-
Introduction to CNC machining processes-Introduction to CNC machining processes-
Introduction to CNC machining processes-
 

Cnc programming

  • 2. Types of Automation Manufacturing Automation Hard/ Rigid/ Mechanized Automation Soft/ Flexible/ Programmable Automation Copy milling machines Automats Special purpose machines CNC Machines Robots Automatically Guided Vehicles (AGVs) Reconfigurable conveyors Unlimited muscle power Speed Accuracy Unmanned operation Flexibility Simplified generic tooling even for the most complex jobs Advantages of Soft Automation
  • 3. Introduction to CNC Conventionally, an operator decides and adjusts various machines parameters like feed , depth of cut etc depending on type of job , and controls the slide movements by hand. In a CNC Machine functions and slide movements are controlled by motors using computer programs. The most basic function of any CNC machine is automatic, precise, and consistent motion control. The two most common axis types are linear (driven along a straight path) and rotary (driven along a circular path). 
  • 4. Introduction to CNC Conventionally, an operator decides and adjusts various machines parameters like feed , depth of cut etc depending on type of job , and controls the slide movements by hand. In a CNC Machine functions and slide movements are controlled by motors using computer programs. The most basic function of any CNC machine is automatic, precise, and consistent motion control. The two most common axis types are linear (driven along a straight path) and rotary (driven along a circular path). 
  • 5. Why CNC is Accurate?
  • 7. Defining Axes Lathe Vertical Machining Center
  • 8. 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 G43 Tool length compensation (plus) 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
  • 9. Important M 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 M10 Clamps on M11 Clamps off M30 Program stop, reset to start
  • 10. Modal and Non-Modal Commands Modal commands: Commands issued in the NC program that will stay in effect until it is changed by some other command, like, feed rate selection, coolant selection, etc. Nonmodal commands: Commands that are effective only when issued and whose effects are lost for subsequent commands, like, a dwell command which instructs the tool to remain in a given configuration for a given amount of time.
  • 11. Open Loop and Closed Loop System
  • 13. Programming : Absolute and Incremental 5 – Parity check 6 – Zero 7- Minus 8 – End of info EIA ASCII
  • 14. Features of a CNC Systems The tool or material moves. Tools can operate in 1-5 axes. Larger machines have a machine control unit (MCU) which manages operations. Movement is controlled by a motors (actuators). Feedback is provided by sensors (transducers) Tool magazines are used to change tools automatically.
  • 15. Types of Interpolations Point to Point - No contouring capability Straight cut control - one axis motion at a time is controlled for machining Contouring - multiple axis’s controlled simultaneously
  • 16. Sample Programming Preparatory Information: units, incremental orabsolute positioning Coordinates: X,Y,Z, RX,RY,RZ Machining Parameters: Feed rate and spindlespeed Coolant Control: On/Off, Flood, Mist Tool Control: Tool and tool parameters Cycle Functions: Type of action required Miscellaneous Control: Spindle on/off, directionof rotation, stops forpart movement This information is conveyed to the machine through a set of instructions arranged in a desired sequence – Program
  • 17. Sample Programming Manual Part Programming: Manual programming of the machines Computer Aided Programming (CAP): Programming done by a computer Manual Data Input (MDI): A manual program is entered into the machine’s controller via its own keyboard
  • 18. Sample Programming Tool size = 0.25 inch, Feed rate = 6 inch per minute, Cutting speed = 300 rpm, Tool start position: 2.0, 2.0 Programming in inches Motion of tool: p0  p1  p2  p3  p4  p5  p1  p0
  • 19. Sample Programming Set up the programming parameters Programming in inches Use absolute coordinates Feed in ipm N010 G70 G90 G94 G97 M04 Spindle speed in rpm Spindle CCW
  • 20. Sample Programming Set up the machining conditions Machine moves in XY-plane Use full-circle interpolation Feed rate Spindle speed N020 G17 G75 F6.0 S300 T1001 M08 Tool no. Flood coolant ON
  • 21. Sample Programming Move tool from p0 to p1 in straight line Linear interpolation target coordinates N030 G01 X3.875 Y3.698
  • 22. Sample Programming Cut profile from p1 to p2 Linear interpolation target coordinates N040 G01 X3.875 Y9.125 or N040 G01 Y9.125 X-coordinate does not change  no need to program it
  • 23. Sample Programming Cut profile from p2 to p3 Linear interpolation target coordinates N050 G01 X5.634 Y9.125
  • 24. Sample Programming Cut along circle from p3 to p4 circular interpolation, CCW motion target coordinates N060 G03 X7.366 Y9.125 I0.866 J-0.125 coordinates of center of circle (always in incremental )
  • 25. Sample Programming Complete Programming N010 G70 G90 G94 G97 M04 N020 G17 G75 F6.0 S300 T1001 M08 N030 G01 X3.875 Y3.698 N040 G01 X3.875 Y9.125 N050 G01 X5.634 Y9.125 N060 G03 X7.366 Y9.125 I0.866 J-0.125 N070 G01 X9.302 N080 G01 X3.875 Y3.698 N090 G01 X2.0 Y2.0 M30
  • 26. Adaptive Control Adaptive control with constraints Adaptive control with optimization
  • 27. Advantage of NC Increased productivity Reduced tool/fixture storage and cost Faster setup time Reduced parts inventory Flexibility that speeds changes in design Better accuracy of parts Reduction in parts handling Better uniformity of parts Better quality control Improvement in manufacturing control
  • 28. Disadvantages Increase in electrical maintenance High initial investment Higher per-hour operating cost than traditional machine tools Retraining of existing personnel NC is a general term used for Numerical Control. CNC refers specifically to COMPUTER NUMERICAL CONTROL. CNC machines are all NC machines but not all NC machines are CNC machine.
  • 29.
  • 32. Turret punch press, pipe bending, flow forming etc.
  • 34. Wire-EDM, water-jet cutting, electron beam machining, laser beam machining, plasma cutting etc.
  • 38. Rapid Prototyping (RP) machinesNC is a control technique; not a process
  • 39. END