SlideShare a Scribd company logo
1 of 32
NC and CNC machines and Control Programming
Introduction to NC and CNC machines
CNC controls and RS274 programming
History of CNC
1949
US Air Force asks MIT to develop a "numerically controlled"
machine.
1952
Prototype NC machine demonstrated (punched tape input)
1980-
CNC machines (computer used to link directly to controller)
1990-
DNC: external computer “drip feeds” control programmer
to machine tool controller
Motivation and uses
To manufacture complex curved geometries in 2D or 3D
was extremely expensive by mechanical means (which
usually would require complex jigs to control the cutter
motions)
Machining components with repeatable accuracy
Unmanned machining operations
Advantages of CNC
- Easier to program;
- Easy storage of existing programs;
- Easy to change a program
- Avoids human errors
- NC machines are safer to operate
- Complex geometry is produced as cheaply as simple ones
- Usually generates closer tolerances than manual machines
Conventional milling machines
Vertical milling machine
Vertical Milling machine architecture
Conventional milling machines
Horizontal Milling machine architecture
Conventional milling machines
How does the table move along X- Y- and Z- axes ?
NC machines
Motion control is done by: servo-controlled motors
~
Servo Controller
Counter Comparator
Encoder A/C Motor
Input (converted fromanalog to digital value)
Table
Leadscrew
CNC terminology
BLU: basic length unit 
smallest programmable move of each axis.
Controller: (Machine Control Unit, MCU) 
Electronic and computerized interface between operator and m/c
Controller components:
1. Data Processing Unit (DPU)
2. Control-Loops Unit (CLU)
Controller components
Data Processing Unit:
Input device [RS-232 port/ Tape Reader/ Punched Tape Reader]
Data Reading Circuits and Parity Checking Circuits
Decoders to distribute data to the axes controllers.
Control Loops Unit:
Interpolator to supply machine-motion commands between data points
Position control loop hardware for each axis of motion
Types of CNC machines
Based on Motion Type:
Point-to-Point or Continuous path
Based on Control Loops:
Open loop or Closed loop
Based on Power Supply:
Electric or Hydraulic or Pneumatic
Based on Positioning System
Incremental or Absolute
Open Loop vs. Closed Loop controls
Open loop control of a Point-to-Point NC drilling machine
NOTE: this machine uses stepper motor control
Components of Servo-motor controlled CNC
Motor speed control
Two types of encoder configurations
Motor lead screw rotation table moves
position sensed by encoderfeedback
Motion Control and feedback
Encoder outputs: electrical pulses (e.g. 500 pulses per revolution)
Rotation of the motor  linear motion of the table: by the leadscrew
The pitch of the leadscrew: horizontal distance between successive threads
One thread in a screw  single start screw: Dist moved in 1 rev = pitch
Two threads in screw  double start screw: Dist moved in 1 rev = 2* pitch
Example 1
A Stepping motor of 20 steps per revolution moves a machine table
through a leadscrew of 0.2 mm pitch.
(a) What is the BLU of the system ?
(b) If the motor receives 2000 pulses per minute, what is the linear
velocity in inch/min ?
Example 2
A DC servo-motor is coupled to a leadscrew (pitch 5mm) of a machine table.
A digital encoder, which emits 500 pulses per revolution, is mounted on the
leadscrew. If the motor rotates at 600 rpm, find
(a) The linear velocity of the table
(b) The BLU of the machine
(c) The frequency of pulses emitted by the encoder.
Manual NC programming
Part program: A computer program to specify
- Which tool should be loaded on the machine spindle;
- What are the cutting conditions (speed, feed, coolant ON/OFF etc)
- The start point and end point of a motion segment
- how to move the tool with respect to the machine.
Standard Part programming language: RS 274-D (Gerber, GN-code)
History of CNC
The RS274-D is a word address format
Each line of program == 1 block
Each block is composed of several instructions, or (words)
Sequence and format of words:
N3 G2 X+1.4 Y+1.4 Z+1.4 I1.4 J1.4 K1.4 F3.2 S4 T4 M2
sequence no
preparatory function
destination coordinates dist to center of circle
feed rate spindle speed
tool
miscellaneous function
Manual Part Programming Example
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
(4, 4)
(2, 2)
5”
p0
p1
p2
5”
2.5”
1”
45°
p3
p4
p5
Motion of tool:
p0  p1  p2  p3  p4  p5  p1  p0
Spindle CCW
(4, 4)
(2, 2)
5”
p0
p1
p2
5”
2.5”
1”
45°
p3
p4
p5
1. Set up the programming parameters
N010 G70 G90 G94 G97 M04
Programming in inches
Use absolute coordinates
Spindle speed in rpm
Feed in ipm
Flood coolant ON
(4, 4)
(2, 2)
5”
p0
p1
p2
5”
2.5”
1”
45°
p3
p4
p5
2. Set up the machining conditions
N020 G17 G75 F6.0 S300 T1001 M08
Machine moves in XY-plane
Feed rate
Tool no.
Spindle speed
Use full-circle interpolation
(4, 4)
(2, 2)
5”
p0
p1
p2
5”
2.5”
1”
45°
p3
p4
p5
3. Move tool from p0 to p1 in straight line
N030 G01 X3.875 Y3.698
Linear interpolation
target coordinates
(4, 4)
(2, 2)
5”
p0
p1
p2
5”
2.5”
1”
45°
p3
p4
p5
4. Cut profile from p1 to p2
N040 G01 X3.875 Y9.125
Linear interpolation
target coordinates
N040 G01 Y9.125
X-coordinate does not change  no need to program it
or
(4, 4)
(2, 2)
5”
p0
p1
p2
5”
2.5”
1”
45°
p3
p4
p5
5. Cut profile from p2 to p3
N050 G01 X5.634 Y9.125
Linear interpolation
target coordinates
1”
p3
.125
(x, y)
(6.5, 9)
y = 9 + 0.125 = 9.125
(6.5 - x)2 + 0.1252 = (1 - 0.125)2
x = 5.634
coordinates of center of circle(4, 4)
(2, 2)
5”
p0
p1
p2
5”
2.5”
1”
45°
p3
p4
p5
6. Cut along circle from p3 to p4
N060 G03 X7.366 Y9.125 I6.5 J9.0
circular interpolation, CCW motion
target coordinates
(4, 4)
(2, 2)
5”
p0
p1
p2
5”
2.5”
1”
45°
p3
p4
p5
7. Cut from p4 to p5
N070 G01 X9.302
target coordinates (Y is unchanged)
Linear interpolation
(4, 4)
(2, 2)
5”
p0
p1
p2
5”
2.5”
1”
45°
p3
p4
p5
8. Cut from p5 to p1
N080 G01 X3.875 Y3.698
target coordinates (see step 3)
Linear interpolation
(4, 4)
(2, 2)
5”
p0
p1
p2
5”
2.5”
1”
45°
p3
p4
p5
9. Return to home position, stop program
N090 G01 X2.0 Y2.0 M30
end of data
target coordinates (see step 3)
Linear interpolation
N100 M00
program stop
Automatic Part Programming
Software programs can automatic generation of CNC data
Make 3D model
Define Tool
CNC data
Simulate
cutting
Automatic part programming and DNC
Very complex part shapes  very large NC program
NC controller memory may not handle HUGE part program
computer feeds few blocks of
NC program to controller
When almost all blocks executed,
controller requests more blocks
Summary
CNC machines allow precise and repeatable control in machining
CNC lathes, Milling machines, etc. are all controlled by NC programs
NC programs can be generated manually, automatically
Additional references: RS274D code descriptions

