PLC Program for Oil and Water Separation Process


PLC Program for Oil and Water Separation Process

This is a PLC Program for Oil and Water Separation Process.

Problem Description

PLC Program for Oil and Water Separation Process
PLC Program for Oil and Water Separation Process

    Implement programming of Oil and Water separation process in PLC using Ladder Diagram programming language.

Problem Solution

  • Due to the gravitational force and different liquid density of Water and Oil, when water and oil both are present in the liquid, oil always reside on top of the liquid. By following this theory and making an arrangement shown in the diagram above, Oil and Water can be separated.
  • However, this process does not completely remove water particles but only less than 10% of water contents are present after passing through this process.
  • Level of the tank is monitored using level sensor. To control level of the system Inlet is controlled.
  • To control the temperature of this system, ignition is to be controlled. Temperature sensor is used and gas supply flow is controlled to control temperature. Temperature set point here is 50 degree centigrade.
  • Oil outlet is controlled by control valve which is operated by two level switches.


PLC Program & Program Description

    Here is PLC program for Oil and Water Separation Process, along with program explanation and run time test cases.

Ladder diagram to monitor and control Oil and Water separation process

  • RUNG000 is the master start and stop control rung.
  • RUNG001 is for Level Monitoring and control of Oil and Water separation process tank.
  • I:3 is an input where Level sensor is connected with. Height of the tank is 200cms. And we need to control the level till 100cm. hence output of the sensor is divided by 327 which means that per cm, input is added with 327.
  • This data is further processed and multiplied by 655, because when output is 100cm, we have to throttle inlet valve to be fully closed. So when output is 100cm in N7:1 register, it is multiplied by 655 and the full throttling is received at O:3 which is connected to Inlet valve through I-P converter.
  • N7:1 stores the level of the tank which is moved to O:6 (Display address) through Decimal to BCD
  • converter.
  • Similarly Temperature monitoring and controlling is done as shown in the Ladder diagram below.

Ladder diagram to control and monitor Temperature of Oil and Water separation process

  • Let’s say, temperature to be controlled is 50 degree centigrade. According to used sensor RTD PT100, data are processed and required temperature is controlled through Gas Supply for ignition.
  • Here display output address is O:7.
  • RUNG002 is to operate Oil Outlet Valve with address O:2/0.
  • When Level low is detected by Low level sensor with address I:1/1, outlet valve is opened and it is closed when I:1/0 is detected that is high level.

Continue reading

Download full PDF in Comment section



Previous Post Next Post