SlideShare a Scribd company logo
Computer Numerical Control
Types of AutomationManufacturingAutomationHard/ Rigid/ MechanizedAutomationSoft/ Flexible/ ProgrammableAutomationCopy milling machines AutomatsSpecial purpose machinesCNC Machines RobotsAutomatically Guided Vehicles (AGVs)  Reconfigurable conveyors Unlimited muscle powerSpeedAccuracyUnmanned operationFlexibilitySimplified generic tooling even for the most complex jobsAdvantages of Soft Automation
Introduction to CNCConventionally, 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 CNCConventionally, 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 AxesLatheVertical Machining Center
Important G CodesG00 Rapid TransverseG01 Linear InterpolationG02 Circular Interpolation, CWG03 Circular Interpolation, CCWG17 XY Plane,G18 XZ Plane,G19 YZ PlaneG20/G70 Inch unitsG21/G71 Metric UnitsG40 Cutter compensation cancelG41 Cutter compensation leftG42 Cutter compensation rightG43 Tool length compensation (plus)G43 Tool length compensation (plus)G44 Tool length compensation (minus)G49 Tool length compensation cancelG80 Cancel canned cyclesG81 Drilling cycleG82 Counter boring cycleG83 Deep hole drilling cycleG90 Absolute positioningG91 Incremental positioning
Important M CodesM00 Program stopM01 Optional program stopM02 Program endM03 Spindle on clockwiseM04 Spindle on counterclockwiseM05 Spindle stopM06 Tool changeM08 Coolant onM09 Coolant offM10 Clamps onM11 Clamps offM30 Program stop, reset to start
Modal and Non-Modal CommandsModal 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 Incremental5 – Parity check6 – Zero7- Minus8 – End of infoEIAASCII
Features of a CNC SystemsThe 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 InterpolationsPoint to Point - No contouring capability Straight cut control - one axis motion at a time is controlled for machiningContouring - multiple axis’s controlled simultaneously
Sample ProgrammingPreparatory Information: units, incremental orabsolute positioningCoordinates: X,Y,Z, RX,RY,RZMachining Parameters: Feed rate and spindlespeedCoolant Control: On/Off, Flood, MistTool Control: Tool and tool parametersCycle Functions: Type of action requiredMiscellaneous Control: Spindle on/off, directionof rotation, stops forpart movementThis information is conveyed to the machine through a set of instructions arranged in a desired sequence – Program
Sample ProgrammingManual Part Programming: Manual programming of the machinesComputer Aided Programming (CAP): Programming done by a computerManual Data Input (MDI): A manual program is entered into the machine’s controller via its own keyboard
Sample ProgrammingTool size = 0.25 inch,Feed rate = 6 inch per minute,Cutting speed = 300 rpm,Tool start position: 2.0, 2.0Programming in inchesMotion of tool:p0  p1  p2  p3  p4  p5  p1  p0
Sample ProgrammingSet up the programming parametersProgramming in inchesUse absolute coordinatesFeed in ipmN010 G70 G90 G94 G97 M04 Spindle speed in rpmSpindle CCW
Sample ProgrammingSet up the machining conditionsMachine moves in XY-planeUse full-circle interpolationFeed rateSpindle speedN020 G17 G75 F6.0 S300 T1001 M08 Tool no.Flood coolant ON
Sample ProgrammingMove tool from p0 to p1 in straight line Linear interpolationtarget coordinatesN030 G01 X3.875 Y3.698
Sample ProgrammingCut profile from p1 to p2Linear interpolationtarget coordinatesN040 G01 X3.875 Y9.125 orN040 G01 Y9.125 X-coordinate does not change  no need to program it
Sample ProgrammingCut profile from p2 to p3Linear interpolationtarget coordinatesN050 G01 X5.634 Y9.125
Sample ProgrammingCut along circle from p3 to p4circular interpolation, CCW motiontarget coordinatesN060 G03 X7.366 Y9.125 I0.866 J-0.125 coordinates of center of circle (always in incremental )
Sample ProgrammingComplete ProgrammingN010 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 ControlAdaptive control with constraintsAdaptive control with optimization
Advantage of NCIncreased productivity Reduced tool/fixture storage and cost Faster setup time Reduced parts inventory Flexibility that speeds changes in design Better accuracy of partsReduction in parts handling Better uniformity of parts Better quality control Improvement in manufacturing control
DisadvantagesIncrease in electrical maintenanceHigh initial investmentHigher per-hour operating cost than traditional machine toolsRetraining of existing personnelNC 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.
ApplicationsTraditional machining
Turning, boring, milling, grinding etc.

More Related Content

