ECE399 IPT Report Template
ECE399 IPT Report Template
ECE399 IPT Report Template
Submitted by
13BEC1172
BACHELOR OF TECHNOLOGY
in
DECEMBER 2017
2
I hereby declare that the Industrial Internship Report entitled “Study of CNC
MACHINES AND PLC” submitted by me to VIT University, Chennai in
partial fulfillment of the requirement for the award of the degree of Bachelor of
Technology in Electronics and communication Engineering is a record of
bonafide industrial training undertaken by me under the supervision of
Mr. B. JOHN, Sr.Manager (Electronics) BHEL, Hyderabad. I further
declare that the work reported in this report has not been submitted and will not
be submitted, either in part or in full, for the award of any other degree or
diploma in this institute or any other institute or university.
Date:
3
4
BONAFIDE CERTIFICATE
This is to certify that the Industrial Internship Report entitled “Study of CNC
MACHINES AND PLC” submitted by V Ajay Kumar (13BEC1172) to VIT
University, Chennai in partial fulfillment of the requirement for the award of the
degree of Bachelor of Technology in Electronics and communication
Engineering is a record of bonafide internship undertaken by him/her fulfills
the requirements as per the regulations of this institute and in my opinion meets
the necessary standards for submission. The contents of this report have not
been submitted and will not be submitted either in part or in full, for the award
of any other degree or diploma in this institute or any other institute or
university.
Date: Date:
5
ACKNOWLEDGEMENT
I would also like to thank my parents, for being my motivation to take up this
internship; and last, but not the least, the faculty and management at VIT University,
Chennai, for providing me with such an avenue to help realize how interesting it is to work in
today's industry.
It is my proud privilege to express my profound gratitude to the Dean of SENSE,
Dr.S.R.S.Prabaharan, Program Chair Dr.Vetrivelan.P and Co-chair Prof.Reena Monica.P for
providing me this valuable opportunity to have industrial exposure.
V.AJAY KUMAR
6
TABLE OF CONTENTS
Declaration 2
Certificate 3
Bonafide certificate 4
Acknowledgement 5
Table of contents 6
List of Tables 7
List of Figures 8
List of Abbreviation 8
Abstract 9
1 INTRODUCTION 10
2 CNC SYSTEMS 19
3 PROGRAMMABLE LOGIC 27
CONTROLLER(PLC)
3.1 PLC 27
3.2 Hardware configuration of standard PLC 28
3.3 Functions of different modules in PLC 28
3.4 Programming PLCs 30
4 CNC MACHINES 33
5 CONCLUSION 41
REFERENCES 41
7
LIST OF FIGURES
7
LIST OF TABLES
List of Abbreviations:
1. NC : Numerical control
2. CNC : Computer Numerical control
3. PLC : Programmable logic controller
8
ABSTRACT
has been dealt in the context of machine tool applications and various
has been dealt with. Initiating with the basic structure of CNC
Control), a deep study has been made about the functioning of it and its
SEIMENS PLC for all the CNC Drilling / Milling / Turning Machines.
9
CHAPTER 1
INTRODUCTION
BHEL caters to core sectors of the Indian Economy viz., power Generation &
Transmission, Industry, Transportation, Telecommunication, Renewable Energy,
Defense, etc. The wide network of BHEL’s 14 manufacturing divisions, four Power
Sector regional centers, eight service centers and 18 regional offices and a large
number of Project Sites spread all over India and abroad enables the Company to
promptly serve its customers and provide them with suitable products, systems and
services-efficiently and at competitive prices. BHEL has already attained ISO
9001:2000 version quality standard certification for quality management. BHEL has
secured ISO 14001 certification for environmental management systems and OHSAS
– 18001 certification for occupational health and safety management systems for its
major units/divisions.
Power Generation
Power Generation Sector comprises of thermal, gas, hydro and nuclear power
plant business. As of 31.3.2003 BHEL-supplied sets account for nearly 68,854 MW
or 65% of the total installed capacity of 106,216MW in the country, as against Nil till
1969-70.
BHEL has proven turnkey capabilities for executing power projects from
concept to commissioning. It possesses the technology and capability to produce
10
thermal sets with super critical parameters up to 1000MW unit rating and gas
turbine-generator sets of up to 250 MW unit rating. Co-generation and combined –
cycle plants have been introduced to achieve higher plant efficiencies. To make
efficient use of high-ash-content coal available in India, BHEL also supplies
circulating fluidized bed combustion boilers for thermal plants.
Industries
11
industrial boilers and auxiliaries, waste heat recovery boilers, gas turbines, heat
exchangers and pressure vessels, centrifugal compressors, electrical machines,
pumps, valves, seamless steel tubes, electrostatic precipitations, fabric filters,
reactors, fluidised bed combustion
Boilers, chemical recovery boilers, process controls and material handling
systems. The Company has commenced manufacture of large desalination plants to
help augment the supply of drinking water to people.
Transportation
Telecommunication
12
Renewable Energy
International Operations
BHEL is one of the largest exporters of engineering products and services
from India, ranking among the major power plant equipment suppliers in the world.
Over the years, BHEL has established its references in about 60 countries
around the world. These references almost encompass the entire product range of
BHEL, covering turnkey power projects of thermal, hydro and gas-based types,
substation projects, rehabilitation projects, besides a wide variety of products – like,
transformers, valves, well-head equipment, insulators, switchgears, heat exchangers,
castings and forgings, centrifugal compressors, photovoltaic cell and panels, etc. The
Company has been successful in meeting the ever increasing customers’
requirements in terms of complexity of the works as well as the technological,
quality and other requirements. BHEL possesses the requisite flexibility to interface
and complement with international companies for large projects by supplying
complementary equipment and meeting their production needs for intermediate as
well as finished products
13
Technology Upgradation, Research & Development
To remain competitive and meet customers’ expectations, BHEL lays great
emphasis on the continuous upgradation of products and related technologies and
development of new products. The company has upgraded its products to
contemporary levels through continuous in-house efforts as well as through
acquisition of new technologies from leading engineering organizations of the world.
The Corporate R&D Division of Hyderabad, spread over a 140 acre complex,
leads BHEL’s research efforts in a number of areas of importance to BHEL’s product
range. BHEL’s investment in R&D is amongst the largest in the corporate sector in
India. Products developed in-house in the last five years contributed to over 7% to
the revenues in 2002-2003.
14
Health, Safety and Environment Management
15
The major units of BHEL have already earned international recognition by
implementation of ISO 14001 Environmental Management system and OHSAS
18001 Occupational Health and Safety Management System.
BHEL has joined the Global Compact” of United Nations and has committed
to support it and the set of core values enshrined in its principles
16
1.2 About the In-plant training
NC MACHINES:
Numerical control is defined as a form of programmable automation in which the
process is controlled by numbers, letters and symbols. A machine tool is said to be
numerically controlled if it operates in a semiautomatic or automatic cycle as per
instructions transmitted to it in a coded form. In numerical control, the numbers form a
program of instructions designed for a particular work part or job. When the job changes,
the program of instructions is changed. This technology has been applied to a wide
variety of operations including turning, milling, sheet metal working, welding,
inspection etc.
17
CHAPTER 2
CNC SYSTEMS
2.1 CNC SYSTEMS
In case of computer numerical control machine tools, a dedicated computer
is used to perform all basic NC functions. The complete part program to produce a
component is input and stored in the computer memory and the information for each
operation is fed to the machine tools. The part programs can be stored in the memory
of the computer and used in future. CNC machine tools are widely used due to many
new control features available on these machines.
18
2.1 PRINCIPAL CHARACTERSTICS OF NC/CNC SYSTEM:
1. Machine tool.
2. Control unit
3. Input data
4. Measuring system
5. Accuracy
6. Auxiliary functions
1. MACHINE TOOL
The major information is the type of machine (i.e. Vertical milling machine,
Horizontal milling machine etc.) and it must be followed by additional
information such as.
Constant possibilities.
19
3. INPUT DATA
Input data includes information about the control medium, information about
computer programs should also be given. Knowledge of the following must
be provided.
4. MEASURING SYSTEM
5. ACCURACY
20
Repeatability: Difference between accuracy on repeating the Operation.
6. AUXILIARY INFORMATION
Based on feedback control, the NC/CNC systems are classified as Open loop
& Closed loop control systems.
21
2. Closed loop control system
In a closed loop control system, the actual output from the system i.e. actual
displacement of the machine slide is compared with the input signal. The closed
loop systems are characterised by the presence of feedback devices in the system. In
the closed loop control system, the displacement can be achieved to a very high
degree of accuracy because a measuring or monitoring device is used to determine
the displacement of the slide.
Based on control system feature, the NC/CNC control systems are classified as
In point to point control system, control requires to position the machine tool
slides to the pre-determined coordinate point. The tool moves to the predetermined
position in the shortest possible time. This control system is suitable for the drilling,
boring, tapping, punching and jig boring machines.
22
4. Straight line control system
i. Machine structure
x. Safety features
23
i. Machine structure
AC/ DC servo motors and drive systems with infinitely variable speed and
high response are used.
Linear / rotary transducers, tacho generators etc., are provided for precise
control of the movements of the machine slides etc.
24
viii. Control software
Efficient chip removal system eliminates thermal effects & thus improves the
quality of cutting and the job being machined.
X. Safety
Suitable covers for guide-ways etc., and electronic interlocks for the safety of
the operating personnel and machine are provided.
1. Flexibility
2. Small batch size
3. Reduced work-in-process inventory
4. Reduced tooling
5. Reduced lead time
6. Reliable operation
7. Repetitive quality
8. Reduced scrap rate
9. Optimum machine utilization
10. Increased operational safety
11. Reduction in manufacturing costs
12. Short response time to implement design changes.
25
CHAPTER 3
PROGRAMMABLE LOGIC CONTROLLER (PLC)
3.1 PLC
The word PLC stands for Programmable Logic Controllers. . PLC normally
consists of a standard hardware built by one manufacturer but used by different
Original Equipment Manufacturers (OEM) to achieve the own sequence by
programming. These have replaced the relay logic for the following applications.
1. Elevators
2. Washing machines
3. Process control
4. Special purpose machines
5. General purpose machines
6. Transfer lines
As the name suggests these are field programmable and more flexible than
the normal relay logic which were being used. Time spent for the modification of the
sequence will also be less since the modification is a software modification and not
hardware modification. Also PLC provide enhanced functions. These functions
include counters, timers and Analog inputs and outputs. Counters and timers are
available both in hardware version and software version. PLCs reduce the hardware
connections since the actual logic is software, thus enhancing the reliability of the
system it is also easy to connect peripherals like Computers, etc., for communication,
data storage and display.
PLCs play a vital role in CNC machines as window between the CNC control
and the machine. This enables the machine builder to configure his own logic so that
the required machine functions can be achieved. This type of window concept allows
the system to have standard hardware configuration standardization of the hardware
results in improved reliability.
Ladder diagram is one of the methods used to program the PLC’s. Thus this
is nothing but the Program written by the OEM to control the sequence as per his
requirement.
26
3.2 HARDWARE CONFIGURATION OF A STANDARD PLC.
All the PLC systems consists of a Power supply, CPU, input & output
Circuits as shown in figure 3.1. These may be part of one unit or can be in modular
form. In this description a PLC with back and module arrangement has been
considered. Some of the PLC’s will in addition provide counter modules, timer
modules and analog Input and Output modules. These are mounted on a rack as
shown below.
27
3. Operating System
Operating system is the executive program written by the PLC
manufacturer which directs the functioning of CPU.
4. ALU (Arithmetic Logic Unit)
ALU is used for processing the data which is byte long and word long.
5. RAM
RAM stores the control program written by PLC user. It also contains data
such as timer, counter, system data and working RAM area for holding the results of
the logic.
6. Serial Port
Serial port is meant for communication with peripheral devices such as
Computer. Printer etc.
7. Plug in Memory
Module Plug in memory module is used to store the control programd and
associated data in non-volatile memory.
8. Input / Output modules Cards
Depending on the marketing requirement various combination of I/O cards are
supplied by the manufacturers. They are listed below.
Digital Input Card
* Input voltage 24V DC, 38V DC, 110V AC, 220V Dc.
* Number of Inputs per card or per connector - 8/16/24/32/40/48.
* Current consumption will be normally within 20 milli ampere.
* Also the inputs may have electrical isolation to take care of electrical noise.
* Normally these input units have built in delay to take care of the contact
bouncing of the limit switches.
Digital Output card.
* Input voltage 24V DC, 38V DC, 110V AC, 220V Dc.
* Number of Inputs per card or per connector - 8/16/24/32
* Current rating - 200 mA/500 mA/1A/2A
* Built-in protection - Available in higher current modules.
28
3.4 Programming PLC’s
All PLC’s need a control program which is written by OEM. This program
can be written in different languages. They are.
1. Statement List
2. Ladder diagram
3. Control flow chart
1. Statement List. Language used in this case is Boolean language. Here each
instruction in PLC is written as one statement along with the data shown below.
Load Io. (Limit switch 1)
And I1 (Limit switch 2)
And not I2 (Limit switch 3)
Write O1 (Solenoid 1)
In the above case ‘I’ stands for Input and ‘O’ stands for output.
This equation informs the PLC that it limit switch 1 and 2 are closed and if
limit switch 3 is not operated then switch on Solenoid 1. To achieve the same
function in case of a relay logic, the normal open contacts of limit switch 1 and 2 and
NC contact of limit switch 3 were connected in series with coil of Solenoid 1 by
wires.
2. Ladder Diagram
This is a symbolic representation of the control program in the normal relay
logic form using signals of the limit switches. If the logic in statement list is written
as ladder it will look as given below. This diagram appears as though the limit
switches have been connected physically. Figure 3.2 explains a ladder logic diagram
of a network.
29
3. Control Flow Chart
In this type of programming the actual logic is written with electronic
symbols as shown in figure3.3
In all the cases the same required sequence is represented in different formats.
Control Program
This represents the complete sequence of operation written by the OEM.
This consists many networks as shown in the ladder diagram. The CPU starts
reading the control program from network 1 till the end of the control program in a
sequential order and the time taken to read the complete control program is called the
scan time. Scanning principle is specific to each PLC and the manuals must be
referred to know the details.
Signals used in Control program
Every control program is based on the following information.
Each limit switch, push buttons, etc., are connected to the inputs of the PLC.
Each input will have it’s identify for writing the logic.
Each Solenoid, contactors, relays etc., are connected to outputs of the PLC.
Each output also will have an individual identity for while writing the logic.
Internal relays are provided in all the PLC for storing the results of the logic.
Internal relays can be both volatile and non-volatile type (Retaining the status
during the power off).
Software timers and counters which can be used in the logic are also
provided
30
Example:
LD I0.0
LD I0.1
LD I2.0
A I2.1
OLD
ALD
= Q5.0
31
CHAPTER 4
CNC Machines
CNC (computer numeric control) lathes remain electrically powered machines that
are used to create such symmetrical objects as table legs and baseball bats. The
operator programs a task into the lathe and the machine carries out the task on a
workload.
Function
32
Components
CNC lathes are comprised of several integral components. The foundation of
a CNC lathe is referred to as its bed. The machine's chuck features jaws that hold
workloads in place. A spindle allows for workload rotation. Other key components
include a headstock, tailstock and a series of gears. CNC Information claims that
many CNC lathes utilize tools that are constructed out of carbide to grind or cut a
workload.
Safety
To prevent workload chips and debris from flying about a workspace, CNC
lathes employ shields that are either fixed or removable depending on the
manufacturer. Employing eye goggles is a further safety measure that CNC operators
may choose to employ even if shields are in place. Proper safety measures and
correct operational procedures are typically listed in a CNC lathe's instructional
manual.
The CNC lathe turns raw material, which can be metal, plastic, or wood
among others, and uses a computer to guide a tool to cut shapes and profiles. The
CNC lathe greatly reduces human error overall and can lead to a more productive
and efficient manufacturing environment. Although initial costs are high with CNC
lathes, they will quickly pay for themselves with their speed and accuracy.
Accuracy
Because the cutting tools are controlled by a computer, you can within .0001
inches as long as your tooling is sharp and the conditions of the spinning material on
the lathe are set to optimize the cutting process.
Speed
CNC lathes are not only accurate but can be run very fast. This leads to
increased efficiency and more parts per hour. Because CNC lathes often have 12 or
more tools in a turret, they can change to another tool rather quickly.
33
4.2 CNC Milling
Step 1: Toolpathing
Step 2: Machining
34
Advantages of CNC Milling
35
Figure 4.3-CNC Flame cutting machine
Description:
Gas used: Oxy-acetylene
Material handled: mild steel
Cutting thickness: up to 220mm
Cutting speed: vary according to work piece thickness
Specifications
36
Applications
1. Machinery Parts
2. Developed Sections
3. Sign making
4. Ship building panels and frames
5. Large module gear wheels and sprockets
6. Any profile cut part required for fabrication
37
4.4. Application of PLC in CNC Systems
PLC in case of a CNC is meant for the machine tool builder who can connect
all the peripherals on machine to the inputs and outputs. Normally PLC in case of
CNC is integrated into the system and hence may not have a separate CPU as shown
in case of only a PLC. Also it is possible to connect any general PLC to a CNC
system and write the logic as desired to achieve the functions. Block diagram of a
CNC machine is given below for reference.
As discussed earlier functions like ATC, APC, Coolant chip conveyer etc. are
controlled by the PLC. These functions should be transferred the CNC to PLC.
Additionally signals like machine healthy, machine position data etc. may be needed
in the PLC for providing the interlocks to ensure safety of the machine and the
38
operator. Since the PLC is normally integrated with the system with either the same
CPU or a Microprocessor, this data transfer becomes easy.
5. SCANNING
PLC in case of CNC also works based on the control programme. However in
most of the controls two scanning systems are provided. These are listed below.
1. Interrupt Scanning or Short term scanning.
2. Normal scanning of the signals.
During interrupt scanning or short scanning time the status of the signals from the
machine is read immediately on observing the change of the signals. During normal
scanning the I/O data is transferred at the beginning other the scanning of the
program.
39
All the details given here deal in general about the PLC used in any CNC SYSTEM.
However it is always necessary to refer to the manufacturers manuals for complete
details.
1. Miscellaneous Functions
2. Spindle Functions
3. Tool Functions
40
CHAPTER 5
CONCLUSION
5.1 CONCLUSION
Latest CNC machines are very sophisticated and costly equipment. Their
accuracy and production capability will be greatly reduced it they are not properly
maintained. Use of diagnostic tasks and pinpoint troubled areas. Remote diagnostic
features of CNC system greatly reduce the diagnostic communication systems for
computer controlled machine tools further simplifies the task of maintenance
personnel.
41
REFERENCES
www.bhel.com
http://web.bhelhyd.co.in/
42