SlideShare a Scribd company logo
1 of 6
Lab
Student Name: Muhammad jawhar
Class: 4 Stage – Group:A1
Course Title: PLC Lab.
EXP NO: 4
EXP. Name: : : PLC Program for Water filling and Discharging Process
Water filling and Discharging Process
College of Engineering
Salahaddin University of Erbil
Academic Year 2021-2022
1. INTRODUCTION
A Programmable Logic Controller, PLC or Programmable Controller may be a computer used for
automation of mechanical device processes. It is used to convert previously used “Relay Logic” or “Wired
Logic” for automation of industrial purposes into “Ladder Logic”. Unlike general computers, the PLC is
designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical
noise, and resistance to vibration and impact. In our project we are using AB-Micrologix 1400 PLC.
The project “Water Tank Level Controller by using PLC” is designed to monitor and control the level of
liquid in the tank. The system has associate automatic pumping system hooked up thereto thus on refill the
tank once the liquid gets to the lower threshold, while offing the pump once the liquid gets to the higher
threshold.
Sustainability of available water resources in many reasons of the world is now dominant issue.
This problem is quietly related to poor water allocation, inefficient use lack of adequate and integrated
water management.
Water is often used for agriculture, industry and domestic consumption. Therefore, efficient use and water
monitoring and controlling are potential constraint for home or office
water management system.
Problem Diagram
Problem Solution
 To solve this problem, we will use S7-1200 PLC for programming.
 Here we use two sensors for level measurement, one is for High level and second is for low level.
 We use feeding valve (MV1) for filling Cycle of the tank and discharge valve (MV2) for discharging
cycle of the tank. Both will be controlled according to sensor logic. So when the water level goes
below low level then feeding valve will turned ON automatically and when water level reaches high
and the it senses by high level sensor, then discharging process will be turned ON automatically.
 When high level is detected then buzzer will turn ON for alarm purpose. Cycle will stop if user will
press stop button from the control panel.
List of inputs/outputs
Digital Inputs Digital Outputs
Start PB : I0.0 Cycle ON : Q0.0
Stop PB : I0.1 Valve MV1 (Feed) : Q0.1
TLB 1 : I0.3 Valve MV2 (Discharge) : Q0.2
TLB 2 : I0.2 Agitator/Mixer M : Q0.3
Buzzer : Q0.4
PLC Water Filling and Discharging Process
Program Description
4
 For this application, we used S7-1200 PLC and TIA portal software for
programming.
 In Network 1 we used latching circuit for cycle ON (Q0.0) output.
It can be started bypressing START PB (I0.0) and stop by pressing
STOP PB (I0.1).
 When cycle will be started then system will check level of the tank.
If tank level is low then then feeding process will start and tank
level is high then Discharge cycle will start.
 Here we have taken NO contact for both sensors in the program
for simplicity. It can be done by relay logic in field or you can use
such type of sensors.
 When tank will detect low level then TLB 2 (I0.2) will be activated and
then feeding cyclewill be ON. Here we have taken NC contact of TLB1
(I0.3) so when PLC will detect high level then it will stop Feeding
cycle.
 When tank will detect high level then TLB 1 (I0.3) will be activated
and discharging cyclewill be ON. Here we have taken NC contact of
TLB2 (I0.2) so when PLC will detect low level then it will stop
discharge cycle.
 Mixer M (Q0.3) should be ON during discharging cycle for mixing
purpose.
 Here we also considered an alarm for high level to inform
operator. When TLB 1(I0.3)will be detected then buzzer (Q0.4)
will be activated.
 During all function, cycle should be ON.
Runtime Test Cases
Note : The above PLC Logic provided for basic idea about application of PLC
in Water filling andDischarging Process. The Logic is limited and not complete
application.
5
Discussion
PLC ProgramLogic
1-The agitator motor is to be started and stopped bya pushbutton station.
2-The solenoid valves are to be open (Energized) when the agitator is
running.
3-Pump N0.1 starts at the 75% liquid level and stops at the 25% level. The
pump will run only if the agitator is running.
4-On a high-level alarm (Tank 90%), an alarm light will come ON and stay
on even if the tank level drops. An operator must press the reset button to
turn off the light. On the high-level alarm, both the solenoid valve will also
close (de-energize).
5-A low-level alarm light shall be provided (Tank 10%), similar to the high
level, and reset using the same pushbutton.
Ladder Diagramis a graphical programming language that you use to
develop software for programmable logic controllers (PLCs). It is one of
the languages that the IEC 61131 standard specifies for use with PLCs. A
program in ladder diagram notation is a circuit diagram that emulates
circuits of relay logic hardware. The underlying program uses Boolean
expressions that translate readily to switches and relays.
6
Logic Description :
Auto : if Auto Mode selected in Local Control Panel, then pump will be
logically controlled based on Low Level Switch and High Level Switch
Manual : if Manual Mode Selected in Local Control Panel, then
irrespective of Low Level Switch & High Level Switch Status, Pump will
be controlled manually using ON/OFF button in Local Control Panel.
 When the water level reaches low level then pump will be stopped.
 if the level of the water reaches high point, the pump will started so
