SlideShare ist ein Scribd-Unternehmen logo
1 von 28
COMPUTER NUMERICAL CONTROL
MACHINE
By- Er.VED PRAKASH
AV
CONTENTS1) History
2) CNC Introduction
3) How they look like?
4) Elements of CNC
5) Block diagram of CNC
6) How CNC Works?
7) Features of CNC Machines
8) CNC Programming Basics
9) Common Format of a Block
10)Programming Key Letters
11)Table of important G-codes
12)Table of important M-codes
13) Programming
14)Advantages
15)Challenges
16)Conclusion
17)References
HISTORY
The first NC machines were built in the 1940s and
1950s by Prof. John T Parson.
CNC machine came into existence after evolution
of computer around 1980.
Modern CNC Machine are improving further as
the technology is changing with a variety of
functions according to applications.
CNC INTRODUCTION
A numerical control system in which the data
handling, control sequences, and response to input
is determined by an on-board computer system at
the machine tool.
CNC Machines- How do they look like?
Slides
Controller
Servo Motors
Display Console
Controller
Automated
Tool changer
Coolant
control
Chip collection and
removal
ELEMENTS OF CNC MACHINE
 A CNC machine consist of following 6
major elements:
i. Input Device
ii. Machine Control Unit
iii. Machine Tool
iv. Driving System
v. Feedback Devices
vi. Display Unit
Block diagram of CNC Machine
OPEN LOOPAND CLOSED LOOP
CONTROLS
In open loop systems the slide may overshoot or may not reach
desired position because of inertia, wear and tear and friction,
hence inaccurate machining.
In closed loop systems the position sensors are used to correct
slide movements and achieve higher accuracy and repeatability.
HOW CNC WORKS
 Controlled by G and M codes.
 These are number values and co-ordinates.
 Each number or code is assigned to a particular
operation.
 Typed in manually to CAD by machine
operators.
 G & M codes are automatically generated by
the computer software.
FEATURES OF CNC MACHINERY
 The tool or material moves automatically.
 Tools can operate in 1-5 axes.
 Larger machines have a machine control unit
(MCU) which manages operations.
 Movement is controlled by motors (actuators).
 Feedback is provided by sensors (transducers)
 Tool magazines are used to change tools
automatically.
CNC PROGRAMMING BASICS
 CNC instructions are called part program commands.
 When running, a part program is interpreted one
command line at a time until all lines are completed.
 Commands, which are also referred to as blocks, are
made up of words which each begin with a letter
address and end with a numerical value.
CNC PROGRAMMING
Important things to know:
 Coordinate System
 Units, incremental or absolute
positioning
 Coordinates: X,Y,Z, RX,RY,RZ
 Feed rate and spindle speed
 Coolant Control: On/Off, Flood,
Mist
 Tool Control: Tool and tool
parameters
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.
COMMON FORMAT OF A BLOCK
Sequence
#
Preparatory
Function
Dimension
Words
Feed
Rate
Spindle
Function
Tool
Function
Misc.
Function
N50 G90 G01 X1.40Y2.25 F10 S1500 T01 M03
Individual Words
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
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
TABLE OF 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
PROGRAMMING
LINEAR INTERPOLATION – G01
LINEAR INTERPOLATION – G01
CIRCULAR INTERPOLATION – G02/G03
CIRCULAR INTERPOLATION – G02/G03
INTERPOLATION(COMBI. OF G01 & G02 & G03 )
INTERPOLATION(COMBI. OF G01 & G02 & G03 )
Advantages of CNC
1) - Easier to program.
2) - Easy storage of existing programs.
3) - Easy to change a program.
4) - Avoids human errors.
5) - CNC machines are safe to operate.
6) - Complex geometry is produced as cheaply as simple ones.
7) - Usually generates closer tolerances than manual machines.
CHALLENGES
I. Costly setup, skilled operators.
II. Computers, programming knowledge
required.
III. Maintenance is difficult.
CONCLUSION
 The advantage of a CNC system are that the
operation of a conventional machine is removed
and the part production is made automatic.
 It reduces the labor work and hence highly
efficient in the manufacturing process.
 BHEL,HAL and other company generally uses
CNC machines to achieve its manufacturing
targets. For manufacturing works of large scale
it is very difficult to work with manual
machines as they are time consuming. CNC
machines have their wide scope because they
are easy to handle, the work becomes easier and
jobs are done with perfection.
REFERENCES
 Manual of CNC from BHEL Jhansi
 http://en.wikipedia.org/wiki/computer_n