PPT
Cnc lathe
PPTX
CNC part programming
PPT
Automatic lathes
PPTX
Canned cycle
PPTX
Interchangeability & selective assembly
PPTX
Cnc machine centre
PPT
Cnc lathe ppt
PDF
Thread cutting
Cnc lathe
CNC part programming
Automatic lathes
Canned cycle
Interchangeability & selective assembly
Cnc machine centre
Cnc lathe ppt
Thread cutting

What's hot (20)

PPT
part programming (cnc)
PDF
Chapter 2 constructional feature of cnc machine
PPTX
cnc machining
PPTX
Methods of indexing
PDF
Milling Fixture
PPT
Form measurement
PPTX
Tool presetting
PPTX
Uint 1 locating and clamping devices
PPT
CNC Turning.ppt
PDF
G code and M code
PDF
Cnc lab manual
PPT
Interpolation
PPT
6 CHAPTER SIX - COMPUTER AIDED INSPECTION.ppt
PPT
4 basic cnc programming milling
PPTX
DNC machines tools
PPTX
4 tooling in cnc
PPT
CNC Milling (fanuc system)
PPTX
Nc part programming
PPTX
Cnc milling
part programming (cnc)
Chapter 2 constructional feature of cnc machine
cnc machining
Methods of indexing
Milling Fixture
Form measurement
Tool presetting
Uint 1 locating and clamping devices
CNC Turning.ppt
G code and M code
Cnc lab manual
Interpolation
6 CHAPTER SIX - COMPUTER AIDED INSPECTION.ppt
4 basic cnc programming milling
DNC machines tools
4 tooling in cnc
CNC Milling (fanuc system)
Nc part programming
Cnc milling
Ad

Viewers also liked (20)

DOCX
Computer numerical controlled machine project
PPT
Cnc technology
PPTX
CNC Programming
DOC
INTRODUCTION TO CNC MACHINES
PDF
G and m_programming_for_mills_manual
PDF
Cnc hardware
PPSX
Cnc 1-introduction to cnc machines - hiast
PPTX
Cnc 4-g code language -hiast
PDF
Mechanics of Materials: Question Bank from old VTU Question papers
PPTX
Mechanical CNC machine
PPTX
CNC AND ITS COMPONENTS
PPT
Cnc part programming 4 unit
PDF
Unit 8: Torsion of circular shafts and elastic stability of columns
PDF
Unit 6: Bending and shear Stresses in beams
DOC
Introduction to cnc machines (1)
PPT
Cnc Programming Basics
PPTX
CNC Turning and Milling centres
Computer numerical controlled machine project
Cnc technology
CNC Programming
INTRODUCTION TO CNC MACHINES
G and m_programming_for_mills_manual
Cnc hardware
Cnc 1-introduction to cnc machines - hiast
Cnc 4-g code language -hiast
Mechanics of Materials: Question Bank from old VTU Question papers
Mechanical CNC machine
CNC AND ITS COMPONENTS
Cnc part programming 4 unit
Unit 8: Torsion of circular shafts and elastic stability of columns
Unit 6: Bending and shear Stresses in beams
Introduction to cnc machines (1)
Cnc Programming Basics
CNC Turning and Milling centres
Ad

Similar to Cnc programming (20)

PPTX
cnc danish3.pptx
PDF
Cncpresentation CNC lathe machine
PDF
CNCPRESENTATION.pdf
PDF
Cnc programming basics.doc
PPTX
Computer numerical control (CNC)
PPT
CNC1.ppt
PPT
CNC1.ppt
PPT
CNC Programmingmodifies1
PPT
CNC Machining part for engineering studenPart-1.ppt
PPT
CNC Programing method introduction _ Basic
PPT
CNC1.ppt
PPT
CNC1 (1).ppt
PPT
PPT
CNfbhfhhfhdhhdhhdhdhhdhhdhdhhdhfhfhhfhdC_1.ppt
PPTX
MANUFACTURING TECHNOLOGY-II
PPT
CNC Programmingmodifies examination 1
PPTX
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
PPTX
Introduction to CNC machines.pptx
PDF
CNC PROGRAMMING.pdf
PPTX
Introduction to CNC machining processes-
cnc danish3.pptx
Cncpresentation CNC lathe machine
CNCPRESENTATION.pdf
Cnc programming basics.doc
Computer numerical control (CNC)
CNC1.ppt
CNC1.ppt
CNC Programmingmodifies1
CNC Machining part for engineering studenPart-1.ppt
CNC Programing method introduction _ Basic
CNC1.ppt
CNC1 (1).ppt
CNfbhfhhfhdhhdhhdhdhhdhhdhdhhdhfhfhhfhdC_1.ppt
MANUFACTURING TECHNOLOGY-II
CNC Programmingmodifies examination 1
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
Introduction to CNC machines.pptx
CNC PROGRAMMING.pdf
Introduction to CNC machining processes-

