Computer Numerical Control Ip 650
Computer Numerical Control Ip 650
Computer control
Servo axis control
Tool changers
Pallet changers
On-machine programming
Data communication
Graphical interface
THE HISTORY OF NC
1947: J. Parsons (Parsons Corporation) began
experimenting for using 3-axis curvature data to
control machine tool motion for the production of
aircraft components
1949: Parsons awarded a US Air Force contract to
build the first NC machine Laboratory for
Manufacturing Systems and Automation
1951: MIT was involved in the project
1952: NC achieved when MIT demonstrated that
simultaneous 3-axis movements were possible using
a laboratory-build controller and a Cincinnati
HYDROTEL vertical spindle
1955: after refinements NC become available to
industry
THE HISTORY OF NC
Early NC machines run off punched cards and tape
Due to the time and effort for editing and changing
tapes, computers were introduced for programming
Computer Aided Programming Languages:
Allow the development of an NC program using a
set of universal English commands
Computer translate commands into machine codes
Machine codes are punched into the tapes
Direct Numerical Control:
A computer is used as a partial or complete
controller of one or more NC machines
OBJECTIVES OF NUMERICAL CONTROL
Numerical control (NC) was developed with these
goals in mind:
To increase production
To reduce labor costs
To make production more economical
To do jobs that would be impossible or impractical
without NC
To increase the accuracy of duplicate parts
ADVANTAGES
Increased productivity
Reduced tool/fixture storage and cost
Faster setup time
Reduced parts inventory
Flexibility that speeds changes in design
Better accuracy of parts
Reduction in parts handling
Better uniformity of parts
Better quality control
Improvement in manufacturing control
DISADVANTAGES
Increase in electrical maintenance
High initial investment
Higher per-hour operating cost than traditional
machine tools
Retraining of existing personnel
4/16/2015
NC classification regarding
4/16/2015
CONTINUOUS PATH
Interpolation is to
coordinate multiple axes
to move the tool on a
desired trajectory
4/16/2015
Interpretation: Linear path
4/16/2015
MOTION CONTROL SYSTEMS
a. OPEN LOOP CONTROL
SYSTEM
Does not provide
positioning feedback to the
control unit.
Counts tool movement
pulses only
Cannot identify
discrepancies in positioning,
slightly inaccurate.
b . CLOSED LOOP 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
control for checking after
each step.
CO-ORDINATE SYSTEMS IN CNC
Milling Machine
Operations such as milling, contouring, gear cutting, drilling,
boring, and reaming operations which can be performed on a
milling machine.
The milling machine can be programmed on three axes:
The X axis controls the table movement left or right.
The Y axis controls the table movement toward or away from the
column.
The Z axis controls the vertical (up or down) movement of
the knee or spindle.
5-axis machine - 1
4/16/2015
5-axis machine - 2
4/16/2015
5-axis machine - 3
4/16/2015
Rotary table attachment
(Courtesy of Fadal Machine)
4/16/2015
5 AXIS EXAMPLE
5 AXIS EXAMPLE
AXIS REPRESENTATION
All computer controlled machines are able to accurately and
repeatedly control motion in various directions. Each of these directions
of motion is called an axis. Depending on the machine type there are
commonly two to five axes.
Additionally, a CNC axis may be either a linear axis in which
movement is in a straight line, or a rotary axis with motion following a
circular path.
NC program functions
Preparatory functions
Coordinates
Machining parameters: feed and speed
Tool control
Cycle functions
Coolant control
Miscellaneous control
Interpolators
4/16/2015
Reference Points
4/16/2015
Reference Points (contd)
(-5,-6,-7)
4/16/2015
Machine Zero - Machine zero is a point at the origin of the machines
coordinate measuring system. All the Axis movements and other
IMPORTANT TERMS RELATED TO CNC MACHINING
dimensions are measured from this point. It is similar to the origin of
coordinate measuring system.
Machine reference point - It refers to the initial point of return for the
purpose of measuring/feedback systems. Whenever a CNC machine is
switched on the feedback system has to be initialized by referring this
point on every axis.
Work Zero - This is the origin for the measuring of dimensions of
work piece. The programmer is free to select it anywhere on the
drawing.
Absolute measuring system - In this measuring system all the
dimensions are made from the work zero, which defined. The machine
control uses work zero as the reference point to position the tool
during program execution. The main advantage of programming in
absolute system is that any point can be readily changed without
affecting subsequent dimensions.
Incremental measuring system - The movements are based on the change
in position between two successive points. It expresses the relative distance
between the current location and the next position. This type of measuring system
is called Incremental Measuring system. The main advantage of this system is that
sum of the dimensions must always be zero if start point and finishing point is
same at the end of programming which makes it easy to check a program.
Tool and tool offset - The T function is used to call the particular tool and
tool offset in the program. The tool offset is used to correct the values entered in
the coordinate system preset block. Using the tool offsets, it is easy to set up the
tools and to make adjustments in part size.
Spindle speed - The spindle speed is the rotational frequency of the spindle of
the machine, measured in revolutions per minute (RPM). The preferred speed is
determined based on the material being cut. Using the correct spindle speed for the
material and tools will greatly affect tool life and the quality of the surface finish.
Feed rate - Feed rate is the velocity at which the cutter is fed, that is, advanced
against the work piece. It is expressed in units of distance per revolution for turning
and boring (millimeters per revolution). For milling it is expressed in units of
distance per time for milling (millimeters per minute).
Cutting Speed - Cutting speed may be defined as the rate (or speed) that the
material moves past the cutting edge of the tool , irrespective of the machining
operation used the surface speed.
NC MACHINE RATING
Accuracy
Repeatability
Spindle and axis motor horsepower
Number of controlled axes
Dimension of workspace
Features of the machine and the
controller.
NC ACCURACY
4/16/2015
Tool changers
Several different cutting tools are used to produce a part.
The tools must be replaced quickly for the next machining
operation.
Majority of NC/CNC machine tools are equipped with
automatic tool changers.
They allow tool changing without the intervention of the
operator.
Automatic Tool Changer
Grips the tool in the spindle, pulls it out, and replaces it with
another tool.
Tool changers are equipped for either random or sequential
selection.
IN RANDOM TOOL SELECTION
THERE IS NO SPECIFIC PATTERN OF TOOL SELECTION.
IN SEQUENTIAL TOOL SELECTION,
THE TOOLS MUST BE LOADED IN THE EXACT ORDER
IN WHICH THEY ARE CALLED FOR IN THE PROGRAM.
Turret Head 180 Degree Rotation
Tool Changer Tool Changer
Pivot Insertion
Tool Changer
What is an Encoder?
An encoder is a sensing device which takes motion from a physical component
and converts it into a digital pulse, which is then sent to a controller and
manipulated for a desired purpose.
How Does an Encoder Work?
There are many differences in the various types of encoders,
but the two main ones are: rotary and linear encoders
(both examples are optical)
Rotary Encoder
How Does an encoDer workcontinueD?
Two Types of Optical Encoders:
Incremental
Absolute
Linear Encoder
Ara Knaian
ELECTRIC MOTORS
How a DC Motor Works
Brushes
Motor Modeling
I
V ,
Voltage and
Torque and
Current In Q Heat Out
Pin P
Speed Out
VI Q
2
VI I R
Motor Modeling
F IL B
Km I
Pittman Motor Data Sheet
Pittman Motor Data Sheet
Bidirectional Motor Drive: H-
Bridge
Speed Control: PWM
Microcontroller Limit
Switch
Stepper Motors
Stepper Motor Selection
Tw = Tw
Tw = Fv
Induction Motors
Universal Motors
LINEAR MOTORS
Tubular Linear Motor
CNC Router with Linear Motors?
F 1000N
v 0.01m / s
Pmech Fv 1 W
2
1000N
PD 1890 W
N
23
W
Electropermanent Stepper
Rotor
Stator
Alnico
Nd-Fe-B Fe
Copper Wire Coil
Tpulse
V1
V2
Time
Tpulse = 100s
T = 40 ms
Different Types of Encoders
The most current type of encoders:
Rotary Linear
Controllers
LCDs
Software
www.quantumdev.com/products/optical_encoders/hr12.html
www.quantumdev.com/products/optical_encoders/jr12.html
www.quantumdev.com/products/optical_encoders/qd200.html
www.quantumdev.com/products/optical_encoders/qd787_hollow.html
www.quantumdev.com/products/optical_encoders/qr12.html
Important LIMITATIONS AND STANDARDS
PPR = Pulses Per Revolution, or inches for linear encoders, can be up to 150,000
Temperature is very important, should have an average operating temp. of -20 to 115
Also look at vibration, how it can be mounted, moment of inertia, storage temperature
The power inputs: active (no power required), passive (external power source requir
Encoders are very close to sensors, they receive physical feedback and convert it into
a
digital signal which is then read by a controller for a desired purpose.
Compensation function
CNC CODES
The most common codes used when programming CNC machines tools
are G-codes (preparatory functions), and M codes (miscellaneous
functions).
Other codes such as F, S, D, and T are used for machine functions such as
feed, speed, cutter diameter offset, tool number, etc.
G-codes are sometimes called cycle codes because they refer to some
action occurring on the X,Y, and/or Z axis of a machine tool,
The G-codes are grouped into categories such as Group 01, containing
codes G00, G01, G02, G03. which cause some movement of the machine
table or head.
Group 03 includes either absolute or incremental programming, while
Group 09 deals with canned cycles.
A G00 code rapidly positions the cutting tool while it is above the work
piece from one point to another point on a job. During the rapid traverse
movement, either the X or Y axis can be moved individually or both axes
can be moved at the same time. The rate of rapid travel varies from
machine to machine
CODE TYPES
Sequence Number (N-Codes)
This is an identification number for each block of instructions and increases
sequentially through the program.
Preparatory Function (G-Codes)
The G-codes are the codes that position the tool and do the actual work These
codes are largely standardized and can be seen in the provided G-code table.
Many of the preparatory functions can indicate canned cycles.
Co- ordinate Codes
These indicate the co-ordinates for the tool movement. Four to five axis
machines can have the following axes
M03
DIRECTION OF ROTATION
(CLOCKWISE)
M04
DIRECTION OF ROTATION
(COUNTERCLOCKWISE)
M05
SPINDLE STOP
M06
TOOL CHANGE WITH
AUTOMATIC RETRACTION
M30
END OF PROGRAM
AND RETURN TO BEGINNING
OF PROGRAM
SYNTAX FOR TURNING CENTRE
(LATHE )
FAST TRAVERSE-G00
G00 X Z
G00 => Fast Traverse
X , Z => Co-ordinate values
LINEAR MOTION-G01
G01 X Z
G01 => Linear motion
X , Z => Co-ordinate values
REFERENCE POINT-G28
G28 U0 W0
G28 => Reference point
U , W => Machine Reference Point
CIRCULAR INTERPOLATION-G02/G03
G02 X Z R F
G03 X Z R F
G02 => Clockwise circular interpolation
G03 => Counter clockwise interpolation
X , Z => Co-ordinate values
R => Radius of the CW /CCW ARC
MULTIPLE TURNING-G71 PATTERN REPEATING G73
G71 U R G73 U R
G71 P Q U W F G73P Q U W F
G71 => Multiple Turning G73 => Pattern Repeating
U => Depth of cut U => Amt. of Matl. To be removed
R => Relief amount (Max. dia of w/p Min. dia of profile)/2
P => Start block R => U/ Depth of cut
Q => End block P => Start block
U => Finishing allowance in the X axis Q => End block
W => Finishing allowance in the Z axis U => Finishing allowance in the X axis
F => Feed /minute W => Finishing allowance in the Z axis
F => Feed /minute
G33 X Z K
Where,
K = Pitch of the
thread
CUTTER RADIUS COMPENSATION
G42(Radius compensation on
the right side of the profile)
G41(Radius compensation on
the left side of the profile)
STOCK REMOVAL IN TURNING
G75 R(e) :
G75 X(u) Z(w) P( i) Q( k) R( d) F :
THREADING CANNED CYCLE G76
G76 P (m r a) Q (D) R (d)
There is also a provision for an R-
G76 X (Root Diameter) Z ( Distance of thread)
word for taper threads.
P (Depth) Q (First Depth) F (Feed)
The threading cycle in this program is based
on the following parameters:
m= Number of finishing passes = 3,
r = Chamfer distance = 1.5 3.5 = 5.25 mm
(3.5 mm is pitch)
a= Thread angle (tool-tip angle) = 60 degree,
Q= Minimum depth of cut or Finishing
allowance = 150 micron = 0.15 mm
X= Core diameter = 25.706 mm
Z= Axial end of thread = 30 mm in the
negative Zdirection
P= Depth of thread = 2147 micron = 2.147 mm
Q= First depth of cut = 250 micron = 0.25 mm,
F= Lead (= pitch, for single-start) = 3.5 mm
CNC MILLING
RECTANGULAR POCKET MILLING
G66 P9020
XY I J Q Z R K F
G67
CICRCULAR POCKET MILLING
G66 P9016
XY I Q Z R K F
G67
DRILLING CYCLE
G81 X Y Z R K F; * IF Z = -10
K = 1 IF IT HAS TO REPEAT 10 TIMES
DEEP HOLE DRILLING CYCLE
G83 X Y Z R Q K F
DRILLING CYCLE
G88 X Y Z R P K F