umerical_control
 http://www.motioncontrol.com/articles/g
earheads-modular-spindle-drives
 http://www.seminarprojects.com/cnc
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH

Weitere ähnliche Inhalte

Was ist angesagt? (20)

12 cnc & part programming
12 cnc & part programming12 cnc & part programming
12 cnc & part programming
 
Cnc milling turning
Cnc milling turning Cnc milling turning
Cnc milling turning
 
Numeric control
Numeric controlNumeric control
Numeric control
 
Chapter 2 constructional feature of cnc machine
Chapter 2 constructional feature of cnc machineChapter 2 constructional feature of cnc machine
Chapter 2 constructional feature of cnc machine
 
CNC PROGRAMMING FOR BEGAINER Part 1
CNC PROGRAMMING FOR BEGAINER Part 1CNC PROGRAMMING FOR BEGAINER Part 1
CNC PROGRAMMING FOR BEGAINER Part 1
 
4 tooling in cnc
4 tooling in cnc4 tooling in cnc
4 tooling in cnc
 
CNC Milling
CNC MillingCNC Milling
CNC Milling
 
Apt programming
Apt programmingApt programming
Apt programming
 
3 numerical control
3 numerical control3 numerical control
3 numerical control
 
NC, CNC & DNC Machine
NC, CNC & DNC Machine NC, CNC & DNC Machine
NC, CNC & DNC Machine
 
Numerical control machines tool
Numerical control machines toolNumerical control machines tool
Numerical control machines tool
 
CNC Turning and Milling centres
CNC Turning and Milling centresCNC Turning and Milling centres
CNC Turning and Milling centres
 
CNC MACHINE
CNC MACHINECNC MACHINE
CNC MACHINE
 
Cnc control systems
Cnc control systemsCnc control systems
Cnc control systems
 
part programming (cnc)
part programming (cnc)part programming (cnc)
part programming (cnc)
 
CNC Machines and its Components
CNC Machines and its ComponentsCNC Machines and its Components
CNC Machines and its Components
 
Ch 2 NC machine
Ch 2 NC machine Ch 2 NC machine
Ch 2 NC machine
 
DNC machines tools
DNC machines toolsDNC machines tools
DNC machines tools
 
Computer numerical control (CNC)
Computer numerical control (CNC)Computer numerical control (CNC)
Computer numerical control (CNC)
 
CNC Machining Centres
CNC Machining CentresCNC Machining Centres
CNC Machining Centres
 

Ähnlich wie CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH

Ähnlich wie CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH (20)

Cnc pgrming seminar-
Cnc pgrming   seminar-Cnc pgrming   seminar-
Cnc pgrming seminar-
 
Navjot Singh Thakur.pptx
Navjot Singh Thakur.pptxNavjot Singh Thakur.pptx
Navjot Singh Thakur.pptx
 
Introduction to CNC machines.pptx
Introduction to CNC machines.pptxIntroduction to CNC machines.pptx
Introduction to CNC machines.pptx
 
introduction to cnc machines
 introduction to cnc machines introduction to cnc machines
introduction to cnc machines
 
CNC Maching.pptx
CNC Maching.pptxCNC Maching.pptx
CNC Maching.pptx
 
Cnc programming basics.doc
Cnc programming basics.docCnc programming basics.doc
Cnc programming basics.doc
 
CNC part programming
CNC part programmingCNC part programming
CNC part programming
 
CNC.ppt
CNC.pptCNC.ppt
CNC.ppt
 
Akshit
AkshitAkshit
Akshit
 
Numerical control and CNC
Numerical control and CNCNumerical control and CNC
Numerical control and CNC
 
CNC Seminar
CNC SeminarCNC Seminar
CNC Seminar
 
Cnc
CncCnc
Cnc
 
Ch-11 NC; CNC; DNC; FMS; Automation and Robotics_2.pdf
Ch-11 NC; CNC; DNC; FMS; Automation and Robotics_2.pdfCh-11 NC; CNC; DNC; FMS; Automation and Robotics_2.pdf
Ch-11 NC; CNC; DNC; FMS; Automation and Robotics_2.pdf
 
Computer numerical control ( CNC )
Computer numerical control  ( CNC )Computer numerical control  ( CNC )
Computer numerical control ( CNC )
 
CR 7 INTERNSHIP PPT.pptx
CR 7 INTERNSHIP PPT.pptxCR 7 INTERNSHIP PPT.pptx
CR 7 INTERNSHIP PPT.pptx
 
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 machine
CNC machineCNC machine
CNC machine
 
