Cam 1
Cam 1
Cam 1
1
The main software functions associated with a CNC system
Computer Numerical Control, CNC
3
CNC- (Vertical) Milling Machine
4
Collet
Collet Chuck
End Mill
5
CNC -Turning Machine
6
Tool holder
Turret Head
Carbide Inserts
7
CNC Machines Specification
8
CNC Machines Specification
- Tool Management : a) Tool life monitoring with time b) Tool Length Offset c) Tool
Radius Offset d) No. of Tool Offset
- Co–ordinate System : a) Auto Referencing b) Machine Co-ordinate system setting
c) Work co-ordinate system setting d) Program additive zero offset
- MACHINE LOCK : a) Auto Function Lock b) Soft approach to and exit from contour
c) Data protection key
- Programming support functions : a) Machine Cycle : Milling, Drilling, Tapping,
Boring, etc. b) Cycle sub-programming c) Extra Stop
- Graphics and Simulation,
- Maintenance and Safety : a) Emergency Stop b) Safety Interlock, etc.
- Leaser Calibration certificate should be provided for each axis.
- STANDARD FEATURES :- Complete work area enclosed
- Spindle mounted probe
- Chip Conveyor with trolley
- Air Conditioner for electrical cabinet & it should be energy efficient.
- Suitable Voltage Stabilizer & Isolation Transformer
- Electronic Edge Finder
- Coolant system (Auto & Manual)
- Set of Operator Tools, ie. Spanners, Allen Key Set, etc. 10
CNC Machines Specification
- Machine Lighting
- Air Gun , Automatic Lubrication System
- USB Ports
- Electrical equipment with wiring suitable for standard 3 Phase, 415 V, 50
Hz, AC Supply.
- Inside Control panel all drives and cards to be fixed for easy maintenance
and removal, and control panel to be fixed at proper position for easy
maintenance of electrical service engineers.
- ESSENTIAL ACCESSORIES ( STD. / OPTIONAL) :- Swivel base,
Clamping Kit for job Holding ( ie. T-bolts & Nuts, stepped clamps, blocks,
etc.) – 1 set for each machine , Collet Set, size : 0 to 16mm – 1 set for
each machine , Tool Holding Kit (Adaptors with pull studs for holding
collets, T-Max Cutters, Endmills, The supplier has to include Manufacturer
Recommended List of Spares and Cost The supplier shall agree to provide
service support during the life of the machine.
- MANUALS : Three sets of manuals in English covering operation,
programming, maintenance, spare parts, CNC System, electrical circuit
diagrams & PLC ladder diagrams,
11
CNC Machines Specification
- Dispatch; The manufacturer shall dispatch the machine duly packed. Any
damage to the parts of the machine & spare parts shall be replaced by the
tenderer at free of cost & replacement shall accompany certificate of the
original manufacturer..
- The firm shall arrange all necessary tools, tackles consumable, welding
m/c, chain pulley blocks, necessary labour force, technical personal for
carrying out the erection, alignment and commissioning of new machine
adhering all safety and security
- TRAINING :- Training should be given by the firm at Site in the following
areas. Programming & Operation : Min. Four Persons Mechanical
Maintenance : Min. Two Persons CNC System & Electrical Maintenance :
Min. two persons The duration of such training shall not be less than two
weeks. The vendor should indicate the detailed syllabus of such training
proposal. GUARANTEE / WARRANTY for a period of 12 months
- SITE VISIT :- The firm should visit the site to ascertain the scope of work
and functional requirement before submitting quotation.
12
◼ CAD / CAM systems
13
Computer-Integrated Manufacturing (CIM)
15
The operation of a CIM system gives the user substantial
benefits:
16
Introduction
Conventionally, an operator decides and adjusts
various machines parameters like feed , depth of cut
etc depending on type of job , and controls the slide
movements by hand.
17
Why CNC is Accurate?
Light but rigid Hollow design with ribs to have less deflection and low
construction nat. freq., Design improvement using mode shape
analysis
Low inertia Keep weight of moving elements low
Low friction and play Guide way elements, Ball lead screws, Pre-loading
18
Alloy steel Frames
For CNC Machine Tools Cast Iron Frames
For conventional Machine Tools
19
Types of Manufacturing Automation
Manufacturing
Automation
20
Copy milling machines
21
Special purpose machines
22
Components of
Numerical Control (NC) system
23
Data Input – Punched tape
24
NC
25
Numerical Control – Definitions
➢ A Technique for Automatically Controlling
Machine Tools, Equipment, or Processes by
a Series of Coded Instructions (American Society of
Tool and Manufacturing Engineers)
Data
Processing
Unit
(DPU)
Machine
Control Unit
(MCU)
Control Loop
Unit
(CLU) CNC
System
CNC
Machine
27
A DPU consists of some or all of the following parts,
• data-input device such as a paper-tape reader (as in the old says), RS-232-
C port, and so on;
• data-reading circuits
• decoding circuits for describing data among the controller axes; and
• an editor.
29
Numerical Control
Advantages for Manufacturing (1)
➢ Greater Flexibility
⚫ Shape
⚫ Part Volumes
➢ Increased Accuracy
➢ More Operations from a Single Set-Up
➢ Less Manufacturing Time Variability
➢ Better Scheduling
➢ Increased Capacity
30
Numerical Control
Advantages for Manufacturing (2)
➢ Greater Machine Utilization
➢ Reduced Tooling Costs
➢ Reduced Tool Costs
➢ Reduced Flow Time
➢ Reduced Workpiece Handling
➢ Greater Safety
➢ Improved Integration
31
Disadvantages of NC Machines
32
NC --Applicability
➢ Long Series of Operations Where an Error in the
Sequence Would Destroy the Value of the Part
33
CNC -- Classification
34
CNC -- Classification
35
NC MACHINE CLASSIFICATIONS
1. Motion control: point to point (PTP)
and continuous (contouring) path
37
Point to Point
Continuous Path
• Controls both the displacement and the velocity.
• Machining profiles.
• Precise control.
• Use linear and circular interpolators.
(Interpolators: Control multiple axes simultaneously to move
on a line, a circle, or a curve.)
38
2) Control Loop : Open Loop and Closed Loop System
(a) The open loop control system does not provide positioning feedback to the
control unit. Since this control system only counts tool movement pulses and
cannot identify discrepancies in positioning, it is slightly inaccurate.
(b) In closed loop control system, the electronic movement pulses are sent from the
control to the servomotor, enabling the motor movement. Movements are detected
by a feedback device (transducer), which can send a signal to the control39for
checking after each step. (more accurate)
3) Axes
Three axis CNC machine:
1. The working table moves along x- and y-axis, and the tool along z-axis.
2. In machining, tool orientation is fixed, either in vertical or horizontal direction.
3. If all surfaces to be machined are accessible by the cutter in one setup,
a 3-axis CNC machine is used
40
3 & 5 Axes CNC Machines
41
Axes
➢ Part or Tool Movement
⚫ ½ Axis When Axis Movement Limited (Must
➢ Number of Axes
• 2, 2 ½ , 3, 3 ½ , 4, 4 ½, 5, Axis Machines
42
• Translational and Rotational Axes
4) Power Supply
43
The frequency of the stepping motor
A stepping motor is a device whose output shaft rotates through a fixed angle
in response to an input pulse. The accuracy of the system depends on the
motor‘s ability to step through the exact number.
The pulse frequency, f, in pulses/sec determines the travel speed of the tool or
the workpiece.
f = N (rpm) /60, Hz where N = number of pulses per revolution,
The travel speed, V, is then given by V = p (rpm) where p pitch in mm/rev
44
Stepping motor; distance traveled
The frequency of the stepping motor depends on the load torque. The higher the
load torque, lower would be the frequency . Excessive load torque may occur in
motors due to the cutting forces in machine tools . Hence this system is more
suitable for cases where the tool force is low ( wood cutting) or does not exist
(Example: laser cutting) .
Each pulse causes the motor to rotate a fraction of one revolution (α).
If there is a 1 :1 gear ratio between the motor and the leadscrew, then the
leadscrew has (n/N) revolutions . If the pitch of leadscrew is p (mm/rev),
then the distance traveled axially, say x,
x = p(n/N)
45
Example
A stepping motor has N = 150, p = 4 mm/rev ; If n = 2250
pulses, what is the distance traveled in x-direction? What should
be the pulse frequency for a travel speed of 10 m/min ? What is
the BLU ?
1) x = (4) (2250)/150 = 60 mm
2) 10 000= 4 (rpm), from which, rpm = 2500
f = (150) (2500)/60 = 6 250 Hz
3) BLU = p / N = 4/150 = 0.03 mm/pulse
a) V= p(rpm) = 4(rpm)
rpm of the leadscrew = (60 f/N ) = (60) (200)/(150) = 80 f = N (rpm) /60
V = (4) 80 = 3200 mm/min =3.2 m/min
rpm of the motor = 80 * 4 = 320
c) x = p(n/N) = 4 (3450)/150 = 92 mm
47
Example (3)
48
CNC TECHNOLOGY
49
CNC TECHNOLOGY
• Instructions are stored as a program in micro-computer
attached to the machine.
51
52
CNC
53
NC, CNC and DNC
54
Direct Numerical Control – DNC --
55
Functions of DNC
Programs must be made available for downloading to CNC machine tools
Tool management
Getting the data about health of the machine in the form of sensor signals
which can be used for preventive/predictive maintenance
56
Elements of CNC Systems
57
Breakout Board
Performs a breakout of the signals present on
each of the pins on the db-25 connection.
Provide basic connectivity required for step and
direction signaling for each axis, limits, …
• Control Panel
• Tool Change mechanism,
• Feed drive
• Measuring system;
Direct / Indirect
Stepping motor Power supply Emergency stop
Driver to power up stepping button
translates a pulse into a high motors and drivers
powered signal
1 or 3 phase input,
Neither stepper motors nor servo systems are connected directly to the computer,
because the motors require considerably more power than the computer could
supply. Instead, the computer sends low-powered logic-level signals to a driver
unit, which responds to the signals by generating pulses of much higher voltage
and current to suit the motors.
Typical voltages range from 5 to 70 volts or more, and typical currents depend on
the rating of the motors, with some powerful stepper motors requiring up to 10 amps
at 70 volts for each motor.
63
Variable Frequency Drive (VFD or Inverter) that accepts 220v single or three phase.
Control VFD/Spindle via Breakout board and mach3. Control the spindle rpm:
“Output 0-10V analog voltage for inverter to control the spindle speed.
64
The relay board will turn on standard electrical devices up to 12 amps and 250 volts using a standard 5v control signal
. It acts like an automatic switch to turn on and off electrical devices and applications. It can be activated by g-code
M3/M4 and M5. Common examples: Air Solenoids, Water pumps, Lube Pumps, Dust collection, Estop contactors, etc.
Outputs are controlled by M-codes, PLC and/or the operator control panel and are user configurable.
65
66
Control Panel
1) Display screen
2) Software controlled
keys used to select (1)
function keys
(3)
3) Input panel
(2)
67
Some key functions on display screen
1. FEED HOLD
Acts as an interrupt control to the program when pressed,
preventing any further tool movement until canceled.
2. SINGLE BLOCK
With machine running in automatic mode controlled from the
PC, this allows the operation of only a single block (line) of the
program at a time to be toggled on/off. Press CYCLE START to
proceed.
3. CYCLE START
This sets the machine in automatic mode and starts the
machining from the PC program. Also used to resume an
Automatic cycle after a FEED HOLD is canceled and to action
the next line if Single Block is active.
4. FEED SPEED CONTROL
Pressing this button together with any of the other six axis control
buttons provides rapid movement of the axes in the indicated
direction.
7. MANUAL
When lit, machine is operated from control panel (Manual mode). Pressing
MAN puts light out and machine is controlled by computer (Automatic
mode). Press MAN again to revert to manual mode operation.
74
Tool turrets:
An advantage of using tool turrets is that the time taken for tool changing will be
only the time taken for indexing the turret. Only limited number of tools can be
held in the turret.
Tool magazines:
Tool magazines are generally found on drilling and milling machines. When
compared to tool turrets, tool magazines can hold more number of tools and also
more problems regarding the tool management. Though a larger tool magazine
can accommodate more number of tools, but the power required to move the tool
magazine will be more.
Chain magazine:
These magazines can hold large number of tools and may hold even up to 100
tools. Tools will be identified either by their location in the tool holder or by means
of some coding on the tool holder.
75
Tool Turret for Turning
76
77
Chain Magazine; Milling Center
Tool Magazine
Elements of a feed drive axis.
Slideways
A slideway is used to control the direction, or line of action, of the translational
movements of the carriages or table on which the tools or work are held.
The alignment of the slideways to each other and to the axis of spindle is
critical. The shape and size of the work produced depends not only on the
accuracy of the amount of movement, but also on the direction of the relative
movements of the tool and the work. There are different forms of slideways
such as cylindrical, vee and flat.
Because of the problem of metal to metal contact the relative high amount of
friction is generated, which exits between the faces in contact, typically 0.15 for
lubricated steel sliding on steel.
A number of machines have flat (or screw) roller bearings fitted to the carriages
to provide a rolling motion rather than sliding motion. The rolling motion is
frictionless.
79
Elements of a Feed drive axis
Rolling Friction slideways
Linear guide with rail and carriage
81
Rolling friction slide ways (Recirculating Ball Screw)
Advantages
1. Longer life
2. Relatively small wear. Will maintain accuracy through
entire life of the screw.
3. Rolling motion reduces friction considerably. Can be
used for carrying heavier loads at faster speeds.
4. High efficiency(85-95%)
5. Small power requirement
82
Linear Guide rail. Full length or cut to order. Comes with 2 linear guide blocks for misalignment.
85
Chain and sprocket Rack and pinion , and belt drive moving mechanisms
86
87
Measuring System; Feedback loop system;
88
Optical Rotary Encoders (Indirect Position Measuring)
94
Sources of variability in machining
4. Tool wear
96
Advantages of self adjusting cutting parameters
by adaptive control
97
98
Part Programming
99
Program structure
- What are the cutting conditions (speed, feed, coolant ON/OFF etc)
miscellaneous 100
function
101
102
103
104
105
Flow chart of a CAM System
106
Coordinate System
CNC Axes
Axes on a CNC lathe
Axes on a CNC milling machine
Zero and reference points on CNC
Zero Point of machine on a CNC lathe
Machine Zero Point and Work part zero point on
CNC milling machine
113
End of program with reset (M30)
Stops the machine after the last program
block has been executed, including the
coolant (lubricant) supply feature and the
spindle speed;
resets the control system and/or the
machine tool to its/their initial position.
114
Absolute dimensions G90
G1 X50 Z-40 G0 Z1
Incremental dimensions G91
G1 X50 Z-40 G0 Z 41
G1 = linear interpolation
118
119
AUTO CHAMFERING “C” AND CORNER “R” (Option)
Z +X (+ K/R )
Z -X (- K/R )
Command path X → Z :
G01 X(u) B ± K
G01 X(u) B ± R
X +Z (+ K/R )
X -Z (- K/R )
120
N1 G01 Z30.0 R6.0 F0.2 :
N2 X100.0 K-3.0 :
N3 Z0 :
Example)
121
Circular interpolation G2 / G3
To determine the lengths for I and K, draw an arrow from the circle starting point
A to the circle center point M.
Two cases are distinguished:
Case 1 ; M is paraxial to X or Z:
Case 2 ; M is not paraxial to X or Z:
In this case, the arrow AM must be divided into a horizontal and a vertical direction.
G01 X30.0 Z60.0 F0.3 :
Z35.0 :
G02 X40.0 Z30.0 I5.0 :
G01 X50.0 :
Z0 :
G01 X40.0 Z60.0 F0.3 :
G03 X50.0 Z55.0 K-5.0 :
127
N20 G54 M06 T0300 :
G96 S20 M03 LIMS=5000:
G00 X0 Z3.0 M06 T0303 M08 :
G01 Z0 F0.2 :
G03 X20.0 Z-10.0 R10.0 :
G01 Z-50.0 :
G02 X100.0 Z-74.385 I40.0 K20.615 : (G02 X100.0 Z-74.385 R45.0)
G01 Z-115.0 :
129
Tool nose radius compensation (G41 / G42 - G40)
With longitudinal and face turning,
the programmed contour and the
created contour are identical.
The TNRC is only activated when finishing, since an allowance is used both in the
diameter and in the turning length when rough-turning.
131
N100 G42 G00 X.. Z..
N105 G01 Z-.. F..
N110 G02 X.. Z-.. R..
N115 G40 G00 X.. Z..
132
Stock Removal (cycle 95)
133
134
135
136
137
Grooving (cycle 93)
138
140
141
142
143
Calculate the coordinates and complete the program for the finishing pass of the
following lathe part
144
145
Calculate the coordinates and complete the program for the finishing pass of the
following CNC lathe part (diameter 37 x length 90) of mild steel.
146
147
148
CNC Milling
Circular Milling, G2-G3
G17
Location of Milling Surface XY
G18
Location of Milling Surface XZ
Cutter radius compensation is
necessary to ensure that the programmed
contour will be
identical with the executed contour.
G0 Rapid Traverse
G1 Machining Traverse
G2 Circular Interpolation Clockwise
G3 Circular Interpolation Counterclockwise
G17 Working plane X-Y
G18 Working Plane X-Z
M8 Coolant on
M17 Subprogram end
M3 Spindle on clockwise
CHF Insert Chamfer