Cnc programming

  • 2. Types of AutomationManufacturingAutomationHard/ Rigid/ MechanizedAutomationSoft/ Flexible/ ProgrammableAutomationCopy milling machines AutomatsSpecial purpose machinesCNC Machines RobotsAutomatically Guided Vehicles (AGVs) Reconfigurable conveyors Unlimited muscle powerSpeedAccuracyUnmanned operationFlexibilitySimplified generic tooling even for the most complex jobsAdvantages of Soft Automation
  • 3. Introduction to CNCConventionally, 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 CNCConventionally, 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?
  • 8. Important G CodesG00 Rapid TransverseG01 Linear InterpolationG02 Circular Interpolation, CWG03 Circular Interpolation, CCWG17 XY Plane,G18 XZ Plane,G19 YZ PlaneG20/G70 Inch unitsG21/G71 Metric UnitsG40 Cutter compensation cancelG41 Cutter compensation leftG42 Cutter compensation rightG43 Tool length compensation (plus)G43 Tool length compensation (plus)G44 Tool length compensation (minus)G49 Tool length compensation cancelG80 Cancel canned cyclesG81 Drilling cycleG82 Counter boring cycleG83 Deep hole drilling cycleG90 Absolute positioningG91 Incremental positioning
  • 9. Important M CodesM00 Program stopM01 Optional program stopM02 Program endM03 Spindle on clockwiseM04 Spindle on counterclockwiseM05 Spindle stopM06 Tool changeM08 Coolant onM09 Coolant offM10 Clamps onM11 Clamps offM30 Program stop, reset to start
  • 10. Modal and Non-Modal CommandsModal 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 Incremental5 – Parity check6 – Zero7- Minus8 – End of infoEIAASCII
  • 14. Features of a CNC SystemsThe 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 InterpolationsPoint to Point - No contouring capability Straight cut control - one axis motion at a time is controlled for machiningContouring - multiple axis’s controlled simultaneously
  • 16. Sample ProgrammingPreparatory Information: units, incremental orabsolute positioningCoordinates: X,Y,Z, RX,RY,RZMachining Parameters: Feed rate and spindlespeedCoolant Control: On/Off, Flood, MistTool Control: Tool and tool parametersCycle Functions: Type of action requiredMiscellaneous Control: Spindle on/off, directionof rotation, stops forpart movementThis information is conveyed to the machine through a set of instructions arranged in a desired sequence – Program
  • 17. Sample ProgrammingManual Part Programming: Manual programming of the machinesComputer Aided Programming (CAP): Programming done by a computerManual Data Input (MDI): A manual program is entered into the machine’s controller via its own keyboard
  • 18. Sample ProgrammingTool size = 0.25 inch,Feed rate = 6 inch per minute,Cutting speed = 300 rpm,Tool start position: 2.0, 2.0Programming in inchesMotion of tool:p0  p1  p2  p3  p4  p5  p1  p0
  • 19. Sample ProgrammingSet up the programming parametersProgramming in inchesUse absolute coordinatesFeed in ipmN010 G70 G90 G94 G97 M04 Spindle speed in rpmSpindle CCW
  • 20. Sample ProgrammingSet up the machining conditionsMachine moves in XY-planeUse full-circle interpolationFeed rateSpindle speedN020 G17 G75 F6.0 S300 T1001 M08 Tool no.Flood coolant ON
  • 21. Sample ProgrammingMove tool from p0 to p1 in straight line Linear interpolationtarget coordinatesN030 G01 X3.875 Y3.698
  • 22. Sample ProgrammingCut profile from p1 to p2Linear interpolationtarget coordinatesN040 G01 X3.875 Y9.125 orN040 G01 Y9.125 X-coordinate does not change  no need to program it
  • 23. Sample ProgrammingCut profile from p2 to p3Linear interpolationtarget coordinatesN050 G01 X5.634 Y9.125
  • 24. Sample ProgrammingCut along circle from p3 to p4circular interpolation, CCW motiontarget coordinatesN060 G03 X7.366 Y9.125 I0.866 J-0.125 coordinates of center of circle (always in incremental )
  • 25. Sample ProgrammingComplete ProgrammingN010 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 ControlAdaptive control with constraintsAdaptive control with optimization
  • 27. Advantage of NCIncreased productivity Reduced tool/fixture storage and cost Faster setup time Reduced parts inventory Flexibility that speeds changes in design Better accuracy of partsReduction in parts handling Better uniformity of parts Better quality control Improvement in manufacturing control
  • 28. DisadvantagesIncrease in electrical maintenanceHigh initial investmentHigher per-hour operating cost than traditional machine toolsRetraining of existing personnelNC 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.
  • 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