SlideShare una empresa de Scribd logo
1 de 30
PLC programming for
applications and
maintenance
By
Dr. Palitha Dassanayake
Content
 Programming a simple application
 Faultfinding and maintenance
 Programming application for
sequential operations
 Another program application
Constructing a PLC Program
Methodology in programming a PLC are given as
follows.
 
2.Write down or draw the requirements, logics or/and sequences 
in an understandable format using pseudocodes, flowcharts or 
UML (in some special cases). This may be skipped for smaller tasks,
 but essential when that the task becomes large or complicated. 
However, it is good practice to conduct this step to avoid unnecessary 
logical errors. 
1. Identify the requirements or logical sequences that are
going to be handled by a PLC.
Draw the necessary tables or maps to illustrate the PLC
ogic that match with the requirement, but independent
om the language code (ladder, logo or statement list)
4. Connect the PLC to the system to be controlled and to the 
computer that PLC is going to get programmed 
 Identify the input and output cables that are connected in 
der to program.
6. Write the PLC program according to step 3 using the identified 
inputs/outputs in step 5. 
7. See the possibilities of improving the program 
8. Validate the program before the actual run. This may be achieved 
through a simulation facilitated in the software or using a virtual 
model using bulb and switches 
 Check the program. Remove the connection from the computer 
necessary. It  may be conducted part by part in a large application. 
lso, when the program is run for the first time, required safety 
ecautions must be made before hand in order to avoid any damages
ue to logical errors.
0.Remove the connection from the computer if that has not been 
one and use the PLC for the application.
Example
A1
Is
C1
C2
 Fig:Two views of the system 
Is-Inductive
sensor
A1-Pneumatic Actuator
C1-Collector
C2-Collector
Gear
Box
 motor-m
item
Os-Optical sensor
A0
A0
1. When Os detects an item, it should be pushed by A0 and conveyor
         should start moving 
2.      If the item is metal, it has to be identified by Is.  
3.       Metal items are to be pushed by A1 and collected in C1.  
4.      Non-metal items are to be collected at the end of the belt to C2  
5. If an item is in process, even if Os detects an item, it should not be
    pushed by A1 until the previous item is fully processed.  
