SlideShare a Scribd company logo
IE550
NC PART
PROGRAMMING
IE550 Fall 2001
IE550
HISTORICAL DEVELOPMENT
• 15th century - machining metal.
• 18th century - industrialization, production-type machine tools.
• 20th century - F.W. Taylor - tool metal - HSS
Automated production equipment -
Screw machines
Transfer lines
Assembly lines
...
using cams and preset stops
Programmable automation -
NC
PLC
Robots
IE550
NEW NCs or CNCs
high speed spindle (> 20,000 rpm)
high feed rate drive ( > 600 ipm)
high precision ( < 0.0001" accuracy)
IE550
NC MACHINES
• Computer control
• Servo axis control
• Tool changers
• Pallet changers
• On-machine programming
• Data communication
• Graphical interface
MCU
Machine
Tool
CLU
DPU
MCU - Machine control
unit
CLU - Control-loops unit
DPU - Data processing
unit
IE550
NC MOTION-CONTROL
NC Program
Execut ion
Sy st em
Int erpolat or &
Serv o-cont r ol
Mechanism
Cont rol Logic
Linear Mot ion
Po w er
Tr anslat or
Relay
Solenoid
Commands
Dim ensions
IE550
NC MACHINE CLASSIFICATIONS
1. Motion control: point to point (PTP)
and continuous (contouring) path
2. Control loops: open loop and closed loop
3. Power drives: hydraulic, electric,
or pneumatic
4. Positioning systems: incremental and
absolute positioning
5. Hardwired NC and softwired Computer
Numerical Control (CNC)
IE550
POINT TO POINT
• Moving at maximum rate from point to point.
• Accuracy of the destination is important but not the path.
• Drilling is a good application.
IE550
CONTINUOUS PATH
• Controls both the displacement and the velocity.
• Machining profiles.
• Precise control.
• Use linear and circular interpolators.
IE550
MAJOR COMPONENTS OF
AN NC MACHINE TOOL
Magnetics control
cabinet
Controller
Servo
drive
Machinetable
Position
transducer
Leadscrew
Gear
box
Tachometer
Motor
IE550
NC MACHINE RATING
Accuracy
Repeatability
Spindle and axis motor horsepower
Number of controlled axes
Dimension of workspace
Features of the machine and the controller.
IE550
NC ACCURACY AND REPEATABILITY
• Accuracy = control instrumentation resolution
and hardware accuracy.
• Control resolution: the minimum length
distinguishable by the control unit (BLU).
• Hardware inaccuracies are caused by physical
machine errors.
IE550
HARDWARE INACCURACIES
Component tolerances:
inaccuracies in the machine elements, machine-
tool assembly errors, spindle runout, and
leadscrew backlash.
Machine operation:
Tool deflection (a function of the cutting force),
produces dimensional error and chatter marks on
the finished part.
Thermal error:
heat generated by the motor operation, cutting
process, friction on the ways and bearings, etc.
Use cutting fluids, locating drive motors away
from the center of a machine, and reducing friction
IE550
REPEATABILITY
Avg. error
Programmed position
Test result
Repeatability
IE550
LEADSCREWS
Leadscrew
Pitch
Nut
Converting the rotational motion of the motors to a linear motion.
pitch (p): the distance between adjacent screw threads
the number of teeth per inch (n):
n = 1 / p
BLU: Basic Length Unit (machine resolution)
BLU = p / N
e.g. an NC machine uses a 0.1" pitch leadscrew and a 100 pulse/rev
encoder.
BLU = p / N = 0.1 (in/rev) /100 (pulses/rev) = 0.001"
IE550
CONTROL LOOPS
Open loop - No position feedback.
Use stepping motor.
A machine has 1 BLU = 0.001".To move the table
5" on X axis at a speed (feed rate) of 6 ipm.
pulse rate = speed/BLU = 6 ipm/0.001 ipp = 6,000
pulse/min
pulse count = distance/BLU = 5/0.001 = 5,000
pulses
motor
table
pulses
IE550
CLOSED LOOP
Reference pulses
+ DC
Motor
Tacho-
meter
Differential
amplifier
Encoder
Up-down
counter Amp
DAC
_
+
Shaft
Closed-loop control mechanism
IE550
INTERPOLATION
Control multiple axes simultaneously to move on a
line, a circle, or a curve.
(3,2)
(10,5)
X
Y
Point-to-point control path
(3,2)
(10,5)
X
Y
Linear path
Vy =6
(5-2)
(10-3)
2
+ (5-2)
2
= 6
3
49+ 9
= 2.3635
Vx =6
(10-3)
(10-3)
2
+ (5-2)
2
= 6
7
49+ 9
= 5.5149
IE550
INTERPOLATORS
Most common interpolators are: linear and circular
Since interpolation is right above the servo level,
speed is critical, and the process must not involve
excessive computation.
Traditional NC interpolators: Digital Differential
Analyzer (DDA)
Higher order curves, such as Bezier's curve, use off-
line approximation algorithms to break the curves
into linear or circular segments.
IE550
COORDINATE SYSTEMS
• Right hand rule
• Z axis align with the spindle - +Z moves away from
the workpiece or the spindle.
• X axis - Lathe: perpendicular to the spindle.
Horizontal machine: parallel to the table.
Vertical machine: +X points to the right.
x
y
z
x
y
z
IE550
MACHINE COORDINATES
X
Y
Z X - Primary Feed axis
Z - Spindle axis
Y - Remaining axis
IE550
PROGRAM STORAGE
• Paper tape
Paper or Mylar coated paper.
• Diskettes
• From other computers through RS 232 or local area
network (LAN)
IE550
SYMBOLIC CODES
• ASCII or ISO, use even parity
• EIA - Binary Coded Decimal (BCD), RS 244A
standard, use odd parity.
IE550
TAPE INPUT FORMATS
EIA RS-274 standard
• Fixed sequential format
0010 01 07500 06250 00000 00000 612
• Tab sequential format
T0010 T01 T07500 T06250 T T T612
• Word-address format
N0010 G01 X07500 Y06250 S612
IE550
NC WORDS
A G-code program consists the following words:
N, G, X, Y, Z, A, B, C, I, J, K, F, S, T, R, M
An EIA standard, RS-273 defines a set of standard
codes.
IE550
BASIC REQUIREMENT OF NC
MACHINE CONTROL
a. Preparatory functions: which unit, which interpolator, absolute or
incremental programming, which circular interpolation plane,
cutter compensation, etc.
b. Coordinates: three translational, and three rotational axes.
c. Machining parameters: feed, and speed.
d. Tool control: tool diameter, next tool number, tool change.
e. Cycle functions: drill cycle, ream cycle, bore cycle, mill cycle,
clearance plane.
f. Coolant control: coolant on/off, flood, mist.
g. Miscellaneous control: spindle on/off, tape rewind, spindle rotation
direction, pallet change, clamps control, etc.
h. Interpolators: linear, circular interpolation
IE550
NC WORDS
g00
g01
g02
g03
g04
g08
g09
g17
g18
g19
g33
Rapid traverse
Linear interpolation
Circular interpolation, CW
Circular interpolation, CCW
Dwell
Acceleration
Deceleration
X-Y Plane
Z-X Plane
Y-Z Plane
Thread cutting, constant lead
g40
g41
g42
g70
g71
g74
g75
g80
g81 -9
g90
g91
Cutter compensation - cancel
Cutter compensation - left
Cutter compensation -right
Inch format
Metric format
Full circle programming Off
Full circle programming On
Fixed cycle cancel
Fixed cycles
Absolute dimension
programming
Incremental deimension
Table 9.1 G codes
N code. sequence number
N0010
G code. preparatory word.
*
*
*
*
*
IE550
NC WORDS (continue)
X, Y, Z, A, B, C Codes. coordinate positions of the tool.
The coordinates may be specified in decimal number (Decimal
Programming), or integer number (BLU Programming).
BLU programming: leading zero, trailing zero.
In the leading zero format:
X00112 Y002275 Z001
In the trailing zero format, the program looks like:
X11200 Y22750 Z10000
IE550
NC WORDS (continue)
Circular Interpolation:
(5.000,2.000)
(7.000,2.000)
N0100 G02 X7.000 Y2.000 I5.000 J2.000
Cut from (5.000,4.000) to
(7.000,2.000) CW
(5.000,4.000)
Full circle ON
IE550
NC WORDS (continue)
F Code. feed speed.
inch/min (ipm), or ipr.
F code must be given before either G01, G02, or G03 can be used.
N0100 G02 X7.000 Y2.000 I5.000 J2.000 F6.00
S Code. cutting speed code.
It is programmed in rpm.
S code does not turn on the spindle, spindle is turned on by a M
code.
N0010 S1000
IE550
NC WORDS (continue)
T Code. tool number.
Actual tool change does not occur until a tool change M
code is specified.
R Code. cycle parameter.
R plane
Z point
Initial height
1
2
3
4
5
(1,2,2)
0.3"
1"
0.7"
The cycle may be programmed
in one block, such as: (cycle
programming is vendor
specific.)
N0010 G81 X1.000
Y2.000 Z0.000 R 1.300
IE550
NC WORDS (continue)
M Code. miscellaneous word.
Table 9.2. M codes
m00
m01
m02
m03
m04
m05
Program stop
Optional stop
End of program
Spindle CW
Spindle CCW
Spindle off
Tool change
Flood coolant on
Mist coolant on
Coolant off
End of tape
m06
m07
m08
m09
m30
IE550
MANUAL PART PROGRAMMING
Example 9.1
Machined from a 5" x 4" x 2" workpiece. low carbon steel.
The process plan:
1. Set the lower left bottom corner of the part as the machine zero
point (floating zero programming).
2. Clamp the workpiece in a vise.
3. Mill the slot with a 3/4" four flute flat end mill made of carbide. From
the machinability data handbook, the recommended feed is 0.005
inch/tooth/rev, and the recommended cutting speed is 620 fpm.
4. Drill two holes with a 0.75" dia twist drill. Use 0.18 ipr feed and 100
fpm speed.
IE550
PART DRAWING
All dimension in inches. All tolerance ± 0.001"
1.75
3.000
5.000
1.000
3.000
4.000
.75
R1.000
2 holes ø0.75±0.001
2.000
.500
A
B
ø0.001 M A B
2.000
C
M
C
IE550
SOLUTION TO EXAMPLE
Solution:
The cutting parameters need be converted into rpm and ipm.
Milling:
Drilling:
RPM = 12 V
BD
=
12 x 620 fpm
B0.75 inch
= 3,157 rpm
RPM = 12 V
BD
=
12 x 100 fpm
B0.75 inch
= 509 rpm
Vf = f RPM= 0.018 ipr x 509 rpm = 9.16 ipm
IE550
SETUP AND CUTTER PATH
Drill End mill
Vise jaw
H1
H2
p1
p8
p7
p6
p5
p4
p3
p2
(0,0,0)
(0,0,0)
p9
IE550
CUTTER LOCATIONS
The coordinates of each point (cutter location) are calculated below:
p1': ( 1.75+0.375, -0.1-0.375, 4.00) = (2.125, -0.475, 4.000)
p1: (2.125,-0.475, 2.000-0.500) = (2.125,-0.475,1.500)
p2: (2.125,4.000+0.100,1.500) = (2.125,4.100,1.500)
p3: (3.000-0.375,4.100,1.500) = (2.625,4.100,1.500)
p4: (2.625,1.375,1.500)
p5: (3.000,2.000-1.000+0.375,1.500) = (3.000,1.375,1.500)
p6: (3.000,2.625,1.500)
p7: (3.000,2.000,1.500)
p8: (2.625,2.000,1.500)
p9: (2.625,-0.100,1.500)
p9': (2.625,-0.100,4.000)
IE550
PART PROGRAM
Part program Explanation
N0010 G70 G 90 T08 M06 Set the machine to inch format
and absolute dimension
programming.
N0020 G00 X2.125 Y-0.475 Z4.000 S3157 Rapid to p1'.
N0030 G01 Z1.500 F63 M03 Down feed to p1, spindle CW.
N0040 G01 Y4.100 Feed to p2.
N0050 G01 X2.625 To p3.
N0060 G01 Y1.375 To p4.
N0070 G01 X3.000 To p5.
N0080 G03 Y2.625 I3.000 J2.000 Circular interpolation to p6.
N0090 G01 Y2.000 To p7.
N0100 G01 X2.625 To p8.
N0110 G01 Y-0.100 To p9
N0120 G00 Z4.000 T02 M05 To p9', spindle off, tool #2.
N0130 F9.16 S509 M06 Tool change, set new feed and
speed.
N0140 G81 X0.750 Y1.000 Z-0.1 R2.100 M03 Drill hole 1.
N0150 G81 X0.750 Y3.000 Z-0.1 R2.100 Drill hole 2.
N0160 G00 X-1.000 Y-1.000 M30 Move to home position, stop
the machine.
IE550
CNCS VERIFICATION
IE550
CNCS 3D DRAWING
IE550
TOOL-RADIUS COMPENSATION
Start of Compensation.
G41 (or G42) and G01 in the same block ramp takes place at block
N0010.
N0010 G01 G42 X0.500 Y1.700
N0020 G01 X1.500
G41 (or G42) and G01 in separate blocks the compensation is effective
from the start.
N0010 G41
N0020 G01 X0.500 Y1.700
N0030 G01 X1.500
(a) G41 (b) G42
G41
G42
G41
G42
(0.5, 1.7)
(1.5, 1.7)
IE550
TOOL-RADIUS COMPENSATION
Inside Corner.
Cutter path is inside a corner, stops at the inside cutting point
N0010 G41
N0020 G01 X1.500 Y2.000
N0030 G01 X0.000 Y1.600
Use of M96 and M97.
Cutting tool that is larger than the height of the step, M97 must be used
N0010 G41
N0020 G01 X1.000 Y1.000
N0030 G01 Y0.800 M97
N0040 G01 X2.000
G42
G41
M96
G41 M97
(1.5, 2.0)
(0, 1.6)
IE550
TOOL-RADIUS COMPENSATION
Cancel Tool Compensation.
G40 in the same block ramp off block.
N0060 G40 X2.000 Y1.700 M02
G40 in a block following the last motion, the compensation is
effective to the end point (2.000,1.700).
N0060 X2.000 Y1.700
N0070 G40 M02
G41
G42
G40
G41
G42
G40
(2.000, 1.700)
(2.000, 1.700)
IE550
EXAMPLE
A square 2.0 in. x 2.0 in. is to be milled using a 1/2 in. end milling
cutter. Write an NC part program to make the square.
Solution
Let us set up the lower left corner of the square at (6.0,6.0). Using
tool-radius compensation, the square can be produced.
2.000
2.000
(6,6)
IE550
PART PROGRAM
Part Program
N0010 G41 S1000 F5 M03
N0020 G00 X6.000 Y6.000
N0030 G01 Z-1.000
N0040 Y8.000
N0050 X8.000
N0060 Y6.000
N0070 X6.000
N0080 Z1.000
N0090 G40 M30
Explanation
Begin compensation, set feed and speed, spindle on
Move to lower left corner
Plunge down the tool
Cut to upper left corner
Cut to upper right corner
Cut to lower right corner
Cut to lower left corner
Lift the tool
End compensation, stop the machine
IE550
TURNING
2.875
1.000
2.125
2.875
.250
.625
1.125
R.125
Cutter path Tool
Z
X
Part design
Cutter path
IE550
TURNING
IMAGINARY TOOL POINT
Programming tool point
Surfaces cut
No compensation needed.
Programmed
tool path
Surface created
IE550
COMPUTER ASSISTED
PART PROGRAMMING
Machine-oriented languages - machine specific
General-purpose languages - use post processors to generate
machine specific code
Translate input symbols
Arithmetic calculation
Cutter offset calculations
Post processing
Part program
Language
Processor
N-G code
CL data
RS-494
CL
BCL
RS-273
Post
Processor

More Related Content

What's hot

Education andtraining mtt (2)
Education andtraining mtt (2)Education andtraining mtt (2)
Education andtraining mtt (2)
Richard OKeeffe
 
Machining fundamentals
Machining fundamentalsMachining fundamentals
Machining fundamentals
endika55
 
Cnc turning(Fanuc system)
Cnc turning(Fanuc system)Cnc turning(Fanuc system)
Cnc turning(Fanuc system)
NavinBurnwal1
 
Automatic Tool Changer CNC Router 4x8ft ,Wood CNC Router From China-Skype:jac...
Automatic Tool Changer CNC Router 4x8ft ,Wood CNC Router From China-Skype:jac...Automatic Tool Changer CNC Router 4x8ft ,Wood CNC Router From China-Skype:jac...
Automatic Tool Changer CNC Router 4x8ft ,Wood CNC Router From China-Skype:jac...
Jack Kong
 
CNC Lathe Operating & Programming
CNC Lathe Operating & ProgrammingCNC Lathe Operating & Programming
CNC Lathe Operating & Programming
CIPETIAN EDUCATIONAL ZONE
 
Canned cycle
Canned cycleCanned cycle
Canned cycle
aman1312
 
company profile 2014machining
company profile 2014machiningcompany profile 2014machining
company profile 2014machiningSteven Liu
 
Fanuc Ot Cnc Training Manual
Fanuc Ot Cnc Training ManualFanuc Ot Cnc Training Manual
Fanuc Ot Cnc Training Manual
out2thow
 
NC Dual Accessories
NC Dual AccessoriesNC Dual Accessories
NC Dual AccessoriesBreton SpA
 
E catalog for rico cnc machinery
E catalog for rico cnc machineryE catalog for rico cnc machinery
UNT skills
UNT skillsUNT skills
HSMWORKS manual
HSMWORKS manualHSMWORKS manual
HSMWORKS manual
endika55
 
CNC
CNCCNC
company profile 2014machining
company profile 2014machiningcompany profile 2014machining
company profile 2014machiningSteven Liu
 
Maheer Technologies, Rajkot, Water Jet Cutter & CNC Engraver
Maheer Technologies, Rajkot, Water Jet Cutter & CNC EngraverMaheer Technologies, Rajkot, Water Jet Cutter & CNC Engraver
Maheer Technologies, Rajkot, Water Jet Cutter & CNC Engraver
IndiaMART InterMESH Limited
 
Nine9 nc heilx drill cat 04
Nine9 nc heilx drill cat 04Nine9 nc heilx drill cat 04
Nine9 nc heilx drill cat 04
Rocky Chang
 
company profile 2014machining
company profile 2014machiningcompany profile 2014machining
company profile 2014machiningSteven Liu
 
company profile 2014machining
company profile 2014machiningcompany profile 2014machining
company profile 2014machiningSteven Liu
 

What's hot (20)

Education andtraining mtt (2)
Education andtraining mtt (2)Education andtraining mtt (2)
Education andtraining mtt (2)
 
Machining fundamentals
Machining fundamentalsMachining fundamentals
Machining fundamentals
 
Cnc turning(Fanuc system)
Cnc turning(Fanuc system)Cnc turning(Fanuc system)
Cnc turning(Fanuc system)
 
Automatic Tool Changer CNC Router 4x8ft ,Wood CNC Router From China-Skype:jac...
Automatic Tool Changer CNC Router 4x8ft ,Wood CNC Router From China-Skype:jac...Automatic Tool Changer CNC Router 4x8ft ,Wood CNC Router From China-Skype:jac...
Automatic Tool Changer CNC Router 4x8ft ,Wood CNC Router From China-Skype:jac...
 
CNC Lathe Operating & Programming
CNC Lathe Operating & ProgrammingCNC Lathe Operating & Programming
CNC Lathe Operating & Programming
 
Canned cycle
Canned cycleCanned cycle
Canned cycle
 
company profile 2014machining
company profile 2014machiningcompany profile 2014machining
company profile 2014machining
 
Fanuc Ot Cnc Training Manual
Fanuc Ot Cnc Training ManualFanuc Ot Cnc Training Manual
Fanuc Ot Cnc Training Manual
 
Cnc milling
Cnc millingCnc milling
Cnc milling
 
NC Dual Accessories
NC Dual AccessoriesNC Dual Accessories
NC Dual Accessories
 
Portfolio - CNC Programming Project
Portfolio - CNC Programming ProjectPortfolio - CNC Programming Project
Portfolio - CNC Programming Project
 
E catalog for rico cnc machinery
E catalog for rico cnc machineryE catalog for rico cnc machinery
E catalog for rico cnc machinery
 
UNT skills
UNT skillsUNT skills
UNT skills
 
HSMWORKS manual
HSMWORKS manualHSMWORKS manual
HSMWORKS manual
 
CNC
CNCCNC
CNC
 
company profile 2014machining
company profile 2014machiningcompany profile 2014machining
company profile 2014machining
 
Maheer Technologies, Rajkot, Water Jet Cutter & CNC Engraver
Maheer Technologies, Rajkot, Water Jet Cutter & CNC EngraverMaheer Technologies, Rajkot, Water Jet Cutter & CNC Engraver
Maheer Technologies, Rajkot, Water Jet Cutter & CNC Engraver
 
Nine9 nc heilx drill cat 04
Nine9 nc heilx drill cat 04Nine9 nc heilx drill cat 04
Nine9 nc heilx drill cat 04
 
company profile 2014machining
company profile 2014machiningcompany profile 2014machining
company profile 2014machining
 
company profile 2014machining
company profile 2014machiningcompany profile 2014machining
company profile 2014machining
 

Similar to Ie550nc

Part Programming Examples.pdf
Part Programming Examples.pdfPart Programming Examples.pdf
Part Programming Examples.pdf
SanDeepSharma926061
 
9_CNC.ppt
9_CNC.ppt9_CNC.ppt
9_CNC.ppt
9_CNC.ppt9_CNC.ppt
9_CNC.ppt
pyurzgg
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
WondererBack
 
CNC.ppt
CNC.pptCNC.ppt
CNC Training.ppt
CNC Training.pptCNC Training.ppt
CNC Training.ppt
Aniket Verma
 
CNC1 (1).ppt
CNC1 (1).pptCNC1 (1).ppt
CNC1 (1).ppt
WondererBack
 
9 cnc (1)
9 cnc (1)9 cnc (1)
CNC Maching.pptx
CNC Maching.pptxCNC Maching.pptx
CNC Maching.pptx
studyall1
 
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptxCAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
sahils237192101
 
Cnc programming
Cnc programmingCnc programming
Cnc programming
Daniel raj
 
Lecture 25.pdf
Lecture 25.pdfLecture 25.pdf
Lecture 25.pdf
kprudhviraj5
 
Cnc part programming 4 unit
Cnc part programming 4 unitCnc part programming 4 unit
Cnc part programming 4 unit
palanivendhan
 
MT-II UNIT V CNC MACHINING
MT-II UNIT V CNC MACHININGMT-II UNIT V CNC MACHINING
MT-II UNIT V CNC MACHINING
Karthik R
 
5 g-code
5   g-code5   g-code
5 g-code
alan tellez
 
introduction to cnc machines
 introduction to cnc machines introduction to cnc machines
introduction to cnc machines
STAY CURIOUS
 

Similar to Ie550nc (20)

Part Programming Examples.pdf
Part Programming Examples.pdfPart Programming Examples.pdf
Part Programming Examples.pdf
 
9_CNC.ppt
9_CNC.ppt9_CNC.ppt
9_CNC.ppt
 
9_CNC.ppt
9_CNC.ppt9_CNC.ppt
9_CNC.ppt
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
CNC.ppt
CNC.pptCNC.ppt
CNC.ppt
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
CNC Training.ppt
CNC Training.pptCNC Training.ppt
CNC Training.ppt
 
Cnc1
Cnc1Cnc1
Cnc1
 
CNC1 (1).ppt
CNC1 (1).pptCNC1 (1).ppt
CNC1 (1).ppt
 
9 cnc (1)
9 cnc (1)9 cnc (1)
9 cnc (1)
 
9 cnc
9 cnc9 cnc
9 cnc
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
CNC Maching.pptx
CNC Maching.pptxCNC Maching.pptx
CNC Maching.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 programming
Cnc programmingCnc programming
Cnc programming
 
Lecture 25.pdf
Lecture 25.pdfLecture 25.pdf
Lecture 25.pdf
 
Cnc part programming 4 unit
Cnc part programming 4 unitCnc part programming 4 unit
Cnc part programming 4 unit
 
MT-II UNIT V CNC MACHINING
MT-II UNIT V CNC MACHININGMT-II UNIT V CNC MACHINING
MT-II UNIT V CNC MACHINING
 
5 g-code
5   g-code5   g-code
5 g-code
 
introduction to cnc machines
 introduction to cnc machines introduction to cnc machines
introduction to cnc machines
 

More from Ashok Mannava

Sole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptxSole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptx
Ashok Mannava
 
Model QP (1).docx
Model QP (1).docxModel QP (1).docx
Model QP (1).docx
Ashok Mannava
 
notes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptxnotes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptx
Ashok Mannava
 
Cell_Manufacturing.ppt
Cell_Manufacturing.pptCell_Manufacturing.ppt
Cell_Manufacturing.ppt
Ashok Mannava
 
Computer assisted part programming.pdf
Computer assisted part programming.pdfComputer assisted part programming.pdf
Computer assisted part programming.pdf
Ashok Mannava
 
Group Technology Basics.ppt
Group Technology Basics.pptGroup Technology Basics.ppt
Group Technology Basics.ppt
Ashok Mannava
 
443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt
Ashok Mannava
 
Uvl simplysupported beam
Uvl simplysupported beamUvl simplysupported beam
Uvl simplysupported beam
Ashok Mannava
 
What is technology
What is technologyWhat is technology
What is technology
Ashok Mannava
 
Auto cad material
Auto cad materialAuto cad material
Auto cad material
Ashok Mannava
 
Agriculture chapter 10
Agriculture chapter 10Agriculture chapter 10
Agriculture chapter 10
Ashok Mannava
 
Agricultural revolution
Agricultural revolutionAgricultural revolution
Agricultural revolution
Ashok Mannava
 
77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt
Ashok Mannava
 
168 w1a0352 intern ppt
168 w1a0352 intern ppt168 w1a0352 intern ppt
168 w1a0352 intern ppt
Ashok Mannava
 

More from Ashok Mannava (20)

Sole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptxSole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptx
 
Model QP (1).docx
Model QP (1).docxModel QP (1).docx
Model QP (1).docx
 
notes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptxnotes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptx
 
Cell_Manufacturing.ppt
Cell_Manufacturing.pptCell_Manufacturing.ppt
Cell_Manufacturing.ppt
 
Computer assisted part programming.pdf
Computer assisted part programming.pdfComputer assisted part programming.pdf
Computer assisted part programming.pdf
 
Group Technology Basics.ppt
Group Technology Basics.pptGroup Technology Basics.ppt
Group Technology Basics.ppt
 
443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt
 
Uvl simplysupported beam
Uvl simplysupported beamUvl simplysupported beam
Uvl simplysupported beam
 
What is technology
What is technologyWhat is technology
What is technology
 
Transducer
TransducerTransducer
Transducer
 
Cmm
CmmCmm
Cmm
 
Capacitance
CapacitanceCapacitance
Capacitance
 
Auto cad material
Auto cad materialAuto cad material
Auto cad material
 
L5 2018 09_17
L5 2018 09_17L5 2018 09_17
L5 2018 09_17
 
Agriculture chapter 10
Agriculture chapter 10Agriculture chapter 10
Agriculture chapter 10
 
Agricultural revolution
Agricultural revolutionAgricultural revolution
Agricultural revolution
 
77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt
 
Compressor final
Compressor finalCompressor final
Compressor final
 
Dht
DhtDht
Dht
 
168 w1a0352 intern ppt
168 w1a0352 intern ppt168 w1a0352 intern ppt
168 w1a0352 intern ppt
 

Recently uploaded

block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 

Recently uploaded (20)

block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 

Ie550nc

  • 2. IE550 HISTORICAL DEVELOPMENT • 15th century - machining metal. • 18th century - industrialization, production-type machine tools. • 20th century - F.W. Taylor - tool metal - HSS Automated production equipment - Screw machines Transfer lines Assembly lines ... using cams and preset stops Programmable automation - NC PLC Robots
  • 3. IE550 NEW NCs or CNCs high speed spindle (> 20,000 rpm) high feed rate drive ( > 600 ipm) high precision ( < 0.0001" accuracy)
  • 4. IE550 NC MACHINES • Computer control • Servo axis control • Tool changers • Pallet changers • On-machine programming • Data communication • Graphical interface MCU Machine Tool CLU DPU MCU - Machine control unit CLU - Control-loops unit DPU - Data processing unit
  • 5. IE550 NC MOTION-CONTROL NC Program Execut ion Sy st em Int erpolat or & Serv o-cont r ol Mechanism Cont rol Logic Linear Mot ion Po w er Tr anslat or Relay Solenoid Commands Dim ensions
  • 6. IE550 NC MACHINE CLASSIFICATIONS 1. Motion control: point to point (PTP) and continuous (contouring) path 2. Control loops: open loop and closed loop 3. Power drives: hydraulic, electric, or pneumatic 4. Positioning systems: incremental and absolute positioning 5. Hardwired NC and softwired Computer Numerical Control (CNC)
  • 7. IE550 POINT TO POINT • Moving at maximum rate from point to point. • Accuracy of the destination is important but not the path. • Drilling is a good application.
  • 8. IE550 CONTINUOUS PATH • Controls both the displacement and the velocity. • Machining profiles. • Precise control. • Use linear and circular interpolators.
  • 9. IE550 MAJOR COMPONENTS OF AN NC MACHINE TOOL Magnetics control cabinet Controller Servo drive Machinetable Position transducer Leadscrew Gear box Tachometer Motor
  • 10. IE550 NC MACHINE RATING Accuracy Repeatability Spindle and axis motor horsepower Number of controlled axes Dimension of workspace Features of the machine and the controller.
  • 11. IE550 NC ACCURACY AND REPEATABILITY • Accuracy = control instrumentation resolution and hardware accuracy. • Control resolution: the minimum length distinguishable by the control unit (BLU). • Hardware inaccuracies are caused by physical machine errors.
  • 12. IE550 HARDWARE INACCURACIES Component tolerances: inaccuracies in the machine elements, machine- tool assembly errors, spindle runout, and leadscrew backlash. Machine operation: Tool deflection (a function of the cutting force), produces dimensional error and chatter marks on the finished part. Thermal error: heat generated by the motor operation, cutting process, friction on the ways and bearings, etc. Use cutting fluids, locating drive motors away from the center of a machine, and reducing friction
  • 14. IE550 LEADSCREWS Leadscrew Pitch Nut Converting the rotational motion of the motors to a linear motion. pitch (p): the distance between adjacent screw threads the number of teeth per inch (n): n = 1 / p BLU: Basic Length Unit (machine resolution) BLU = p / N e.g. an NC machine uses a 0.1" pitch leadscrew and a 100 pulse/rev encoder. BLU = p / N = 0.1 (in/rev) /100 (pulses/rev) = 0.001"
  • 15. IE550 CONTROL LOOPS Open loop - No position feedback. Use stepping motor. A machine has 1 BLU = 0.001".To move the table 5" on X axis at a speed (feed rate) of 6 ipm. pulse rate = speed/BLU = 6 ipm/0.001 ipp = 6,000 pulse/min pulse count = distance/BLU = 5/0.001 = 5,000 pulses motor table pulses
  • 16. IE550 CLOSED LOOP Reference pulses + DC Motor Tacho- meter Differential amplifier Encoder Up-down counter Amp DAC _ + Shaft Closed-loop control mechanism
  • 17. IE550 INTERPOLATION Control multiple axes simultaneously to move on a line, a circle, or a curve. (3,2) (10,5) X Y Point-to-point control path (3,2) (10,5) X Y Linear path Vy =6 (5-2) (10-3) 2 + (5-2) 2 = 6 3 49+ 9 = 2.3635 Vx =6 (10-3) (10-3) 2 + (5-2) 2 = 6 7 49+ 9 = 5.5149
  • 18. IE550 INTERPOLATORS Most common interpolators are: linear and circular Since interpolation is right above the servo level, speed is critical, and the process must not involve excessive computation. Traditional NC interpolators: Digital Differential Analyzer (DDA) Higher order curves, such as Bezier's curve, use off- line approximation algorithms to break the curves into linear or circular segments.
  • 19. IE550 COORDINATE SYSTEMS • Right hand rule • Z axis align with the spindle - +Z moves away from the workpiece or the spindle. • X axis - Lathe: perpendicular to the spindle. Horizontal machine: parallel to the table. Vertical machine: +X points to the right. x y z x y z
  • 20. IE550 MACHINE COORDINATES X Y Z X - Primary Feed axis Z - Spindle axis Y - Remaining axis
  • 21. IE550 PROGRAM STORAGE • Paper tape Paper or Mylar coated paper. • Diskettes • From other computers through RS 232 or local area network (LAN)
  • 22. IE550 SYMBOLIC CODES • ASCII or ISO, use even parity • EIA - Binary Coded Decimal (BCD), RS 244A standard, use odd parity.
  • 23. IE550 TAPE INPUT FORMATS EIA RS-274 standard • Fixed sequential format 0010 01 07500 06250 00000 00000 612 • Tab sequential format T0010 T01 T07500 T06250 T T T612 • Word-address format N0010 G01 X07500 Y06250 S612
  • 24. IE550 NC WORDS A G-code program consists the following words: N, G, X, Y, Z, A, B, C, I, J, K, F, S, T, R, M An EIA standard, RS-273 defines a set of standard codes.
  • 25. IE550 BASIC REQUIREMENT OF NC MACHINE CONTROL a. Preparatory functions: which unit, which interpolator, absolute or incremental programming, which circular interpolation plane, cutter compensation, etc. b. Coordinates: three translational, and three rotational axes. c. Machining parameters: feed, and speed. d. Tool control: tool diameter, next tool number, tool change. e. Cycle functions: drill cycle, ream cycle, bore cycle, mill cycle, clearance plane. f. Coolant control: coolant on/off, flood, mist. g. Miscellaneous control: spindle on/off, tape rewind, spindle rotation direction, pallet change, clamps control, etc. h. Interpolators: linear, circular interpolation
  • 26. IE550 NC WORDS g00 g01 g02 g03 g04 g08 g09 g17 g18 g19 g33 Rapid traverse Linear interpolation Circular interpolation, CW Circular interpolation, CCW Dwell Acceleration Deceleration X-Y Plane Z-X Plane Y-Z Plane Thread cutting, constant lead g40 g41 g42 g70 g71 g74 g75 g80 g81 -9 g90 g91 Cutter compensation - cancel Cutter compensation - left Cutter compensation -right Inch format Metric format Full circle programming Off Full circle programming On Fixed cycle cancel Fixed cycles Absolute dimension programming Incremental deimension Table 9.1 G codes N code. sequence number N0010 G code. preparatory word. * * * * *
  • 27. IE550 NC WORDS (continue) X, Y, Z, A, B, C Codes. coordinate positions of the tool. The coordinates may be specified in decimal number (Decimal Programming), or integer number (BLU Programming). BLU programming: leading zero, trailing zero. In the leading zero format: X00112 Y002275 Z001 In the trailing zero format, the program looks like: X11200 Y22750 Z10000
  • 28. IE550 NC WORDS (continue) Circular Interpolation: (5.000,2.000) (7.000,2.000) N0100 G02 X7.000 Y2.000 I5.000 J2.000 Cut from (5.000,4.000) to (7.000,2.000) CW (5.000,4.000) Full circle ON
  • 29. IE550 NC WORDS (continue) F Code. feed speed. inch/min (ipm), or ipr. F code must be given before either G01, G02, or G03 can be used. N0100 G02 X7.000 Y2.000 I5.000 J2.000 F6.00 S Code. cutting speed code. It is programmed in rpm. S code does not turn on the spindle, spindle is turned on by a M code. N0010 S1000
  • 30. IE550 NC WORDS (continue) T Code. tool number. Actual tool change does not occur until a tool change M code is specified. R Code. cycle parameter. R plane Z point Initial height 1 2 3 4 5 (1,2,2) 0.3" 1" 0.7" The cycle may be programmed in one block, such as: (cycle programming is vendor specific.) N0010 G81 X1.000 Y2.000 Z0.000 R 1.300
  • 31. IE550 NC WORDS (continue) M Code. miscellaneous word. Table 9.2. M codes m00 m01 m02 m03 m04 m05 Program stop Optional stop End of program Spindle CW Spindle CCW Spindle off Tool change Flood coolant on Mist coolant on Coolant off End of tape m06 m07 m08 m09 m30
  • 32. IE550 MANUAL PART PROGRAMMING Example 9.1 Machined from a 5" x 4" x 2" workpiece. low carbon steel. The process plan: 1. Set the lower left bottom corner of the part as the machine zero point (floating zero programming). 2. Clamp the workpiece in a vise. 3. Mill the slot with a 3/4" four flute flat end mill made of carbide. From the machinability data handbook, the recommended feed is 0.005 inch/tooth/rev, and the recommended cutting speed is 620 fpm. 4. Drill two holes with a 0.75" dia twist drill. Use 0.18 ipr feed and 100 fpm speed.
  • 33. IE550 PART DRAWING All dimension in inches. All tolerance ± 0.001" 1.75 3.000 5.000 1.000 3.000 4.000 .75 R1.000 2 holes ø0.75±0.001 2.000 .500 A B ø0.001 M A B 2.000 C M C
  • 34. IE550 SOLUTION TO EXAMPLE Solution: The cutting parameters need be converted into rpm and ipm. Milling: Drilling: RPM = 12 V BD = 12 x 620 fpm B0.75 inch = 3,157 rpm RPM = 12 V BD = 12 x 100 fpm B0.75 inch = 509 rpm Vf = f RPM= 0.018 ipr x 509 rpm = 9.16 ipm
  • 35. IE550 SETUP AND CUTTER PATH Drill End mill Vise jaw H1 H2 p1 p8 p7 p6 p5 p4 p3 p2 (0,0,0) (0,0,0) p9
  • 36. IE550 CUTTER LOCATIONS The coordinates of each point (cutter location) are calculated below: p1': ( 1.75+0.375, -0.1-0.375, 4.00) = (2.125, -0.475, 4.000) p1: (2.125,-0.475, 2.000-0.500) = (2.125,-0.475,1.500) p2: (2.125,4.000+0.100,1.500) = (2.125,4.100,1.500) p3: (3.000-0.375,4.100,1.500) = (2.625,4.100,1.500) p4: (2.625,1.375,1.500) p5: (3.000,2.000-1.000+0.375,1.500) = (3.000,1.375,1.500) p6: (3.000,2.625,1.500) p7: (3.000,2.000,1.500) p8: (2.625,2.000,1.500) p9: (2.625,-0.100,1.500) p9': (2.625,-0.100,4.000)
  • 37. IE550 PART PROGRAM Part program Explanation N0010 G70 G 90 T08 M06 Set the machine to inch format and absolute dimension programming. N0020 G00 X2.125 Y-0.475 Z4.000 S3157 Rapid to p1'. N0030 G01 Z1.500 F63 M03 Down feed to p1, spindle CW. N0040 G01 Y4.100 Feed to p2. N0050 G01 X2.625 To p3. N0060 G01 Y1.375 To p4. N0070 G01 X3.000 To p5. N0080 G03 Y2.625 I3.000 J2.000 Circular interpolation to p6. N0090 G01 Y2.000 To p7. N0100 G01 X2.625 To p8. N0110 G01 Y-0.100 To p9 N0120 G00 Z4.000 T02 M05 To p9', spindle off, tool #2. N0130 F9.16 S509 M06 Tool change, set new feed and speed. N0140 G81 X0.750 Y1.000 Z-0.1 R2.100 M03 Drill hole 1. N0150 G81 X0.750 Y3.000 Z-0.1 R2.100 Drill hole 2. N0160 G00 X-1.000 Y-1.000 M30 Move to home position, stop the machine.
  • 40. IE550 TOOL-RADIUS COMPENSATION Start of Compensation. G41 (or G42) and G01 in the same block ramp takes place at block N0010. N0010 G01 G42 X0.500 Y1.700 N0020 G01 X1.500 G41 (or G42) and G01 in separate blocks the compensation is effective from the start. N0010 G41 N0020 G01 X0.500 Y1.700 N0030 G01 X1.500 (a) G41 (b) G42 G41 G42 G41 G42 (0.5, 1.7) (1.5, 1.7)
  • 41. IE550 TOOL-RADIUS COMPENSATION Inside Corner. Cutter path is inside a corner, stops at the inside cutting point N0010 G41 N0020 G01 X1.500 Y2.000 N0030 G01 X0.000 Y1.600 Use of M96 and M97. Cutting tool that is larger than the height of the step, M97 must be used N0010 G41 N0020 G01 X1.000 Y1.000 N0030 G01 Y0.800 M97 N0040 G01 X2.000 G42 G41 M96 G41 M97 (1.5, 2.0) (0, 1.6)
  • 42. IE550 TOOL-RADIUS COMPENSATION Cancel Tool Compensation. G40 in the same block ramp off block. N0060 G40 X2.000 Y1.700 M02 G40 in a block following the last motion, the compensation is effective to the end point (2.000,1.700). N0060 X2.000 Y1.700 N0070 G40 M02 G41 G42 G40 G41 G42 G40 (2.000, 1.700) (2.000, 1.700)
  • 43. IE550 EXAMPLE A square 2.0 in. x 2.0 in. is to be milled using a 1/2 in. end milling cutter. Write an NC part program to make the square. Solution Let us set up the lower left corner of the square at (6.0,6.0). Using tool-radius compensation, the square can be produced. 2.000 2.000 (6,6)
  • 44. IE550 PART PROGRAM Part Program N0010 G41 S1000 F5 M03 N0020 G00 X6.000 Y6.000 N0030 G01 Z-1.000 N0040 Y8.000 N0050 X8.000 N0060 Y6.000 N0070 X6.000 N0080 Z1.000 N0090 G40 M30 Explanation Begin compensation, set feed and speed, spindle on Move to lower left corner Plunge down the tool Cut to upper left corner Cut to upper right corner Cut to lower right corner Cut to lower left corner Lift the tool End compensation, stop the machine
  • 46. IE550 TURNING IMAGINARY TOOL POINT Programming tool point Surfaces cut No compensation needed. Programmed tool path Surface created
  • 47. IE550 COMPUTER ASSISTED PART PROGRAMMING Machine-oriented languages - machine specific General-purpose languages - use post processors to generate machine specific code Translate input symbols Arithmetic calculation Cutter offset calculations Post processing Part program Language Processor N-G code CL data RS-494 CL BCL RS-273 Post Processor