More Related Content

What's hot (20)

Nc Technology
Nc TechnologyNc Technology
Nc Technology
 
Numeric control
Numeric controlNumeric control
Numeric control
 
Nc Machine
Nc MachineNc Machine
Nc Machine
 
Unit 3 Computer Numerical Control
Unit 3 Computer Numerical ControlUnit 3 Computer Numerical Control
Unit 3 Computer Numerical Control
 
ppt on cnc
ppt on cncppt on cnc
ppt on cnc
 
BHEL JHANSI
BHEL JHANSIBHEL JHANSI
BHEL JHANSI
 
NC, CNC & DNC Machine
NC, CNC & DNC Machine NC, CNC & DNC Machine
NC, CNC & DNC Machine
 
CNC machining
CNC machiningCNC machining
CNC machining
 
Nc
NcNc
Nc
 
24 cnc machine feedback devices
24 cnc machine feedback devices24 cnc machine feedback devices
24 cnc machine feedback devices
 
CNC machine\ and its types
CNC machine\ and its typesCNC machine\ and its types
CNC machine\ and its types
 
CNC Seminar
CNC SeminarCNC Seminar
CNC Seminar
 
J4123 CNC TURNING NOTE
J4123 CNC TURNING NOTEJ4123 CNC TURNING NOTE
J4123 CNC TURNING NOTE
 