that the water can be drained and thus lowering the level.
 Indication Panel : This panel contains LED’s to show the status of
the water level control. It has Pump Running, Low Level & High
Level Signals
 If pump is running then the Pump Running status lamp will be ON.
 then, if Low Level Switch activated then Low Level Status lamp will
be ON.
 if High Level Switch activated then High Level Status lamp will be
ON.


More Related Content

Similar to PLC4.docx

Plc (PROGRAMMABLE LOGIC CONTROLLER)
Plc (PROGRAMMABLE LOGIC CONTROLLER)Plc (PROGRAMMABLE LOGIC CONTROLLER)
Plc (PROGRAMMABLE LOGIC CONTROLLER)Urval Chotalia
 
water level indicator report
water level indicator reportwater level indicator report
water level indicator reportRaza Jahangir
 
Contol of water pump using plc
Contol of water pump using plcContol of water pump using plc
Contol of water pump using plcGhousiaSamdani
 
Parking Control System using PLC
Parking Control System using PLCParking Control System using PLC
Parking Control System using PLCZunAib Ali
 
Advanced insrumentation lab manual
Advanced insrumentation lab manualAdvanced insrumentation lab manual
Advanced insrumentation lab manualGautam sai teza
 
Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic ControllerHimshekhar Das
 
IRJET- PLC based Washing Machine
IRJET- PLC based Washing MachineIRJET- PLC based Washing Machine
IRJET- PLC based Washing MachineIRJET Journal
 
Plc scada by bhushan kumbhalkar
Plc scada by bhushan kumbhalkarPlc scada by bhushan kumbhalkar
Plc scada by bhushan kumbhalkarBhushan Kumbhalkar
 
Full report of hyperglass cleaner
Full report of hyperglass cleanerFull report of hyperglass cleaner
Full report of hyperglass cleanerShwetonKedia
 
Full report of hyperglass cleaner
Full report of hyperglass cleanerFull report of hyperglass cleaner
Full report of hyperglass cleanerShwetonKedia
 
water level controller using 8051 microcontroller
water level controller using 8051 microcontrollerwater level controller using 8051 microcontroller
water level controller using 8051 microcontrollerPrachi Pandey
 
Functional Design Specification of Hyperglass Cleaning
Functional Design Specification of Hyperglass CleaningFunctional Design Specification of Hyperglass Cleaning
Functional Design Specification of Hyperglass CleaningShwetonKedia
 
JamesWijonoPLCBottleFilling
JamesWijonoPLCBottleFillingJamesWijonoPLCBottleFilling
JamesWijonoPLCBottleFillingDavid James
 
Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...
Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...
Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...IJITCA Journal
 
Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...
Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...
Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...IJITCA Journal
 

Similar to PLC4.docx (20)

I012455457
I012455457I012455457
I012455457
 
Plc (PROGRAMMABLE LOGIC CONTROLLER)
Plc (PROGRAMMABLE LOGIC CONTROLLER)Plc (PROGRAMMABLE LOGIC CONTROLLER)
Plc (PROGRAMMABLE LOGIC CONTROLLER)
 
water level indicator report
water level indicator reportwater level indicator report
water level indicator report
 
Contol of water pump using plc
Contol of water pump using plcContol of water pump using plc
Contol of water pump using plc
 
Parking Control System using PLC
Parking Control System using PLCParking Control System using PLC
Parking Control System using PLC
 
FINAL YEAR PPT2013
FINAL YEAR PPT2013FINAL YEAR PPT2013
FINAL YEAR PPT2013
 
Advanced insrumentation lab manual
Advanced insrumentation lab manualAdvanced insrumentation lab manual
Advanced insrumentation lab manual
 
Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic Controller
 
IRJET- PLC based Washing Machine
IRJET- PLC based Washing MachineIRJET- PLC based Washing Machine
IRJET- PLC based Washing Machine
 
