Professional Documents
Culture Documents
IAU Report1
IAU Report1
Report on
Submitted By:-
i
Padmabhooshan Vasantraodada Patil Institute
of Technology, Budhgaon (Diploma)
DEPARTMENT OF ELECTRONICS & TELECOMMUNICATION
ENGINEERING
CertifiCate
Name Enrollment No.
Date:______________
Place:- BUDHGAON
Guide Head of Department Principal
Subhash.R. Jadhav Subhash.R.Jadhav B.B.Patil
ii
Contents
1 INTRODUCTION TO AUTOMATION ................................................ 1
2 Programmable Logic Controller ............................................................ 2
2.1 Features of PLCS ................................................................................... 2
2.2 History of PLCS..................................................................................... 3
2.3 Components of PLC:.............................................................................. 3
2.4 PLC OPERATION AND PLC SCAN CYCLE: .................................... 4
2.5 Ladder Logic .......................................................................................... 5
2.6 Ladder Logic Programming ................................................................... 6
3 SCADA .................................................................................................. 8
3.1 Introduction ............................................................................................ 8
3.2 WONDERWARE-INTOUCH................................................................ 9
3.3 Manufacturers of SCADA ................................................................... 10
3.4 Features of SCADA ............................................................................. 10
3.4.1 Dynamic Process Graphics............................................................... 10
3.4.2 Real-time and Historical Trends ........................................................11
3.4.3 Alarms .............................................................................................. 12
3.4.4 Recipe Management ......................................................................... 12
3.4.5 Security............................................................................................. 14
3.4.6 Device Connectivity ......................................................................... 14
3.4.7 Database Connectivity...................................................................... 15
3.4.8 Scripts ............................................................................................... 15
3.5 Potential benefits of SCADA ............................................................... 15
3.6 Where SCADA is used ? ...................................................................... 15
iii
4 Project Using PLC: A Pharmaceutical plant ........................................ 17
4.1 Project Objective:................................................................................. 17
4.2 Hardware and Software Used: ............................................................. 17
4.3 Working of Project: .............................................................................. 18
4.4 Programming: ...................................................................................... 19
4.5 Results .................................................................................................. 22
4.6 Future Scope ........................................................................................ 22
5 Project Using SCADA:Bottle Filling & Capping Station ................... 22
5.1 Project Objective:................................................................................. 22
5.2 Software Used: ..................................................................................... 23
5.3 Working of Project: .............................................................................. 23
5.4 Programming........................................................................................ 24
5.5 Results .................................................................................................. 30
5.6 Future Scope ........................................................................................ 30
6 CONCLUSION .................................................................................... 31
List of Figures
1 PLC scan cycle . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 Basic Ladder Logic Program . . . . . . . . . . . . . . . . . . . 5
3 Basic Ladder Logic Program . . . . . . . . . . . . . . . . . . . 6
4 Basic Program to show input and output . . . . . . . . . . . . . 6
5 Examine if Closed . . . . . . . . . . . . . . . . . . . . . . . . . 6
6 Output energize . . . . . . . . . . . . . . . . . . . . . . . . . . 7
7 Examine if Open ......................... 7
8 Schematic of DPG ........................ 10
9 Schematic of Trend . . . . . . . . . . . . . . . . . . . . . . . . 11
iv
10 Schematic of alarm . . . . . . . . . . . . . . . . . . . . . . . . 12
11 Schematic of Receipe management . . . . . . . . . . . . . . . . 12
12 Receipe manager window . . . . . . . . . . . . . . . . . . . . . 13
13 Schematic of security . . . . . . . . . . . . . . . . . . . . . . . 13
14 Schematic of PLC-1000 micrologix ............... 16
15 Flowchart of Project . . . . . . . . . . . . . . . . . . . . . . . . 17
16 Ladder diagram in De-energize state . . . . . . . . . . . . . . . 18
17 Rungs are Energize and Start button pressed . . . . . . . . . . . 18
18 Timer T4:0 counts 30 . . . . . . . . . . . . . . . . . . . . . . . 20
19 Timer T4:1 counts 20 . . . . . . . . . . . . . . . . . . . . . . . 21
20 Schematic of Object Properties . . . . . . . . . . . . . . . . . . 24
21 Window in develpoment mode in Window maker ........ 25
22 Schematic of Window Script used ................ 26
23 Filling of the bottle . . . . . . . . . . . . . . . . . . . . . . . . 27
24 Capping of the bottle . . . . . . . . . . . . . . . . . . . . . . . 28
25 Bottle is sent to storage after its filling and capping ....... 28
v
1 INTRODUCTION TO AUTOMATION
Advantages of Automation:
Disadvantages of Automation:
1
3. High initial cost: The automation of a new product or plant requires ahuge
initial investment in comparison with the unit cost of the product.
2
2.2 History of PLCS
1. The first PLCS were designed and developed by Modicon as a relay
replacer for GM and Landis.
2. The primary reason for designing such a device was eliminating the
largecost involved in replacing the complicated relay based machine
control systems for major U.S. car manufacturers.
3. These controllers eliminated the need of rewiring and adding
additionalhardware for every new configuration of logic.
4. The first PLC, model 084, was invented by Dick Morley in 1969.
5. The first commercial successful PLC, the 184, was introduced in 1973
and was designed by Michel Greenberg.
3
4. Output Relays (coils) - These are connected to the outside world.
Theyphysically exist and send on/off signals to solenoids, lights, etc. They
can be transistors, relays depending upon the model chosen.
5. Data Storage - Typically there are registers assigned to simply store
data.They are usually used as temporary storage for math or data
manipulation.
They can also typically be used to store data when power is removed from
the PLC. Upon power-up they will still have the same contents as before
power was removed
1. Input Scan: Detects the state of all input devices that are connected to
thePLC.
2. Program Scan: Executes the user created program logic.
3. Output Scan: Energizes or de-energize output devices that are
connectedto the PLC. Depending on the PLC design, this process of
updating the output devices may be done at the end of program execution
or updated immediately upon execution of its corresponding logic
statement in the user program
4. Housekeeping: This step includes communications with
programmingterminals, internal diagnostics etc.
4
Figure 1: PLC scan cycle
SCAN TIME Time taken by PLC to execute these three steps (Checking
Input status, Executing Program, Updating Output Status) is denoted by its scan
time.
5
Figure 2: Basic Ladder Logic Program
came more sophisticated it has also been used in very complex automation
systems.A simplified ladder logic circuit with one input and one output. The
logic of the rung above is such:
1. If Input1 is ON (or true) - power (logic) completes the circuit from theleft
rail to the right rail - and Output1 turns ON (or true).
6
2. If Input1 is OFF (or false) - then the circuit is not completed and logicdoes
not flow to the right - and Output 1 is OFF (or false).
With just a handful of basic symbols such as a normally open contact, normally
closed contact, normally open coil, normally closed coil, timer and counter most
logical conditions can be represented.
Examine if Closed
This can be used to represent any input to the control logic such as a switch
or sensor, a contact from an output, or an internal output. When solved the
referenced input is examined for a true (logical 1) condition. If it is true, the
contact will close and allow logic to flow from left to right. If the status is
FALSE (logical 0), the contact is open and logic will NOT flow from left to
right.
Output energize
This can be used to represent any discrete output from the control logic.
When ”solved” if the logic to the left of the coil is TRUE, the referenced output
is TRUE (logical 1).
Examine if Open
When solved the referenced input is examined for an OFF condition. If the
status is OFF (logical 0) power (logic) will flow from left to right. If the status
is ON, power will not flow.
7
A timer is simply a control block that takes an input and changes an output
based on time. It is used for providing delay. There are two basic types of timers.
An On-Delay Timer takes an input, waits a specific amount of time, allows logic
to flow after the delay. An Off-Delay Timer allows logic to flow to an output
and keeps that output true until the set amount of time has passed, then turns it
false, hence off-delay.
A counter simply counts the number of events that occur on an input. There
are two basic types of counters called up counters and down counters. As its
name implies, whenever a triggering event occurs, an up counter increments the
counter, while a down counter decrements the counter whenever a triggering
event occurs.
3 SCADA
3.1 Introduction
SCADA stands for Supervisory Control And Data Acquisition. As the name
indicates, it is not a full control system, but rather focuses on the supervisory
level. As such, it is a purely software package that is positioned on top of
hardware to which it is interfaced, in general via PLC. SCADA systems are now
also penetrating the experimental physics laboratories for the controls of
ancillary systems such as cooling, ventilation, power distribution, etc. More
recently they were also applied for the controls of smaller size particle detectors
such as the L3 moon detector and the NA48 experiment, to name just two
examples at CERN.
SCADA systems have made substantial progress over the recent years in
terms of functionality, scalability, performance and openness such that they are
an alternative to in house development even for very demanding and complex
control systems as those of physics experiments.
The process can be industrial, infrastructure or facility based as described
below:
8
3. Facility Process: it occur both in public facilities and private ones,
including buildings, airports, ships and space stations. They monitor and
control HVAC, access and energy consumption.
3.2 WONDERWARE-INTOUCH
Intouch is worlds leading supervisory control and data acquisition software. The
InTouch software package consist of Tags (Memory + I/O). The package is
available in 64, 256, 1000 and 64,000 Tags with the three options:
With DRN package one can develop as well as run the application but in case
of RN one cannot develop/modify the application. The application can be
developed by using DRN package and can be installed on RN package.
9
3.3 Manufacturers of SCADA
1. Allen Bradley : RS View
2. Siemens: win cc
3. Wonderware : Intouch
1. Using this feature, one can develop graphics which can resemble theplant.
2. The graphic can include Reactor, Valves, Pumps, agitators, conveyors
aswell as other equipment and machinery used in the plant.
3. The status of the equipment running / stopped can be shown using
different color / animations.
4. Typically the SCADA Software will have many ready to use symbols
forproper representation which can be used in any type of industry.
10
Figure 8: Schematic of DPG
11
Figure 9: Schematic of Trend
3.4.3 Alarms
1. Every plant need proper monitoring and control of the process parameters.
2. Alarms represent warnings of process conditions that could cause
problems, and require an operator response.
3. Generally alarms are implemented by using the lamps or hooters in
fieldbut in SCADA it can be represented using animation.
4. In many SCADA software, four type of alarm limits are used ie HI, HIHI,
LOW, LOW LOW.
1. In many case we use the same plant for manufacturing different product
range. for example an oil blending plant can manufacture power oil,
transformer oil, automobile oil.
2. The recipe management is facility is used to maintain various recipes
ofdifferent products and implement it on the process.
3. The recipe can be stored in a single server and it can be fetched by
anyclient server from any area to run the process.
12
Figure 11: Schematic of Receipe management
13
3.4.5 Security
14
3.4.7 Database Connectivity
3.4.8 Scripts
15
2. Water and sewage: State and municipal water utilities use SCADA
tomonitor and regulate water flow, reservoir levels, pipe pressure and
other factors. Industrial Processes such as Manufacutring.
16
4 Project Using PLC: A Pharmaceutical plant
17
(c) Diagnostics
(d) Dependable communications
18
4.4 Programming:
1. Figure with explanation
19
binary bit B3:0/0.When START button is pressed the input I:0/0 is
HIGH and input I:0/1 is already HIGH because its XIO. This
energizes the output B3:0/0.
(b) Holding circuit is implemented by attaching B3:0/0 as input
withI:0/0. This ensures that B3:0/0 remains energized or HIGH even
if the force is removed from START button.
(c) If STOP button is pressed i.e. STOP is HIGH then XIO I:0/1
goesLOW. This creates a break in the circuit, therefore, de-
energizing the output B3:0/0.
Rung 0001:
(a) B3:0/0 acts as input to the TON timer T4:0/0 with preset value 30
and accumulator value 0.
(b) When B3:0/0 goes HIGH, the accumulator value of the timer T4:0/0
starts increasing until it becomes equal to the preset.
(c) When accumulator value becomes equal to the preset value the
DNbit of the timer goes HIGH.
Rung 0002:
(a) B3:0/0 acts as the input to two parallel outputs O:0/0 and O:0/1.
These outputs represent the output LED.
(b) When B3:0/0 goes HIGH, the outputs O:0/0 and O:0/1 are
energizedand the two LED glow. In the context of the project this
represents that two liquids are being mixed in a container.
Rung 0003:
(a) The DN bit of timer T4:0 i.e. T4:0/DN acts as input to the timerT4:1.
(b) This T4:1 indicates the time for which the mixture of the two
liquidsis to be heated at 100 ◦ C.
2. Figure with explanation
20
Figure 18: Timer T4:0 counts 30
Rung 0003:
(a) As stated above when accumulator value becomes equal to the
presetvalue the DN bit of the timer T4:0 goes HIGH. When this
happens the accumulator value of TON timer T4:1 starts to increase
till it reaches the value equal to that of preset (=20).
Rung 0004:
(a) The DN bit of T4:1 i.e. T4:1/DN is connected to the output O:0/2.
The O:0/2 represents the third output LED.
21
Figure 19: Timer T4:1 counts 20
4.5 Results
The two liquids were mixed (indicated by glowing of first two LED) and the
mixture was heated for 20 seconds (indicated by glowing of the third LED).
22
5.2 Software Used:
Wonderware Intouch version 9.0
Wonderware is a brand of industrial software sold by Schneider Electric.
Wonderware was part of Invensys PLC, and Invensys PLC was acquired in
January 2014 by Schneider Electric. Wonderware software is used in diverse
industries, including: Facilities Management, Food and Beverage, Mining and
Metals, Power, Oil and Gas, and Water and Waste water. Wonderware Intouch
software is an open and extensible Supervisory HMI and SCADA solution that
enables the rapid creation of standardized, reusable visualization applications
and deployment across an entire enterprise. InTouch SCADA consists of three
major programs:
1. Application Manager,
2. Window Maker
3. Window Viewer
23
When the switch is turned on, a bottle will be filled to full by three different
tanks filled with different liquids as indicated by their color. Liquid poured to
the bottle when its presence under the tank is sensed. Then a clamper brings
down the cap to the mouth of bottle, places it there and then returns back to its
original position. The bottle is capped is then moved to the storage.
5.4 Programming
1. In the Intouch Application Manager, we select file → New → Create new
Application. This creates a new Intouch application.
2. When we double click on this application, it opens Intouch Window
maker.
24
Figure 20: Schematic of Object Properties
10. For our project we require bottle, cap, tanks, clamper, conveyor belt
etc.these objects are picked up the symbol factory and other objects like
wheels, door etc. are built by us using the basic shapes.
11. Next we place the objects as per the industrial setup and modify the
objects property. For example, all the tanks must be full initially and the
liquid level of the tank should decrease by 20% whenever the tank fills
the bottle. For this we double click on the tank, select vertical under fill
option. We give the tag name A and then specify the values of maximum
and minimum fill percentages along with the values of the A.
12. Similarly other properties of the objects are changed.
13. The finished window is shown as below:
25
Figure 21: Window in develpoment mode in Window maker
14. We see that there are different bottles under the tanks whereas in the
runtime we require only one of them. This is done keeping in mind the
visibility of each bottle.
15. Visibility is a property which is required when we want to use the
sameproperties of an object for more than once with different values of
tag name. In Intouch this is not allowed, therefore we make duplicate of
the object, then modify their properties and apply the visibility property.
16. Visibility comes under the category of miscellaneous property. One
moremiscellaneous property which we have used in this project is
orientation. We have used this property to show the rotation of the wheels
of the conveyor belt so that the conveyor appears to be moving.
17. Since there is no manual work i.e. no slider is being used, window
scripthas to be used for incrementing the value of the counter, whose tag
name is used as the expression for all other objects.
18. The script written for this project is shown below:
26
Figure 22: Schematic of Window Script used
27
100, the value of A is reset to 0 and the process repeats itself in an infinite
loop until the switch is put off.
22. Now, we test our project in window viewer. For this we click on
”Runtime!” icon at the top right corner of the tool bar.
23. This option takes us to the run- time environment. As soon as
WindowViewer is started we see that it follows the instructions of ”On
Show” until the switch is turned on. As soon as the switch is turned on, it
follows the instructions of ”While Showing”.
24. In case we find some anomaly in execution, we need to switch to
WindowMaker for rectifying it. For this we click on the ”development!”
icon placed at the top right corner of the Window Viewer.
25. We can change our script and properties of the various objects used
inWindow Viewer but test its execution in Window Maker. The functions
of both are different.
26. The following snapshot shows the execution of the program:
(a) Filling of the bottle by the last tank.
28
Figure 24: Capping of the bottle
Figure 25: Bottle is sent to storage after its filling and capping
27. This process continues to execute repeatedly until the witch is turned off.
29
5.5 Results
The design of ”Bottle Filling and Capping Station” is successfully implemented
in Intouch SCADA.
30
6 CONCLUSION
31
32