Cnc technology yani punye
Cnc technology yani punyeCnc technology yani punye
Cnc technology yani punye
 
Nc programming
Nc programmingNc programming
Nc programming
 
CNC AND ITS COMPONENTS
CNC AND ITS COMPONENTSCNC AND ITS COMPONENTS
CNC AND ITS COMPONENTS
 
CNC PROGRAMMING FOR BEGAINER Part 1
CNC PROGRAMMING FOR BEGAINER Part 1CNC PROGRAMMING FOR BEGAINER Part 1
CNC PROGRAMMING FOR BEGAINER Part 1
 
Ch 2 NC machine
Ch 2 NC machine Ch 2 NC machine
Ch 2 NC machine
 
Computer numerical control (CNC)
Computer numerical control (CNC)Computer numerical control (CNC)
Computer numerical control (CNC)
 
Unit5 170719122758
Unit5 170719122758Unit5 170719122758
Unit5 170719122758
 

Viewers also liked

Cnc Programming Basics
Cnc Programming BasicsCnc Programming Basics
Cnc Programming Basicsshlxtn
 
4 basic cnc programming milling
4 basic cnc programming milling4 basic cnc programming milling
4 basic cnc programming millingMahesh Namdev
 
CNC Machines
CNC MachinesCNC Machines
CNC Machinespratik207
 
Fanuc 0i operator's manual
Fanuc 0i operator's manualFanuc 0i operator's manual
Fanuc 0i operator's manualCNCDATAN
 
Cnc પ્રોગ્રામિંગ
Cnc પ્રોગ્રામિંગCnc પ્રોગ્રામિંગ
Cnc પ્રોગ્રામિંગJanak Valaki (PhD)
 
Profile mua thi Kenhtuyensinh
Profile mua thi KenhtuyensinhProfile mua thi Kenhtuyensinh
Profile mua thi Kenhtuyensinhkenhtuyensinh
 
Special purposer lathe machine. ppt
Special purposer lathe machine. pptSpecial purposer lathe machine. ppt
Special purposer lathe machine. pptZAKI ANWER
 
Cnc 2- structure of cnc machines - hiast
Cnc 2- structure of cnc machines - hiastCnc 2- structure of cnc machines - hiast
Cnc 2- structure of cnc machines - hiastahmad almaleh
 
Cnc 3- G code language -hiast
Cnc 3- G code language -hiastCnc 3- G code language -hiast
Cnc 3- G code language -hiastahmad almaleh
 
Cnc 1-introduction to cnc machines - hiast
Cnc 1-introduction to cnc machines - hiastCnc 1-introduction to cnc machines - hiast
Cnc 1-introduction to cnc machines - hiastahmad almaleh
 
Cnc 4-g code language -hiast
Cnc 4-g code language -hiastCnc 4-g code language -hiast
Cnc 4-g code language -hiastahmad almaleh
 
Industrial visit for Department OF Mechanical Engineering - BHEL
Industrial visit for Department OF Mechanical Engineering - BHELIndustrial visit for Department OF Mechanical Engineering - BHEL
Industrial visit for Department OF Mechanical Engineering - BHELUPES Dehradun
 
