SlideShare a Scribd company logo
9
Most read
11
Most read
13
Most read
Five Steps to PLC Program
Development
Paint Spray
Application
1. Define the task:
 What has to happen?
1. Define the task:
Paint spraying system where boxes are fed by gravity through a
feeder magazine one at a time on to a moving conveyor belt.
Upon the start signal, boxes are pushed towards the conveyor by
cylinder A which extend and retract operation is controlled by switch S1
and S2.
A spraying nozzle paints each box as it passes by and a detector D1
counts each box being sprayed.
When 20 boxes have been painted the valve V2 shuts off and cylinder
A stops operating.
Eight seconds later the conveyor stops moving and the hopper with its
load now moves to the B+ position where it is emptied.
Thirty seconds later the hopper returns to the original B- position.
End of cycle of operation.
2. Define the Inputs and
Outputs:
 Inputs:
Start Pushbutton – Normally Open – On/Off
Stop Pushbutton – Normally Closed – On/Off
S1 – Valve 1 (cylinder retract) On/Off - NO
S2 – Valve 1 (cylinder extend) On/Off – NO
S3 – Box Detected- On/Off - NO
Outputs:
Motor – On/Off (Conveyor Run)
Valve 1- Cylinder to feed boxes – On/Off
Valve 2- Paint Spray – On/Off
Valve 3- Cylinder to move hopper – On/Off
3. Develop a logical sequence of
operation:
Use a flow chart or sequence table.
Fully understanding the logic before starting to program
can save you time and frustration.
What happens when electrical power and/or pneumatic
air is lost? What happens when the input /
output devices fail? Do we need redundancy?
3. Develop a logical sequence of
operation:
3. Develop a logical sequence of
operation:
Review this sequence with the person with the
most knowledge of the machine. This can be the
designer and / or the machine operator.
4. Develop the PLC program:
4. Develop the PLC program:
4. Develop the PLC program:
4. Develop the PLC program:
4. Develop the PLC program:
4. Develop the PLC program:
4. Develop the PLC program:
4. Develop the PLC program:
Document, Document, Document!
This save you time and money when you have to
return to the program years later.
5. Test the program:
5. Test the program:
Test the program with a simulator or actual
machine. Make modifications as necessary.
5. Test the program:
Check with the people most knowledgeable on
the machine, to see if it is doing what they
expect.
5. Test the program:
Follow up after a time frame to see if any
problems arise that need to be addressed in the
PLC program.
PLC Program Development
The five steps form the basis of all PLC
development. You will notice that the actual
programming does not occur until the second
last step. Usually more time is spent on clearly
understanding the task and sequence of
operation.
ACC Automation
Practical Tips and Techniques
Spray Paint Application – More information can
be found on our website
More PLC Programming Examples

More Related Content

PDF
PLC (Ladder Logic Diagram)
PPTX
Plc example presentation
DOCX
Project on PLC (SILO)
PPT
400kv-Substation-Training-report-Unnao-India.ppt
PPTX
Automatic power factor correction unit
DOCX
ANALYSIS OF FLYBACK CONVERTER
PPTX
Matlab Simulink in Three-Phase Fault Analysis on Transmission line
PDF
Flexible Ac Transmission Systems 2Mark Materials and Question Bank
PLC (Ladder Logic Diagram)
Plc example presentation
Project on PLC (SILO)
400kv-Substation-Training-report-Unnao-India.ppt
Automatic power factor correction unit
ANALYSIS OF FLYBACK CONVERTER
Matlab Simulink in Three-Phase Fault Analysis on Transmission line
Flexible Ac Transmission Systems 2Mark Materials and Question Bank

What's hot (20)

PDF
Drives lec 13_14_Speed Control of DC Motors
PDF
Plc report
DOCX
AUTOMATIC BOTTLE FILLING
PPTX
Lecture 12 time_domain_analysis_of_control_systems
PPTX
PLC LADDER DIAGRAM
PPTX
Electrical traction
PPTX
DCS - Distributed Control System
PPT
Robotics: Cartesian Trajectory Planning
PPT
PPI-MECHATRONICS
PDF
Plc report
PDF
Introduction to reactive power control in electrical power
PPTX
Line commutated converters
PPTX
Unified Power Flow Controller(upfc)1
PPTX
3 phase half wave controlled converter with r Load
PPTX
Various Bus-Bar Arrangements.
PDF
WORKING AND PROGRAMMING OF KUKA ROBOT
PDF
Siemens s7-200 new catalogue
PPTX
Hydraulic and Pneumatic Drive System
PPT
Scada System
Drives lec 13_14_Speed Control of DC Motors
Plc report
AUTOMATIC BOTTLE FILLING
Lecture 12 time_domain_analysis_of_control_systems
PLC LADDER DIAGRAM
Electrical traction
DCS - Distributed Control System
Robotics: Cartesian Trajectory Planning
PPI-MECHATRONICS
Plc report
Introduction to reactive power control in electrical power
Line commutated converters
Unified Power Flow Controller(upfc)1
3 phase half wave controlled converter with r Load
Various Bus-Bar Arrangements.
WORKING AND PROGRAMMING OF KUKA ROBOT
Siemens s7-200 new catalogue
Hydraulic and Pneumatic Drive System
Scada System
Ad

Similar to PLC programming example - Paint Spray (20)

