Home » PLC Programming using Level Switches
PLC Tutorials

PLC Programming using Level Switches

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)

PLC Logic

PLC logic for Level controlling

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 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

Read Next:

Share With Your Friends

Related Articles

Upload Option Disabled in Siemens PLC

S Bharadwaj Reddy

How to Convert Current to Voltage using Resistor ?

S Bharadwaj Reddy

Light ON OFF Control using PLC

S Bharadwaj Reddy

PLC Example with Switches

S Bharadwaj Reddy

PLC Analog I/O Potential Problems

S Bharadwaj Reddy

Download Allen Bradley RSLogix PLC Software

S Bharadwaj Reddy

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

PLC Programming using Level Switches

WordPress Image Lightbox
Send this to a friend