Documente Academic
Documente Profesional
Documente Cultură
On
Prepared by
Supervisor
Dr. Md Mizanur Rahman
Associate Professor and Head Department of EEE
1
Internship Certificate
Supervisor
2
3
Student’s Declaration
We are very much glad to declare that the Internship report on “Programmable Logic Controller
(PLC)” It has only been prepared as a partial fulfillment of the Bachelor of Science in Electrical
and Electronics Engineering (EEE) program. It has not been prepared for any other purpose of
reward or presentation. All data and information given here are verified by the supervisor and the
report does not bear any false data. I believe this will fulfill all the requirements of my supervisor
and examiners of this report.
Nafis Karim
ID# 143010600007
Program EEE
Elias Ali
ID# 14301060014
Program EEE
4
Acknowledgement
First of all, we would like to thank Almighty Allah for giving us mental and physical strength to
complete our internship and gather practical knowledge.
We are very much grateful to Dr. Md. Mizanur Rahman, Associate Professor and Head,
Department of EEE for his helping hand all through our internship. We also like to thank all our
faculty members of EEE department of UITS
Then we would like to extend our warmest appreciation and thanks to Bangladesh Automation
Technology (BAT) Training institution with all Teachers and others stuffs, their supports,
guidance and lesson helped us to complete our internship
5
Abstract
Another importance terms which we have learnt that is how application works by PLC which is
using in industries like Automatic Forward-Reversed motor, object detect and reaction, analogue
input identify and various types of PLC Brand and software with practical implementation.
6
OBJECTIVE OF THE REPORT
7
B A T (Bangladesh Automation Technologies)
B A T (Bangladesh Automation Technologies) is a one of the best technical training centers in
Bangladesh. We are basically providing all kind of technical and Engineering training for
Electrical & Electronics engineering, Mechanical Engineering, Computer engineering and Civil
Engineering students for their better performance on the related field. We have an expert and skill
full Engineer for teaching. Need any kind of technical or engineering support such as Industrial
automation, industrials attachment, university project and thesis, we are available here. We are
serving two main focusing area one is professional training for engineer, innovative person and
technologist, on another focus is industrial automation support apparently PLC, HMI, Inverter,
SCADA, FPGA, Microcontroller, Webpage Development and AutoCAD with various simulation
tools. There is available a research & development center to analysis pure engineering and Inspire
to engage new student for contribution in modern science. We are sharing our research
achievement, technical theme to implement for supporting university project idea. Please feel like
to contact with us without any hesitation, we are always ready to any kind of technical help.
Bangladesh Automation Technologies is better technical solution center in Bangladesh.
8
Index
Topic Page no
Internship Report 1
Internship Certificate 2
Student Declaration 4
Acknowledgement 5
Abstract 6
`Chapter I
Basic Concept on Low Voltage Device
1.1 Introduction 11
1.2 Relay 11
1.3 Timer 12
1.5 DOL-Starter 14
9
1.9 Industrial Controlling without PLC example 4 19
Chapter II
About PLC
2.1 What is PLC 20
2.2 History of PLC 21
2.3 What is inside a PLC? 22
2.4 Block Diagram of PLC 22
2.5 Input Module 26
2.6 Output Module 27
2.7 Operation of PLC 28
2.8 Program languages of PLC 30
2.9 Ladder Diagram 30
Chapter III
PLC Basic Learning
3.1 Type of PLC Brands 31
3.2 Software installation 31
3.3 General used instruction and symbol 31
3.4 Data upload from PC to PLC 32
3.5 Data format to PLC by PC 32
3.6 Start the PLC for operation 32
Chapter IV
PLC Practical Application
4.1 Star Delta automatic switch 33
4.2 4 step any button on off 34
4.3 Boiler control 35
4.4 conveyer Belt 38
4.5 Car Parking monitoring 39
Chapter V
Conclusion
5.1 conclusion 40
5.2 Reference 41
10
Chapter I
Basic Concept on Low Voltage Device
1.1 Introduction
Before PLC learning, we have to know about some elements of low voltage devices which is very
important for PLC. For example, we have to use push button. If we don’t know what is push button,
the difference between electro-magnetic and mechanical switch then it is more difficult to
understand plc.
In low voltage device we have to learn what is Timer, Magnetic contractor, Relay, Dol-Starter.
1.2 Relay
A Relay is an electrically operated switch. It consists of a set of input terminals for a single or
multiple control signals, and a set of operating contact terminals. The switch may have any number
of contacts in multiple contact forms, such as make contacts, break contacts, or combinations
thereof.
Relays are used where it is necessary to control a circuit by an independent low-power signal, or
where several circuits must be controlled by one signal. Relays were first used in long-
distance telegraph circuits as signal repeaters: they refresh the signal coming in from one circuit
by transmitting it on another circuit. Relays were used extensively in telephone exchanges and
early computers to perform logical operations.
The traditional form of a relay uses an electromagnet to close or open the contacts, but other
operating principles have been invented, such as in solid-state relays which
use semiconductor properties for control without relying on moving parts. Relays with calibrated
operating characteristics and sometimes multiple operating coils are used to protect electrical
circuits from overload or faults; in modern electric power systems these functions are performed
by digital instruments still called protective relays.
11
Latching relays require only a single pulse of control power to operate the switch persistently.
Another pulse applied to a second set of control terminals, or a pulse with opposite polarity, resets
the switch, while repeated pulses of the same kind have no effects. Magnetic latching relays are
useful in applications when interrupted power should not affect the circuits that the relay is
controlling.
1.3 Timer
Their purpose is to control an event based on time. The difference between relays and time delay
relays is when the output contacts open & close: on a control relay, it happens when voltage is
applied and removed from the coil; on time delay relays, the contacts can open or close before or
after some time delay. Time Delay Relay (TDR) is a device use electromagnetic to operate a packet
all of switch. Usually there are the coil turn in iron. The operation like induction magnetic.
Many relays use an electromagnet to operate a switching mechanism mechanically, but other
operating principles are also used. Relays are used where it is necessary to control a circuit with
low-power signal with complete electrical isolation between control and controlled circuits, or
where several circuits must be controlled by one signal. Relay first used in the long-distance
telegraph circuits, repeating the signal coming from one circuit and re-transmitting to another
circuit. Function of Time Delay relay is a timer for controlled equipment. Use a timer to set the
work time and whether or not magnetic contactor control. For example, to set the time the electric
motor turn left and right, changing the relationship of the triangle and set the time of his regular
12
electric motor turns in a certain time and other. Working principle of magnetic induction using a
timer and using electronic circuits. Timer with magnetic induction works like-principle the
induction motor, while the electronic timer that uses the principle of having a series of R and C
are connected in series and parallel, if the voltage have filled the timer relay will be connected and
the long time delay based on the size of the charging capacitor. Part timer input given the output
coil symbol in the form of contacts normally open and normally closed
13
Design
The exterior of the magnetic contactor is square and boxlike. Depending on the electrical device
to which it attaches, it can be small enough to fit in the hand or over a yard in length. They are
made of a heat-resistant, non-conductive plastic such as Bakelite, and have two metal contacts
which fit into the contacts of their parent device. Inside, one contact leads to a small
electromagnetic coil. The other contact leads to a soft iron core which stays separated from the
coil because of a spring.
Function
When electricity flows through the magnetic contactor, it causes the electromagnet to generate a
strong magnetic field. This field pulls the iron core into the coil, and creates an electrical arc.
Electricity passes in through one contact and into the contactor’s parent device in this manner. To
deactivate, the contactor can be physically pulled from the parent device. Also, in the absence of
electrical current, the spring pushes the core away from the coil, breaking the connection.
There are different types of methods used to start induction motor as these motors utilize more
power for starting. When the flow of current through windings is high then there will be a chance
to damage the motor. To overcome this problem, different kinds of starter techniques are used. The
14
simple type of starter method is DOL (Direct on Line Starter). The Direct Online starter includes a
circuit breaker or MCCB, overload relay and contactor for the protection of motor. The unlocking
of an electromagnetic contactor can be done through the thermal overload relay beneath fault
conditions. Usually, the controlling of contactor can be done by using separate buttons like start
and stop. An auxiliary contact is used on the contactor across the start button because the contactor
is electrically latched while the working of an induction motor. The most fundamental,
economical, as well as an easy method for running a three-phase induction motor is named as the
DOL starter. This starter joints three phase motors straight across the supply of three phases. The
attractiveness of this kind of starter is, it can be connected straightly to the motor, and it doesn’t
affect the induction motor. The Direct Online Starter consists of a protective device as well as
main contacts. Let us discuss an overview of DOL.
15
1.6 Industrial Control without PLC example 1
#Switch number 1 push then M on after 10 second M will be turn off automatically.
#solution: We have to set timer relay at 10 second and in NO mode after 10 sec it will be turn off.
Here,
M means Motor
L means Line
R means Relay
T means Time
Here the diagram
16
1.7 Industrial Control without PLC example 2
#Switch number 1 push then M is on after 10 second M off.
#solution:
Here,
M means Motor
L means Line
R means Relay
T means Time
Here the diagram
17
1.8 Industrial Control without PLC example 3
18
1.9 Industrial Control without PLC example 4
19
Chapter II
PLC
2.1 PLC
A programmable logic controller (PLC) or programmable controller is an industrial digital
computer which has been ruggedized and adapted for the control of manufacturing processes, such
as assembly lines, or robotic devices, or any activity that requires high reliability control and ease
of programming and process fault diagnosis.
PLCs were first developed in the automobile manufacturing industry to provide flexible,
ruggedized and easily programmable controllers to replace hard-wired relays, timers and
sequencers. Since then, they have been widely adopted as high-reliability automation controllers
suitable for harsh environments. A PLC is an example of a "hard" real-time system since output
results must be produced in response to input conditions within a limited time, otherwise
unintended operation will result.
The majority of PLCs today are modular, allowing the user to add an assortment of functionality
including discrete control, analog control, PID control, position control, motor control, serial
communication, and high-speed networking. Compared to older technologies, the PLC is easier to
troubleshoot, more reliable, more cost-effective, and far more versatile.
Shortened from modular digital controller, is both the name of the first PLC product and the
brand that invented it.
20
Fig 2.1: PLC
21
are known as control relays because they control the relays that control the switch that turns the
motor ON and OFF. I could keep going, but I think you get the picture of how machines were
controlled pre-PLC, and, more importantly, I think you start to see some of the problems with this
system of electromechanical control via relays.
Modicon created the first programmable logic controller (PLC) in the United States in 1968. ...
1968 with a core group of engineers, Richard E. Morley founded Bedford Associates and invented
the first programmable logic controller or PLC. He established the Modicon Company, deriving
its name from Modular Digital Control.
22
1) I/O Section:-
The I/O section establish the interfacing between physical devices in the real world outside
the PLC and the digital arena inside the PLC.
The input module has bank of terminals for physically connecting input devices, like push
buttons, limit switches etc. to a PLC. the role of an input module is to translate signals from input
devices into a form that the PLC's CPU can understand.
The Output module also has bank of terminals that physically connect output devices like
solenoids, motor starters, indicating lamps etc. to a PLC. The role of an output module is to
translate signals from the PLC's CPU into a form that the output device can use.
Conditioning
Isolation
Termination
Indication
An electronic system for connecting I/O modules to remotely located I/O devices can be
added if needed. The actual operating process under PLC Control can be thousands of feet from
the CPU and its I/O modules.
2) CPU Section: -
The Central Processing Unit, the brain of the system is the control portion of the PLC. It
has three Subparts.
Memory System
Processor
Power Supply
23
The memory is the area of the CPU in which data and information is stored and retrieved. The total
memory area can be subdivided into the following four Sections.
Data Memory:
It is used to store numerical data required in math calculation, bar code data etc.
User Memory:
It contains user's application program.
Executive Memory:
It is used to store an executive program or system software. An operating system of the
PLC is a special program that controls the action of CPU and consequently the execution
of the user's program. A PLC operating system s designed to scan image memory, interprets
the instruction of user's program stored in main memory, and executes the user's application
program the operating system is supplied by the PLC manufacturer and is permanently held
in memory
The processor, the heart of CPU is the computerized part of the CPU in the form of
Microprocessor / Micro controller chip. It supervises all operation in the system and
performs all tasks necessary to fulfill the PLC function.
It reads the information i.e. status of externally connected input devices with input module.
It stores this information in memory for later use.
It carries out mathematical and logic operations as specified in application program.
After solving the user's program, it writes the result values in the memory.
24
It sends data out to external devices like output module, so as to actuate field hardware.
It performs peripheral and external device communication.
It performs self-diagnostics.
The power supply provides power to memory system, processor and I/O Modules.
3) Programmer/Monitor: -
The Programmer/Monitor (PM) is a device used to communicate with the circuits of the PLC. The
programming unit allows the engineer/technicians to enter the edit the program to be executed.
In its simplest form it can be hand-held device with membrane keypad for program entry, and a
display device (LED or LCD) for viewing program steps of functions.
More advanced systems employ a separate industrial terminal or personal computers with type-
writer type keyboard and CRT monitors. With the help of proprietary software, it allows
programmer to write, view and edit the program and download it into the PLC. It also allows user
to monitor the PLC as it is running the program. With this monitoring systems, such things as
internal coils, registers, timers and other items not visible externally can be monitored to determine
proper operation. Also, internal register data can be altered, if required. to fine tune program
operation while debugging. Communication between PM and PLC is done via a cable connected
to a special programming port on PLC. Connection to the personal computer can be through a
serial port or from a dedicated card installed in the computer.
25
Fig2.4: block diagram
First, and most obvious, is the fact that individual I/O cards may be easily replaced in the event
of failure without having to replace the entire PLC.
Specific I/O cards may be chosen for custom applications, biasing toward discrete cards for
applications using many on/off inputs and outputs, or biasing toward analog cards for
applications using many 4-20 mA and similar signals.
26
Fig2.5: input module
27
Fig 2.6: output module
PLC Program
For the PLC to be useful, it must first have a Program or Logic for the CPU to execute. A system
engineer or PLC programmer will first create the program logic in a programming device (these
days it is usually software running on a personal computer). This logic can be written in Ladder
Logic, Instruction List, Sequential Function Charts, or any of the IEC languages.
28
The programmer will then download the program to the PLC. This is usually done by temporarily
connecting the programmer to the PLC. Once the program is installed or downloaded to the CPU
– it is usually not necessary for the PC to remain connected.
Basic Scan
Once the program is in the CPU – the PLC is then set to “run”, and the PLC executes the application
program repeatedly. In addition to executing the program, the CPU regularly reads the status of
the input devices, and sends data to the output devices. The Input system senses the status of the
real-world inputs (a switch, a level, etc.), translates them to values that can be used by the CPU,
and writes those values to the Input table. The application program is executed, and writes values
to the Output table. The Output system then converts the output value to a real world change (motor
turns on, valve opens, etc.)
This process of reading inputs, executing logic, and writing outputs is called the PLC Scan or
Sweep.
29
2.8 Program languages of PLC
One of the primary benefits of the standard is that it allows multiple languages to be used within
the same programmable controller. This allows the program developer to select the language best
suited to each particular task.
SFC have been developed to accommodate the programming of more advanced systems. These
are similar to flowcharts, but much more powerful. This method is much different from flowcharts
because it does not have to follow a single path through the flowchart.
Programming has been developed as a more modern programming language. It is quite similar to
languages such as BASIC and Pascal.
Structured Text (ST) is a high-level textual language that is a Pascal like language. It is very
flexible and intuitive for writing control algorithms.
FBD is another graphical programming language. The main concept is the data flow that start from
inputs and passes in block(s) and generate the output.
The Ladder diagram is the easiest language for plc.
The language evolved from originally being a method for documenting the design and construction
of relay racks used in manufacturing and process control, with each relay rack represented by a
symbol on the ladder diagram that has connections to devices below them that look like vertical
rails. The relay symbols themselves look like rungs in a ladder.
30
Chapter III
PLC Basic Learning
Siemens Mitsubishi Delta LS Omron Allen Bradley Schneider Fatek Panasonic Delta
Every brand has also many different series for example Siemens has S Logo S7 200 S7 300 S7
1200
No
Make contact
NC
Break contact
31
3.4 Data upload from PC to PLC
Open LOGO soft Comfort then open tools then transfer PC>LOGO
Fig3.4: PC to Plc.
Fig3.5: PLC to PC
32
Chapter IV
PLC Practical Application
33
4.2 4 step any button on off
Sometimes we need many switches to control a motor or another devices so here we can use plc
so that many number switch can perform independent.
34
4.3 Boiler control
Boiler control system programming and panel design fall hand in hand. Building and programming
a boiler control system that meets NFPA85 code requirements is very challenging. Just a few
examples are interposing relays, a watch dog timer, the handshake between the Burner
Management System and the Combustion Control System and performing critical input checks
once a minute to verify the PLC input cards do not have stuck bits. Further, design requirements
will call for things like having the wiring fail safe (on is a good state), high voltage AC and low
voltage DC separation, PLC power requirements and total wattage heat dissipation.
Programming for a boiler control system takes a lot of years to learn and should never be attempted
without a thorough understanding of how boilers work as well as what needs to be accomplished
and lastly how to program with the PLC platform chosen.
To explain the fundamental logic, we can use a fully metered cross limited combustion control
system as an example. The principal function of this type of system is to have the air always lead
the fuel when increasing the firing rate and follow behind the fuel when decreasing the firing rate.
This will prevent the boiler from going into a rich condition during load swings. Programming
cross limited systems is accomplished by using a high select for the air set point (fuel flow or boiler
master) and a low select for the fuel set point (air flow or boiler master). There will be oxygen trim
loop which is changing (multiplier) the characterized air flow to add or subtract from its
measurement and force the fuel to react by cross limiting the set points and maintain proper boiler
tune.
The air flow measurement will have a function generator for characterizing the transmitter reading
from minimum fire to 100% span so the X or input values will be adjusted and the Y or output
values will be scaled in eleven steps from 0 to 100%.
35
The flow control outputs for fuel and air will also have function generators and are characterized
from minimum fire to 100% span so the X or input values will inversely be scaled in eleven steps
from minimum to 100% while the Y or output values will be appropriately scaled for the
controlling devices during the tune.
Fig4.3: Boiler
These three function generators are always or should always be found on fully metered systems.
To explain why these three function generators should always be used instead of only the air flow
requires understanding loop tuning and could lead to a debate but through years of experience we
have found it is best to have all three. Other characterization requirements are the set point for
oxygen trim which is driven from gas flow and characterizing the fuel gas re circulation (FGR) if
so equipped. Lastly there may be characterization for air flow related components like the fresh
air inlet damper, wind box damper and the fan VFD. If running on oil there has to be a separate
set of function generators for each oil controlling device as well.
36
Minimum Safety requirements should be but are not always limited to tripping if a bad quality
condition exists for air or fuel flow and if the fuel to air flow set points deviate a specified amount
(in a running rich condition) for a short-timed period. There are other reasons one may need or
prefer to have the boiler trip but these are the most important.
There are many more functions that need to be addressed when programming a boiler combustion
control system and it is easy to see why it is important to have it done by professionals with a
proven track record. Having a bulletproof panel ready to go before the boiler installation and
commissioning has been completed is a big-time saver.
37
4.4 conveyor Belt
Conveyor belt is the carrying medium of a belt conveyor system (often shortened to belt conveyor).
A belt conveyor system is one of many types of conveyor systems. A belt conveyor system consists
of two or more pulleys (sometimes referred to as drums), with an endless loop of carrying
medium—the conveyor belt—that rotates about them. One or both of the pulleys are powered,
moving the belt and the material on the belt forward. The powered pulley is called the drive pulley
while the unpowered pulley is called the idler pulley. There are two main industrial classes of belt
conveyors; Those in general material handling such as those moving boxes along inside a factory
and bulk material handling such as those used to transport large volumes of resources and
agricultural materials, such as grain, salt, coal, ore, sand, overburden and more.
38
4.5 Car parking monitoring
A car parking system is a mechanical device that multiplies parking capacity inside a parking lot.
Parking systems are generally powered by electric motors or hydraulic pumps that move vehicles
into a storage position.
Car parking systems may be traditional or automated. Automatic multi-stored automated car park
systems are less expensive per parking slot, since they tend to require less building volume and
less ground area than a conventional facility with the same capacity. In the long term, automated
car parking systems are likely to be more cost effective than traditional parking garages. Both
automated car parking systems and automated parking garage systems reduce exhaust gas — cars
do not drive around in search of parking spaces.
39
Chapter V
Conclusion
PLC applications are typically highly customized systems. PLC is low compared to the cost of a
specific custom-built controller design. In general, PLCs are more robust and require less
maintenance, thus making the things they control work better, in spite of the environment. Overall,
PLCs appear to be an excellent solution for many different problems. Future of PLC Continuation
of new product developments and making integration of PLCs with other control. PLC technology
include features such as GUIs and more human-oriented machine interfaces. New PLC instructions
are developed to add intelligence to a controller. Concept of the flexible manufacturing system
(FMS) will determine the control philosophy of the future. PLC Designed for extreme industrial
environments Integrated command interpreter (proprietary) No secondary memory available
Optimized for Single task Computer Designed mainly for data processing and calculation
Optimized for speed Lost of secondary memory available Multitasking capability PLC Vs.
Computer
Advantages Flexibility Large Quantities of Contacts Lower Cost Visual Observation Reliability
and Maintainability
Single-function applications do not pay to use a PLC that includes multiple programming
capabilities. Their operational sequence is seldom or never changed. if the power fails, the system
stops.
Now industry are being replaced by Automation and robotics. All process and work are carried
out by machines and robotics process automation. Every industrial sector like manufacturing,
process industries, chemical, food & beverages, Oil Gas , Transport, machine tools every where
Industrial automation is used. Bangladesh has just stepped in Industrial Automation field , So now
over period of time some good of technologies and training center will merging with Operational
Technologies like PLC SCADA DCS and that is the reason future will be bright in Automation.
Here will be multiple openings & Job opportunities in IT as well as OT sectors, IT companies are
hiring as Analyst, Tester and developer for SCADA or IIOT application & software.
40
5.2 Reference
Web sites
1. http://batbd.net/about-us/ (2.1-2.5)
2. https://automationforum.in/t/boiler-level-control-system/2730 (4.3)
3. https://www.slideshare.net/VikashRanjan16/training-report-on-plc-scada-and-automation (2.1)
4. http://www.plcmanual.com/plc-installation-commissioning (2.7)
5. http://www.kronotech.com/PLC/Languages.htm (5.2)
Thank You
END
41