Frankly speaking, we crossed the phase of a manually controlled machine. Do you feel that manually controlled traditional machines can cope up with the latest demands and supply chain? No, not at all.
The industry is moving fast to adopt CNC machines. So it is wise to explore what is a CNC machine, what are the types of CNC machine, different parts and specifications.
CNC is a generic term. Any machine which is controlled by a computer can be called a CNC machine. It is not restricted to any particular machine. At the end of this article, you will be getting a CNC machine PDF link to download this article for your future reference
You may see following abbreviation in this article as you go forward.
- CNC- Computer Numeric Control
- NC – Numeric Control
- CAD- Computer Aided Design
- CAM- Computer Aided Machufactiring
- CAE- Computer Aided Engineering
- What is a CNC machine
- How CNC Machine Works: CNC Machine Working Principle
- Types Of CNC Machine
- Key elements of a CNC machine
- Parts of CNC machine
- Specification of CNC machine
- Block Diagram of CNC Machine
- What is a NC machine?
- Difference between NC and CNC machines
- What is CNC programming ?
- Common codes used in CNC Programming
- Advantages of a CNC machine
- Disadvantages of CNC machine
- Frequently Asked Questions ( FAQ)
What is a CNC machine
CNC ( Computer Numeric Control ) machine is a kind of machine which is controlled by a computer. For each and every operation you need to write program and feed into it. Based on that program the machine will perform its job.
Like how we have different languages to write a software program, all CNC machine also has different logic and codes which can be read by both the machine and the computer. The programmer has to use those machines readable codes in the program so that the machine can understand that.
How CNC Machine Works: CNC Machine Working Principle
To understand how a CNC machine works, we need to know the three major subsystems that a CNC machine has. Those three major subsystems are the Command system, Drive/ motion system and Feedback system. Below are the basic steps a CNC machine follows.
- Creating CAD models and export it to any neutral format
- Importing the CAD model and create tooling in CAM
- Create tooling program following standard CNC codes
- Export the code and feed into the CNC control system
- CNC controllers read the data and prepare the machine
- The machine instructs the drive system to follows the path set by the program for tool movement
- Coolant, lubricants are injected as and when required as per program
- Parts get manufactured and taken off from the machine
Creating 3D CAD models
The raw data for a CNC machine is the 3D CAD model. Nowadays any design starts with creating 3D CAD models. Many software like Creo, SolidWorks, Catia are well known for creating 3D models. 3D CAD models are the virtual mock-up of a part or a product
Creating CNC program in CAM
Once a CAD model is created, the data is sent to CAM software, CAM software read the data, modifies the CAD data as per manufacturing guidelines and creates programs for the CNC controllers.
That program directs a controller about what tool needs to be used, how the tool should move, when the coolant should be applied and many other commands based on that particular part.
There are many codes like G Code, M codes which a CNC controller can read. These are standard codes that CAM software used to create programs. MasterCAM, EdgeCAM, SolidCAM are few CAM software widely used in industries.
Export CNC program and Import it in the CNC Control System
Once the program is ready which was created by the CAM software, data is feed into the control system of CNC. Since those programs are created using standard CNC codes, machines can easily read those. Once machines read the data, it starts preparing the machine like selecting the tool, selecting lubricants etc and other auxiliary operations.
Instruction to drive system to start and monitor operation
Once the machine is ready, it sends the instruction to the drive system to let the tool move in the direction as set by the program. Drive system also control the position and velocity of tool movement. It also instructs the cooling system to inject coolant.
The feedback systems record all tool movement and operation. If there is a discrepancy, it will rectify the tool movement as per the program and inform the operator on the display unit. All CNC machine has an MCU ( Microcontroller Unit ) which monitor all these tasks.
Eject the part
Once the part is manufactured, machines compare the produced part with the data that was feed into the control system. If there are any differences, that will be popped up on the display screen and operator can rectify the issue.
Types Of CNC Machine
Below are different types of CNC machines which are widely used in industries.
- CNC Lathe Machine
- CNC Milling Machine
- CNC Plasma Cutting Machine
- CNC laser cutting machine
- CNC electric discharge machine
- CNC Router machine
- 3D printer
- SPM ( Special Perpose Machine)
CNC Lathe Machine
We all know why we use Lathe Machines. We place the workpiece and the lathe moves around it to remove materials or create groves. The same principle is applicable to CNC lath Machine also. It also has the lathe at the centre but its movement, rotation and speed are controlled by computer input. Therefore it can produce precise and accurate parts with tight dimensional tolerance.
CNC Milling Machine
CNC milling machine is available in 3-axis or 6-axis configuration. The workpiece is placed into the machine and the tool moves to create a groove or cut in the workpiece. The movement and position of the tool are controlled by a computer in which you need to feed the program.
CNC Plasma Cutting machine
Like CNC milling machine, CNC plasma cutting machine is also used to cut materials or create grooves. Instead of using a metal tool to cut the workpiece, it uses a plasma arc to cut through metals. Plasma arc can reach temperature up to 50K Fahrenheit. Plasma arc cutting machine can produce better parts compare to CNC milling machine
CNC laser cutting machine
CNC laser cutting uses CO2, neodymium (Nd) or yttrium-aluminium-garnet (Nd: YAG) lasers to cut through metals. Although operation wise it is similar to CNC plasma cutting machine, but the laser is not as strong as plasma. However, laser cutting machines offer high accuracy. CNC laser cutting is a very essential machine in industries nowadays.
CNC electric discharge machine
CNC electric discharge machine uses an electric spark to melt metals and reshape it. It can only melt certain areas of metals where it is exposed. That’s why CNC electric discharge machine is used to precisely manipulate a section of a workpiece by melting and reshaping it. The amount of electric spark and the spark movement is controlled by a computer.
CNC Router machine
CNC router machine does similar jobs like CNC milling or CNC lathe but the only difference is that it can create shapes in wood instead of metals. You can create door carvings, different shape of wood panels etc using this machine.
3D Printing Machine
The 3D printing machine is a Rapid Prototyping technique which creates an exact physical replica of a 3D CAD model. It uses multiple layers of materials joined together. A tool moves around to create those layers of material. The tool movement, position and speed is controlled by computer. I have a dedicated article of rapid Prototyping. The link is given below for your reference.
Must Read : What Is Rapid Prototyping
Special Purpose Machine
Many industries build their own set of machines depending on their process and manufacturing. The reason is, no traditional machine suits their requirements. Mostly all SPM’s are CNC machine as they are controlled by computer. They follow the same logic of a typical CNC machine
Key elements of a CNC machine
Below are the key elements of a CNC machine
- Input system
- Servo motors
- Machine tools
- Lubricant / Cooling system
Program is the raw data for a CNC machine about what tool to use, how to move, at what speed it need to move etc. It instructs CNC machine each and every operation that it need to perform.
Data from CAD software gets exported and then imported into machine usually through flash drive or direct network connection. Sometimes those data is fed into a separate computer which then signals the CNC. But most of cases, CNC machine comes with in built computer where you can feed data.
Displays are integrated or you need to connect a separate monitor. But in both cases display shows each and every operation of a CNC. It also shows if something is going wrong with the machine. Display system is the way a operator can interact visually with a CNC machine
Servo motors are the main components of a CNC machine. They are the actual worker which moves the tool, position the work piece, transfer the parts etc.
Machine tool does all those job that you want to see in the finished work piece like removing materials, tempering materials etc. The job of machine tools is similar to any traditional machine.
Lubricant system helps to keep the system parts moving as without lubricant there will be excessive friction and the machine will break down.
All CNC machine has temperature sensors which sense high temperatures and automatically inject coolant. Unlike traditional machine where you need to apply coolant manually, CNC machine is smart to apply coolant based on temperature.
Parts of CNC machine
Every CNC machine is different and will have different set of parts. We will take the example of a CNC lathe and will explain what are the key parts are there in that machine
- Tailstock quill
- Foot switch
- Tool turret
- Control panel
Headstock has the main motor of the unit which drives the main spindle. The chuck is mounted on the main spindle
The platform on which the tool turret travel is the machine bed
Chuck is the key component that holds the workpiece. Chuck has jaws which you can tighten or loosen to grip the workpiece
Tailstock provides the extra gripping for machining of long components. Although chuck hold the work piece but in long components the machine need extra support to keep it straight.
Like headstock, tailstock is a unit which moves back and forth as per the workpiece length. But tailstock quill is the actual component that grips the workpiece. Tailstock quill is housed into tailstock
Foot switch is used to adjust the chuck and tailstock. Through the foot switch operator open or close the chuck to grip the component. Similarly it actuate the forward or backward motion of tailstock quill
Tool turret hold the tool that is required to perform the job. Depends of tools the turrets are also different.
This is the only windows though which you can start the machine, stop the machine, load the program, run the tool, inject coolant and all other required job of a CNC machine. This is the eye of CNC machine through which you can see whats going on in that machine.
Specification of CNC machine
As you know that every machine is different. So specification of every machine will also be different. Right? But for example, I will show specification of a CNC lathe machine so that you get a brief idea of a CNC machine
Specification of CNC machine can be categorised as follows
- Coolant system
- Lubricant system
- Hydraulic system
- CAD compatibility
- Distance between centre
- Swing over bed
- Swing over carriage
- Maximum turning diameter
- Maximum turning length
- Spindle size
- Spindle speed
- Spindle power
- Bar capacity
- Bore through spindle
- Chuck size
- X-axis stroke
- X-axis rapid
- X-axis guideways
- Z-axis stroke
- Z-axis rapid
- Z-axis guideways
- Number of stations
- Turret type
- Turning tool size
- Tailstock quill diameter
- Tailstock quill taper
- Tailstock travel range
- Types of coolant
- Coolant tank capacity
- Lubricant type
- Lubricant tank capacity
- Hydraulic pump capacity
- Easy interface for CAD data transfer
- CAD file format support
- Feature recognisation
- DXF support
Block Diagram of CNC Machine
What is a NC machine?
NC machine is the abbreviation of numeric control machine. The term says it all. It is a machine where you have to feed the numeric value of parameters and the machine will do the job for you. Ideally, nowadays all machines are numeric control.
NC machine does not have a display system or control system to run the machine. It does not have a feedback system as well. Typically data if feed manually using inbuilt input system. NC machines are way too less efficient than a CNC machine
Difference between NC and CNC machines
Below is the basic differences between NC and CNC machines.
|NC Machines||CNC Machines|
|It is numerically Controlled||It is computer controlled|
|It is data driven||It is software driven|
|No separate program is required||Program is required for each operation|
|No ways to connect a computer||CNC machines are controlled by computer|
|No automated lubrication system||Automatic lubrication systems|
|No way to check tool descripency||Tool movement, position, velocity can be traced|
|No feedback system||Inbuilt feedback system|
|Part has loose tolerance||Parts have tight tolerance|
|Accuracy can not be maintained||Higher accuracy is possible|
|High scale production not possible||High scale production possible|
|Low maintanance required||High maintenance required|
|Low maintenance cost||High maintanance cost|
|Low tooling cost||High tooling cost|
|Machine price is less||High cost of machine|
|CAM software not requied||CAM software is required|
|Codes are usually numeric values||G codes, M codes and other similar codes are used|
|Stores data is punch card memory||Stores data in the dedicated computer|
What is CNC programming ?
CNC programming is the heart of a CNC machine. It has a set of codes and instruction to instruct the machine about which tools to use, where to move and many other functions. Machines can decode those codes and follow the instruction a create parts. It’s a language that both machine and computer can understand.
What Is G-Code in CNC Programming?
G-Code is a proprietary standard established by the Electronics Industry Association ( EIA) in 1960. It was introduced so that all CNC machines follow the same standard. The goal of G-Code is to streamline and standardize CNC programming across the globe.
For example, we use C-Programming language to create many CAD software. Similarly, G codes are used for CNC programming. Below are the activities that the G Code does.
- Start the CNC program
- Choose the tool
- Move the tool
- Turn on spindle and coolant
- Start the machining
- Turn off the spindle and coolant
- Keep the produced part in a safe location
- End the CNC program
Common codes used in CNC Programming
|A, B, C||Rotation about X, Y & Z axis|
|D||Cutter diameter compensation|
|H||Tool Length offset|
|I, J , K||Arc center X, Y, Z vector ( Drilling Cycle)|
|X, Y, Z||X, Y & Z coordinate|
Advantages of a CNC machine
- Complex parts can be produced at a very short cycle time
- More precise and accurate parts are possible.
- The lead time for product development gets reduced.
- Any error in the part can easily be rectified.
- Easy troubleshooting is possible as every error get displayed.
- Radar-based safety warning safeguards workers from any accidents.
- The part cost gets reduced due to cycle time reduction
- Less chance of error or defects in the part
- Maintenance and change of tools are easy
- The machine can run without a worker. So it can run 24 hours a day.
- CNC machine increases output and productivity
Disadvantages of CNC machine
- High initial setup cost
- Expensive tooling
- Maintenance is highly expensive
- Computer knowledge is required for operator
- The licence cost of CAD and CAM software is high
- Dedicated programmer required for CNC programming
- The high lead time of repair for machine breakdown.
No doubt, CNC machines are the future. I personally did not see any industry which is not using CNC machines. The reason is very simple, CNC machines increase productivity and that’s the market demand now. If you want to stay in business you have to be fast and efficient and CNC machines help to speed up production
I hope I could able to give you a clear picture of a CNC machine. Every CNC machines are different and use different technologies. Covering details of every CNC machine is out of the scope of this article. But I believe you may have a lot of question regarding CNC machines. If yes, please do write in the comment section and I will be happy to assist.
Frequently Asked Questions ( FAQ)
What is the full form of CNC?
The full form of CNC is Computer Numeric Control
What is a CNC machine?
CNC machine is a computer controlled machine where you need to fee computer program to run and control the machine
What are different types of CNC machine?
CNC lathe machine
CNC milling machine
CNC laser cutting machine
CNC plasma cutting machine
CNC electric discharge machine
CNC Router machine
Special Purpose machines
What are the subsystem of a typical CNC machine?
What are the key elements of a CNC machine
Whats the difference between CNC machines and NC machines?
NC machines uses a inbuilt micro-controller to take input and run the machine. In case of CNC machine, it has separate set of microprocessor based computer system which runs and control the machine