Professional Documents
Culture Documents
CNC Work Theory
CNC Work Theory
Computer Numerical control (CNC) is used to automate the machine tools that are operated by
manually via hand wheels or levers, or mechanically automated via cams alone.
Computer plays an integral part of the control. In modern CNC system computer-aided design
(CAD) and computer-aided manufacturing (CAM) programs are used for development and
The series of the steps needed to produce any part is highly automated and produces a part that
Closely matches the original CAD design. Modern CNC mills differ little in concept from the
Mills typically consist of a table that moves in the X and Y axes, and a tool spindle that moves
In the Z (depth).
The position of the tool is driven by moter through a series of step-down gears in order to
Provide highly accurate movements, or in modern designs, direct-drive stepper motor or servo
Motors.
Open-loop control works as long as the forces are kept small enough and speeds are not too
great.
On commercial metalworking machines closed loop controls are standard and required in order
As the controller hardware evolved, the mills themselves also evolved. One change has been to
enclose the entire mechanism in a large box as a safety measure, often with additional safety
interlocks to ensure the operator is far enough from the working piece for safe operation.
Most new CNC systems built today are completely electronically controlled. CNC-like systems
Are now used for any process that can be described as a series of movements and operations .
These include laser cutting, welding, friction stir welding, ultrasonic welding, flame and plasma
Cutting, bending, spinning, hole-punching, pinnig, gluing, fabric cutting, sewing, tape and fiber
For fanuc generally the coding is done using G codes and M codes. G codes are used for
Machining operations and movement of the tools whereas M codes are used for contolling the
Spindal movement like on/off, rotation in clockwise or anti-clockwise direction and also for tool
Change operation.
Classification of CNC Machine
CNC:- CNC is stand for “computerized Numerical Control”. A machine which is controlled by
computer with Numerical values is known as CNC Machine.
Coordinate system
Coordinate system is used for getting point to point movement of tool according to
Coordinates of point.
Horizontal Axis
Vertical Axis
Types of coordinates:-
I. Absolute Coordinate :- the value of any point will be taken with respect to center point.
II. Incremental Coordinate :- the value of any point will be taken with respect to previous
point.
COMPONENTS OF CNC
1. SPINDLE
The spindle is directly coupled with the spindle motor and avoids any errors in Indirect drive
mechanism.
This high speed spindle is specially designed to meet the requirement of small component
Machining with high precision and dynamism.
Spindle is having BT-40 and 50Tool, HSK 100 interface taper for VMC machines.
2. SADDLE
Saddle is the part of CNC which is mounted on the Linea Motion guide ways (LM).
3. BASE
Base is the base structure of CNC on which the entire operation of CNC is performed. It is
made of rigid structure of cast iron because of good compressive strength and vibrational
damping capacity .
Linear motion guide ways or LMs are V U shaped solid structure mounted on the base for
saddle and on saddle for pallet to allow the saddle and pallet to slide over them linearly
along X and Y axis respectively.
5. PALLET
Pallet is used to clamp or unclamp job piece. It is mounted on LM which are mounted on
saddle. They are perpendicular to the LM mounted on base. That is, if one is in X- direction
then other one Is in Y – direction.
6. AUTOMATIC TOOL CHANGER
The tool changer is an umbrella typr Servo ATC having a 12 Tool magazin.
The tool change time 3.5 seconds. Its main fuction is to change the tool during the
machining according to the requriment.
It workes with 3 servo motor. One for vertical motion up-down, one for rotary action Z-axis
and one for clamping and releasing the tool.
7. HEAD STOCK
it supports chuck and its mechanism. It possesses system which clamps and de-clamps of
work-piece.
8. TAIL STOCK
It possesses the supporting elements. It is also used for supporting the long job pieces and
also used for centreing and drilling purpose.
9. TURRET ASSEMBLY
It is that part of machine which has tools to work on job. Generally, it has ten to twelve
tools. It is used for holding the tools to carry out machining operations.
10. CONTROLLER
It contains Siemens or Fanuc or Heidenhaim controller which controls the whole machine.
11. PUMP
There are generally two pumps in CNC. One is for hydraulic oil transmission and another for
coolant circulation. Thus pump keeps the cooling and the lubrication system of the CNC
alive.
12. MOTORS
There are many different motors used mainly for revolving of chuck. Another two for bolt
screw, revolving of turret, and motion of work table pallet in X and Y- axes.
CNC Programming is made of block & block are made by commands. Commands are provided for
different functions.
CNC Programming Elements
1. Command.
2. Block,
3. Different Addressing Code,
4. Program scan,
5. Program header,
6. Program footer
3.1. G – Code : - These are preparatory function codes & used for
different function.
Code G00 = This code is used for tool positioning & free movement of air.
Format - G00 X…….Z….;
Code G01 = this code is used for linear movement of axis.
Format – G01 X………Z….F…;
Code G02 = This code is used for circular clock wise movement of any axis.
Format – G02 X……Z…..R……..F…;
Code G03 = This code is used for circular anticlockwise movement of any axis.
Format – G03 X…….Z…….R…..F….;
Code G28 = This code is used for homing of any axis.
Format – G28 U0.0 W0.0
B. Dwell Time :-
G04 X………..(time in second)
G04 U………..(time in second)
G04 P……….(time in m.s.)
C. Plane Selection :-
G17- X-Y Plane selection
G18 - X-Z Plane selection
G19 – X-Z Plane selection
D. Inch./mm Mode Settings: -
G20 - program in inch.
G21 – program in mm.
E. Stroke Check Function: -
G22 – stored Stroke check function on
G23 – stored Stroke check function off
F. Reference Return: -
G27 – reference return check
G28 – 1st ref. point
G29 – return from 0 point
G30 – 2nd ref. point
G. Skip Function: -
G31 – skip function
H. Thread Cutting: -
G32 – thread cutting
G34 – variable lead thread cutting
I. Tool Nose Radius: -
G40 – Tool nose radius compensation cancel
G41 - Tool nose radius compensation left
G42 - Tool nose radius compensation right
J. Coordinate System (50 Series): -
G50 – coordinate system setting or max spindle rpm.
G52 – local coordinate sys. Setting
G53 – machine coordinate system setting
G54 – work piece coordinate system 1 selection
G55 - work piece coordinate system 2 selection
G56 - work piece coordinate system 3 selection
G57 - work piece coordinate system 4 selection
G58 - work piece coordinate system 5 selection
G59 - work piece coordinate system 6 selection
M0 – Program stop
M01 – Program optional stop
M02 – Program optional end
M03 – Spindle on clock wise
M04 – Spindle on anti-clock wise
M05 – Spindle stop
M06 – Tool changing in VMC
M07 – coolant on
M08 – coolant on/off
M09 – coolant off
M19 – spindle orientation
M30 – Program and reset
C. Program Scan : - CNC M/C Scan the program sequentially in block from top
block to bottom block
D. Program Header : -
Program no.
Sequence no.
Cancellation command/
m/c Home position
Tool & offset selection
Spindle R.P.M with direction
Coolant on
Tool positioning
E. Program Footer : -
Tool return to Home position
Spindle stop
Coolant off
Program End & Reset
Operating Mode : -
1. Manual mode : - manual mode is used for individual start / stop of any
function Different functions :
Turret index – turret is the tool holding device used for holding the too &
supporting against cutting force.
Different stations are used for holding different tool 8 station turret is using in
this machine.
Method -
Step 1 – select auto
Step 2 – select single block
Step 2 – press cycle start button > single block
Will work on time to cycle start button for next block repeating cycle start
button.