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 using Level Switches
Share
Notification Show More
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 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 Description

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 !

Continue Reading

Instrumentation Engineer Activities & Documents – Detail Design Phase
What is a Watchdog Timer in PLC?
PLC Programming for Pumping and Draining System
PLC Program to Control Gas Pressure using Closed-Loop
PLC Program for Stage Control: Curtains and Stage Elevation
What is Namur Digital Input Card?
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
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Push button Motor PLC Logic
MCQ on PLC (Programmable Logic Controller)
Introduction to Functional Block Diagram in Studio 5000
Operator Interface for SCADA System
Motor Trip Logic using PLC Programming
Tia Portal – OB10 Time of Day Interrupt Organization Block
Top Non-PLC Certification Courses for Automation Professionals
How to Download GX Works? Mitsubishi PLC Software

Keep Learning

Networked SCADA Architecture

Types of SCADA System Architecture

PLC Program Example on Multiple LEDs using Set Coil

PLC Program Example on Multiple LEDs using Set Coil

PLC Program for Selective Execution of the Application

PLC Selective Execution of the Application – Example Program

Structured Text PID control loop in PLC

How to Program PID Control in PLC with Structured Text?

Gas Turbine Temperature Control using Siemens Tia Portal

Gas Turbine Temperature Alarms using Siemens TIA Portal

Claw Machine PLC Programming

Doll Claw Machine using Omron PLC Programming

Studio 5000 Logix Emulate Controller

How to Create New Project in Studio 5000?

Types of PLC

Types of PLC

Learn More

How to Use the Shift and Rotate Instructions in PLC

How to Use the Shift and Rotate Instructions in PLC?

Sensors and Transducers Objective Questions

Top 1000 Instrumentation Engineering Objective Questions

Optical Line Terminal

What is an Optical Line Terminal? – OLT Working Principle

Parallel Operation of Alternators

Percentage-to-Process-Variable-Conversion

Formula for Percentage to Process Variable Conversion

9 Best E-Book Apps for Students

9 Best E-Book Apps for Students

Digital Electronics Multiple Choice Questions

Memory Devices Objective Questions – Part 3

PLC Wiring

PLC Wiring Questions for Technicians and Engineers

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?