You are on page 1of 8

5.

(A) ALARM MANAGEMENT


AIM:
To write a PLC ladder logic program to perform the following function
When a process is under abnormal condition then an alarm signal will be
generated and available to the PLC.
Write a PLC program to generate an alarm signal. Unacknowledged alarm
signal will be blinking. Acknowledged alarm signal will not be blinking. If
the abnormal condition of the process returns normal, then there wont be
any alarm.

SOFTWARE USED:
PLC software
EQUIPMENT USED:
Personal computer
Procedure:
1.

2.

3.
4.
5.

T001 and T002 are ONDELAY timers with a delay of 1 second.


Initially both timers are at off state and T002 is logic1. Hence T001
will turn on after a delay of 1 second. Because of T001 as input to
T002, T002 will turn on after another delay of 1 second. As soon as
T002 turns on, T001 will turn off because of T002 as input to T001.
Now the T001 will turn on again after 1 second. Note that T001 will
turn on for a duration of 1 second only. Again and again it turns on for
1 second and turns off for 1 second. In this way it generates a square
wave.
Whenever ALARM=1, rung 3(a) will be executed and the L1 will
blink because of T0 contact is in series with contact L1,
Lamp L1 flashes until ACK 1.
When ACK=1, rung 4(a) is executed then a sealing contact L2
become 1.

6.
7.
8.

This leads to continuously glow of the lamp instead of blinking, since


the sealing contact L2 bye passes the T0 in rung 3(a).
L1 will blink till the acknowledgement signal. After that the L1 will
continuously glow if Alarm signal ALARM=1.
Whenever process returns to normal, alarm signal becomes logic 0
and the lamp stops glowing.

LADDER DIAGRAM :

RESULT:

5.(B) SIMULATION OF BATCH PROCESS USING PLC


AIM:
To simulate batch process using plc .
SOFTWARE USED:
PLC software
EQUIPMENT USED:
Personal computer
PROCEDURE:
1.
2.
3.
4.
5.

Click MS-DOS in the pc.


Click edit and then click new ladder file and save the file.
Construct the ladder logic program using function keys (F5-F10).
Now press F2 and click save, compile and simulate.
Now press F5 to run the program and verify the output.

Sequential Execution Of Batch Process:


1. When rung 1(a) is executed, when PB=1, LL=1 and stop =1 then L0=1.
2. When rung 1(b) is executed, L0=1 as it is a sealing contact.
3. When rung 2(a) is executed, LL=1(tank empty), L0=1 HL =1 ,OV=1, H=1, S=1 then
IV=1(input value is open).
4. When rung 2(b) is executed, IV=1 as it is a sealing contact.
5. When rung 3 is executed, when L0=1, HL=1 then HL display L2=1(to indicate tank is
full).
6. When rung 4 is executed, L0=1, HL=1, T002=1 then S=1(stirrer is ON).
7. When rung 5 is executed, L0=1, HL=1, T001=0, then after 30 seconds T001=1(Timer
is ON).
8. When rung 6 is executed, L0=1, HL=1, T001=1 and H=1(Heater is ON). After 30 sec,
L0=1, HL=1, T001=0 then H=0 (Heater is OFF).
9. When rung 7 is executed L0=1, T001=1, LL=1, T002=0. After 30 sec T002=1(Timer
2 is ON).
10. When T002=1, it makes S=0(stirrer is OFF) in rung 4.
11. When rung 8 is executed L0=1, T002=1, LL=1 and OV=1(output value is open).

12. The output value will remain open till LL=1 then the steps will be respected from step
1 to step 2.

How To Test The Batch Process:


1.
2.
3.
4.
5.

Make LL=1 to indicate tank is empty.


Press start push button to start the batch process.
Then make LL=0 to indicate the level in the tank above is empty.
Then make HL=1 to indicate the level in the tank is full.
After the heater turns OFF and outlet valve opens then make HL=0 indicate the level
in the tank is less than full tank.
6. Then make LL=1 to indicate tank is empty.
7. Then the process will repeat from step 3 to step 7( The PLC will repeat from step1 to
step 12).
8. To stop the batch process press stop push button.

DIAGRAM:
0001

0002

PB
0500

LL

0003

0500

STOP

L0

0002

L0
0500

0004

LL

L0

IV

0501

0505

0504

OV

PB

PB

0500

IV

0501

0503

IV

PB

0004

0502

L0

HL
0004

0500

HL

T002

HL

L0
0500

0004
T001
01

HL

L0
0500
L0
0500

0004

0500

T001

HL
T001

0002
T002

L0
0500

LL
T002

0002

LL

0505

OV

RESULT:

You might also like