Start -No item Os=0
Os=1 A0 should be ejected provided no other item is in process
If the item is metal, it is sensed by Is.
If Is=1 item is metal, this should be remembered
If Is had been 1 it has to pushed by A1 after a time interval
If the item is not metal, it should not be pushed and collected at
the end. The time required to travel is also required.
Amplifier
Electro-pneumatic
valve
PLC
Operating
Voltage –24 v
I0.1
I0.0
Q0.0
Q0.1
I s-
C
C2
Gear
Box
m
Os
If output the sensor
is in mv
A/C motor
RelayA0
Q0.2
Electro-pneumatic
valve
A1
Os - I0.0
Is - I0.1
A1 - Q0.0
M - Q0.1
A0 - Q0.2
Input-output connections
M0.0 - An item is in process
M0.1- The item is Metallic
0.3 sec time is required for a pneumatic actuator to activate
Operation Time(s)
Activate A0 0
Near A1 10
End of the belt 15
Start -No item Os=0
Os=1 A0 should be ejected provided no other item is in process
Time=0.3 sec
T33 Q0.2
R
M0.0
S
Q0.2 T33
30+
IN
PT
TON
Q
ET
I0.0 M0.0 Q0.2
S
If the item is metal, it is sensed by Is.
If Is=1 item is metal, this should be remembered
I0.1 M0.1
S
If Is had been 1 it has to pushed by A1 after a time interval
T37 T34
30+
IN
PT
TOF
Q
ET
T34
T34 Q0.0M0.1
M0.0 T37
100+
IN
PT
TON
Q
ET
T37
If the item is not metal, it should not be pushed and collected at
the end. The time required to travel is also required.
You must reset already set items once the process is completed
M0.0 T38
150+
IN
PT
TON
Q
ET
T38
Q0.0
T38
M0.1
R
M0.0
R
Fault in a system
System is not working at all
1. Check whether PLC is in the run mode
Stop mode, change
Error Mode, Restart PLC again error go to Step 2
2. Check inputs
No input working check input power supply, connections etc
Some inputs not working, check the connected wires, sensors or switches
and interfaces
All inputs working go to Step 3
3. Check outputs
Check the outputs in the order it should work
Check the LED of the PLC, if it is working find the fault in the connection or device
No LED output is on, down load the program
Communication with PLC is not possible replace PLC
After downloading the programming Not working replace PLC
Faults and causes
Os Fault A0 –Not work and Motor not work
Is Fault A1-Not work
Motor Fault Motor not work
A0 Fault A0 Not Work
A1 Fault A1 Not Work
Sensor Faults Nothing Work
Pneumatic problem A0 and A1 Not work
PLC Fault Nothing Work
Fault Finding
A/C Motor is not working, but the pneumatic actuator A0 pushes
the item into conveyor
Check the output of the PLC connected to the relay of the PLC
That is Q 0.1 if it is on (LED on) fault is from that point
If it is off (Generally not possible)
check the program or check all sensors
Pneumatic Actuator A0 is not working, but the A/C motor is working
Check the output of the PLC connected to the electro-pneumatic valve
of the PLC That is Q 0.2 if it is on (LED on) fault is from that point
If it is off, Place a metal onto the conveyor and check A1 is working
A1 Not working Pneumatic problem
A1 is working (Generally not possible)
check the program or check all sensors
Fault Finding Contd.
A0 and A/C Motor is working, but the pneumatic actuator A1 does
not sort items
Check the output of the PLC connected to the electro-pneumatic valve
of the PLC That is Q 0.0 if it is on (LED on) fault is from that point
If it is off, check the sensor Is
Working generally not possible
check the program or check all sensors or sensor Is
System is not working at all
Check electrical connections, check sensor failure,
No program in PLC
Pneumatic failure+ Motor is not working
PLC is at fault
Setting and Resetting a Memory
I0.0 M0.0
S
I0.1 M0.0
R
Another method with one ladder
I0.0
M0.0
I0.1 M0.0
Cylinders are in the
original position
A
B
C
D
Cylinder 2
X2
Cylinder 1
X1
A
B
C
D
Cylinder 2
X2
Cylinder 1
X1
A
B
C
D
Cylinder 1
X1
Cylinder 2
X2
Cylinders are in the
original position
A
B
C
D
Cylinder 1
X1
Cylinder 2
X2
Cylinders are in the
original position
A
B
C
D
Cylinder 2
X2
Cylinder 1
X1
=1 =1
Cylinders are in the
original position
A
B
C
D
Cylinder 2
X2
Cylinder 1
X1
=0 =1
ABC
Pneumatic
Actuator
ProductProductProductProduct
Product
Product
ABC
Pneumatic
Actuator
Product
A=0 B=0 C=0
Product
A=1 B=0 C=0
Product
Time 1 sec after C=1
Product
A=1 B=1 C=0
If short when B=1 A=0
Product
A=0 B=1 C=1
If long when C=1 A=1
Product
Time 1.3 sec after C=1
If the product is long or short
A B M0.0
S
T34
M0.1
100+
IN
PT
TON
Q
ET
T33
30+
IN
PT
TOF
Q
ET
34T T33
M0.1
S
M0.0
A C
C
PLC programming using S7 Version
apT33 T34
M0.0
R
T33 T34 M0.1
R
C
END

Más contenido relacionado

La actualidad más candente

FYP. Automation Of Box Filling Machine Using PLC 2
FYP. Automation Of Box Filling Machine Using PLC 2FYP. Automation Of Box Filling Machine Using PLC 2
FYP. Automation Of Box Filling Machine Using PLC 2
HANAN BIN AHMED
 
รายงานการทำ Lab วันที่ 10 ธันวาคม
รายงานการทำ Lab วันที่ 10 ธันวาคมรายงานการทำ Lab วันที่ 10 ธันวาคม
รายงานการทำ Lab วันที่ 10 ธันวาคม
Chetoss Retos
 

La actualidad más candente (8)

Programmable Logic Controls training day 2
Programmable Logic Controls training day 2Programmable Logic Controls training day 2
Programmable Logic Controls training day 2
 
Risks of funcional safety with es short
Risks of funcional safety with es shortRisks of funcional safety with es short
Risks of funcional safety with es short
 