PPTX
PLC Programming Example - Conveyor Reject (Shift Register)
PPTX
Learn PLC Programming Free - A Beginners Guide
PDF
PLC Programming | Innovative Automation
PPSX
Vt training plc_1
PPTX
plc ICS_PLC_Integration_Tools ICS_PLC_Integration_Tools.pptx
PDF
PLC-converted.pdf
PPTX
Module-4 PLC for Automation and control.pptx
PDF
1913523 vanshika
PPTX
ppt on PLC automation
PPTX
ppt on PLC automation
PPTX
Presentation for EEE Engineer on PLC By Dilip Kumar
PPTX
PLC_Introduction to programming updated.pptx
PPTX
appu.pptxpaga of the plchduddddrrhddjdidu
PDF
PDF
Basic PLC Programming program The Fundamental Knowledge of PLC.pdf
PPT
PLC Training Introduction - Lesson 01.ppt
PDF
Lesson 01 - Welcome and Introduction.pdf
PPTX
Plc and relay system used in ntpc
PLC Programming Example - Conveyor Reject (Shift Register)
Learn PLC Programming Free - A Beginners Guide
PLC Programming | Innovative Automation
Vt training plc_1
plc ICS_PLC_Integration_Tools ICS_PLC_Integration_Tools.pptx
PLC-converted.pdf
Module-4 PLC for Automation and control.pptx
1913523 vanshika
ppt on PLC automation
ppt on PLC automation
Presentation for EEE Engineer on PLC By Dilip Kumar
PLC_Introduction to programming updated.pptx
appu.pptxpaga of the plchduddddrrhddjdidu
Basic PLC Programming program The Fundamental Knowledge of PLC.pdf
PLC Training Introduction - Lesson 01.ppt
Lesson 01 - Welcome and Introduction.pdf
Plc and relay system used in ntpc
Ad

Recently uploaded (20)

PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Institutional Correction lecture only . . .
PPTX
Cell Structure & Organelles in detailed.
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
RMMM.pdf make it easy to upload and study
PPTX
master seminar digital applications in india
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Supply Chain Operations Speaking Notes -ICLT Program
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
O7-L3 Supply Chain Operations - ICLT Program
Microbial disease of the cardiovascular and lymphatic systems
VCE English Exam - Section C Student Revision Booklet
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Pharma ospi slides which help in ospi learning
Institutional Correction lecture only . . .
Cell Structure & Organelles in detailed.
Final Presentation General Medicine 03-08-2024.pptx
O5-L3 Freight Transport Ops (International) V1.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Pharmacology of Heart Failure /Pharmacotherapy of CHF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
STATICS OF THE RIGID BODIES Hibbelers.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
RMMM.pdf make it easy to upload and study
master seminar digital applications in india
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf

PLC programming example - Paint Spray

  • 1. Five Steps to PLC Program Development Paint Spray Application
  • 2. 1. Define the task:  What has to happen?
  • 3. 1. Define the task: Paint spraying system where boxes are fed by gravity through a feeder magazine one at a time on to a moving conveyor belt. Upon the start signal, boxes are pushed towards the conveyor by cylinder A which extend and retract operation is controlled by switch S1 and S2. A spraying nozzle paints each box as it passes by and a detector D1 counts each box being sprayed. When 20 boxes have been painted the valve V2 shuts off and cylinder A stops operating. Eight seconds later the conveyor stops moving and the hopper with its load now moves to the B+ position where it is emptied. Thirty seconds later the hopper returns to the original B- position. End of cycle of operation.
  • 4. 2. Define the Inputs and Outputs:  Inputs: Start Pushbutton – Normally Open – On/Off Stop Pushbutton – Normally Closed – On/Off S1 – Valve 1 (cylinder retract) On/Off - NO S2 – Valve 1 (cylinder extend) On/Off – NO S3 – Box Detected- On/Off - NO Outputs: Motor – On/Off (Conveyor Run) Valve 1- Cylinder to feed boxes – On/Off Valve 2- Paint Spray – On/Off Valve 3- Cylinder to move hopper – On/Off
  • 5. 3. Develop a logical sequence of operation: Use a flow chart or sequence table. Fully understanding the logic before starting to program can save you time and frustration. What happens when electrical power and/or pneumatic air is lost? What happens when the input / output devices fail? Do we need redundancy?
  • 6. 3. Develop a logical sequence of operation:
  • 7. 3. Develop a logical sequence of operation: Review this sequence with the person with the most knowledge of the machine. This can be the designer and / or the machine operator.
  • 8. 4. Develop the PLC program:
  • 9. 4. Develop the PLC program:
  • 10. 4. Develop the PLC program:
  • 11. 4. Develop the PLC program:
  • 12. 4. Develop the PLC program:
  • 13. 4. Develop the PLC program:
  • 14. 4. Develop the PLC program:
  • 15. 4. Develop the PLC program: Document, Document, Document! This save you time and money when you have to return to the program years later.
  • 16. 5. Test the program:
  • 17. 5. Test the program: Test the program with a simulator or actual machine. Make modifications as necessary.
  • 18. 5. Test the program: Check with the people most knowledgeable on the machine, to see if it is doing what they expect.
  • 19. 5. Test the program: Follow up after a time frame to see if any problems arise that need to be addressed in the PLC program.
  • 20. PLC Program Development The five steps form the basis of all PLC development. You will notice that the actual programming does not occur until the second last step. Usually more time is spent on clearly understanding the task and sequence of operation.
  • 21. ACC Automation Practical Tips and Techniques Spray Paint Application – More information can be found on our website More PLC Programming Examples