You are on page 1of 6

EE5377

PROGRAMMABLE LOGIC CONTROLLERS


HOMEWORK FOUR
Due: November 02, 2021

1. Design a ladder diagram to perform the monitoring function in problem 2


with the following specifications:
(a) The alarm of temperature out-of-range should include both audio
and light.
(b) The audio alarm can be reset by the operator and will be reactivated
if the situation is not corrected within 30 seconds
(c) Out-of-range light will remain on until the temperature is within the
range.
(d) The frequency of low temperature audio alarm is 50 Hz.
(e) The frequency for the over temperature audio alarm is 100 Hz
Note: use 1.0ms time base

Solution:

Inputs:
X22 – Reset,

X24 – Temperature Sensor

Outputs:
Y8 – Low Temperature Audio,
Y9 – High Temperature Audio,
Y10 – Light

The logic compares the current analog value(A24) with C1 and C2 the lower
and upper preset limits respectively. The value of C1 is taken as 409 and C2
as 818 since the PLC has a 10-bit resolution, and the output of the
temperature sensor is from 2V to 4V. If A24 is lesser than C1, the negative
overflow bit(R31) is closed and energizes the memory bit R0.

If C2 is lesser than A24, ie the condition when the actual temperature


exceeds the preset value, the memory bit R1 is energized.
When R0, the low temp. audio memory bit is energized, a 50Hz signal is
produced for the buzzer Y8. R1 turns on the high temperature buzzer Y9
ringing at 100Hz.
The audio signal can be turned off momentarily by using the reset push
button X22. The corresponding audio alarm periodically turns on for every
30 seconds until the fault is fixed.

The light alarm stays on till the fault is fixed.

Ladder logic in IP3416


2. A water tank/tower as shown below has three water level sensor switches (Top: S1,
Middle: S2, and Lower: S3) to monitor the water level and control the on/off the
water pump. The sensor is closed (two terminals are shorted) when it is submersed
under the water.

• Use IP3416 to implement the following control procedure


• Requirement:
o System initialization: Water pump is “Off”.
o Push the “Start Button”. Turn on the water pump if S1 is open. Fill the water until
S1 is closed.
o A NC momentary switch is used to turn off the water pump immediately.
o Water pump remains “Off” until the water level drops below desired reserve level
to open the S3. Then, turn on the water pump to fill the water until S1 is closed.
o To take advantage of the free electricity, a sensor (S2) is added.
o A NO momentary switch is used to indicate the approaching to the end of free
electricity.
o Turn on the water pump if the water level is below S2 when the NO momentary
switch shows the free electricity is almost over. Fill the water until S1 is closed.

Solution:
R6
11

R6 X1 X3 X9 R7
12

R7
13

Explanation:
Start pb=X1
Stop pb =X3
S3=X5
S2=X7
S1=X9
Pump=Y0
Free electricity pb =X11
R0=auxiliary bit
R5= free electricity auxiliary indicator
R6 and R7 are used to implement stopping the process at any given time.

Initially, I have assumed that there is no water in the tank.


When start PB is pressed, pump is on and water starts filling upto S1 since both S2 and
S3 are submerged.

At S1, pump is off and water drains. As soon as it touches S3(low), pump is back on
again. This cycle repeats until it is stopped.

When R5 is on, and water is below S2, pump is on again. At S1, pump is off and it drains
all the way upto S3.

Again pump is on at this point and cycle continues until stop pb is pressed.

You might also like