Risks of funcional safety v2.1
Risks of funcional safety v2.1Risks of funcional safety v2.1
Risks of funcional safety v2.1
 
Programmable Logic Controls training day 1
Programmable Logic Controls training day 1Programmable Logic Controls training day 1
Programmable Logic Controls training day 1
 
6 Month Industrial Automation Training
6 Month Industrial Automation Training6 Month Industrial Automation Training
6 Month Industrial Automation Training
 
FYP. Automation Of Box Filling Machine Using PLC 2
FYP. Automation Of Box Filling Machine Using PLC 2FYP. Automation Of Box Filling Machine Using PLC 2
FYP. Automation Of Box Filling Machine Using PLC 2
 
Plc & scada Training Report
Plc & scada Training ReportPlc & scada Training Report
Plc & scada Training Report
 
รายงานการทำ Lab วันที่ 10 ธันวาคม
รายงานการทำ Lab วันที่ 10 ธันวาคมรายงานการทำ Lab วันที่ 10 ธันวาคม
รายงานการทำ Lab วันที่ 10 ธันวาคม
 

Destacado

PLC and SCADA training.
PLC and SCADA training.PLC and SCADA training.
PLC and SCADA training.
Ishank Ranjan
 
Load Flow Analysis of Jamshoro Thermal Power Station (JTPS) Pakistan Using MA...
Load Flow Analysis of Jamshoro Thermal Power Station (JTPS) Pakistan Using MA...Load Flow Analysis of Jamshoro Thermal Power Station (JTPS) Pakistan Using MA...
Load Flow Analysis of Jamshoro Thermal Power Station (JTPS) Pakistan Using MA...
sunny katyara
 
Plc and relay system used in ntpc
Plc and relay system used in ntpcPlc and relay system used in ntpc
Plc and relay system used in ntpc
Tushar Kalwani
 
Automationcontrol7
Automationcontrol7Automationcontrol7
Automationcontrol7
liyanagek
 
The basics of plc technology
The basics of plc technologyThe basics of plc technology
The basics of plc technology
sakshij91
 

Destacado (20)

Plc Siemens Training Notes
Plc Siemens Training NotesPlc Siemens Training Notes
Plc Siemens Training Notes
 
Omron plc training
Omron plc trainingOmron plc training
Omron plc training
 
PLC and SCADA training.
PLC and SCADA training.PLC and SCADA training.
PLC and SCADA training.
 
ppt on PLC
ppt on PLCppt on PLC
ppt on PLC
 
Basics of Automation, PLC and SCADA
Basics of Automation, PLC and SCADABasics of Automation, PLC and SCADA
Basics of Automation, PLC and SCADA
 
Load Flow Analysis of Jamshoro Thermal Power Station (JTPS) Pakistan Using MA...
Load Flow Analysis of Jamshoro Thermal Power Station (JTPS) Pakistan Using MA...Load Flow Analysis of Jamshoro Thermal Power Station (JTPS) Pakistan Using MA...
Load Flow Analysis of Jamshoro Thermal Power Station (JTPS) Pakistan Using MA...
 
Exp 3 (1)3. To Formulate YBUS Matrix By Singular Transformation.
Exp 3 (1)3.	To Formulate YBUS Matrix By Singular Transformation.Exp 3 (1)3.	To Formulate YBUS Matrix By Singular Transformation.
Exp 3 (1)3. To Formulate YBUS Matrix By Singular Transformation.
 
Plc programming with fbd
Plc programming with fbdPlc programming with fbd
Plc programming with fbd
 
NUMERICAL METHODS WITH MATLAB : bisection,mueller's,newton-raphson,false poin...
NUMERICAL METHODS WITH MATLAB : bisection,mueller's,newton-raphson,false poin...NUMERICAL METHODS WITH MATLAB : bisection,mueller's,newton-raphson,false poin...
NUMERICAL METHODS WITH MATLAB : bisection,mueller's,newton-raphson,false poin...
 
Aula#01 s7 200
Aula#01 s7 200Aula#01 s7 200
Aula#01 s7 200
 
Plc and relay system used in ntpc
Plc and relay system used in ntpcPlc and relay system used in ntpc
Plc and relay system used in ntpc
 
Plc systems-e xercise
Plc systems-e xercisePlc systems-e xercise
Plc systems-e xercise
 