AMT PPT.pptx
AMT PPT.pptxAMT PPT.pptx
AMT PPT.pptx
 
CNC PART PROGRAMMING.pptx
CNC PART PROGRAMMING.pptxCNC PART PROGRAMMING.pptx
CNC PART PROGRAMMING.pptx
 
cnc
cnccnc
cnc
 

Kürzlich hochgeladen

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 

Kürzlich hochgeladen (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH

  • 2. CONTENTS1) History 2) CNC Introduction 3) How they look like? 4) Elements of CNC 5) Block diagram of CNC 6) How CNC Works? 7) Features of CNC Machines 8) CNC Programming Basics 9) Common Format of a Block 10)Programming Key Letters 11)Table of important G-codes 12)Table of important M-codes 13) Programming 14)Advantages 15)Challenges 16)Conclusion 17)References
  • 3. HISTORY The first NC machines were built in the 1940s and 1950s by Prof. John T Parson. CNC machine came into existence after evolution of computer around 1980. Modern CNC Machine are improving further as the technology is changing with a variety of functions according to applications.
  • 4. CNC INTRODUCTION A numerical control system in which the data handling, control sequences, and response to input is determined by an on-board computer system at the machine tool.
  • 5. CNC Machines- How do they look like? Slides Controller Servo Motors Display Console Controller Automated Tool changer Coolant control Chip collection and removal
  • 6. ELEMENTS OF CNC MACHINE  A CNC machine consist of following 6 major elements: i. Input Device ii. Machine Control Unit iii. Machine Tool iv. Driving System v. Feedback Devices vi. Display Unit
  • 7. Block diagram of CNC Machine
  • 8. OPEN LOOPAND CLOSED LOOP CONTROLS In open loop systems the slide may overshoot or may not reach desired position because of inertia, wear and tear and friction, hence inaccurate machining. In closed loop systems the position sensors are used to correct slide movements and achieve higher accuracy and repeatability.
  • 9. HOW CNC WORKS  Controlled by G and M codes.  These are number values and co-ordinates.  Each number or code is assigned to a particular operation.  Typed in manually to CAD by machine operators.  G & M codes are automatically generated by the computer software.
  • 10. FEATURES OF CNC MACHINERY  The tool or material moves automatically.  Tools can operate in 1-5 axes.  Larger machines have a machine control unit (MCU) which manages operations.  Movement is controlled by motors (actuators).  Feedback is provided by sensors (transducers)  Tool magazines are used to change tools automatically.
  • 11. CNC PROGRAMMING BASICS  CNC instructions are called part program commands.  When running, a part program is interpreted one command line at a time until all lines are completed.  Commands, which are also referred to as blocks, are made up of words which each begin with a letter address and end with a numerical value.
  • 12. CNC PROGRAMMING Important things to know:  Coordinate System  Units, incremental or absolute positioning  Coordinates: X,Y,Z, RX,RY,RZ  Feed rate and spindle speed  Coolant Control: On/Off, Flood, Mist  Tool Control: Tool and tool parameters 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.
  • 13. COMMON FORMAT OF A BLOCK Sequence # Preparatory Function Dimension Words Feed Rate Spindle Function Tool Function Misc. Function N50 G90 G01 X1.40Y2.25 F10 S1500 T01 M03 Individual Words
  • 14. 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
  • 15. 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 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
  • 16. TABLE OF 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
  • 24. Advantages of CNC 1) - Easier to program. 2) - Easy storage of existing programs. 3) - Easy to change a program. 4) - Avoids human errors. 5) - CNC machines are safe to operate. 6) - Complex geometry is produced as cheaply as simple ones. 7) - Usually generates closer tolerances than manual machines.
  • 25. CHALLENGES I. Costly setup, skilled operators. II. Computers, programming knowledge required. III. Maintenance is difficult.
  • 26. CONCLUSION  The advantage of a CNC system are that the operation of a conventional machine is removed and the part production is made automatic.  It reduces the labor work and hence highly efficient in the manufacturing process.  BHEL,HAL and other company generally uses CNC machines to achieve its manufacturing targets. For manufacturing works of large scale it is very difficult to work with manual machines as they are time consuming. CNC machines have their wide scope because they are easy to handle, the work becomes easier and jobs are done with perfection.
  • 27. REFERENCES  Manual of CNC from BHEL Jhansi  http://en.wikipedia.org/wiki/computer_n umerical_control  http://www.motioncontrol.com/articles/g earheads-modular-spindle-drives  http://www.seminarprojects.com/cnc