I need a complete solution for this question without sharing the same solution with others .It is about control and automation .

Problem 2:

In an automatic water level control system, we have the following devices:

1- Two, level detection sensors to detect the maximum and minimum level of water in a tank

2- A pump to fill the tank by water

3- A solenoid valve to drain the water

The defined scenario for the mentioned system is as follows:

A- Pump start filling the tank when the level is less than the minimum level (Below Sensor 2)

B- The pump will be shut down when the level reached to the maximum level (Sensor 1 detection

range) and will remain deactivated until the water level is less than the minimum level (Below Sensor

2)

C- Solenoid valve will be activated when the level reached to the maximum level (Sensor 1

detection range) and will remain activated until the water level is less than the minimum level (Below

Sensor 2) to drain the water

You should:

III. Generate the PLC program (Ladder Diagram) to implement the mentioned scenario and make the

system automated. You should use the following tags

Devices Tags

Sensor 1 I0.1

Sensor 2 I0.0

Pump Q0.2

Solenoid valve Q0.1

Hints:

A- You should use latching and Unlatching the pump for switching on and off

B- In minimum water level, both sensors are deactivated

C- In maximum level, both sensors are activated D- Sensors are normally off, and they will be activated when they sense water

I need a complete solution for this question without sharing the same solution with others .It is about control and automation . 1