Plc scada by bhushan kumbhalkar
Plc scada by bhushan kumbhalkarPlc scada by bhushan kumbhalkar
Plc scada by bhushan kumbhalkar
 
Plc
PlcPlc
Plc
 
Full report of hyperglass cleaner
Full report of hyperglass cleanerFull report of hyperglass cleaner
Full report of hyperglass cleaner
 
Full report of hyperglass cleaner
Full report of hyperglass cleanerFull report of hyperglass cleaner
Full report of hyperglass cleaner
 
water level controller using 8051 microcontroller
water level controller using 8051 microcontrollerwater level controller using 8051 microcontroller
water level controller using 8051 microcontroller
 
documentation (1)
documentation (1)documentation (1)
documentation (1)
 
V46 13
V46 13V46 13
V46 13
 
Functional Design Specification of Hyperglass Cleaning
Functional Design Specification of Hyperglass CleaningFunctional Design Specification of Hyperglass Cleaning
Functional Design Specification of Hyperglass Cleaning
 
JamesWijonoPLCBottleFilling
JamesWijonoPLCBottleFillingJamesWijonoPLCBottleFilling
JamesWijonoPLCBottleFilling
 
Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...
Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...
Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...
 
Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...
Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...
Effect of Different Defuzzification methods in a Fuzzy Based Liquid Flow cont...
 

More from Mahamad Jawhar

More from Mahamad Jawhar (20)

text book Programmable-Logic-Controllers plc.pdf
text book Programmable-Logic-Controllers plc.pdftext book Programmable-Logic-Controllers plc.pdf
text book Programmable-Logic-Controllers plc.pdf
 
2.pdf
2.pdf2.pdf
2.pdf
 
3.pdf
3.pdf3.pdf
3.pdf
 
1.pdf
1.pdf1.pdf
1.pdf
 
robotic2.docx
robotic2.docxrobotic2.docx
robotic2.docx
 
Power Plant Engineering - (Malestrom) (1).pdf
Power Plant Engineering - (Malestrom) (1).pdfPower Plant Engineering - (Malestrom) (1).pdf
Power Plant Engineering - (Malestrom) (1).pdf
 
ref3.pdf
ref3.pdfref3.pdf
ref3.pdf
 
I-Section-US-1003.pdf
I-Section-US-1003.pdfI-Section-US-1003.pdf
I-Section-US-1003.pdf
 
ref.pdf
ref.pdfref.pdf
ref.pdf
 
lect 01 (1).pdf
lect 01 (1).pdflect 01 (1).pdf
lect 01 (1).pdf
 
plasma cutting.pdf
plasma cutting.pdfplasma cutting.pdf
plasma cutting.pdf
 
Grad. Proj. Poster Templete akam.docx
Grad. Proj. Poster Templete akam.docxGrad. Proj. Poster Templete akam.docx
Grad. Proj. Poster Templete akam.docx
 
project format writting 2.docx
project format writting 2.docxproject format writting 2.docx
project format writting 2.docx
 
PLC 1 (2).docx
PLC 1 (2).docxPLC 1 (2).docx
PLC 1 (2).docx
 
Project Cooling Tower.pptx
Project Cooling Tower.pptxProject Cooling Tower.pptx
Project Cooling Tower.pptx
 
final project.docx
final project.docxfinal project.docx
final project.docx
 
final project1.docx
final project1.docxfinal project1.docx
final project1.docx
 
project cooling tower.docx
project cooling tower.docxproject cooling tower.docx
project cooling tower.docx
 
robotic.docx
robotic.docxrobotic.docx
robotic.docx
 
report project.docx
report project.docxreport project.docx
report project.docx
 

Recently uploaded

Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 

Recently uploaded (20)

Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 

