SlideShare a Scribd company logo
PART PROGRAM
• A part program is a series of coded instructions required to
produce a part. It controls the movement of the machine tool
and the on/off control of auxiliary functions such as spindle
rotation and coolant. The coded instructions are composed of
letters, numbers and symbols and are arranged in a format of
functional blocks as in the following example
N10 G01 X5.0 Y2.5 F15.0
| | | | |
| | | | Feed rate (15 in/min)
| | | Y-coordinate (2.5")
| | X-coordinate (5.0")
| Linear interpolation mode
Sequence number
EXAMPLE:
Assume that a drilling operation is to be programmed as:
1. The tool is positioned at (25.4,12.5,0) by a rapid
movement.
2. The tool is then advanced -10 mm in the z direction at
a feed rate of 500 mm/min., with the flood coolant on.
3.The is then retracted back 10 mm at the rapid feed
rate, and the coolant is turned off.
Word address format
N50 G00 X25400 Y125 Z0 F0
N60 G01 Z-10000 F500 M08
N70 G00 Z0 M09
G Codes
• G00 Rapid traverse
• G01 Linear interpolation
• G02 Circular interpolation,
CW
• G03 Circular interpolation,
CCW
• G04 Dwell
• G08 Acceleration
• G09 Deceleration
• G17 X-Y Plane
• G18 Z-X Plane
• G19 Y-Z Plane
• G20 Inch Units (G70)
• G21 Metric Units (G71)
• G40 Cutter compensation –
cancel
• G41 Cutter compensation –
left
• G42 Cutter compensation-
right
• G70 Inch format
• G71 Metric format
• G74 Full-circle programming
off
• G75 Full-circle programming
on
• G80 Fixed-cycle cancel
• G81-G89 Fixed cycles
• G90 Absolute dimensions
• G91 Incremental dimensions
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
Application of Some Codes
G01 Linear Interpolation
5
1 0
1 5
2 0
2 5
5 1 0 1 5 2 0 2 5 3 0
A
B C
P o s i t i o n i n g m o t i o n f r o m A t o C
N 1 0 G 0 0 X 3 0 0 0 0 Y 2 0 0 0 0 F 0
N10 G00 X1 Z1
N15 Z0.1
N20 G01 Z-0.125 F5
N25 X2 Z2 F10
G01 Linear Interpolation
X
Z
Three Main parts of a CNC program
• N5 G90 G21 (Absolute units, metric)
• N10 M06 T2 (Stop for tool change, use
tool # 2)
• N15 M03 S1200 (Turn the spindle on CW
to 1200 rpm)
Part 1- Program Petup
Three Main parts of a CNC program
• N20 G00 X1 Y1 (Rapid to X1,Y1 from origin
point)
• N25 Z0.125 (Rapid down to Z0.125)
• N30 G01 Z-0.125 F100 (Feed down to Z-0.125 at
100 mm/min)
• N35 G01 X2 Y2 (Feed diagonally to X2,Y2)
• N40 G00 Z1 (Rapid up to Z1)
• N45 X0 Y0 (Rapid to X0,Y0)
Part 2- Chip Removal
Three Main parts of a CNC program
• N50 M05 (Turn the spindle off)
• N55 M00 (Program stop)
Part 3- System Shutdown
EXAMPLE OPERATION on CNC
MILLING MACHINE
G-CODE PROGRAM
• First pass : conventional mill to a
depth of 0.125 around edge profile.
Tool 1 is a ½ inch dia. end mill.
%
:1002
N5 G90 G20
N10 M06 T1
N15 M03 S1200
N20 G00 X0.125 Y0.125
N30 Z0.125
N35 G01 Z-0.125 F5
N40 X3.875
N45 Y4.125
N50 X0.125
N55 Y0.125
• Second pass:
conventional mill to a
depth of 0.25 around
edge profile.
N35 Z-0.250
N40 X3.875
N45 Y4.125
N50 X0.125
N55 Y0.125
N60 Z0.125
• Third pass: conventional
mill to a depth of 0.125
around pocket profile.
N65 G00 X1.25 Y1.0
N70 G01 Z-0.125 F5
N75 X1.75
N80 Y2.5
N85 X1.25
N90 Y1.0
N95 Z0.125
• Fourth pass: climb mill
to a depth of 0.125
across remaining
material.
N100 Y2.125
N105 X2.625
N110 Z0.125
N115 G00 X-5 Y-5 Z5
N120 M05
N125 M30
CIMS Lab.ppt

More Related Content

Similar to CIMS Lab.ppt

CNC Programming.pptx
CNC Programming.pptxCNC Programming.pptx
CNC Programming.pptx
Manikandan602030
 
CNC.ppt
CNC.pptCNC.ppt
CNC Programming
CNC Programming CNC Programming
CNC Programming
rajguptanitw
 
Cnc part programming 4 unit
Cnc part programming 4 unitCnc part programming 4 unit
Cnc part programming 4 unit
palanivendhan
 
CNC
CNCCNC
CNC
illpa
 
Cnc lathe
Cnc latheCnc lathe
Cnc lathe
kailashgavare
 
15 me404l manual - ex 1 to 4
15 me404l   manual - ex 1 to 415 me404l   manual - ex 1 to 4
15 me404l manual - ex 1 to 4
ShivamSRIVASTAVA194
 
Akshit
AkshitAkshit
Akshit
Akshit goyal
 
5 g-code
5   g-code5   g-code
5 g-code
alan tellez
 
4 basic cnc programming milling
4 basic cnc programming milling4 basic cnc programming milling
4 basic cnc programming milling
Mahesh Namdev
 
internship presentation.pptx
internship presentation.pptxinternship presentation.pptx
internship presentation.pptx
ChinmaiKumar
 
CNC_MILLING.ppt
CNC_MILLING.pptCNC_MILLING.ppt
CNC_MILLING.ppt
ArunPrasad406320
 
drawing.pptx
drawing.pptxdrawing.pptx
drawing.pptx
PPDCNAGAUR
 
CNC part programming
CNC part programmingCNC part programming
CNC part programming
jntuhcej
 
lecture_cnclathe1.pdf
lecture_cnclathe1.pdflecture_cnclathe1.pdf
lecture_cnclathe1.pdf
ssuser5e0bd21
 

Similar to CIMS Lab.ppt (20)

CNC Programming.pptx
CNC Programming.pptxCNC Programming.pptx
CNC Programming.pptx
 
CNC.ppt
CNC.pptCNC.ppt
CNC.ppt
 
5 g-code
5   g-code5   g-code
5 g-code
 
CNC Programming
CNC Programming CNC Programming
CNC Programming
 
Cnc programming
Cnc programmingCnc programming
Cnc programming
 
Cnc programming
Cnc programmingCnc programming
Cnc programming
 
Cncprogramming
CncprogrammingCncprogramming
Cncprogramming
 
Cnc part programming 4 unit
Cnc part programming 4 unitCnc part programming 4 unit
Cnc part programming 4 unit
 
CNC Turning.ppt
CNC Turning.pptCNC Turning.ppt
CNC Turning.ppt
 
CNC
CNCCNC
CNC
 
Cnc lathe
Cnc latheCnc lathe
Cnc lathe
 
15 me404l manual - ex 1 to 4
15 me404l   manual - ex 1 to 415 me404l   manual - ex 1 to 4
15 me404l manual - ex 1 to 4
 
Akshit
AkshitAkshit
Akshit
 
5 g-code
5   g-code5   g-code
5 g-code
 
4 basic cnc programming milling
4 basic cnc programming milling4 basic cnc programming milling
4 basic cnc programming milling
 
internship presentation.pptx
internship presentation.pptxinternship presentation.pptx
internship presentation.pptx
 
CNC_MILLING.ppt
CNC_MILLING.pptCNC_MILLING.ppt
CNC_MILLING.ppt
 
drawing.pptx
drawing.pptxdrawing.pptx
drawing.pptx
 
CNC part programming
CNC part programmingCNC part programming
CNC part programming
 
lecture_cnclathe1.pdf
lecture_cnclathe1.pdflecture_cnclathe1.pdf
lecture_cnclathe1.pdf
 

Recently uploaded

5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
Bertini's German Motors
 
Antique Plastic Traders Company Profile
Antique Plastic Traders Company ProfileAntique Plastic Traders Company Profile
Antique Plastic Traders Company Profile
Antique Plastic Traders
 
Ec330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdfEc330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdf
Excavator
 
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Hyundai Motor Group
 
What Does the Active Steering Malfunction Warning Mean for Your BMW
What Does the Active Steering Malfunction Warning Mean for Your BMWWhat Does the Active Steering Malfunction Warning Mean for Your BMW
What Does the Active Steering Malfunction Warning Mean for Your BMW
Tanner Motors
 
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtycccccccccccccccccccccccccccccccccccccccccccccccccccccccgtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
4thzenzstar
 
What Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It WorkWhat Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It Work
Motor Cars International
 
Why Is Your BMW X3 Hood Not Responding To Release Commands
Why Is Your BMW X3 Hood Not Responding To Release CommandsWhy Is Your BMW X3 Hood Not Responding To Release Commands
Why Is Your BMW X3 Hood Not Responding To Release Commands
Dart Auto
 
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
Autohaus Service and Sales
 
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
amvovau
 
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
European Service Center
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
psavhef
 
Things to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your carThings to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your car
jennifermiller8137
 
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out HereWhy Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Masters European & Gapanese Auto Repair
 
Ec460b lc Excavator Volvo Service Repair.pdf
Ec460b lc Excavator Volvo Service Repair.pdfEc460b lc Excavator Volvo Service Repair.pdf
Ec460b lc Excavator Volvo Service Repair.pdf
Excavator
 
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptxStatistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
coc7987515756
 
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to TellWondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Vic Auto Collision & Repair
 
Tyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEATTyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEAT
kshamashah95
 
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs  Consulting SMEs.pptxEmpowering Limpopo Entrepreneurs  Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
Precious Mvulane CA (SA),RA
 

Recently uploaded (19)

5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
 
Antique Plastic Traders Company Profile
Antique Plastic Traders Company ProfileAntique Plastic Traders Company Profile
Antique Plastic Traders Company Profile
 
Ec330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdfEc330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdf
 
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
 
What Does the Active Steering Malfunction Warning Mean for Your BMW
What Does the Active Steering Malfunction Warning Mean for Your BMWWhat Does the Active Steering Malfunction Warning Mean for Your BMW
What Does the Active Steering Malfunction Warning Mean for Your BMW
 
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtycccccccccccccccccccccccccccccccccccccccccccccccccccccccgtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
 
What Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It WorkWhat Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It Work
 
Why Is Your BMW X3 Hood Not Responding To Release Commands
Why Is Your BMW X3 Hood Not Responding To Release CommandsWhy Is Your BMW X3 Hood Not Responding To Release Commands
Why Is Your BMW X3 Hood Not Responding To Release Commands
 
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
 
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
 
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
 
Things to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your carThings to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your car
 
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out HereWhy Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
 
Ec460b lc Excavator Volvo Service Repair.pdf
Ec460b lc Excavator Volvo Service Repair.pdfEc460b lc Excavator Volvo Service Repair.pdf
Ec460b lc Excavator Volvo Service Repair.pdf
 
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptxStatistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
 
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to TellWondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
 
Tyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEATTyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEAT
 
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs  Consulting SMEs.pptxEmpowering Limpopo Entrepreneurs  Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
 

CIMS Lab.ppt

  • 1. PART PROGRAM • A part program is a series of coded instructions required to produce a part. It controls the movement of the machine tool and the on/off control of auxiliary functions such as spindle rotation and coolant. The coded instructions are composed of letters, numbers and symbols and are arranged in a format of functional blocks as in the following example N10 G01 X5.0 Y2.5 F15.0 | | | | | | | | | Feed rate (15 in/min) | | | Y-coordinate (2.5") | | X-coordinate (5.0") | Linear interpolation mode Sequence number
  • 2. EXAMPLE: Assume that a drilling operation is to be programmed as: 1. The tool is positioned at (25.4,12.5,0) by a rapid movement. 2. The tool is then advanced -10 mm in the z direction at a feed rate of 500 mm/min., with the flood coolant on. 3.The is then retracted back 10 mm at the rapid feed rate, and the coolant is turned off. Word address format N50 G00 X25400 Y125 Z0 F0 N60 G01 Z-10000 F500 M08 N70 G00 Z0 M09
  • 3. G Codes • G00 Rapid traverse • G01 Linear interpolation • G02 Circular interpolation, CW • G03 Circular interpolation, CCW • G04 Dwell • G08 Acceleration • G09 Deceleration • G17 X-Y Plane • G18 Z-X Plane • G19 Y-Z Plane • G20 Inch Units (G70) • G21 Metric Units (G71) • G40 Cutter compensation – cancel • G41 Cutter compensation – left • G42 Cutter compensation- right • G70 Inch format • G71 Metric format • G74 Full-circle programming off • G75 Full-circle programming on • G80 Fixed-cycle cancel • G81-G89 Fixed cycles • G90 Absolute dimensions • G91 Incremental dimensions
  • 4. 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
  • 5. Application of Some Codes G01 Linear Interpolation 5 1 0 1 5 2 0 2 5 5 1 0 1 5 2 0 2 5 3 0 A B C P o s i t i o n i n g m o t i o n f r o m A t o C N 1 0 G 0 0 X 3 0 0 0 0 Y 2 0 0 0 0 F 0
  • 6. N10 G00 X1 Z1 N15 Z0.1 N20 G01 Z-0.125 F5 N25 X2 Z2 F10 G01 Linear Interpolation X Z
  • 7. Three Main parts of a CNC program • N5 G90 G21 (Absolute units, metric) • N10 M06 T2 (Stop for tool change, use tool # 2) • N15 M03 S1200 (Turn the spindle on CW to 1200 rpm) Part 1- Program Petup
  • 8. Three Main parts of a CNC program • N20 G00 X1 Y1 (Rapid to X1,Y1 from origin point) • N25 Z0.125 (Rapid down to Z0.125) • N30 G01 Z-0.125 F100 (Feed down to Z-0.125 at 100 mm/min) • N35 G01 X2 Y2 (Feed diagonally to X2,Y2) • N40 G00 Z1 (Rapid up to Z1) • N45 X0 Y0 (Rapid to X0,Y0) Part 2- Chip Removal
  • 9. Three Main parts of a CNC program • N50 M05 (Turn the spindle off) • N55 M00 (Program stop) Part 3- System Shutdown
  • 10.
  • 11.
  • 12. EXAMPLE OPERATION on CNC MILLING MACHINE
  • 13. G-CODE PROGRAM • First pass : conventional mill to a depth of 0.125 around edge profile. Tool 1 is a ½ inch dia. end mill. % :1002 N5 G90 G20 N10 M06 T1 N15 M03 S1200 N20 G00 X0.125 Y0.125 N30 Z0.125 N35 G01 Z-0.125 F5 N40 X3.875 N45 Y4.125 N50 X0.125 N55 Y0.125
  • 14. • Second pass: conventional mill to a depth of 0.25 around edge profile. N35 Z-0.250 N40 X3.875 N45 Y4.125 N50 X0.125 N55 Y0.125 N60 Z0.125
  • 15. • Third pass: conventional mill to a depth of 0.125 around pocket profile. N65 G00 X1.25 Y1.0 N70 G01 Z-0.125 F5 N75 X1.75 N80 Y2.5 N85 X1.25 N90 Y1.0 N95 Z0.125
  • 16. • Fourth pass: climb mill to a depth of 0.125 across remaining material. N100 Y2.125 N105 X2.625 N110 Z0.125 N115 G00 X-5 Y-5 Z5 N120 M05 N125 M30