Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: PLC Programming Examples on Industrial Automation
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > PLC Programming Examples on Industrial Automation

PLC Programming Examples on Industrial Automation

Last updated: August 11, 2023 10:22 am
Editorial Staff
PLC Tutorials
5 Comments
Share
3 Min Read
SHARE

Develop PLC Programming Examples on Industrial Automation according to the logic given below,

Contents
PLC Programming ExamplesProgram Description:Program Output:When Start PB is pressedWhen Stop switch pressed before the 20sWhen Stop switch pressed after the 20sWhen Fan reset switch is pressedConclusion:
  1. A Saw, Fan and oil pump all go ON when a start button is pressed.
  2. If the saw has operated less than 20s, the oil pump should go off when the saw is turned off and the fan is to run for an additional 5s after the shutdown of the saw.
  3. If the saw has operated for more than 20s, the fan should remain on until reset by a separate fan reset button and the oil pump should remain on for an additional 10 s after the saw is turned off.
  4. Write a PLC program that will implement this process.

PLC Programming Examples

PLC Programming Examples on Industrial Automation

Program Description:

Rung 0000:

Start/Emergency Stop PB latched with memory B3:0/0.

Rung 0001:

B3:0/0 enabled to turn on Saw (O: 0/0), Fan (O: 0/1 ) and Oil pump (O:0/2).

Normally closed contact of Stop switch is in series Saw output to turn off.

Fan reset switch and Timer T4:0 is connected to turn off Fan when condition meets.

Timer T4:2 done a bit and memory bit is to turn off the oil pump.

Rung 0002:

When the stop is pressed, according to the logic mentioned in point 2, Fan output (O: 0/2) needs to turn off after 5s.

Comparator block restricts the timer T4:0 to run after the 20s of Saw operation.

Rung 0003:

Timer T4:1 runs when the start is pressed. When the stop is pressed at any point after the 20s, Saw output will go off.

After 10s, the oil pump will go off. This operation is done by Timer T4:2. Timer T4:0 done bit is used to restrict the Timer T4:1 operation when T4:0 is ON.

Rung 0004:

Less than a comparator block is used to perform the logic mentioned in point 2, to turn off Fan when saw output operation was less than 20s.

Program Output:

Now we see the simulation of above ladder logic for different conditions as mentioned below.

When Start PB is pressed

PLC Programming Examples

When Stop switch pressed before the 20s

Motor Start after seconds delay in ladder logic

When Stop switch pressed after the 20s

Motor Stop after timer using ladder logic

When Fan reset switch is pressed

Fan Logic using PLC Programming

Conclusion:

We can use this example to understand the programming logic in Allen Bradley PLC.

PLC Programming Tutorial for Beginners - Siemens PLC Training Course

Author: Hema Sundaresan

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • PLC Sequencer Programming
  • What is PLC Redundancy?
  • Encode & Decode Instruction
  • PLC Program for Motor Starter
  • JUMP Instruction in PLC Program
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

Up Counter PLC Program
Program Flow Control Instructions in PLC Programming
XG5000 Example of Simple Conveyor Control PLC Program
Create User-Defined Data Types and Function Blocks in Studio 5000
#10 PLC Best Practices – Assign Register Blocks by Function
Basics of Fail-safe Circuits
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
5 Comments
  • Adrian Takkar says:
    January 21, 2020 at 9:39 am

    I would like to experiment on PLC programming examples.

    Reply
  • Dean says:
    August 13, 2020 at 9:10 pm

    great example

    Reply
  • salman says:
    March 9, 2021 at 4:22 pm

    good logic
    but if I am correct Once some one off the saw before 20s and everything stops…..
    when someone again press the off button the oil pump will run for 10s.

    Reply
  • Amit says:
    April 1, 2022 at 7:00 pm

    what is the condition for oil pump if the saw runs for more than 20 sec??

    Reply
  • juuko quraish says:
    September 30, 2022 at 11:23 am

    Thank you

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Open User Communication in Siemens Tia Portal – PLC to PLC
FC Function in Siemens PLC
Basic Conveyor System for Product Handling in Omron PLC
What are AI, AO, DI, and DO? – Definition, Examples, Purpose
GET Command – Siemens PLC-to-PLC Communication Project
PID in Siemens TIA Portal
#18 PLC Best Practices – Store PLC Hard Stop Events from Faults
PLC Fault Diagnosis – PLC Training Documents

Keep Learning

PLC Wiring

PLC Wiring Questions for Technicians and Engineers

Online and Diagnostics of Siemens PLC

How to Use Diagnostic Buffer for SIEMENS PLC?

Ladder Diagram PLC program

PLC Counter Instructions

Types of Limit Switches

Types of Limit Switches – Principle, Advantages, Disadvantages

Mitsubishi PLC Counter Tutorial Using GX-Works2

Mitsubishi PLC Counter Tutorial Using GX-Works2

sinking-and-sourcing-digital-output-modules

PLC Digital Signals Wiring Techniques

InTouch SCADA Training Course

Free InTouch SCADA Tutorial Course for Beginners

Automatic Box Filling System using PLC Programming

Automatic Box Filling System using PLC Programming

Learn More

Pneumatic Valves and Cylinders Sizing

Pneumatic Valves and Cylinders Sizing – Part 2

SCADA System

What is SCADA System?

Performance of Systems Objective Questions

Performance of Control Systems Objective Questions

Control Valve in PlantPAx Project

Configuration of Control Valve in Studio 5000

Volumetric Flow Calculations

Volumetric Flow Calculations

Operator Interface for SCADA System

Operator Interface for SCADA System

Functional block diagram for analog alarms

PLC Logic for Analog Alarms using Functional Block Diagram

Electrical Equipment Selection in Hazardous Area

Hazardous Areas in Industry – Electrical Equipment Selection

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?