PLC4.docx

  • 1. Lab Student Name: Muhammad jawhar Class: 4 Stage – Group:A1 Course Title: PLC Lab. EXP NO: 4 EXP. Name: : : PLC Program for Water filling and Discharging Process Water filling and Discharging Process College of Engineering Salahaddin University of Erbil Academic Year 2021-2022
  • 2. 1. INTRODUCTION A Programmable Logic Controller, PLC or Programmable Controller may be a computer used for automation of mechanical device processes. It is used to convert previously used “Relay Logic” or “Wired Logic” for automation of industrial purposes into “Ladder Logic”. Unlike general computers, the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact. In our project we are using AB-Micrologix 1400 PLC. The project “Water Tank Level Controller by using PLC” is designed to monitor and control the level of liquid in the tank. The system has associate automatic pumping system hooked up thereto thus on refill the tank once the liquid gets to the lower threshold, while offing the pump once the liquid gets to the higher threshold. Sustainability of available water resources in many reasons of the world is now dominant issue. This problem is quietly related to poor water allocation, inefficient use lack of adequate and integrated water management. Water is often used for agriculture, industry and domestic consumption. Therefore, efficient use and water monitoring and controlling are potential constraint for home or office water management system. Problem Diagram Problem Solution  To solve this problem, we will use S7-1200 PLC for programming.  Here we use two sensors for level measurement, one is for High level and second is for low level.  We use feeding valve (MV1) for filling Cycle of the tank and discharge valve (MV2) for discharging cycle of the tank. Both will be controlled according to sensor logic. So when the water level goes below low level then feeding valve will turned ON automatically and when water level reaches high and the it senses by high level sensor, then discharging process will be turned ON automatically.  When high level is detected then buzzer will turn ON for alarm purpose. Cycle will stop if user will press stop button from the control panel. List of inputs/outputs Digital Inputs Digital Outputs Start PB : I0.0 Cycle ON : Q0.0 Stop PB : I0.1 Valve MV1 (Feed) : Q0.1 TLB 1 : I0.3 Valve MV2 (Discharge) : Q0.2 TLB 2 : I0.2 Agitator/Mixer M : Q0.3 Buzzer : Q0.4
  • 3. PLC Water Filling and Discharging Process Program Description
  • 4. 4  For this application, we used S7-1200 PLC and TIA portal software for programming.  In Network 1 we used latching circuit for cycle ON (Q0.0) output. It can be started bypressing START PB (I0.0) and stop by pressing STOP PB (I0.1).  When cycle will be started then system will check level of the tank. If tank level is low then then feeding process will start and tank level is high then Discharge cycle will start.  Here we have taken NO contact for both sensors in the program for simplicity. It can be done by relay logic in field or you can use such type of sensors.  When tank will detect low level then TLB 2 (I0.2) will be activated and then feeding cyclewill be ON. Here we have taken NC contact of TLB1 (I0.3) so when PLC will detect high level then it will stop Feeding cycle.  When tank will detect high level then TLB 1 (I0.3) will be activated and discharging cyclewill be ON. Here we have taken NC contact of TLB2 (I0.2) so when PLC will detect low level then it will stop discharge cycle.  Mixer M (Q0.3) should be ON during discharging cycle for mixing purpose.  Here we also considered an alarm for high level to inform operator. When TLB 1(I0.3)will be detected then buzzer (Q0.4) will be activated.  During all function, cycle should be ON. Runtime Test Cases Note : The above PLC Logic provided for basic idea about application of PLC in Water filling andDischarging Process. The Logic is limited and not complete application.
  • 5. 5 Discussion PLC ProgramLogic 1-The agitator motor is to be started and stopped bya pushbutton station. 2-The solenoid valves are to be open (Energized) when the agitator is running. 3-Pump N0.1 starts at the 75% liquid level and stops at the 25% level. The pump will run only if the agitator is running. 4-On a high-level alarm (Tank 90%), an alarm light will come ON and stay on even if the tank level drops. An operator must press the reset button to turn off the light. On the high-level alarm, both the solenoid valve will also close (de-energize). 5-A low-level alarm light shall be provided (Tank 10%), similar to the high level, and reset using the same pushbutton. Ladder Diagramis a graphical programming language that you use to develop software for programmable logic controllers (PLCs). It is one of the languages that the IEC 61131 standard specifies for use with PLCs. A program in ladder diagram notation is a circuit diagram that emulates circuits of relay logic hardware. The underlying program uses Boolean expressions that translate readily to switches and relays.
  • 6. 6 Logic Description : Auto : if Auto Mode selected in Local Control Panel, then pump will be logically controlled based on Low Level Switch and High Level Switch Manual : if Manual Mode Selected in Local Control Panel, then irrespective of Low Level Switch & High Level Switch Status, Pump will be controlled manually using ON/OFF button in Local Control Panel.  When the water level reaches low level then pump will be stopped.  if the level of the water reaches high point, the pump will started so that the water can be drained and thus lowering the level.  Indication Panel : This panel contains LED’s to show the status of the water level control. It has Pump Running, Low Level & High Level Signals  If pump is running then the Pump Running status lamp will be ON.  then, if Low Level Switch activated then Low Level Status lamp will be ON.  if High Level Switch activated then High Level Status lamp will be ON. 