By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
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 Programming using Level Switches
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Ask
  • Courses
  • Videos
  • Q & A
  • EE
  • Measure
  • Control
  • More
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 > PLC Tutorials > PLC Programming using Level Switches

PLC Programming using Level Switches

Last updated: March 4, 2021 1:02 pm
Editorial Staff
PLC Tutorials
1 Comment
Share
4 Min Read
SHARE

Contents
PLC Programming using Level SwitchesPLC ProblemInputs:Outputs:Ladder LogicPLC Logic DescriptionNetwork 1:Network 2:Network 3:

This article about “PLC programming to control the level in the tank using three point conductive level switches for motor start & stop logic”.

The level measurement plays a vital role in every industry from small scale sectors to complex oil and gas industries. Different types of sensors available for level measurement like ultrasonic, radar, differential pressure based sensors, etc. These sensors are used for continous level measurment which scales from 0% to 100% of level.

In some applications, we may need to establish a level control loop with less investment and there will be only need to maintain or control specific levels in the vessels or tanks. In these cases, we can use simple level switches for controlling the level at fixed points like Low, Medium, and High levels.

Here in our example, we are using a three probes type conductive level switches for point level detection. A Programmable logic controller (PLC) is used to control the motor based on the level switches status. These level witches are inexpensiive and needs less maintenance. Three lamps are used to indicate the level switches status.

PLC Programming using Level Switches

PLC Programming using Level Switches

PLC Problem

  1. When the level is low then the motor (pump) will remain ON till high level reaches, lamp L1 also turns ON and gives an indication of the low level, It will remain ON till it reaches a half level (medium level).
  2. When the level reaches half (medium level) then the L2 lamp will turn ON & give an indication of half level. L1 goes OFF and the pump will remain ON.
  3. When the level reaches to high level then the pump goes OFF and lamp L3 will turn ON.

Inputs:

  • Low Level Switch – S1_LL (I0.0),
  • Medium or Half Level Switch – S2_HL (I0.2),
  • High Level Switch – S3_HL (I0.3)

Outputs:

  • PUMP (Q4.0),
  • Low Level Lamp Indication (L1) – LL_LAMP1 (Q4.1),
  • Medium or Half Level Lamp Indication (L2) – HL_LAMP2 (Q4.2),
  • High Level Lamp Indication (L3) – HL_LAMP3 (Q4.3)

Ladder Logic

PLC logic for Level controlling

PLC Logic Description

Network 1:

when level is low (S1), lamp 1 (LL_LAMP 1) and pump will be ON. Lamp indication of low level is set to ON till level reaches medium level then it will reset (OFF). Normally closed (NC) contact of S3 is used to prevent lamp to turning on together.

Network 2:

When the level reaches a medium level (S2) then lamp 2 will turn ON and pump will remain ON. Lamp of low level indication will reset (OFF) when level reaches medium level. Same as 1st network NC contact is used for Interlocking purpose.

Network 3:

When the level reaches high level (S3) then pump will turn OFF and high indication lamp will turn ON.  As the lamp 3 is ON, the motor will be de-energized & lamp 2 indication will be OFF because lamp 3 NC contact becomes open in the network 1 & 2.

Author: Suhel Patel

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:

  • How to use JUMP Instruction
  • Program to Count Running Hours
  • Water Level Control Logic
  • Tank Level Detection Switches
  • Industrial Automation Systems
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 !
Statement List (STL) to Find Highest Value
Structured Text PLC Code for Sequential Process Data Storage
PLC Program Example on Multiple LEDs using Set Coil
Functions of SCADA
Industrial Networking and Wireless Interview Questions
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
1 Comment
  • Nik Kinze says:
    January 24, 2025 at 12:06 am

    A note regarding the safety aspect and fault tolerance.
    Any device used for a safety or a high level or overflow, should itself be a Normally Closed device. When the device is operational the top switch should always be passing a signal to the PLC. If high level is reached, then your input goes off and you then stop the pump. If you lose power to the switch, the same thing happens.
    If the device was wired up like a typical NC switch, then if hte power to the switch fails, you will never know that you have reached the high level.

    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

Recent Comments

  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers
  • anuj kapoor on DCS Program to Maintain Draft in Furnace
  • anuj kapoor on IoT based Smart Boiler Control System with Cloud PLC and SCADA

Related Articles

PLC Programming Limit Switch

PLC Programming Example using Limit Switch

PLC Ladder Logic Example based on Set Coil and Reset Coil

PLC Ladder Logic Example based on Set Coil and Reset Coil

Simatic Prosave HMI

How to Backup and Restore from Simatic Prosave HMI?

PLC Automatic Control of Two Outputs with one Input

PLC Automatic Control of Two Outputs with one Input

Free Mitsubishi PLC Online Training Courses

Free Mitsubishi PLC Online Training Course and Tutorials

Star-Delta PLC programming with 1 button

How to Program a Star-Delta System using 1 Button in PLC?

PLC Program to Separate Different Size Objects

PLC Program to Separate Different Size Objects

Machine Indicator Lights PLC Programming Solution

Machine Indicator Lights: PLC Programming Solution

More Articles

NAMUR OPEN ARCHITECTURE

What is NAMUR OPEN ARCHITECTURE?

Fieldbus Control Loop

Foundation Fieldbus Communication Management

P&ID Guidelines for Centrifugal Compressor Systems

P&ID Guidelines for Centrifugal Compressor Systems

Schneider PLC Programming Example

Schneider PLC Programming Example for Beginners

The Hardware Structure of DCS

DCS Applications and Hardware Structure of Plant Automation

Rack Type PLC

PLC Input Output Modules

Relay Wiring

Animation of Electromagnetic Relay

Three phase induction motor nameplate

How to Size a Cable for Industrial AC Motors?

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?