Product manufacturing cnc edm
Product manufacturing  cnc edmProduct manufacturing  cnc edm
Product manufacturing cnc edmGaurav Gunjan
 

Viewers also liked (17)

Cnc programming basics.doc
Cnc programming basics.docCnc programming basics.doc
Cnc programming basics.doc
 
Cnc Programming Basics
Cnc Programming BasicsCnc Programming Basics
Cnc Programming Basics
 
4 basic cnc programming milling
4 basic cnc programming milling4 basic cnc programming milling
4 basic cnc programming milling
 
CNC Machines
CNC MachinesCNC Machines
CNC Machines
 
Fanuc 0i operator's manual
Fanuc 0i operator's manualFanuc 0i operator's manual
Fanuc 0i operator's manual
 
Cnc પ્રોગ્રામિંગ
Cnc પ્રોગ્રામિંગCnc પ્રોગ્રામિંગ
Cnc પ્રોગ્રામિંગ
 
Profile mua thi Kenhtuyensinh
Profile mua thi KenhtuyensinhProfile mua thi Kenhtuyensinh
Profile mua thi Kenhtuyensinh
 
Fikus presentation 2015
Fikus presentation 2015Fikus presentation 2015
Fikus presentation 2015
 
Special purposer lathe machine. ppt
Special purposer lathe machine. pptSpecial purposer lathe machine. ppt
Special purposer lathe machine. ppt
 
lathe
 lathe lathe
lathe
 
Cnc 2- structure of cnc machines - hiast
Cnc 2- structure of cnc machines - hiastCnc 2- structure of cnc machines - hiast
Cnc 2- structure of cnc machines - hiast
 
Cnc 3- G code language -hiast
Cnc 3- G code language -hiastCnc 3- G code language -hiast
Cnc 3- G code language -hiast
 
Cnc 1-introduction to cnc machines - hiast
Cnc 1-introduction to cnc machines - hiastCnc 1-introduction to cnc machines - hiast
Cnc 1-introduction to cnc machines - hiast
 
Cnc 4-g code language -hiast
Cnc 4-g code language -hiastCnc 4-g code language -hiast
Cnc 4-g code language -hiast
 
Mechanical CNC machine
Mechanical CNC machineMechanical CNC machine
Mechanical CNC machine
 
Industrial visit for Department OF Mechanical Engineering - BHEL
Industrial visit for Department OF Mechanical Engineering - BHELIndustrial visit for Department OF Mechanical Engineering - BHEL
Industrial visit for Department OF Mechanical Engineering - BHEL
 
Product manufacturing cnc edm
Product manufacturing  cnc edmProduct manufacturing  cnc edm
Product manufacturing cnc edm
 

Similar to 9 cnc (1)

Similar to 9 cnc (1) (20)

Cnc programming
Cnc programmingCnc programming
Cnc programming
 
Part Programming Examples.pdf
Part Programming Examples.pdfPart Programming Examples.pdf
Part Programming Examples.pdf
 
MT-II UNIT V CNC MACHINING
MT-II UNIT V CNC MACHININGMT-II UNIT V CNC MACHINING
MT-II UNIT V CNC MACHINING
 
9_CNC (1).ppt
9_CNC (1).ppt9_CNC (1).ppt
9_CNC (1).ppt
 
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
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
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
 
Me761 a lecture-4 cnc
Me761 a lecture-4 cncMe761 a lecture-4 cnc
Me761 a lecture-4 cnc
 
Numerical control and CNC
Numerical control and CNCNumerical control and CNC
Numerical control and CNC
 
Introduction to CNC machining processes-
Introduction to CNC machining processes-Introduction to CNC machining processes-
Introduction to CNC machining processes-
 
PPT ON BHEL HARIDWAR
PPT ON BHEL HARIDWARPPT ON BHEL HARIDWAR
PPT ON BHEL HARIDWAR
 
introduction to cnc machines
 introduction to cnc machines introduction to cnc machines
introduction to cnc machines
 
