ArticlePDF Available

Study on computer numerical control (CNC) machines

Authors:
InternationalJournalofAdvancedScientificResearch
21
International Journal of Advanced Scientific Research
ISSN: 2456-0421
www.newresearchjournal.com/scientific
Volume 1; Issue 1; April 2016; Page No. 21-25
Study on computer numerical control (CNC) machines
1
Venkata Ramesh Mamilla,
2
Srinivasulu M,
3
Mani Prasad N
1
Professor & HOD,
Department of Mechanical Engineering, QIS Institute of Technology, Ongole, Andhra Pradesh, India.
2, 3
Assistant Professor,
Department of Mechanical Engineering, QIS Institute of Technology, Ongole, Andhra Pradesh, India.
Abstract
The main objective of this paper is to “Study on Computer Numerical Control (CNC) machines for fabrication of rollers. This
paper also includes various processes like facing, turning, parting, drilling, boring and knurling to improve production in order to
decrease the production time and also to increase the efficiency in conventional lathe and CNC machines by writing the program
on STC-25 CNC lathe.
Keywords: Study, Computer Numerical Control (CNC) Machines, various operations
1. Introduction
1. The design is loaded into the computer which is attached to
the CNC machine. The computer changes the design into a
special code (numerical) that controls the way the CNC cuts
and shapes the material.
2. The material to be shaped is taped on to a block with
double sided tape. This must be done carefully so that it
does not come off the block during machining.
3. The block is then placed in the vice, inside the CNC. It
must be tightened up carefully. If it is not secure when the
machine starts to cut the material it can come away from
the vice. When the machine starts working, the vice moves
up, down, right and left according to the design.
4. The guard is placed in position. It protects the machine
operator in case the material is pulled out of the vice by the
power of the cutter. For safety reasons, if the guard is not in
position the motor will not start.
5. The CNC is turned on and the shape is cut from the
material. When the cutter has stopped the shaped material
can be removed from the vice. Total time - for simple
designs - 15 minutes.
1.1 CNC Machine-Input, Process, Output
A CNC production facility needs three pieces of equipment.
A Computer
The computer is used to draw the design. However, the design
is only a picture and the CNC machine cannot use this to
manufacture the product. The computer software must also
convert the drawing into numbers (coordinates) that the CNC
machine can use when it starts to cut and shape the material.
An Interface
A computer cannot be directly connected to a CNC machine.
The computer is connected to an interface. This converts the
signals from the computer to a form that the CNC machine
understands. The signals are in the form of digital signals when
they are sent to the CNC machine.
CNC (Computer Numerical Control) Machine
The signals from the interface control the motors on the CNC
machine. The signals determine the way the vice moves. The
vice moves in three directions X, Y and Z. (Horizontally,
vertically and depth). The signals also control the speed of the
cutting tool.
Fig 1
InternationalJournalofAdvancedScientificResearch
22
1.2 CNC Control Panel
A CNC machine is normally controlled by a computer and
software. However, most CNC machines have a range of
controls for manual use. It is rare for a CNC machine to be
used manually as simple operations are best carried out on
cheap/basic/manual machines. When a CNC machine is used
manually it is been used well below its capability and
specification.
Fig 2
Reset Button: The most important control button is usually
the reset button. When the CNC machine is turned on, the
reset button is pressed by the machine operator. This
‘zeros’ the cutter, moving the cutter to coordinates 0, 0, 0
on the X, Y and Z axis. In simple terms, the reset button
moves the cutter to the corner of the machine, above the
work table. If the reset button is not pressed, it is possible
that the CNC machine will start cutting the material in the
wrong place or even miss cutting the material and plunge
into the work table.
Manual Control: The cutter can be controlled manually
although this is rarely needed. The ‘X’ and ‘Y’ buttons
control the movement of the cutter along the horizontal
surfaces. The ‘Z’ buttons control depth and up / down
movement.
Stop Button: Most control panels have stop buttons. When
pressed these stop the machine very quickly.
Speed and Feed: On some CNC machines it is possible to
manually vary the speed and feed of the cutter.
2. Setting up the cutting tool to the correct length
One of the few operations that the machine operator carries out
is to change the cutting tool. Each CNC machine has a range of
cutting tools. Straight cutters chamfer V-groove and radius
cutters are some examples. If a detailed design is being
manufactured, it may be necessary to change the cutting tool at
least once during the manufacturing process. It is very
important that all the cutters are set up to exactly to the same
length in the collets. If this is not done the material being
machined will be machined at incorrect depths.
A special depth gauge is used to accurately set up the cutting
tools. (See diagram below). This ‘rule’ applies to all CNC
machines although different techniques may be used depending
on the type of the CNC machine.
Fig 3
A pair of spanners is used to loosen the collet and locking nut.
The cutting tool can then be removed and the new tool put in position. Once the depth gauge has be used to check the
distance from the end of the cutting tool to the collet, the
InternationalJournalofAdvancedScientificResearch
23
spanners are used again to tighten the collet and locking nut.
2.1 CNC Machines and Safety
CNC machines are very safe to use as they are designed to be
as safe as possible. One of the main advantages of CNC
machines is that they are much safer than manually operated
machines. The animation below shows a Boxford A3 HSRi²
CNC Router with many of its safety features labeled.
Fig 4
1. Most modern CNC machines are designed so that the
cutting tool will not start unless the guard is in position.
Also, the best CNC machines automatically lock the guard
in position whilst the cutter is shaping material. The guard
can only be opened if the cutter has stopped.
2. It is essential that pupils / students / machine operators
receive ‘quality’ instruction before attempting to use any
CNC equipment.
3. CNC routers, used for shaping materials such as woods and
plastics, have built in extraction. Dust can be very
dangerous if inhaled and can also cause eye irritation. The
CNC Router shown above has an outlet for an extraction
unit. As the router is fully enclosed, dust cannot escape into
the atmosphere. If an extraction unit is attached the dust is
removed automatically. Most manually operated machine
routers have very limited extraction systems which leave
some dust in the air.
4. The CNC router above has a single phase electrical supply.
Older machines such as manually operated milling
machines and centre lathes have three phase supplies. A
single phase electrical supply can be ‘plugged’ into any
available socket. The electrical supply for the machine
comes through a residual circuit breaker (RCB). If an
electrical fault develops the RCB will cut off electrical
power immediately.
5. Single phase CNC machines can be moved more easily
because they are simply unplugged and relocated. Three
phase machines are specially wired by an electrician into
the electrical supply and cannot be unplugged.
6. Most CNC machines work behind a guard or even a closed,
transparent safety door. This means that the operated cannot
be hurt by 'flying' pieces of sharp/hot material.
7. Commonsense applies to the use of all machines including
CNC machines. Basic safety training regarding working in
a workshop and with other machines applies to CNC
machines as well.
3. Programmable Functions
The programmer must also know what functions of the CNC
machine are programmable (as well as the commands related to
programmable functions). With low cost CNC equipment,
often times many machine functions must be manually
activated. With some CNC milling machines, for example,
about the only programmable function is axis motion. Just
about everything else may have to be activated by the operator.
With this type of machine, the spindle speed and direction,
coolant and tool changes may have to be activated manually by
the operator.
With full blown CNC equipment, on the other hand, almost
everything is programmable and the operator may only be
required to load and remove work pieces. Once the cycle is
activated, the operator may be freed to do other company
functions.
Reference the machine tool builder's manual to find out what
functions of your machine are programmable. To give you
some examples of how many programmable functions are
handled, here is a list a few of the most common programmable
functions along with their related programming words.
Spindle control
An "S" word is used to specify the spindle speed (in RPM for
machining centers). An M03 is used to turn the spindle on in a
clockwise (forward) manner. M04 turns the spindle on in a
counter clockwise manner. M05 turns the spindle off. Note that
turning centers also have a feature called constant surface
speed which allows spindle speed to also be specified in
surface feet per minute (or meters per minute).
Automatic tool changer (machining center)
A "T" word is used to tell the machine which tool station is to
be placed in the spindle. On most machines, an M06 tells the
machine to actually make the tool change. Tool change (on
turning centers) A four digit "T" word is used to command tool
InternationalJournalofAdvancedScientificResearch
24
changes on most turning centers. The first two digits of the T
word specify the turret station number and the second two
digits specify the offset number to be used with the tool.
T0101, for example specifies tool station number one with
offset number one.
Coolant control
M08 is used to turn on flood coolant. If available M07 is used
to turn on mist coolant. M09 turns off the coolant.
Automatic pallet changer
An M60 command is commonly used to make pallet changes.
Forms of compensation
All types of CNC machine tools require some form/s of
compensation. Though applied for different reasons on
different machine types, all forms of compensation allow the
CNC user to allow for unpredictable conditions related to
tooling as the program is developed. Before discussing how
compensation applies to CNC usage, let's look at compensation
in general terms.
Compensation is used in many facets of everyday life. The
airplane pilot must compensate for wind velocity and direction
as a heading is set. The race car driver must compensate for
weather and track conditions as a turn is negotiated. A bowler
must compensate for the spin of the bowling ball as the ball
rolls down the alley. A marksman firing a rifle must
compensate for the distance to the target. The marksman
analogy is amazingly similar to what happens with many forms
of compensation on CNC equipment.
Offsets
All forms of compensation work with offsets. You can think of
CNC offsets as like memories on an electronic calculator. If
your calculator has memories, you know you can store a
constant value into each memory for use during a calculation.
This keeps you from having to enter the number over and over
again with redundant calculations.
Like the memories of an electronic calculator, offsets in the
CNC control are storage locations into which numerical values
can be placed. Just as the value within the memory of a
calculator has no meaning until referenced by its user within a
calculation, neither does the value within an offset of the CNC
control have any meaning until it is referenced by a CNC
program.
From the marksman analogy, you can think of the values stored
in CNC offsets as like the amount of adjustment required on
the sight of the rifle necessary to compensate for the distance to
the target. Keep in mind that the rifle only needed adjustment
for one purpose, to adjust for the distance to the target. With
most CNC machine tools, there is a need for at least one offset
per tool.
4. CNC Programming
1. Turning
Tool Holder: PDJNL 25*25
Insert: DNMG 150604
N5 G54;
N10 M42;
N20 G95 S300 M4;
N25 LIMS=600;
N30 T01 D1 M8;
N35G00 X80 Z0;
N40 X70;
N45 G01 Z-75 F0.2;
N50 G00 X71 Z0;
N55 X60;
N60 G01 Z-50 R0.2;
N65 X70;
N70 G00 X200 Z200;
N75 M30;
2. Step Turning
N5 G54;
N10 M42;
N15 G95 S300 M0.4;
N20 T01 D1 M8;
N25 G00 X30 Z0;
N30 G00 X40 Z0;
N35 CYCLE95;
CYCLE95 (“STEP TURN”, 5, 0.1, 0.1 . . .) X40
N40 G00 X200 Z200 M17;
N45 M30;
STEP TURN: (SUB PROGRAM)
N05 G01 X0 Z0 F0.2;
N10 G01 X20 Z-10;
N15 G01 X20 Z-30;
N20 G01 X30 Z-30;
N25 G01 X30 Z-45;
N30 G01 X40 Z-45;
N35 G01 M17;
3. Taper Turning
N5 G54;
N10 M42;
N15 G95 S300 M.4;
N20 T01 D1 M8;
N25 G00 X01 Z0;
N30 G01 X80 Z-45 F0.2;
N35G00 X81 Z0;
N40 G01 X60 Z-30 F0.2;
N45 G00 X81 Z0;
N50 X50;
N55 G01 Z-68 F0.2;
N60 X60 Z-15;
N65 G00 X51 Z0;
N70 X40;
N75 G01 X50 Z-6.5 F0.2;
N80 G00 X200 Z200;
N85 M30;
5. Conclusion
In the study of computer numerical control machines the
production improvement can be done more effectively and
efficiently.
The CNC programming is a way to operate CNC machine.
CNC Lathe machine usage gives many benefits of increased
productivity and accuracy and time management but the only
drawback is its cost. This could not be employed for all small
jobs and is preferable to use in large amount of production and
complicated shapes.
CNC Lathe machines are economical only for industrial
purposes in large scale production and is not suitable for small
scale industries because of its high initial cost.
InternationalJournalofAdvancedScientificResearch
25
6. References
1. PAS da Rocha R. Diogne de Silva e Souza, M E. de Lima
Tostes, Prototype CNC machine design, 9th IEEE/IAS
International Conference on Industry Applications
(INDUSCON), 2010, 1-5.
2. R E Breaz G, Racz O C, Bologa, Oleksik V S. Motion
control of medium size CNC machine-tools: a hands-on
approach, 7th International Conference on Industrial
Electronics and Applications (ICIEA), 2112-2117, 2012,
8-20.
3. CNC Programming, Michael Mattson, Delmar Cengage
Learning, 2010.
4. Managing Computer Numerical Control Operations, Mike
Lynch, Society of Manufacturing Engineers, 1995.
5. Hace A, Jezernik K. The open CNC controller for a cutting
machine, IEEE International Conference on Industrial
Technology, 2003; 2(1231-1236):10-12.
... The parameters viz. cutting, Process, Tool, Feed, Speed, and Depth of cut can be set for particular work [9]. Most facilities for automatic measurements and subsequent support systems for workpiece measurement analysis are available in CNC machines or specialpurpose machines. ...
... Considering the objective of real-time measurement profile dimension of the workpiece section, the smart Setup is prepared. The experimental setup comprises a Workpiece-sensor alignment unit in which lateral and longitudinal laser line distance sensors [9][10], mechanical attachments for both sensor's movement, attachment for lathe carriage and longitudinal sensor movement and sensor, and workpiece to be machined are included. ...
Article
In a manufacturing setting, the profile dimensions of the workpiece are key quality factors. Various automatic inspection approaches currently assess dimensions based on characteristics and variables, tool paths as OK or Not OK in CNC, and online inspection methods for other machines after manufacturing. However, continuous on-machine profile dimensions and simultaneous manufacturing were left to focus. An intelligent recognition system based on a laser lines sensor using a smart profile dimension detection algorithm (SPDA) communicates real-time measurement information to the operator. It plots the current status of the Workpiece, mapping linear distance by accurate laser reflection of the exact mid-surface line of the workpiece as profile data of a symmetric shaft. It compares the length-diameter obtained from longitudinal and lateral sensors with the master data provided. The algorithm implements Python libraries for displaying panels and organizing workpieces. The standard image changes color from red to green as it is relevant to the status. The predetermined order of manufacturing parts and gradient descent optimization feature sets benchmarks to display the status of the workpiece. The real-time live measurement is facilitated with an error of less than 10%, i.e., 0.1 mm, saving manufacturing time by 30%. It also eliminates the inspection stage, and no reduced job rejection is found.
... Nowadays, computer numeric control (CNC) is one of the popular technologies in the field of manufacturing. A CNC machine is a more flexible, precise, consistent, and highly accurate automatic machine [4,5]. CNC has been used for milling, drilling, and grinding [6], while no one has investigated the use of CNC for soldering. ...
... Screws are to be had with distinctive lengths, diameters, and thread pitches. Nuts range from the simple plastic variety to precision ground variations with re-circulating ball bearings that may reap very high accuracy [4,5]. ...
... The effect of chatter vibration or self-excited vibration on the production process is a major problem in the milling machining process. This vibrational effect can cause dimensional changes that affect the level of product design [2]. Chatter is a self-excited vibration that can occur during machining operations and is a general limitation for productivity in terms of quality [3]. ...
Article
Full-text available
Vibrations that often occur in the production process using CNC milling machines are very important to take into account. These vibrations can cause dimensional changes and affect the level of quality produced, so the effect of chatter vibrations on production becomes a major problem in the milling process. Vibration values are determined using SLD graphs experimentally, analytically and semi-analytically. The material used in this study is SS 304, MPU 6050 which is connected to Arduino Uno using LabVIEW 2019 student edition software in the form of FFT charts. Data collection using experimental methods, tool geometry parameters are tool geometry VHA 35/38 degrees and VHA 36/38 (Degrees), Spindle Speed 2000,2500,3000 (RPM), Depth Of Cut 0.4, 0.7, 1 (mm), and Feed Rate 100, 125 and 150 (mm/s). The results of the SLD study used a variable helix angle of 35/38 degrees at a feed rate variation of 100 mm / minute chatter at cut depths of 1, 0.7 and 0.7 mm, at a feed rate variation of 125 mm / minute chatter at a cut depth of 0.7, 1 and 0.7 mm. At feed rates of 150 mm/min at cut depths of 1, 1, and 0.7 mm with spindle speeds equal to 2000.2500 and 3000 RPM. While VHA results of 36/38 degrees at a feed rate of 100 mm / minute experienced chatter at cut depths of 0.7.1 and 1 mm, at feed rates of 125 mm / minute chatter at cut depths of 1.1 and 0.7 mm. At a feed rate variation of 150 mm/min chatter at cut depths of 1.1, and 0.7 mm with the same spindle speeds of 2000.2500 and 3000 RPM.Keywords : Chatter, VHA, SLD, microcontrolle, FFT
... By using a virtual system, less material is wasted and problems in operating the real machine in the field can be minimized, Venkata Ramesh (2016), Sanjay Kumar, Shabana Naz (2017). In the field of milling machinery, various modeling and simulation methods have been introduced so far. ...
Article
Full-text available
The development and revision of milling machines and components are continuous. With the help of computer technology, we can simulate some activities in a manufacturing system. The main purpose of a simulation is to understand and imitate the behavior of a particular manufacturing system on a computer, before hardware creation, thereby reducing the amount of testing and experimentation in the field. By using a virtual system, less material is wasted and the constraints on the actual operation of the machine in the field can be minimized. In the field of milling machinery, various modeling and simulation methods have been introduced so far. Today, the manufacture of a machine tool can no longer use the time-consuming and costly manufacturing and testing of physical prototypes to detect weak points and then optimize the design. In contrast, the current machine tool design process uses "virtual prototyping" technology to reduce the cost and time of hardware testing and iterative improvements to physical prototypes. The model of a milling machine can be simulated in Matlab simulations through analytical methods using various compositions. The presented virtual modeling methods and milling machine tool simulations make it possible to design, perform complex analyses, test, optimize, and use various types of control structures. in the computer simulation. Keywords: Milling Machine, CNC Miling Machine, Matlab
... Unmanned Ground Vehicles (UGV), Unmanned Aerial Vehicles (UAVs) and robotic arms are already used in multiple agricultural activities [34,35]. Cartesian robots on the other hand are typically used in 3D printing and CNC applications [36][37][38]. Inspired by the precision in movement that Cartesian robots can achieve in combination with their adaptable size and ease of application in urban environments (backyards, balconies, rooftops, etc.), the objective of this work was to design, assemble and test an automated Cartesian robotic system for provision of fresh vegetables to city dwellers in situ. ...
Article
Full-text available
Urban agriculture can be shortly defined as the growing of plants and/or the livestock husbandry in and around cities. Although it has been a common occupation for the urban population all along, recently there is a growing interest in it both from public bodies and researchers, as well as from ordinary citizens who want to engage in self-cultivation. The modern citizen, though, will hardly find the free time to grow his own vegetables as it is a process that requires, in addition to knowledge and disposition, consistency. Given the above considerations, the purpose of this work was to develop an economic robotic system for the automatic monitoring and management of an urban garden. The robotic system was designed and built entirely from scratch. It had to have suitable dimensions so that it could be placed in a balcony or a terrace, and be able to scout vegetables from planting to harvest and primarily conduct precision irrigation based on the growth stage of each plant. Fertigation and weed control will also follow. For its development, a number of technologies were combined, such as Cartesian robots’ motion, machine vision, deep learning for the identification and detection of plants, irrigation dosage and scheduling based on plants’ growth stage, and cloud storage. The complete process of software and hardware development to a robust robotic platform is described in detail in the respective sections. The experimental procedure was performed for lettuce plants, with the robotic system providing precise movement of its actuator and applying precision irrigation based on the specific needs of the plants.
... In 1951, famous physicist Albert Einstein warned all the nations that nuclear war would lead to mutual destruction [16]. In 1952, the first patent for bar codes was invented by two American inventors Joseph Woodland (1921-2012) and Bernard Silver [111]; the evolution of digital design and Computer Numerical Controlled (CNC) machines introduced to the market [73]; the first effective polio vaccine was advanced by American physician Jonas Salk [17]; the hydrogen bomb was invented by Edward Teller's team of the USA [15]. ...
Article
Full-text available
During the first industrial revolution (IR1) human and animal labor technology converted into machinery, such as the steam engine, the spinning jenny, puddling and rolling processes for making iron, coke smelting, etc. During the second industrial revolution (IR2) electricity, internal combustion engine, indoor plumbing, chemical industries, etc. technologies are developed. The third industrial revolution (IR3) began in the 1950s that is considered as the move from mechanical and analogue electronic technology to digital electronics. Nano, bio, and IT technologies, 3D printing, artificial intelligence, robotics, etc. are the most important driver of the IR3. During the IR1&2s only Western Europe and the USA were developed but during the IR3 the world becomes about 10 times wealthier, and development spreads almost every part of the world. In the IR3 there have been developed thousands of businesses organizations and millions of jobs globally. Major modern inventions are happened in the IR3. Economic development, development of transportation, development of 3D printing, robotics technologies, fab lab, etc. are extraordinary activities during the IR3. In the IR3 standard of living and life expectancy of every nation has increased than that of the IR1&2s. The IR3 has also some negative impacts, such as air pollution, biodiversity reduction, water pollution, habitat destruction, greenhouse gas emissions, global warming and climate change, etc. This study has tried to discuss various aspects of IR3 in some details.
Article
Full-text available
This paper presents the study and fabrication low cost of 3-axis Computer Numeric Control machine. The parts of the computer numerical control (CNC) machines are fabricated individually and are assembled. The knowledge related to the working of the CNC machine is acquired by performing a work of literature. The required materials for the research are selected, and the dimensions of different parts are defined. Initially, X-axis is created according to the defined dimensions, then Y and Z axes are created. All these axes are assembled such that a fully assembled CNC machine is obtained. For controlling the movement of the three axes, four stepper motors are used. Two motors are used for providing movement along X-axis and each one for Y-axis and Z-axis movement. The operations of motors are controlled by using TB6560 motor drivers. Arduino Uno is used as a microcontroller for controlling the overall operation. G-codes are generated by using INKSCAPE software which controlled the stepper motor's movement on three individual axes. The idea of the fabrication of low-cost CNC machine came forward for reducing the cost and complexity in the CNC systems.
Conference Paper
Full-text available
This paperwork presents an integrated approach based upon simulation and experimental work for reducing the positioning errors of a small to medium size CNC machine-tools. The approach is intended to be used at the shop-floor level and therefore it is based upon a straight-forward model of the feed drive. The model was particularized with specific data from a CNC milling machine and simulation techniques were used to predict the behavior of the system. Only the control parameters of the feed drive which may be altered by the user, without modifying the structure of the CNC controller were taken into consideration and tuned. Simulation results and experimental data gathered before and after the tuning process were compared.
Article
Full-text available
The Computer Numeric Control (CNC) is a technology which aims to generate, parse and execute sequential actions that describes the behavior of the end effector. This article reports the development small sized prototype CNC machine, based on a modular system with the capability of communication through USB. It is also reported the development of the basic electronic devices to run a CNC machine and proposes, as well, a software developed in LabVIEW to establish the communication between the machine and the computer. The main objective of this work is the development of a machine which allows future researches on the process performance, on educational purposes, the demonstration the parts involved on the CNC machine.
Conference Paper
The paper addresses the field of factory automation within the scope of an open machine control system. It presents a CNC controller for a cutting machine. It involves a PC based controller that has been built on base of the open QNX real-time operating system platform. Microsoft Windows, which is a commonly accepted graphical user interface environment, serves as the front-end of the HMI. The CNC controller and the HMI are interconnected by the Ethernet TCP/IP link. The control system is flexible and modular. It supports CAD/CAM and network link to the office-level of factory automation. The application is thoroughly presented with the highlight on real-time features; the QNX real-time operating system and Ethernet TCP/IP technology for the use in a networked automated factory are also described.