CNC Machining Centres Overview
CNC Machining Centres Overview
3. Feedback systems
• The primary function of a CNC Turning Center is that it rotates (or “turns”)
your workpiece.
• CNC Turning Machines are one of the oldest and simplest forms of
machining parts, called “lathes,” .
• Workpeices for this process are usually round, but can be other shapes —
like squares or hexagons.
CNC Turning
• The workpiece is held in place by an instrument known as the “chuck.”
The chuck then spins at various RPMs (depending on the capability of
your machine).
• When this occurs, the machine’s tool moves into the rotating workpiece
and begins to shave away material to create the desired shape.
CNC Turning
https://giphy.com/explore/cnc
CNC Milling machines
• The primary function of a CNC Milling Machine is that your tool will be
doing the rotating and moving while your workpiece stays in one spot
(generally).
• This process has many axes that allow for a variety of shapes, holes,
and slots to be cut into the workpiece at many angles.
https://gfycat.com/gifs/search/milling+machine
CNC Turning centre
Schematic of a concrete bed of a CNC Turning centre
https://www.pinterest.com/pin/715368722039972918/
CNC Turning centre
Bifurcated column structure for CNC Machining centre to improve torsional
rigidity
• Gantry structure
• Multiple spindle
CNC vertical
machining centre
• Present day production vertical axis CNC machining centre Bridgeport
VMC 500
https://auctions.charterauctions.co.uk
5-Axis machine
https://i.ytimg.com
CNC travelling column
http://www.asquithbutler.com
Gantry cnc machining centre
• A gantry type CNC machining centre DMC 65V for high speed machining
https://5.imimg.com
4-axis CNC machine
• A 4-spindle CNC machining centre 4CUT for high speed machining
https://5.imimg.com
Horizontal Machine centre
• Rotary table used in HMC for machining all four faces.
https://encrypted-tbn0.gstatic.com
Horizontal Machine centre
• Various planes possible by the 2-axis rotary table with a HMC
https://automatecnc.com
CNC Turning Centres
• Machining of a key way or drill a hole away from the centre of the
workpiece.
https://www.ctemag.com
CNC Turning Centres
• Typical shapes of component that can be machined by the combination
of X, Z and C-axis movements.
https://i.ytimg.com
CNC Turning Centres
• Twin spindle CNC Turning centre Mazak Dual Turn 20
https://5.imimg.com
CNC Turning Centres
• The types of machining that can be done using a CNC turn Mill centre
with Y-axis
https://5.imimg.com
CNC Turning Centres
• CNC Vertical turning centre with inverted arrangement EMAG VSC
250HDS,
• CNC tools
• Cutting tools materials
• High speed steel tool
• Cement carbide tools
• Ceramics tools
• ISO coding system of tools
• Tools magazines
• Automatic tool changer (ATC)
• Modular accessories in CNC
CNC Tools
• If CNC machine is the brain, machine tools are the limbs- converting
instructions into actual action.
• These tools perform precise cuts on metal, wood, steel, aluminum, and
a variety of other materials.
• Multi-axis cutting tools can move in many directions, enabling the most
precise cuts possible on the materials at-hand.
CNC Tools
Although all cutting tools serve one purpose, to cut through a material,
there is a huge difference in their purpose.
• This property allows HSS to cut faster than high carbon steel, hence the
name high-speed steel.
High Speed Steel
https://www.banggood.in/Drillpro-8pcs-2-12mm-4-Flute-End-Mill-Cutter-HSS-Straight-Shank-Milling-Cutter-CNC-Tool-p-1376890.html
Cemented carbide
• Cemented carbide is a hard material used extensively as cutting tool
material, as well as other industrial applications.
• Most of the time, carbide cutters will leave a better surface finish on the
part, and allow faster machining than high-speed steel or other tool
steels.
• Choose a grade with the lowest cobalt content and the finest grain size
consistent with adequate strength to eliminate chipping.
• To reduce cratering and abrasive wear when machining steel, use grades
containing TiC.
• For heavy cuts in steel where high temperature and high pressure
deform the cutting edge plastically, use a multi carbide grade containing
W-Ti-Ta and/or lower binder content.
Cemented carbide
https://www.indiamart.com/proddetail/dagalloy-cemented-carbide-tools-8865787888.html
Ceramic cutting tools
• Ceramic cutting tools are constructed mainly from alumina (Al2O3) and silicon
nitride (SiN).
• Recent advances have also introduced the use of silicon carbide (SiC) and
ceramic matrix composites (CMCs) in order to enhance the performance of
the cutting tool.
• Use rigid machine with high spindle speeds and safe clamping angle.
• Use negative rake angles so that less force is applied directly to the
ceramic tip.
• The overhang of the tool holder should be kept to a minimum; not more
than 1.5 times the shank thickness.
Usability of Ceramic
cutting tools
• Large nose radius and side cutting edge angle on the ceramic insert to
reduce the tendency of chipping.
• Always take a deeper cut with a light feed rather than a light cut with
heavy feed; ceramic tips are capable of cuts as deep as one-half the
width of the cutting surface on the insert.
https://www.ctemag.com/news/articles/ceramic-composite-cutting-tools-are-they-tough-Enough
https://www.ceramtec.com/spk-cutting-materials/
ISO coding
• The ISO coding system for tungsten carbide inserts used in turning.
• ATC changes the tool very quickly, reducing the non-productive time.
• The tool adopter that has a provision for pick-up by the tool change arm
Automatic tool changers
https://www.decispindle.com/atc-spindle-motor-deci/
Tool turret
• A chain type tool magazine for holding larger number of spindle tooling
used in CNC machining centres.
Chain type tool magazine 2
Chain type tool magazine 3
Chain type tool magazine
Tool changing
• Stopping the spindle at the correct orientation for the tool change arm to pick
the tool from the spindle.
• Tool magazine to index into the correct position where the tool from the
spindle is to be placed.
Tool changing
• Indexing the tool magazine to bring the required tool to the tool change
position.
• Tool change arm to pick the tool from the tool magazine.
https://www.ame.com/grid-plates
Tombstone
https://www.ame.com/tombstones-fixtures
Modular fixture
• Modular fixture elements used for supporting complex workpieces.
https://www.ctemag.com/news/articles/modular-fixturing-pros-and-cons
Summary
• In NC, these motions are controlled by the machine control unit (MCU).
• The MCU (brain of the NC) consists of a DPU (data processing unit) and a
CLU (control loop unit).
• DPU reads the part program from tape, or some other media, and decodes
the part program statements, processes the decoded information, and
passes information to the CLU.
NC part programming
• CLU receives data from the DPU, converts them to control signals, and
controls the machine via actuation devices that replace the hand wheel
of the conventional machine.
Chang, 2003. Product Manufacturing and Cost Estimating using CAD/CAE. Elsevier Inc.
NC part programming
• The MCU gives instructions to the servo system, monitors both the position
and velocity output of the system, and uses this feedback to compensate for
errors between the program command and the system response.
• The instructions given to the servos are modified according to the measured
response of the system, called closed-loop control.
• The primary three axes of motion are referred to as the X-, Y-, and Z-axes.
They form the machine tool coordinate system.
NC part programming
• The XYZ system is a right-hand system and the location of its original
may be fixed (older machine) or adjustable (floating zero).
• This axis is always aligned with the spindle that imparts power.
• Usually, the direction that moves away from the workpiece is defined as positive.
• On a milling or drilling machine, the positive X-axis points to the right when the
programmer is facing the machine.
Chang, 2003. Product Manufacturing and Cost Estimating using CAD/CAE. Elsevier Inc.
NC part programming
• The cutter is not always in contact with the workpiece throughout its motion or
its path.
• The exact path the tool takes in moving from point to point is in general
immaterial (except that tool-traveling time must be minimized and not collide
with workpiece and fixtures).
• For a continuous path NC, the cutter is mostly in contact with the workpiece
during its motion or its path.
• The entire travel of the cutting tool must be controlled to close accuracy as to
both position and velocity.
• The cutter is independently controlled along the third axis, usually the Z-
axis.
• An add-on 4th axis rotary table can convert an existing 3-axis mill center into
a full 4-axis CNC machine.
• The rotary table allows spindle access to the workpiece from various angles in
one setup that might take several setups with a conventional 3-axis machine.
5-Axis CNC
https://xyzmachinetools.com/xyz-umc-5x/
NC part programming
• NC part programming consists of planning and documenting the
sequence of processing steps to be performed on an NC machine.
Fixed zero:
• Origin is always located at some position on M/C table (usually at south
west corner/Lower left-hand) of the tables & all tool location are defined
W.R.T. this zero
Floating Zero:
• Very common with CNC M/C used now a days.
• Operator sets zero point at any convenient position on M/C table.
• The Coordinate system is knows as work coordinate system (WCS)
Modal and Non modal commands
• The former are referred as Modal commands. Examples include feed rate
selection and coolant selection.
• Commands that are effective only when issued and whose effects are lost for
subsequent commands are referred to as non-modal commands.
• Character is the smallest unit of CNC program. It can have Digit / Letter /
Symbol.
• The way in which words are arranged within the block is called block format.
• Three different block formats are commonly used, (Fixed sequential format,
Tab sequential format and Word address format)
Steps in the development
of a program
Manual Part Programming
Methods
• ISO standards for coding
• Co-ordinate function
• Feed function
• Speed function
• Tool function
• G Codes
• M Codes
Some Word addresses
• M Miscellaneous function
• N Sequence number
• O Reference rewind stop
• S Spindle speed function
• T Tool function
• U Secondary motion dimension parallel to X*
• V Secondary motion dimension parallel to Y*
• W Secondary motion dimension parallel to Z*
• X Primary X motion dimension
• Y Primary Y motion dimension
G Codes or Preparatory Functions
• G00 Point-to-point positioning, rapid traverse
• G01 Line interpolation
• G02 Circular interpolation, clockwise (WC)
• G03 Circular interpolation, anti-clockwise (CCW)
• G04 Dwell
• G13-G16 Axis designation
• G17 XY plane designation
• G18 ZX plane designation
• G19 YZ plane designation
• G33 Thread cutting, constant lead
• G34 Thread cutting, linearly increasing lead
• G35 Thread cutting, linearly decreasing lead
• G40 Cutter compensation-cancels to zero
• G41 Cutter radius compensation-offset left
• G42 Cutter radius compensation-offset right
• G43 Cutter compensation-positive
• G44 Cutter compensation-negative
G Codes or Preparatory Functions
• G53 Deletion of zero offset
• G54-G59 Datum point/zero shift
• G63 Tapping cycle
• G64 Change in feed rate or speed
• G70 Dimensioning in inch units
• G71 Dimensioning in metric units
• G80 Canned cycle cancelled
• G81-G89 Canned drilling and boring cycles
• G90 Specifies absolute input dimensions
• G91 Specifies incremental input dimensions
• G92 Programmed reference point shift
• G94 Feed rate/min (inch units when combined with G70)
• G95 Feed rate/rev (metric units when combined with G71)
• G96 Spindle feed rate for constant surface feed
• G97 Spindle speed in revolutions per minute
Miscellaneous Functions, M
• M00 Program stop, spindle and coolant off
• M01 Optional programmable stop
• M02 End of program-often interchangeable with M30
• M03 Spindle on, CW
• M04 Spindle on, CCW
• M05 Spindle stop
• M06 Tool change
• M07 Coolant supply No. 1 on
• M08 Coolant supply No. 2 on
• M09 Coolant off
• M13 Spindle on, CW + coolant on
• M14 Spindle on, CCW + coolant on
• M19 Spindle stop at specified angular position
• M30 Program stop at end tape + tape rewind
Commonly used word addresses
• X, Y & Z-CODES: Coordinates. These give the coordinate positions of the tool.
Commonly used word addresses
• F-CODE: Feed rate. The F code specifies the feed in the machining
operation.
• S-CODE: Spindle speed. The S code specifies the cutting speed of the
machining process.
• I, J & K-CODES: They specify the centre of arc coordinates from starting.
CNC program structure
• The tool moves along a straight line in one or two axis simultaneously
at a programmed linear speed, the feed rate.
• The arc center is specified by addresses I, J and K. I, J and K are the X, Y and Z
co-ordinates of the arc center with reference to the arc start point.
• Absolute zero is usually set at the corner edge of a part, or at the center of a
square or round part, or an existing bore. ABSOLUTE ZERO is where the
dimensions of a part program are defined from.
• Absolute dimensions are referenced from a known point on the part, and
can be any point the operator chooses, such as the upper-left corner, center
of a round part, or an existing bore.
• This code is modal and changes the way axis motion commands are
interpreted. G91 makes all subsequent commands incremental.
Zero point shifts with the new position.
N1 T16 M06
N2 G90 G54 G00 X0.5 Y-0.5
N3 S1450 M03
N4 G43 H16 Z1. M08
N5 G81 G99 Z-0.375 R0.1 F9.
N6 X1.5
N7 Y-1.5
N8 X0.5
N9 G80 G00 Z1. M09
N10 G53 G49 Z0. M05
N11 M30
Part program 4 Explanation
N1- Tool change (M06) to tool no.16
N2- Tool rapidly moves (G00) to first drilling position X0.5 Y-0.5 while taking into account
Zero-offset-no. 1 (G54)
N3- Drill starts rotating clockwise (M03) with 1450 rpm (S1450).
N4- Drill takes depth Z1. taking into account tool length compensation (G43 H16), coolant
is turned on (M08).
N5- Drilling cycle (G81) parameters, drill depth (Z) and cutting feed (F) are given, with
this command first drill is made at current position (X0.5 Y-0.5).
N6- As drilling cycle continues it’s work with every axis movement so next drill is
done at X1.5
N7- Third drilling hole at Y-1.5
N8 fourth drill at X0.5
N9- Drilling cycle is cancelled (G80), Coolant is turned off (M09).
N10- Taking Machine-coordinate-system (G53) into account the drill is taken to Z0 position.
Tool length compensation is cancelled (G49), cutter rotation is stopped (M05).
N11- CNC part-program is ended.
CNC MILLING EXAMPLE
CODE EXPLANATION
5”
2.5”
p4
p2 p3 p5
1”
(4, 4)
p1
Motion of tool:
p0 p1 p2 p3 p4 p5 p1 p0
p0 (2, 2)
1. Set up the programming parameters
5”
2.5”
p4
p2 p3 p5
1”
Programming in inches
5”
Use absolute coordinates
Feed in ipm
45°
N010 G70 G90 G94 G97 M04
(4, 4)
p1
Spindle speed in rpm
p0 (2, 2)
Spindle CCW
2. Set up the machining conditions
5”
2.5”
p4
p2 p3 p5
1”
Machine moves in XY-plane
Spindle speed
45°
N020 G17 G75 F6.0 S300 T1001 M08
(4, 4)
p1
Tool no.
p0 (2, 2)
Flood coolant ON
3. Move tool from p0 to p1 in straight line
5”
2.5”
p4
p2 p3 p5
Linear interpolation
1”
target coordinates
45°
(4, 4)
p1
p0 (2, 2)
4. Cut profile from p1 to p2
5”
2.5”
p4
p2 p3 p5
1”
Linear interpolation
5” target coordinates
p0 (2, 2)
target coordinates
1”
5”
y = 9 + 0.125 = 9.125
(6.5 - x)2 + 0.1252 = (1 - 0.125)2
x = 5.634
45° p3
(x, y)
(4, 4)
p1 (6.5, 9)
.125
p0 (2, 2)
1”
6. Cut along circle from p3 to p4
5”
2.5”
p4
p2 p3 p5
1”
5”
target coordinates
1”
5”
Linear interpolation
p0 (2, 2)
8. Cut from p5 to p1
5”
2.5”
p4
p2 p3 p5
1”
5”
Linear interpolation
p0 (2, 2)
9. Return to home position, stop program
5”
2.5”
p4
p2 p3 p5
1”
Linear interpolation
45°
end of data
(4, 4)
N100 M00
p1
N G81 X Y Z R
Canned cycle Example 7
N010 G81 X25.0 Y35.0 Z-18.0 R2.0 F125 *
N015 X55.0 Y50.0 *
N020 X75.0 Y70.0 *
N025 G80 X0 Y0 Z50 *
Standard canned cycle motions
G73 Peck drilling cycle (Feed stop with each peck for chip break)
G81 Drilling cycle (simple drill into part and rapid out)
G82 Drilling cycle, counter boring cycle (same as G81 with added dwell)
G83 Peck drilling cycle (same as G81 with pecking amount added)
G85 thru Boring cycle (There are various types, feed in rapid out, feed in and out, feed in stop
G89 spindle then rapid out, back bore cycle, and others.
G98 Return to initial point/level in Fixed cycle
G73 Intermittent feed N/A Rapid traverse High speed peck drilling cycle
G74 Feed Dwell & reverse spindle Feed Left hand tapping cycle
G76 Feed Spindle stop & orient Rapid traverse Fine boring cycle
G80 N/A N/A N/A Cancel
G81 Feed N/A Rapid traverse Drilling cycle
G82 Feed Dwell Rapid traverse Drill, spot drilling, counter boring
G83 Intermittent feed Dwell Rapid traverse Small hole peck drilling cycle
G84 Feed Dwell & reverse spindle Feed Right hand tapping cycle
G85 Feed N/A Feed Boring cycle
G86 Feed Spindle stop & orient Rapid traverse Boring cycle
G87 Feed Spindle start Rapid traverse Back boring cycle
G88 Feed Dwell & spindle stop Manual Boring cycle
G89 Feed Dwell Feed Boring cycle
Standard canned cycle motions
G73 Peck drilling cycle (Feed stop with
Fixed/Canned Cycle Code Format Chart each peck for chip break)
Code format, this is all possible codes allowed on G74 Counter tapping cycle (Left hand
G-Code the fixed cycle start block, some maybe omitted threading)
G75 Not for Milling
G73 G98/99 G73 X__ Y__ Z__ R__ Q__ F__ K__
G76 Fine boring cycle
G74 G98/99 G74 X__ Y__ Z__ R__ P__ F__ K__
G80 Fixed cycle cancel
G76 G98/99 G76 X__ Y__ Z__ R__ Q__ P__ F__ K__
G81 Drilling cycle (simple drill into part and
G80 G80
rapid out)
G81 G98/99 G81 X__ Y__ Z__ R__ F__ K__ G82 Drilling cycle, counter boring cycle
G82 G98/99 G82 X__ Y__ Z__ R__ P__ F__ K__ (same as G81 with added dwell)
G83 G98/99 G83 X__ Y__ Z__ R__ Q__ F__ K__ G83 Peck drilling cycle (same as G81 with
G83 G98/99 G83 X__ Y__ Z__ R__ P__ Q__ F__ I__ K__ pecking amount added)
G84 Tapping cycle (Right hand threading)
G84 G98/99 G84 X__ Y__ Z__ R__ P__ F__ K__
G85 Boring cycle (There are various types,
G85 G98/99 G85 X__ Y__ Z__ R__ F__ K__
thru feed in rapid out, feed in and out, feed
G86 G98/99 G86 X__ Y__ Z__ R__ F__ K__ G89 in stop spindle then rapid out, back
G87 G98/99 G87 X__ Y__ Z__ R__ Q__ P__ F__ K__ bore cycle, and others.
G88 G98/99 G88 X__ Y__ Z__ R__ P__ F__ K__
G89 G98/99 G89 X__ Y__ Z__ R__ P__ F__ K__
F
Example 8
The component to be
machined is shown in
Fig. Write a program
using canned cycles to
drill all the holes.
Part Program 8
Example 9
%
O1308 (P N Rao)
N010 G71 G92 X0 Y0 Z50 (September 22, 2008)
N015 G90 (Stock 75 x 50 x 20mm)
N020 T01 S2200 M06 (Drill 7 mm diameter)
N025 G81 X12.5 Y37.5 Z-22.0 R2.0 (Start drilling)
F175 M03
N030 X62.5 Y12.5 (End of cycle)
N035 G80 X-50.0 Z50.0
N040 T02 S1590 M06 (End mill 10 mm
N045 G82 X12.5 Y37.5 Z-7.0 P1.0 diameter)
R2.0 F125
N050 X62.5 Y12.5
N055 G80 X-50.0 Z50.0 (End of cycle)
Part Program 9
Code Explanation
N5 Clamping workpiece N5 M12
N10 Changing No.1 tool and executing its offset N10 T0101
N15 Rapidly positioning to A point N15 G0 X100 Z50
N20 Starting the spindle with 600 r/min N20 M3 S600
N25 Cooling ON N25 M8
N30 Approaching B point with 600mm/min N30 G1 X50 Z0 F600
N40 Cutting from B point to C point N40 Z-30 F200
N50 Cutting from C point to D point N50 X80 Z-20 F150
N60 Rapidly retracting to A point N60 G0 X100 Z50
N70 Cancelling the tool offset N70 T0100
N80 Stopping the spindle N80 M5
N90 Cooling OFF N90 M9
N100 Releasing workpiece N100 M13
N110 End of program, spindle stopping and Cooling OFF N110 M30
Thank you
Computer-Assisted Part
Programming
• APT or Automatically Programmed Tool, is a high-level computer
programming language most commonly used to generate instructions for
numerically controlled machine tools.
• APT uses language statements to define part shape and tool motion as well
as machine tool-dependent data (e.g., feed rates and spindle speeds). The
general procedures of generating APT source codes involve the following
steps:
1. Identify part geometry.
2. Identify cutter motions, feeds, speeds, and cutter parameters.
3. Code the geometry, cutter motions, and general machine instructions into
the part programming languages. The code is known as source.
Computer-Assisted Part
Programming
4.Compile or process the source to produce the machine-independent list of
cutter movements and auxiliary machine control information, known as the
cutter location data file (or CL data).
5.An APT processor program is used to read these statements, interpret the
meanings, and perform all the necessary calculations to generate a series of
cutter location points that define the toolpath.
6.The generalized APT output (usually in CL data) is converted to
the particular format G-code required by the CNC machine using a
post- processor program.
Note that the CL data is different from APT. The CL data is defined by the
International Organization for Standardization (ISO).
• 7. Postprocess the CL Data to produce MCD for the particular target CNC
machine.
Chang, 2003. Product Manufacturing and Cost Estimating using CAD/CAE. Elsevier Inc.
APT Source code
Chang, 2003. Product Manufacturing and Cost Estimating using CAD/CAE. Elsevier Inc.
CAD/CAM Approach
• The process starts with creating a reference (or design) model and
workpiece, and then assembling them in assembly mode.
• After the solid models are assembled, users define manufacturing set up,
including choosing a workcell (e.g., a 3-axis mill) and coordinate system (or
machine zero).
• As an example, the MCD is post processed for a HAAS CNC mill, which is also
called a tap file.
• In the rest of the chapter, we will focus on the CAD/CAM approach from a
broader aspect, that is, virtual machining simulations in support of product
design