Exp 5 (1)5. Newton Raphson load flow analysis Matlab Software
Exp 5 (1)5.	Newton Raphson load flow analysis Matlab SoftwareExp 5 (1)5.	Newton Raphson load flow analysis Matlab Software
Exp 5 (1)5. Newton Raphson load flow analysis Matlab Software
 
Automationcontrol7
Automationcontrol7Automationcontrol7
Automationcontrol7
 
The basics of plc technology
The basics of plc technologyThe basics of plc technology
The basics of plc technology
 
Plc
PlcPlc
Plc
 
Plc Basics
Plc BasicsPlc Basics
Plc Basics
 
Power System Simulation Lab (Formation of Y-Bus & Z-Bus Matrix)
Power System Simulation Lab (Formation of Y-Bus  & Z-Bus Matrix)Power System Simulation Lab (Formation of Y-Bus  & Z-Bus Matrix)
Power System Simulation Lab (Formation of Y-Bus & Z-Bus Matrix)
 
S7 200 s
S7 200 sS7 200 s
S7 200 s
 
PLC
PLCPLC
PLC
 

Similar a Automationcontrol4

R22EM807_PAVAN.D_PLC.pptx
R22EM807_PAVAN.D_PLC.pptxR22EM807_PAVAN.D_PLC.pptx
R22EM807_PAVAN.D_PLC.pptx
BCGowtham1
 
Plc example presentation
Plc example presentationPlc example presentation
Plc example presentation
Roshit Kadiru
 
Automationcontrol1
Automationcontrol1Automationcontrol1
Automationcontrol1
liyanagek
 
Automationcontrol1cp
Automationcontrol1cpAutomationcontrol1cp
Automationcontrol1cp
liyanagek
 

Similar a Automationcontrol4 (20)

Plc documentation final
Plc documentation finalPlc documentation final
Plc documentation final
 
Troubleshooting in plc
Troubleshooting in plcTroubleshooting in plc
Troubleshooting in plc
 
Automation21
Automation21Automation21
Automation21
 
R22EM807_PAVAN.D_PLC.pptx
R22EM807_PAVAN.D_PLC.pptxR22EM807_PAVAN.D_PLC.pptx
R22EM807_PAVAN.D_PLC.pptx
 
DIAGNOSING FAULTS AND DEFECTS OF CONTROL MODULES.pptx
DIAGNOSING FAULTS AND DEFECTS OF CONTROL MODULES.pptxDIAGNOSING FAULTS AND DEFECTS OF CONTROL MODULES.pptx
DIAGNOSING FAULTS AND DEFECTS OF CONTROL MODULES.pptx
 
documentation (1)
documentation (1)documentation (1)
documentation (1)
 
PLC.pdf
PLC.pdfPLC.pdf
PLC.pdf
 
SATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptxSATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptx
 
EEP301: Ca06 sample
EEP301: Ca06 sampleEEP301: Ca06 sample
EEP301: Ca06 sample
 
Plc example presentation
Plc example presentationPlc example presentation
Plc example presentation
 
Plc basic
Plc basicPlc basic
Plc basic
 
Parking Control System using PLC
Parking Control System using PLCParking Control System using PLC
Parking Control System using PLC
 
Plc
PlcPlc
Plc
 
Getting started with PLCs
Getting started with PLCsGetting started with PLCs
Getting started with PLCs
 
Industrial Automation Using PLC.
Industrial Automation Using PLC.Industrial Automation Using PLC.
Industrial Automation Using PLC.
 
Handbook Of PLC EMERSON EDUARDO RODRIGUES
Handbook Of PLC EMERSON EDUARDO RODRIGUESHandbook Of PLC EMERSON EDUARDO RODRIGUES
Handbook Of PLC EMERSON EDUARDO RODRIGUES
 
Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic Controller
 
Automationcontrol1
Automationcontrol1Automationcontrol1
Automationcontrol1
 
PLC 4.docx
PLC 4.docxPLC 4.docx
PLC 4.docx
 
Automationcontrol1cp
Automationcontrol1cpAutomationcontrol1cp
Automationcontrol1cp
 

Último

Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Krashi Coaching
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 

Último (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 

Automationcontrol4