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 for Loss in Weight Liquid Systems
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 for Loss in Weight Liquid Systems

PLC Programming for Loss in Weight Liquid Systems

PLC programming for loss in weight liquid systems for a measuring tank with filling and draining process with storage.

Last updated: October 29, 2024 7:47 am
Editorial Staff
PLC Tutorials
No Comments
Share
8 Min Read
SHARE

This article discusses the “Loss in Weight Liquid” system using Schneider PLC Ecostruxure Machine Expert-Basic Software. This PLC system has a tank for storing liquids and a tank for measuring liquids. The liquid storage tank will always be filled with liquid with a capacity of 150 liters and this system can only be started if the minimum liquid content parameter for the storage tank has been set.

Contents
Loss in Weight Liquid SystemsProgram AddressesPLC Program

The liquid measuring tank will only be filled with liquid when it gets a Trigger. The liquid measuring tank has a maximum liquid content limit parameter that can be set and when the measuring tank is filled with liquid according to the value in the parameter, the liquid will flow out (Drain Process).

Loss in Weight Liquid Systems

The PLC program Buttons used are listed below.

  1. The PB_START (I0.0) button is used to turn ON the system.
  2. The PB_STOP (I0.1) button is used to turn OFF the system.
  3. The START_FILL (I0.2) button is used to Start the filling process in the Dosing Tank.
PLC Programming for Loss in Weight Liquid Systems

Tank Storage Filling

Filling the Storage Tank will be carried out if the liquid content of the Storage Tank is below the Minimum limit.

Valve 1 will OPEN first, the Motor Pump will turn ON 2 seconds later to fill liquid into the Storage Tank.

The Motor Pump will turn OFF and Valve 1 will CLOSE when the liquid content has reached the Maximum tank limit (150 liters).

Filling Dosing Tank

Before the Dosing Tank filling process is carried out, the “Set value” parameter for the liquid content of the Dosing Tank must be Set and the Dosing Tank filling process will begin.

If the START_FILL (I0.2) button is Pressed, Valve 2 will OPEN to drain the liquid from the Storage Tank to the Dosing Tank. Valve 2 will CLOSE when the Dosing Tank has been filled with liquid according to the “Set value” parameter.

2 Seconds later, Valve 3 will OPEN to drain the liquid contents from the Dosing Tank. Valve 3 will CLOSE again when the Dosing Tank is empty.

PLC Control System for Liquid Storage and Measuring Tanks Automation
Tanks with Drain Process PLC Program

Program Addresses

CommentInput (I)Output (Q)Memory WordMemory BitsTimer
PB_STARTI0.0    
PB_STOPI0.1    
START_FILLI0.2    
VALVE_1 Q0.0   
VALVE_2 Q0.1   
VALVE_3 Q0.2   
MOTOR_PUMP Q0.3   
TIMER_1    TM0
TIMER_2    TM1
SYSTEM_ON   M0 
IR_CUTOFF1   M1 
IR_CUTOFF2   M2 
IR_VALVE3   M3 
IR_TIMER1   M4 
IR_TIMER2   M5 
SV_TANK1  MW0  
PV_TANK1  MW1  
SV_TANK2  MW2  
PV_TANK2  MW3  

PLC Program

RUNG 0 (START SYSTEM)

In this Rung, the memory bit SYSTEM_ON (M0) will be in the HIGH state if the memory word SV_TANK1(MW0) has a value not equal to zero “0” and the PB_START (I0.0) button is Pressed.

The memory bit SYSTEM_ON (M0) remains in the HIGH state even though the PB_START (I0.0) button has been Released, because it uses the SET Coil Instruction.

PLC Logic for Triggering and Draining in Liquid Systems

RUNG 1 (STOP SYSTEM)

In this Rung, if the PB_STOP (I0.1) button is Pressed, the memory bit SYSTEM_ON (M0) will become LOW state. Because it uses the RESET Coil Instruction.

RUNG 2 (VALVE 1 ON)

In this Rung, the Output VALVE_1 (Q0.0) will be ON when the NO contact of memory bit SYSTEM_ON (M0) in the HIGH state and the value in the memory word PV_TANK1 (MW1) is Less Than Or Equal to SV_TANK1 (MW0).

The TIMER_1 (TM0) timer starts counting up to 2 seconds and after it has finished counting, the memory bit IR_TIMER1 (M4) will be in the HIGH state.

RUNG 3 (PUMP MOTOR ON)

The MOTOR_PUMP (Q0.3) Output will be ON if the NO contact of memory bit IR_TIMER1(M4) in the HIGH state.

RUNG 4 (CUTOFF VALVE 1)

