You are on page 1of 4

System and Automatic Control Lab (EC-218)

Experiment No. 39

Object: Draw a ladder logic for a pump which start by a push button start to fill the tank with
water, when tank1 (t1) is full; the plc should automatically start to fill the tank (t2) by closing
valves v1 and opening valve v2 and when tank2 is full then pump disconnect automatically and
sign lamp is turned on to show tank t2 is full.

Materials Required:

Programmable logic controller: (plc base unit: semens s7-200).


The micro win step 7programming software
The program cable: (usb ppp ).
Power supply: 0-5v dc source.
Patch cords
Solenoid valve 2 pcs
Float switch 2 pcs
Pump 220volt ac
Relay switch

Theory:
In this setup the solenoid valve is 220 v ball type and the float switch is a leaf switch which is
pulled by a boll who contain air .the motor of pump is single phase so the relay provide him 220v
ac against 5 volt TTL bit.
System and Automatic Control Lab (EC-218)

Diagram:

Notation:

ELEMENT SYMBOL STATUS I/O NOTATION


BUTTON ON ON N/O I I0.0
BUTTON OFF OFF N/O I I0.1
FLOAT SWITCH1 FS1 N/O I I0.2
FLOAT SWITCH 2 FS 2 N/O I I0.3
VALVE1 V1 N/O O Q0.0
VALVE2 V2 N/O O Q0.1
PUMP P N/O 0 Q0.2
LAMP L N/O O Q0.3
MEMORY M0.0 - M0.0
System and Automatic Control Lab (EC-218)

Ladder Logic Diagram:

Procedure:
1) First turn off the power supply and then connect the circuit diagram as show in fig using the
(plc base unit: semens s7-200).
2) Connect the program cable: (usb ppp ). Makes sure the toggle switches are set on input and
output.
3) Write the program in the micro win step 7 wizards.

4) Enter the program as shown in ladder logic


5) Connect the q0.0 lead to 5v relay coil.
6) Connect the pump motor between the pole and n/o contact of the relay switch.
7) Connect the i0.0 patch cord to the on switch
8) Connect the i0.1 patch cord to the off switch
9) Connect the i0.2 patch cord to the FLOAT SWITCH 1
10) Connect the i0.3 patch cord to the FLOAT SWITCH 2
System and Automatic Control Lab (EC-218)

11) Connect the q0.0 patch cord to the VALVE V1


12) Connect the q0.1 patch cord to the VALVE V2
13) Connect the q0.2 patch cord to the PUMP
14) Connect the q0.3 patch cord to the LAMP
Observation:
Study the program you just entered, but do not test it yet. how will this program operate?
1) Turn on the power supply and set the run/stop switch of the pc to run.
2) Test the operation of the program. Explain how this program operates.
3) Observe the output devices, how do the output device response

Result:

Precaution:
1. Confirm that run/stop switch of the pc is set to stop before continuing
2. Do not detach usb cable during downloading.
3. Do not remove memory module in on condition.
4. Do not over load the relay beyond that rating current.
5. Do not run pump without water.

You might also like