Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: PLC Program for Conditional Control Logic
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > Guest Articles > PLC Program for Conditional Control Logic

PLC Program for Conditional Control Logic

Create a PLC program for Conditional Control Logic. Find more PLC programming tutorials, PLC example programs and PLC ladder logic mcqs.

Last updated: November 3, 2023 9:51 am
Editorial Staff
Guest Articles PLC Tutorials
4 Comments
Share
5 Min Read
SHARE

This is the PLC Program for Conditional Logic Circuit. The below example is based on the ladder logic using a programmable logic controller.

Contents
PLC Conditional Control LogicProblem DiagramProblem SolutionPLC Inputs ListPLC Outputs ListPLC Ladder diagram for conditional Control CircuitLadder Logic DescriptionRuntime Test Cases

PLC Conditional Control Logic

In Industry or plants, there are lots of gearbox systems used for different machines/motors.

For smooth operation of gearbox motors, they need to be lubricated every time because good maintenance work can extend gearbox life.

But the problem is that operators often make mistakes during machine operation because in every gearbox motor mechanism, we need to start lubrication first and then the main gearbox mechanism should start.

So we have to implement a logic to make sure things are properly controlled from a PLC system.

Problem Diagram

Conditional Ladder Logic PLC

Note: For easy discussions, Local/Remote, or any other permissive interlocks are not considered in this example.

Problem Solution

Here we solve this problem by using a simple conditional logic example, in this example, there is one gearbox motor and we need to provide lubrication before starting it.

So for lubrication, we have a lubrication motor (also called as Oil Pump or Auxiliary Lube Oil Pump) and it will provide lubrication oil to the main motor or gearbox motor.

Also, we will provide an interlock system, so the operator cannot start/operate the Main motor directly without using proper lubrication otherwise the main motor may overheat and it may be damaged after some runs without proper care.

The operator has to switch ON oil pump first and then only he can able to operate the main motor.

By using this logic, we can take care of the gearbox motor for a long time run with proper lubrication.

Operators start/stop oil pump by using START and STOP push buttons of oil pump.

Both Oil Pump and Main Motor have separate individual START & STOP push buttons as shown in above diagram.

PLC Inputs List

  • Oil Pump StART PB : I0.0
  • Oil Pump STOP PB : I0.1
  • Main Motor START PB : I0.2
  • Main Motor STOP PB : I0.3

PLC Outputs List

  • Oil Pump Motor : Q0.0
  • Main Motor : Q0.1

PLC Ladder diagram for conditional Control Circuit

PLC Ladder Logic for conditional Control Circuit

Ladder Logic Description

  • In this application, we used Siemens S7-1200 PLC and TIA Portal Software for programming. We can also design this logic with relay circuit.
  • This circuit is also known as conditional control circuit because second sequence is depended on first condition.
  • We will write logic for oil pump in Network 1. Here we will take NO contact of oil pump START PB (I0.0) and also we have to consider one NO contact of oil pump (Q.0) coil for latching START command.
  • Put NC contact of oil pump stop PB (I0.1) in series for unlatching the circuit by pressing oil pump STOP PB (I0.1), so operator can stop the oil pump (Q0.0).
  • Now write the logic for main motor in Network 2. Here we will take NO contact of main motor START PB (I0.2) and also take one more NO contact of the main motor coil for latching the main motor (Q0.1).
  • Put NC contact of main motor stop PB(I0.3) in series for unlatching the circuit by pressing the main motor STOP PB(I0.3), so operator can stop the main motor(Q0.1).
  • Put NO contact of oil pump (Q0.0) in series after the main motor START PB(I0.2) for interlocking. So that operator has to start oil pump (Q0.0) and then only he can START the main motor (Q0.1).

Runtime Test Cases

PLC Conditional Logic

Note: The above PLC Logic provided for basic idea about application of PLC Program for Conditional Control Logic. The Logic is limited and not complete application.

Author: Bhavesh

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:

  • Field Instruments Interview Questions
  • PLC Water filling and Discharging Process
  • Sequential Motor Control using PLC
  • PLC Interview Questions and Answers
  • Overview of SCADA System
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 !
Free InTouch SCADA Tutorial Course for Beginners
Vendor Document for Project Systems Architecture
Face Mask Making Machine using PLC and HMI
#20 PLC Best Practices – Identify Critical Alerts
Procedure for Connecting Allen Bradley PLC and PC – RS Logix 500
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
4 Comments
  • D.N.Sharma says:
    May 22, 2018 at 7:04 pm

    Dear Sir,
    This is not foolproof logic.This is just a interlock with lot of loop holes.

    Reply
  • Rahul Varma says:
    May 28, 2018 at 11:30 am

    Hi Sharma, I think the Author just explaining a simple example of conditional logic, not designing complete application/logic. Can You please share the loop holes, Thanks.

    Reply
  • Bhavesh says:
    May 29, 2018 at 11:29 am

    Dear Sir,

    Sorry for inconvenience

    This is example for concept explanation of conditional circuit.

    It is not complete system.

    Reply
  • Manish Wadia says:
    July 27, 2023 at 7:40 pm

    Simple but effective circuit for easy understanding… Thanxs to you. Bhavesh sir, please share more plc. Logic

    Reply

Leave a Reply Cancel reply

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

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers

Related Articles

Simatic 300 Station Configuration

Monitor and Modify Variables in Simatic Manager

Retrieve from memory card

How to Retrieve PLC Project From Memory Card?

Open User Communication in Siemens Tia Portal - PLC to PLC

Open User Communication in Siemens Tia Portal – PLC to PLC

Counter Count Down Bit

Down Counter PLC Program

PLC Program for Automatic Heating and Mixing of Products

Heating and Mixing of Products using PLC Example Tutorial

Difference Between Wifi and Industrial Wireless

Difference Between Wifi and Industrial Wireless

Creating Logic in Intouch Using Scripting

Create Logic with InTouch Scada using Scripting

Procedure For reading or searching the tag number in Siemens PLC

Procedure for Reading or Searching the Tag number in Siemens PLC

More Articles

PID block from the PLC library

How to Configure PID Controller in Various Schneider PLCs?

What is an Electromechanical Relay

Difference Between Solid State Relay and Electromechanical Relay

Innovative Segment Orifice

Pitot-tube Replaced with Innovative Segment Orifice Plate

MODBUS ASCII Communication Protocol Explained

MODBUS ASCII Communication Protocol Explained

Induction Motor Torque

AC Induction Motor Slip

LES and GRT Blocks in PLC Programming

Allen Bradley Math Functions

Which instrument is at fault in this system

Which Instrument is at Fault in this System?

Types of Motor Enclosures

Types of Motor Enclosures

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?