In this Rung, the memory bit IR_CUTOFF1 (M1) will be in the HIGH state if the NO contact of memory bit SYSTEM_ON (M0) in the HIGH state and the value in the memory word PV_TANK1 (MW1) is Equal to “150”.

PLC Control the Drain Process

RUNG 5 (FILL TANK2)

In this Rung, Output VALVE_2 (Q0.1) will be OPEN if the NO contact of memory bit SYSTEM_ON (M0) in the HIGH state and the START_FILL (I0.2) button is Pressed. Because it uses Latching, Output VALVE_2 (Q0.1) will remain OPEN even though the START_FILL (I0.2) button has been Released.

If the value of memory word PV_TANK2 (MW3) is Equal to SV_TANK2 (MW2), then the memory bit IR_CUTOFF2 (M2) will be in the HIGH state and the Output VALVE_2 (Q0.1) will be CLOSE because of the Interlock.

RUNG 6 (VALVE 3 SET)

In this Rung, the memory bit IR_VALVE3 (M3) will be in HIGH state if the NO contacts of memory bits SYSTEM_ON (M0) and IR_CUTOFF2 (M2) are in HIGH state. Because it uses the SET Coil Instruction, the memory bit IR_VALVE3 (M3) remains in HIGH state even though the NO contacts of memory bit IR_CUTOFF2 (M2) are in LOW state.

The liquid measuring tank PLC program

RUNG 7 (VALVE 3 RESET)

If the value in the memory word PV_TANK2 (MW3) is zero “0”, then the memory bit IR_VALVE3 (M3) will be in the LOW state. Because it uses the RESET Coil Instruction.

RUNG 8 (VALVE 3 OUT)

In this Rung, Timer TIMER_2 (TM1) will Start counting up to 3 seconds if the NO contact of memory bit IR_VALVE3 (M3) in the HIGH state. When Timer TIMER_2 (TM1) has finished counting, the memory bit IR_TIMER2 (M5) will be in HIGH state and Output VALVE_3 (Q0.2) will be ON.

If the NO contact of IR_VALVE3 (M3) memory bit in the LOW state, then the VALVE_3 (Q0.2) Output will be OFF.

Read Next:

  • How to Program PID Control in PLC with STL?
  • AB PLC Motor Running Hours Programming
  • STAR-DELTA Auto And Manual Programming
  • PLC Programming for Baking with Auto Mode
  • PLC Programming for Train Detection 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 !

Continue Reading

How to Configure Distributed IO in a PLC Project?
Types of PLC Memory
Siemens PLC Interview Questions and Answers
What is a Relay? Types of Industrial Relays
Surface Grinding Process using PLC Program
Can a PLC Function Without an HMI or SCADA?
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

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

Transferring Data Across PLC Systems – TSEND_C and TRCV_C
PLC Input Output Modules
How to Use Diagnostic Buffer for SIEMENS PLC?
Documentation and Change Control of PLC or DCS Systems
PID Controller Output Types – PID_PWM and PID_Output
Case Statement in SCL Language
Light ON OFF Control using PLC
How to Solve Electrical Ground Loop Problems?

Keep Learning

plc-analog-input-card-conversion-formula

PLC Analog Input Conversion Formula

Industrial Automation Cold and Hot Standby

Difference between Cold Standby and Hot Standby

Elevator Control

Elevator Control: PLC Program with 5-Second Floor Stops

Function and Application of FIFO Block

How to use FIFO Block in TIA Portal? – Siemens PLC Programming

Siemens S7 300 CPU Status and LED Errors Explanation

Siemens S7 300 CPU Status and LED Errors Explanation

PLC FBD Example for Tank Liquid Heating Control by Steam Flow

PLC FBD Example for Tank Liquid Heating Control by Steam Flow

Questions on Single Loop Controller

Single Loop Controller Questions

Reading Clock data in PLC

Real-Time Clock in Omron PLC? – CX Programmer

Learn More

Bernoulli's Principle

Bernoulli’s Principle and Equation – Flow Measurement

Four Wire RTD Circuit

What is a Four-wire RTD ?

What is Cloud Computing

What is Cloud Computing? Types of Cloud Services, Components

Capacitor Bank

Poor Power Factor Boosted – Industrial Electrical Problems

Malfunctioning Inlet Check Valves

Malfunctioning Inlet Check Valves caused chaos at Compressor stop/trip

How to Use SMD Components in Electronic Circuits

How to Use SMD Components in Electronic Circuits?

Level Transmitter configuration in PLC

Scaling with Parameters (SCP) Instruction in PLC

Marking Polarity

DC Circuit Analysis Loop Equations

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?