Ncmachine (1)
Ncmachine (1)Ncmachine (1)
Ncmachine (1)
 
CNC Programmingmodifies1
CNC Programmingmodifies1CNC Programmingmodifies1
CNC Programmingmodifies1
 
9.pmat m 01
9.pmat m 019.pmat m 01
9.pmat m 01
 
CNC -Intro to mfg.pptx
CNC -Intro to mfg.pptxCNC -Intro to mfg.pptx
CNC -Intro to mfg.pptx
 

More from QSC-Fabrication laboratory (18)

3D_Printing_Concrete_A_Review (1).pdf
3D_Printing_Concrete_A_Review (1).pdf3D_Printing_Concrete_A_Review (1).pdf
3D_Printing_Concrete_A_Review (1).pdf
 
A_Simple_Model_to_Compute_the_Characteristic_Param.pdf
A_Simple_Model_to_Compute_the_Characteristic_Param.pdfA_Simple_Model_to_Compute_the_Characteristic_Param.pdf
A_Simple_Model_to_Compute_the_Characteristic_Param.pdf
 
15mafaz wali--final (1)
15mafaz wali--final (1)15mafaz wali--final (1)
15mafaz wali--final (1)
 
Pre install checklist
Pre install checklistPre install checklist
Pre install checklist
 
Final call-for-papers.pdf
Final call-for-papers.pdfFinal call-for-papers.pdf
Final call-for-papers.pdf
 
Speedy300 flyer (1)
Speedy300 flyer (1)Speedy300 flyer (1)
Speedy300 flyer (1)
 
Capacitors
CapacitorsCapacitors
Capacitors
 
список элементов-для-таймера
список элементов-для-таймерасписок элементов-для-таймера
список элементов-для-таймера
 
Annex 0201
Annex 0201Annex 0201
Annex 0201
 
Time sheet
Time sheetTime sheet
Time sheet
 
67 sos3 series 3 winner announced english (3)
67 sos3 series 3 winner announced english (3)67 sos3 series 3 winner announced english (3)
67 sos3 series 3 winner announced english (3)
 
wireless power charging
wireless power chargingwireless power charging
wireless power charging
 
Eddy current labo
Eddy current laboEddy current labo
Eddy current labo
 
Batteries chargeur.fr
Batteries chargeur.frBatteries chargeur.fr
Batteries chargeur.fr
 
Flux leakagewireropes
Flux leakagewireropesFlux leakagewireropes
Flux leakagewireropes
 
Crane wire rope damage and inspection methods
Crane wire rope damage and inspection methodsCrane wire rope damage and inspection methods
Crane wire rope damage and inspection methods
 
Asnt houston
Asnt houstonAsnt houston
Asnt houston
 
Qatar foundation magzine
Qatar foundation magzineQatar foundation magzine
Qatar foundation magzine
 

Recently uploaded

AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...BarusRa
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...Call Girls in Nagpur High Profile
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdftbatkhuu1
 
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdfJordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdfamanda2495
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxTusharBahuguna2
 
DESIGN THINKING in architecture- Introduction
DESIGN THINKING in architecture- IntroductionDESIGN THINKING in architecture- Introduction
DESIGN THINKING in architecture- Introductionsivagami49
 
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...poojakaurpk09
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Sweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxSweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxbingyichin04
 
Sector 104, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 104, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 104, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 104, Noida Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...Pooja Nehwal
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...Call Girls in Nagpur High Profile
 
Case Study of Hotel Taj Vivanta, Pune
Case Study of Hotel Taj Vivanta, PuneCase Study of Hotel Taj Vivanta, Pune
Case Study of Hotel Taj Vivanta, PuneLukeKholes
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja Nehwal
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja Nehwal
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...amitlee9823
 
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls AgencyHire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls AgencyNitya salvi
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...amitlee9823
 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...RitikaRoy32
 

Recently uploaded (20)

AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdf
 
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdfJordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptx
 
