Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Bachelor of Technology
in
ELECTRICAL ENGINEERING
of
PUNJAB TECHNICAL UNIVERSITY, JALANDHAR
Certified that this project/training report entitled “six weeks industrial training” submitted
by Ramandeep singh (120935279527) , student of Electrical engineering , MMB Poly
college, Fatta Maloka , in the partial fulfillment of the requirement for the award of
Bachelors of Technology electrical engineering, degree of PSEBIT Chandigarh, is a record
of students own study carried under my supervision & guidance.
This report has not been submitted to any other university or institution for the award of
any degree.
Training In-charge:
Sumanpreet kaur
ii
ACKNOWLEDGMENT
I am highly grateful to the Er Jasvir singh , HOD EE, for providing this opportunity to
carry out the six week industrial training at Wind Tech Pvt. Ltd. ,Chandigarh.
The author would like to express a deep sense of gratitude and thank
Deepak Kaushal Director/CEO of Company, without whose permission, wise counsel and
able guidance, it would have not been possible to pursue my training in this manner.
Finally, I express my indebtedness to all who have directly or indirectly contributed to the
successful completion of my industrial training.
iii
ABSTRACT
The programmable logic controller represents a key factor in industrial Automation. Its use
permits flexible adaptation to varying processes as well as rapid fault finding and error
elimination.
This report explains the design of a programmable logic controller and its interaction with
peripherals with the detail of programming function and programming language.
One of the main focal points of the report deal with the practical of RELAYS,
PROGRAMMABLE LOGIC CONTROLLER.
Relay is an electromechanical switch which is used to isolate one electrical circuit from
another.
It allows a low current control circuit to make or break an electrically isolated high
current circuit path.
PLC is a multipurpose clock driven memory based electronic device which is also known
as specialized industrial computer which deals with different level of complexity and
control system.
A programmable logic controller (PLC) or programmable controller is a digital
computer used for automation of electromechanical processes, such as control of machinery
on factory assembly lines, amusement rides, or light fixtures. PLCs are used in many
industries and machines. Unlike general-purpose computers, the PLC is designed for
multiple inputs and output arrangements, extended temperature ranges, immunity to
electrical noise, and resistance to vibration and impact
iv
v
CONTENTS
Page No.
Candidate’s Declaration ii
Certificate iii
Acknowledgement iv
Abstract v
Contents vi
List of Figures vii
List of Tables viii
1 .Instrumentation
1.1 Automation
1.2 Engineering tools
1.3 Relays concepts
1.4 Contactor concepts
6
2.16 Counter
2.18 Compare function
2.19 Compute math
LIST OF FIGURES
7
Figure No: Name of Figure Page No.
1.1 Relay 19
2.12f Equal to 41
8
2.12j Less than 43
2.12k Limit 43
2.12l Reset 43
4.3 IR sensor 43
4.5 Conveyer 44
4.6 Moter 45
Chapter 1:
9
Instrumentation
Automation
Automation is the use of control systems and information technologies to reduce the need for
human work in the production of goods and services. In the scope of industrialization, automation
is a step beyond mechanization. Whereas mechanization provided human operators with
machinery to assist them with the muscular requirements of work, automation greatly decreases
the need for human sensory and mental requirements as well. Automation plays an increasingly
important role in the world economy and in daily experience.
Consider the examples of automation:
1. Automated video surveillance
3. Automated manufacturing
4. Home automation
5. Industrial automation
6. Agent-assisted Automation
1. Replacing human operators in tasks that involve hard physical or monotonous work.
2. Replacing humans in tasks done in dangerous environments (i.e. fire, space, volcanoes,
nuclear facilities, underwater, etc.)
3. Performing tasks that are beyond human capabilities of size, weight, speed, endurance,
etc.
4. Economy improvement: Automation may improve in economy of enterprises, society or
most of humanity. For example, when an enterprise invests in automation, technology
10
recovers its investment; or when a state or country increases its income due to automation
like Germany or Japan in the 20th Century.
1. Unemployment rate increases due to machines replacing humans and putting those
humans out of their jobs.
2. Technical Limitation: Current technology is unable to automate all the desired tasks.
3. Security Threats/Vulnerability: An automated system may have limited level of
intelligence; hence it is most likely susceptible to commit error.
4. Unpredictable development costs: The research and development cost of automating a
process may exceed the cost saved by the automation itself.
5. High initial cost: The automation of a new product or plant requires a huge initial
investment in comparison with the unit cost of the product, although the cost of
automation is spread in many product batches of things.
SCADA (supervisory control and data acquisition) is a category of software application program
for process control, the gathering of data in real time from remote locations in order to control
equipment and conditions. SCADA is used in power plants as well as in oil and gas refining,
telecommunications, transportation, and water and waste control.
11
SCADA systems include hardware and software components. The hardware gathers and feeds
data into a computer that has SCADA software installed. The computer then processes this data
and presents it in a timely manner. SCADA also records and logs all events into a file stored on
a hard disk or sends them to a printer. SCADA warns when conditions become hazardous by
sounding alarms.
A Human-Machine Interface or HMI is the apparatus which presents process data to a human
operator, and through which the human operator controls the process.
An HMI is usually linked to the SCADA system's databases and software programs, to provide
trending, diagnostic data, and management information such as scheduled maintenance
procedures, logistic information, detailed schematics for a particular sensor or machine, and
expert-system troubleshooting guides.
The HMI system usually presents the information to the operating personnel graphically, in the
form of a mimic diagram. This means that the operator can see a schematic representation of the
plant being controlled
1.2.1 RELAY:
A relay is a simple electromechanical switch made up of an electromagnet and a set of contacts.
Current flowing through the coil of the relay creates a magnetic field which attracts a lever and
changes the switch contacts. It is used for double through (changeover).
12
Fig 1.1 relay
The relay's switch connections are usually labeled COM, NC and NO:
COM = Common, always connect to this, it is the moving part of the switch.
NC = Normally Closed, COM is connected to this when the relay coil is off.
NO = Normally Open, COM is connected to this when the relay coil is on.
1.2.2Advantages of relays:
1.3 CONTACTOR:
1.3.1What is contactor?
Contactors are used to switch relatively large outputs and currents.
13
Contactors work on the same basic principle as relays.
The typical features of contactor are:
double- break ( 2 break points per contact),
positive-action contacts and
closed arcing chambers (spark arresting chambers).
14
1.4 COMPARISON BETWEEN RELAY AND CONTACTOR:
Relay Contactor
Relays possess a clapper-type
armature and are characterized by
Contactors possess a lifting
single contact separation
armature and are characterized by
double contact separation.
15
Chapter 2
2.1INTRODUCTION
Control engineering has evolved over time. In the past humans were the main methods for
controlling a system. More recently electricity has been used for control and early electrical control
was based on relays. These relays allow power to be switched on and off without a mechanical
switch. It is common to use relays to make simple logical control decisions. The development of
low cost computer has brought the most recent revolution, the Programmable Logic Controller
(PLC). The advent of the PLC began in the 1970s, and has become the most common choice for
manufacturing controls. PLCs have been gaining popularity on the factory floor and will probably
remain predominant for some time to come. Most of this is because of the advantages they offer.
• Cost effective for controlling complex systems.
• Flexible and can be reapplied to control other systems quickly and easily.
• Computational abilities allow more sophisticated control.
• Trouble shooting aids make programming easier and reduce downtime.
• Reliable components make these likely to operate for years before failure.
The term SCADA stands for Supervisory Control and Data Acquisition. A SCADA system is a
common process automation system which is used to gather data from sensors and instruments
located at remote sites and to transmit and display this data at a central site for either control or
monitoring purposes. The collected data is usually viewed on one or more SCADA Host computers
located at the central or master site.
A real world SCADA system can monitor and control hundreds to hundreds of thousands of I/O
points. A typical Water SCADA application would be to monitor water levels at various water
sources like reservoirs and tanks and when the water level exceeds a preset threshold, activate the
system of pumps to move water to tanks with low tank levels.
Common analog signals that SCADA systems monitor and control are levels, temperatures,
pressures, flow rate and motor speed. Typical digital signals to monitor and control are level
16
switches, pressure switches, generator status, relays & motors.Automation of many different
processes, such as controlling machines, basic relay control, motion control, process control is
done through the use of small computers called a programmable logic controller (PLC). This is
actually a control device that consists of a programmable microprocessor, and is programmed
using a specialized computer language. A programmable logic controller (PLC) or
programmable controller is a digital computer used for automation of electromechanical
processes, such as control of machinery on factory assembly lines, amusement rides, or lighting
fixtures. PLC’s are used in many industries and machines, such as packaging and semiconductor
machines. Unlike general-purpose computers, the PLC is designed for multiple inputs and output
arrangements, extended temperature ranges, immunity to electrical noise, and resistance to
vibration and impact. Programs to control machine operation are typically stored in battery-backed
or non-volatile memory. A PLC is an example of a real time system since output results must be
produced in response to input conditions within a bounded time, otherwise unintended operation
will result.A modern programmable logic controller is usually programmed in any one of several
languages, ranging from ladder logic to Basic or C. Typically, the program is written in a
development environment on a personal computer (PC), and then is downloaded onto the
programmable logic controller directly through a cable connection. Programmable logic
controllers contain a variable number of Input/output (I/O) ports the programmable logic controller
circuitry monitors the status of multiple sensor inputs, which control output.
HISTORY
17
2.2.1 Origin
The PLC was invented in response to the needs of the American automotive manufacturing
industry. Programmable controllers were initially adopted by the automotive industry where
software revision replaced the re-wiring of hard-wired control panels when production models
changed.Before the PLC, control, sequencing, and safety interlock logic for manufacturing
automobiles was accomplished using hundreds or thousands of relays, cam timers, and drum
sequencers and dedicated closed-loop controllers. The process for updating such facilities for the
yearly model change-over was very time consuming and expensive, as the relay systems needed
to be rewired by skilled electricians.In 1968 GM Hydramatic (the automatic transmission division
of General Motors) issued a request for proposal for an electronic replacement for hard-wired relay
systems.The winning proposal came from Bedford Associates of Bedford, Massachusetts. The first
PLC, designated the 084 because it was Bedford Associates' eighty-fourth project, was the result.
Bedford Associates started a new company dedicated to developing, manufacturing, selling, and
servicing this new product: Modicon, which stood for Modular Digital Controller. One of the
people who worked on that project was Dick Morley, who is considered to be the "father" of the
PLC. The Modicon brand was sold in 1977 to Gould Electronics, and later acquired by German
Company AEG and then by French Schneider Electric, the current owner.One of the very first 084
models built is now on display at Modicon's headquarters in North Andover, Massachusetts. It was
presented to Modicon by GM, when the unit was retired after nearly twenty years of uninterrupted
service. Modicon used the 84 moniker at the end of its product range until the 984 made its
appearance.
2.1.2 Programming
Early PLCs, up to the mid-1980s, were programmed using proprietary programming panels or
special-purpose programming terminals, which often had dedicated function keys representing the
various logical elements of PLC programs. Programs were stored on cassette tape cartridges.
Facilities for printing and documentation were very minimal due to lack of memory capacity. The
very oldest PLCs used non-volatile magnetic core memory.
18
2.1.3 Functionality
The functionality of the PLC has evolved over the years to include sequential relay control, motion
control, process control, distributed control systems and networking. The data handling, storage,
processing power and communication capabilities of some modern PLCs are approximately
equivalent to desktop computers. PLC-like programming combined with remote I/O hardware,
allow a general-purpose desktop computer to overlap some PLCs in certain application.
19
2. 2.1 PARTS OF PLC
2. 2.1 .1 POWER SUPPLY: PLC requires 24V switch mode power supply for its operation.
2.2.1 .2 MCU: Its full form is microcontroller unit. It is the processor of PLC. It is basically
the brain of PLC. It performs various control operations of PLC.
2.2.1 .3 INPUTS AND OUTPUTS: PLC has a set of isolated inputs and isolated outputs.
Different PLC’s have different number and different type of inputs and outputs.Like in
Micrologix 1000 we have total number of 6 inputs and 4 outputs whereas in Micrologix 1100 we
have 10 inputs and 6 outputs.
2. 2.1 4 EXPANSION PORT: In PLC there is an expansion port which is used for the addition
of any other equipment with PLC. For example analog cards.
2.2.1.5 MEMORY MODULE: The memory module in PLC is used for the storage of program
in PLC for future use.
2.2.1.7 MONITOR: This display screen is used as human machine interface i.e. it provides good
visualization of operation running
20
Fig 2.3 .Pin Diagram
21
range of voltages both ac and dc. It should be remembered that an input will be ON, "status 1",
when the voltage is present at the input connection and OFF, "status 0", when the voltage is no
longer present at the input connection.
USER TYPE: These are the inputs and outputs that are physically present and are
practical to the inputs and outputs of the PLC.
BIT TYPE: These are the inputs and outputs that are not physically present and are
functional in the PLC only. These inputs/outputs are basically used to drive each other in
the ladder logic programming.
I/P O/P
0 0
1 1
0 1
1 0
22
2.4.3 OUTPUTS
These are the connections from the PLC to the real world. They are used to switch solenoids,
lamps, contactors etc on and off. Again they are usually 24 Volt DC, either relay or transistor, but
can also be 115/220 Volt AC.
SIEMENS
ALLEN BRADLEY
GENERAL ELECTRICAL
MITSUBISHI
SCHENIDER
ABB
Here we have done programming of two PLC’s of Allen Bradley i.e. Micrologix 1000 and
Micrologix 1100.
23
2.5 .1 Micrologix 1000 Controllers 1761
Micrologix 1000 brings high speed, powerful instructions and flexible communications to
applications that demand compact, cost-effective solutions.TheMicrologix 1000 programmable
controller is available in 10-point, 16-point or 32-point digital I/O versions. Analog versions are
also available with 20 digital I/O points, with 4 analog inputs (two voltages and two current) and
1 analog output (configurable for either voltage or current).This little powerhouse is both
inexpensive and compact, with footprints as small as 120mm x 80 mm x 40 mm (4.72" x 3.15" x
1.57"). The analog I/O circuitry is embedded into the base controller, not accomplished through
add-on modules, providing compact and cost-effective analog performance.
The Micrologix 1000 family provides small, economical programmable controllers. They are
available in configurations of 10 digital I/O (6 inputs and 4 outputs), 16 digital I/O (10 inputs and
6 outputs), 25 I/O (12 digital inputs, 4 analog inputs, 8 digital outputs, and 1 analog output), or 32
24
digital I/O (20 inputs and 12 outputs) in multiple electrical configurations of digital I/O. The I/O
options and electrical configurations make them ideal for many applications.
2.5.3 Benefits
Compact design—Lets the MicroLogix 1000 controller thrive in limited panel space.
Choice of communication networks—An RS-232-C communication port is configurable
for: DF1 protocol for direct connection to a programming device or operator interface; DH-
485 networking through a 1761-NET-AIC converter; Device Net networking through a
1761-NET-DNI interface; Ethernet/IP networking through a 1761-NET-ENI interface; or
for half-duplex slave protocol in SCADA applications.
Simple programming with your choice of programming device—You can program
these controllers in familiar ladder logic with MicroLogix 1000 A.I. Series Software®, PLC
500 A. I. Series Programming Software, RSLogix 500™ Windows Programming
Software, or the MicroLogix Hand-Held Programmer (1761-HHP-B30). This symbolic
programming language is based on relay ladder wiring diagrams that simplify the creation
and troubleshooting of your control program.
25
Comprehensive instruction set—Over 65 instructions including simple bit, timer, and
counter instructions, as well as instructions for powerful applications like sequencers, high-
speed counter, and shift registers.
Fast—Execution time for a typical 500-instruction program is only 1.56 ms.
Choice of languages—Software and documentation are available in 5 languages. The
hand-held programmer has 6 languages built in.
2.5.4Features
The MicroLogix 1100 has 10 digital inputs, 2 analog inputs and 6 digital outputs, and supports
expansion I/O. Up to four 1762 I/O modules (also used on the MicroLogix 1200) may be added to
the embedded I/O, providing application flexibility and support of up to 80 digital I/O.
One embedded 20 kHz high-speed counter (on controllers with DC inputs)—The built-
in independent high-speed counter uses 32-bit integers for extended range, features 8
modes of operation, and supports direct control of outputs independent of program scan.
Two 20 kHz high-speed PTO/PWM outputs (on controllers with DC outputs).
Digital trim potentiometers—Allow quick and easy adjustments of timers, counters, set
points, and more.
Program data security—Data file download protection lets a program be reloaded into
the controller without overwriting protected data.
Floating Point Data Files—You can create data files that can contain up to 256 IEEE-754
floating point values.
Memory modules—Memory backup provides protection and transportability for
programs and data.
Four interrupt inputs—Interrupt inputs let the controller scan a specific program file
(subroutine) when an input condition is detected from a sensor or field device.
Real-Time Clock—embedded in every controller.
26
Fig 2.7.Micrologix 1100 with Analog Card
2.5.5 Benefits
PLC programs are typically written in a special application on a personal computer, then
downloaded by a direct-connection cable or over a network to the PLC. The program is stored in
27
the PLC either in battery-backed-up RAM or some other non-volatile flash memory. Often, a
single PLC can be programmed to replace thousands of relays. Under the IEC 61131-3 standard,
PLCs can be programmed using standards-based programming languages. A graphical
programming notation called Sequential Function Charts is available on certain programmable
controllers. Recently, the International standard IEC 61131-3 has become popular. IEC 61131-3
currently defines five programming languages for programmable control systems: FBD (Function
block diagram), LD (Ladder diagram), ST (Structured text, similar to the Pascal programming
language), IL (Instruction list, similar to assembly language) and SFC (Sequential function chart).
These techniques emphasize logical organization of operations.While the fundamental concepts of
PLC programming are common to all manufacturers, differences in I/O addressing, memory
organization and instruction sets mean that PLC programs are never perfectly interchangeable
between different makers. Even within the same product line of a single manufacturer, different
models may not be directly compatible.
In Allen Bradley PLC’s the logic used for the programming is ladder logic. Ladder logic is a
programming language that represents a program by a graphical diagram based on the circuit
diagrams of relay-based logic hardware. It is primarily used to develop software for Programmable
Logic Controllers (PLCs) used in industrial control applications. The name is based on the
observation that programs in this language resemble ladders, with two vertical rails and a series of
horizontal rungs between them. An argument that aided the initial adoption of ladder logic was
that a wide variety of engineers and technicians would be able to understand and use it without
much additional training, because of the resemblance to familiar hardware systems. This argument
has become less relevant given that most ladder logic programmers have a software background
in more conventional programming languages, and in practice implementations of ladder logic
have characteristics—such as sequential execution and support for control flow features—that
make the analogy to hardware somewhat imprecise.Ladder logic is widely used to program PLCs,
where sequential control of a process or manufacturing operation is required. Ladder logic is useful
for simple but critical control systems, or for reworking old hardwired relay circuits. As
programmable logic controllers became more sophisticated it has also been used in very complex
automation systems.
28
Fig 7. Simple ladder logic
The language itself can be seen as a set of connections between logical checkers (contacts) and
actuators (coils). If a path can be traced between the left side of the rung and the output, through
asserted (true or "closed") contacts, the rung is true and the output coil storage bit is asserted (1)
or true. If no path can be traced, then the output is false (0) and the "coil" by analogy to
electromechanical relays is considered "de-energized". The analogy between logical propositions
and relay contact status is due to Claude Shannon.
Ladder logic has contacts that make or break circuits to control coils. Each coil or contact
corresponds to the status of a single bit in the programmable controller's memory. Unlike
electromechanical relays, a ladder program can refer any number of times to the status of a single
bit, equivalent to a relay with an indefinitely large number of contacts.
So-called "contacts" may refer to physical ("hard") inputs to the programmable controller from
physical devices such as pushbuttons and limit switches via an integrated or external input module,
or may represent the status of internal storage bits which may be generated elsewhere in the
program.
Each rung of ladder language typically has one coil at the far right. Some manufacturers may allow
more than one output coil on a rung.
--( )-- a regular coil, energized whenever its rung is closed
--(\)-- a "not" coil, energized whenever its rung is open
--[ ]-- A regular contact, closed whenever its corresponding coil is energized
--[\]-- A "not" contact, open whenever its corresponding coil is energized
29
The "coil" (output of a rung) may represent a physical output which operates some device
connected to the programmable controller, or may represent an internal storage bit for use
elsewhere in the program.
The above figure shows the view of PLC trainer kit. On this kit various operations are performed.
It has following components mounted:
30
Fig2. 9.Trainer Board of micrologix1100 PLC
The above fig shows the trainer board of micrologix 1100 PLC. It has following components:
Then click on RS Linx icon, a window will appear as shown in fig below
31
Fig2. 10.RS Linx classic window
In this window add drivers i.e. whether it is RS232 comport or Ethernet and configure the drivers
and closes the window
Then click on icon RS who on the RS Linx classic window, another window will appear as shown
in fig
After opening the RS who window click on AB DF1-1 DH-485, the PLC is running is shown on
the window. Then close this window and double click on RS Logix 500 starter.
When we double click on RS Logix 500 starter a window will appear as shown in fig.
32
Fig 2.11. RS Logix 500 window
There are various instructions which are useful for making ladder logic for PLC programming.
These are as follows:
Use the XIC instruction in your ladder program to determine if a bit is ON. When the instruction
is executed, if the bit addressed is on (1), then the instruction is evaluated as true. When the
instruction is executed, if the bit addressed is off (0), then the instruction is evaluated as false.
0 0
1 1
33
A push button wired to an input (addressed as I:0/4).
An output wired to a pilot light (addressed as O:0/2).
A timer controlling a light (addressed as T4:3/DN).
2.6.2.2 XIO (Examine if open):
Use the XIO instruction in your ladder program to determine if a bit is OFF. When the instruction
is executed, if the bit addressed is off (0), then the instruction is evaluated as true. When the
instruction is executed, if the bit addressed is on (1), then the instruction is evaluated as false.
I/P O/P
0 1
1 0
34
Latch output and Unlatch output
35
accumulated value (ACC) each evaluation until it reaches the preset value (PRE). The accumulated
value is reset when rung conditions go false, regardless of whether the timer has timed out
36
Fig 2.12c.Retentive Timer (RTO)
2.7.2 Counters:
Counters are used to count the number of operations. Its function is same as the timer accepts
that the timer counts the number of seconds and the counter counts the number of operations or
pulses. At each operation the value of the accumulator increases and when the value of the
accumulator comes to the preset value of the counter then the counter stops.
Counter bits:
TT - Timer timing bit - This bit will be high during the counting process. It remains high
till accumulator value becomes equal to preset value
DN – Done – This bit will be high when the counting process is ended. It set to high
when the accumulator value becomes equal to preset value.
2.7.2.1 Counter UP (CTU):The CTU is an instruction that counts false-to-true rung
transitions. Rung transitions can be caused by events occurring in the program (from internal
logic or by external field devices) such as parts traveling past a detector or actuating a limit
switch. When rung conditions for a CTU instruction have made a false-to-true transition, the
accumulated value is incremented by one count, provided that the rung containing the CTU
instruction is evaluated between these transitions. The ability of the counter to detect false-to-
true transitions depends on the speed (frequency) of the incoming signal. The accumulated value
is retained when the rung conditions again become false. The accumulated count is retained until
cleared by a reset (RES) instruction that has the same address as the counter reset.
37
Fig 2.12d.Counter UP (CTU)
2.7.2.1 Counter Down (CTD):The CTD is an instruction that counts false-to-true rung
transitions. Rung transitions can be caused by events occurring in the program such as parts
traveling past a detector or actuating a limit switch. When rung conditions for a CTD instruction
have made a false-to-true transition, the accumulated value is decremented by one count,
provided that the rung containing the CTD instruction is evaluated between these transitions. The
accumulated counts are retained when the rung conditions again become false. The accumulated
count is retained until cleared by a reset (RES) instruction that has the same address as the
counter reset.
Fig 2.12f.Equal to
This input instruction is true when source A becomes equal to source B. The EQU instruction
compares two user specified values if values are equal, it allows rung continuity. The rung goes
true and output energies.
2.7.2.4 GEQ (greater than equal to)
This instruction compares two values and will be high when the counted value becomes equal to
38
or greater than the fixed value and will energize everything that is connected next to it.
39
integers are stored in two’s complement form.
2.7.2.7 LES (less than)
Use of the LES instruction is to test whether one value (source A) is less than another (source B).
If source A is less than the value at source B, the instruction is logically true. If the value at source
A is greater than or equal to the value at source B, the instruction is logically false. Source A must
be an address. Source B can either be a program constant or an address. Negative integers are
stored in two’s complement form.
Fig 2.12k.Limit
Use the LIM instruction to test for values within or outside a specified range, depending on how
you set the limits.
2.7.2.9 RES (Reset):
Fig2. 12l.Reset
Use a RES instruction to reset a timer or counter. When the RES instruction is enabled, it resets
the Timer ON Delay (TON), Retentive Timer (RTO), Count UP (CTU), or Count Down (CTD)
instruction having the same address as the RES instruction.When resetting a counter, if the RES
40
instruction is enabled and the counter rung is enabled, the CU or CD bit is reset. If the counter
preset value is negative, the RES instruction sets the accumulated value to zero. This in turn causes
the done bit to be set by a count down or count up instruction.
41
When RTO and conveyor motor runs by pressing start push button
42
when the valve operates and conveyor motor stops
43
after filling bottle the valve stops and conveyor starts again
44
Program of controlling lamp by timer and counter
45
Lamp will not glow even if we press push button. The lamp will glow after 20 sec by
pressing push button.
46
Chapter 4
PROJECT ON BOTTLE FILLING SYSTEM
4.1 INTRODUCTION:
Simplification of engineering and precise control of manufacturing process can result in significant
cost savings. The most cost-effective way, which can pay big dividends in the long run, is flexible
automation; a planned approach towards integrated control systems. It requires a conscious effort
on the part of plant managers to identify areas where automation can result in better
deployment/utilization of human resources and savings in man-hours, down time. Automation
need not be high ended and too sophisticated; it is the phased, step-by-step effort to automate,
employing control systems tailored to one’s specific requirements that achieves the most attractive
results. That is where Industrial electronics has been a breakthrough in the field of automation and
control techniques.
The aim of this project is to design a Plc (Programming Logic Controller) based automatic bottle
filling system that sense the presence of bottle and level of liquid in it and then fills it accordingly
up to a fixed level. In this project we developed proximity sensor using infrared sensor that detects
the presence of bottle.
Here we use Plc to control the filling of liquid in bottle. Plc provides the sample input to the
computer and with these Ladder Logic program generates control signal for solenoid tap and that
can be accessed by it through Plc.
4.2 FEATURES
It’s very efficient
Low cost
Easy to build
Reduce human efforts.
Working is very fast.
Performing tasks that are beyond human capabilities of size, weight, speed)
Reliability and maintainability.
Flexibility
47
4.3 BLOCK DIAGRAM OF BOTTLE FILLING PROJECT
Input IR
Switches Sensor
PLC
(programmable
logic controller)
Power
Supply
48
Fig 4.2.Power supply 12 volt.
4.4.2 I R sensor:
An infrared sensor is an electronic device that emits and/or detects infrared radiation in order to
sense some aspect of its surroundings. Infrared sensors can measure the heat of an object, as well
as detect motion. Many of these types of sensors only measure infrared radiation, rather than
emitting it, and thus are known as passive infrared (PIR) sensors. All objects emit some form of
thermal radiation, usually in the infrared spectrum. This radiation is invisible to our eyes, but can
be detected by an infrared sensor that accepts and interprets it. In a typical infrared sensor like a
motion detector, radiation enters the front and reaches the sensor itself at the center of the device.
This part may be composed of more than one individual sensor, each of them being made from
pyroelectric materials, whether natural or artificial. These are materials that generate an electrical
voltage when heated or cooled.Thesepyroelectric materials are integrated into a small circuit
board. They are wired in such a way so that when the sensor detects an increase in the heat of a
small part of its field of view, it will trigger the motion detector's alarm. It is very common for an
infrared sensor to be integrated into motion detectors like those used as part of a residential or
commercial security system.
In our project we are using IR sensor. Here is diagram of intruder sensor in fig18.
49
Fig 4.3. IR sensor
50
Fig .4.4. Programmable logic controller (PLC)
4.4.3 Conveyer:
We offer bottle transfer chain conveyor that is used to transfer bottles of different diameters from
one place to another. Widely finding application in bottling and engineering industries, the chain
conveyor has railing for bottle support. The high speed motor runs when strapping process starts.
4.4.4 Motor :
An electric motor is an electric machine that converts electrical energy into mechanical energy.
In normal motoring mode, most electric motors operate through the interaction between an electric
motor's magnetic field and winding currents to generate force within the motor. In certain
applications, such as in the transportation industry with traction motors, electric motors can operate
in both motoring and generating or braking modes to also produce electrical energy from
mechanical energy.
Found in applications as diverse as industrial fans, blowers and pumps, machine tools, household
appliances, power tools, and disk drives, electric motors can be powered by direct current (DC)
51
sources, such as from batteries, motor vehicles or rectifiers, or by alternating current (AC) sources,
such as from the power grid, inverters or generators. Small motors may be found in electric
watches.
52
Fig 4.7.Model of Project
These are three faces of our project on which the whole working of our project is depended. Now
first we will deeply study about these three module to understand the working of the project.
Bottle filling application animation:
53
54
55
56
57
58
59
Hardware wiring:
That is the third phase of the project in which we will assemble our project. Here is the block
diagram of our project:
5V
-
+ Sensor
+
Relay
O/P DC
I:3 I:4
PLC
P N VACD O:0 VACD O:1 VACD O:2
C C C
+
+
VALV
220V +
_ Motor -
+ -
12V
60
Working:
Start button
61
3. When sensor detects the bottle it will stop below the Valve.
62
5. To end the process press stop button.
Stop button
That project include following circuits:
1. Sensor:
2. Power supply:
63
3 PLC
4 Relay
5 Conveyer
64
6. Motor
REFERENCE
1. Manual of allenbraedlyRClogix500 .
3. <http://www.wikipedia .com>
4. <http://www.kirloskarpumps.com>
5. <http://www.engineersgarage.com>
65
66