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: Oil and Water Separation Process using PLC Programming
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 > Oil and Water Separation Process using PLC Programming

Oil and Water Separation Process using PLC Programming

This is a PLC Program for the automatic water separation process. Learn ladder logic with the example problems.

Last updated: November 3, 2023 12:25 pm
Editorial Staff
PLC Tutorials
2 Comments
Share
5 Min Read
SHARE

This is a PLC Program for the automatic water separation process. Learn ladder logic with the example problems.

Contents
Oil and Water Separation ProcessProblem DiagramProblem SolutionI/O ListPLC Ladder DiagramPLC Program DescriptionResult

Oil and Water Separation Process

Problem Description

Implement oil and water separation process in PLC using ladder diagram programming language.

Problem Diagram

PLC Program for Automatic Oil and Water Separation Process

Problem Solution

We will use PLC S7-300 for this application. We will use scaling for programming purpose.

Due to the gravitational force and density of water and oil, when oil and water both are present in liquid, oil always resides on the top of the water. By using this concept we have made one arrangement for oil and water separation as shown in figure.

However, this system is not completely removing water particles from the mixed liquid but only less than 10% of water contents are presents after this process.

Temperature transmitter is used to control the temperature in the tank and level transmitter is used to control or display the level of the tank.

Here, for monitoring purpose it is considered that level is 200cm and temperature is 50 degree centigrade.

Level sensors are used for controlling the oil control valve.

I/O List

List of inputs

  • Cycle START :- I0.0
  • Cycle STOP :- I0.1
  • High level :- I1.1
  • Low level :- I1.0
  • Level transmitter input :- IW64 (analog)
  • Temperature transmitter :- IW66 (analog)

List of outputs

  • Oil outlet valve :- Q0.0

M memory

  • Master coil :- M0.0
  • LT_input DINT : – MD100 (DINT)
  • Multiplication value :- MD104
  • Actual level :- MD108
  • TT_input DINT :- MD112
  • Multiplication value :- MD116
  • Actual temperature :- MD120

PLC Ladder Diagram

PLC Logic for Automatic Oil and Water Separation Process
Oil and Water Separation Process
water separation process
PLC Oil water
PLC Separation Process
PLC Programming Water

PLC Program Description

For this application, we used S7-1200 PLC and TIA portal software for programming.

Network 1:

we used latching circuit for master coil (M0.0) output. It can be started by pressing START PB (I0.0) and stop by pressing STOP PB (I0.1).

Network 2:

When high level (I1.1) is detected and low level (I1.0) is not detected, oil outlet valve (Q0.0) will be ON.

Network 3:

Here actual count or value coming from the level transmitter is current (4 to 20mA) so by using analog input channel in the PLC we can convert it into digital count.

This digit is in INT (IW64) format so we need to convert it into DINT (MD100) for calculation or multiplication.

Network 4:

DINT value (MD100) is multiplied with max height (200cm) of the tank for calculation purpose.

The multiplied value (MD104) is divided by max count of the analog module (27648).And final actual level is stored in MD108.

Network 5:

Here actual count or value coming from the temperature transmitter is current (4 to 20mA) so by using analog input channel in the PLC we can convert it into digital count.

This digit is in INT (IW66) format so we need to convert it into DINT (MD112) for calculation or multiplication.

Network 6:

DINT value (MD112) is multiplied with max temp (100 degree) of the tank for calculation purpose. The multiplied value (MD116) is divided by max count of the analog module (27648).And final actual temperature is stored in MD120.

Note:- Above application may be different from actual application. This example is only for explanation purpose only. We can implement this logic in other PLC also. This is the simple concept of oil and water separation process, we can use this concept in other examples also.

All parameters considered in example are for explanation purpose only, parameters may be different in actual applications. Also all interlocks are not considered in the application.

Result

Automatic Oil and Water Separation Process

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:

  • PLC Problems Troubleshooting
  • Failsafe Wiring Practices
  • PLC Sinking and Sourcing
  • Digital Signals Wiring Techniques
  • PLC Program Examples
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

What is an RTU? – Remote Terminal Unit
Step-by-Step Guide to Choose Right Fuse for a Panel
Laws of Boolean Algebra using Ladder Logic
Do’s and Don’ts in PLC
PLC Program to Drain Same Products from Two Tanks
Learn about PLC, DCS, RTU, SCADA, and PAC
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
2 Comments
  • Phil says:
    September 23, 2018 at 1:53 am

    What is TIA portal software?

    Reply
  • sridhar says:
    June 22, 2020 at 8:00 pm

    super explanation for basics

    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

PLC Pneumatic Circuit Control
PLC Valve Control Ladder Logic Programming
PUT Command in Siemens PLC – TIA Portal Basics
How to Automatically Close Pop-up in FactoryTalk View Studio?
Configuration of InTouch Scada Trends
Case Statement in SCL Language
What is Distributed IO? – Decentralized Peripherals in PLC
Siemens S7 300 CPU Status and LED Errors Explanation

Keep Learning

PLC Instructions

Program Flow Control Instructions in PLC Programming

Types of Instructions in PLC Programming

Types of Instructions in PLC Programming

How to Link SQL With Indusoft Web Studio

How to Use an SQL Server with Indusoft Web Studio?

Omron PLC programs

Daily Alarm PLC Program using Real-Time Clock

Siemens OB Blocks

Siemens PLC Organization Blocks (OB)

Perfume filling system PLC program

CX Programmer Example: Perfume Mixing and Filling System

PLC Program using One Shot Rising Instructions

One Shot Rising and One Shot Falling Instructions in PLC

Lamp Counter Logic

Function Block (FB) for Motor Control Logic

Learn More

Top 100 Control Systems Objective Questions & Answers

Top 100 Control Systems Objective Questions & Answers

Code Block Comparison

Compare Online and Offline PLC Programs

PLC Tutorials - Timers and Counters

Difference between Timer and Counter – PLC Basics

MCQ on Measurement and Instrumentation

250+ Electronic Measurements and Instrumentation MCQ Questions

Conductive Level Measurement Working Principle

Conductive Level Measurement Working Principle

Siemens PLC Write Protection

How to Protect Siemens PLC using Password?

Four Wire HART Transmitters

4-wire Passive versus Active Transmitters

Thermistors and Resistance Temperature Detectors (RTDs)

Thermistors and Resistance Temperature Detectors (RTDs)

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?