DESIGN THINKING in architecture- Introduction
DESIGN THINKING in architecture- IntroductionDESIGN THINKING in architecture- Introduction
DESIGN THINKING in architecture- Introduction
 
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
 
Sweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxSweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptx
 
Sector 104, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 104, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 104, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 104, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
 
Case Study of Hotel Taj Vivanta, Pune
Case Study of Hotel Taj Vivanta, PuneCase Study of Hotel Taj Vivanta, Pune
Case Study of Hotel Taj Vivanta, Pune
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls AgencyHire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
 

9 cnc (1)

  • 1. NC and CNC machines and Control Programming Introduction to NC and CNC machines CNC controls and RS274 programming
  • 2. History of CNC 1949 US Air Force asks MIT to develop a "numerically controlled" machine. 1952 Prototype NC machine demonstrated (punched tape input) 1980- CNC machines (computer used to link directly to controller) 1990- DNC: external computer “drip feeds” control programmer to machine tool controller
  • 3. Motivation and uses To manufacture complex curved geometries in 2D or 3D was extremely expensive by mechanical means (which usually would require complex jigs to control the cutter motions) Machining components with repeatable accuracy Unmanned machining operations
  • 4. Advantages of CNC - Easier to program; - Easy storage of existing programs; - Easy to change a program - Avoids human errors - NC machines are safer to operate - Complex geometry is produced as cheaply as simple ones - Usually generates closer tolerances than manual machines
  • 6. Vertical Milling machine architecture Conventional milling machines
  • 7. Horizontal Milling machine architecture Conventional milling machines How does the table move along X- Y- and Z- axes ?
  • 8. NC machines Motion control is done by: servo-controlled motors ~ Servo Controller Counter Comparator Encoder A/C Motor Input (converted fromanalog to digital value) Table Leadscrew
  • 9. CNC terminology BLU: basic length unit  smallest programmable move of each axis. Controller: (Machine Control Unit, MCU)  Electronic and computerized interface between operator and m/c Controller components: 1. Data Processing Unit (DPU) 2. Control-Loops Unit (CLU)
  • 10. Controller components Data Processing Unit: Input device [RS-232 port/ Tape Reader/ Punched Tape Reader] Data Reading Circuits and Parity Checking Circuits Decoders to distribute data to the axes controllers. Control Loops Unit: Interpolator to supply machine-motion commands between data points Position control loop hardware for each axis of motion
  • 11. Types of CNC machines Based on Motion Type: Point-to-Point or Continuous path Based on Control Loops: Open loop or Closed loop Based on Power Supply: Electric or Hydraulic or Pneumatic Based on Positioning System Incremental or Absolute
  • 12. Open Loop vs. Closed Loop controls
  • 13. Open loop control of a Point-to-Point NC drilling machine NOTE: this machine uses stepper motor control
  • 14. Components of Servo-motor controlled CNC Motor speed control Two types of encoder configurations Motor lead screw rotation table moves position sensed by encoderfeedback
  • 15. Motion Control and feedback Encoder outputs: electrical pulses (e.g. 500 pulses per revolution) Rotation of the motor  linear motion of the table: by the leadscrew The pitch of the leadscrew: horizontal distance between successive threads One thread in a screw  single start screw: Dist moved in 1 rev = pitch Two threads in screw  double start screw: Dist moved in 1 rev = 2* pitch
  • 16. Example 1 A Stepping motor of 20 steps per revolution moves a machine table through a leadscrew of 0.2 mm pitch. (a) What is the BLU of the system ? (b) If the motor receives 2000 pulses per minute, what is the linear velocity in inch/min ?
  • 17. Example 2 A DC servo-motor is coupled to a leadscrew (pitch 5mm) of a machine table. A digital encoder, which emits 500 pulses per revolution, is mounted on the leadscrew. If the motor rotates at 600 rpm, find (a) The linear velocity of the table (b) The BLU of the machine (c) The frequency of pulses emitted by the encoder.
  • 18. Manual NC programming Part program: A computer program to specify - Which tool should be loaded on the machine spindle; - What are the cutting conditions (speed, feed, coolant ON/OFF etc) - The start point and end point of a motion segment - how to move the tool with respect to the machine. Standard Part programming language: RS 274-D (Gerber, GN-code)
  • 19. History of CNC The RS274-D is a word address format Each line of program == 1 block Each block is composed of several instructions, or (words) Sequence and format of words: N3 G2 X+1.4 Y+1.4 Z+1.4 I1.4 J1.4 K1.4 F3.2 S4 T4 M2 sequence no preparatory function destination coordinates dist to center of circle feed rate spindle speed tool miscellaneous function
  • 20. Manual Part Programming Example 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 (4, 4) (2, 2) 5” p0 p1 p2 5” 2.5” 1” 45° p3 p4 p5 Motion of tool: p0  p1  p2  p3  p4  p5  p1  p0
  • 21. Spindle CCW (4, 4) (2, 2) 5” p0 p1 p2 5” 2.5” 1” 45° p3 p4 p5 1. Set up the programming parameters N010 G70 G90 G94 G97 M04 Programming in inches Use absolute coordinates Spindle speed in rpm Feed in ipm
  • 22. Flood coolant ON (4, 4) (2, 2) 5” p0 p1 p2 5” 2.5” 1” 45° p3 p4 p5 2. Set up the machining conditions N020 G17 G75 F6.0 S300 T1001 M08 Machine moves in XY-plane Feed rate Tool no. Spindle speed Use full-circle interpolation
  • 23. (4, 4) (2, 2) 5” p0 p1 p2 5” 2.5” 1” 45° p3 p4 p5 3. Move tool from p0 to p1 in straight line N030 G01 X3.875 Y3.698 Linear interpolation target coordinates
  • 24. (4, 4) (2, 2) 5” p0 p1 p2 5” 2.5” 1” 45° p3 p4 p5 4. Cut profile from p1 to p2 N040 G01 X3.875 Y9.125 Linear interpolation target coordinates N040 G01 Y9.125 X-coordinate does not change  no need to program it or
  • 25. (4, 4) (2, 2) 5” p0 p1 p2 5” 2.5” 1” 45° p3 p4 p5 5. Cut profile from p2 to p3 N050 G01 X5.634 Y9.125 Linear interpolation target coordinates 1” p3 .125 (x, y) (6.5, 9) y = 9 + 0.125 = 9.125 (6.5 - x)2 + 0.1252 = (1 - 0.125)2 x = 5.634
  • 26. coordinates of center of circle(4, 4) (2, 2) 5” p0 p1 p2 5” 2.5” 1” 45° p3 p4 p5 6. Cut along circle from p3 to p4 N060 G03 X7.366 Y9.125 I6.5 J9.0 circular interpolation, CCW motion target coordinates
  • 27. (4, 4) (2, 2) 5” p0 p1 p2 5” 2.5” 1” 45° p3 p4 p5 7. Cut from p4 to p5 N070 G01 X9.302 target coordinates (Y is unchanged) Linear interpolation
  • 28. (4, 4) (2, 2) 5” p0 p1 p2 5” 2.5” 1” 45° p3 p4 p5 8. Cut from p5 to p1 N080 G01 X3.875 Y3.698 target coordinates (see step 3) Linear interpolation
  • 29. (4, 4) (2, 2) 5” p0 p1 p2 5” 2.5” 1” 45° p3 p4 p5 9. Return to home position, stop program N090 G01 X2.0 Y2.0 M30 end of data target coordinates (see step 3) Linear interpolation N100 M00 program stop
  • 30. Automatic Part Programming Software programs can automatic generation of CNC data Make 3D model Define Tool CNC data Simulate cutting
  • 31. Automatic part programming and DNC Very complex part shapes  very large NC program NC controller memory may not handle HUGE part program computer feeds few blocks of NC program to controller When almost all blocks executed, controller requests more blocks
  • 32. Summary CNC machines allow precise and repeatable control in machining CNC lathes, Milling machines, etc. are all controlled by NC programs NC programs can be generated manually, automatically Additional references: RS274D code descriptions