Professional Documents
Culture Documents
Air University: Latch/Unlatch
Air University: Latch/Unlatch
EXPERIMENT NO 2
Data presentation
Experimental results
Conclusion
Date: Signature:
AIR UNIVERSITY, ISLAMABAD
DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING
Electrical Measurements & Instruments Lab
Latch/Unlatch Lab#02
Submitted by
Izza Jamal (191850)
Fall-21
BEEP V-B
DATE:06/10/21
EXPERIMENT.NO.02
Latch/UnLatch
Objective:
To get familiar with the output latch and output unlatch.
Get to know about the implementation of the latch system on the software.
Apparatus:
PLC Allen Bradley.
LogixPro software.
Introduction:
Breif Theory of Latching and Un-latching:
Latch and un-latch is an operation done to control the output state . Its basically done in a way
that ,when input is turned on the output gets the desired value ( say high ) ,so now if the button
(input) is off the output remain the same and does not change its value .This process is called
latching and when the output state is change by using another switch ,it is called unlatching.
For instance; calculator . Only on button is pressed to turn on the calculator and it remains on
(latch) unless and until we don’t turn it off (unlatch) by ourselves.
Methods of Latch/Un-Latch:
There are two methods :
Self-Latching:
In the above Circuit; we use three inputs two XIC and one XIO.One of the XIC is given
the same address as that of the output.This will help us do the latching while the input B
will simply un-latch our system.
Using Outputs:
The two output switches
OTL(Output Latch):
OTU(Output Unlatch):
The upper mentioned both switches are used to latch and un-latch respectively in a way
as show below;
Procedure:
First of all,we open the software according to out requirement whether we need
real time software or a simulator.
In order to perfrom the experiment we see how the experiment should be done i.e
self-latch or output switches latching.
Once the method is chosen ,we start making the ladder logic program.
Set the Inputs ( XIC switch ) for both the ouputs as shown in figure1.2 or another
method could be the logic ladder shown in figure 1.1.
LAB TASKS:
Lab Task #01:
Implement the given logic equation using latch and unlatch.
Y = AB + DC′ + B′C
A B C D Y
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 1
0 1 0 0 0
0 1 0 1 1
0 1 1 0 0
0 1 1 1 0
1 0 0 0 0
1 0 0 1 1
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
This is the Truth table for the equation to verify it the ouputs are shown below;
Now to see the latch and unlatch system ; we can see the following figure below;
Here All the input LED’s are one and still the output LED is on.This is called latch system.
Now if I turn on the input going to the un-latch output the LED’s will turn off.Means the latch system will
unlatch. Figure is shown below;
This circuit is also known as self-latching circuit.This is operated by using three inputs
one XIO and two XIC.One of the XIC is addressed as the same address given to output switch.
When we give High to I:1/1 Input the output turns on ,now even if we turn off the input the
output will still stay on and when we give high to the XIO switch the output turns off.
This is a system for Bi-directional Motor .Each direction has his its own input.The .The
outputs are show below;
Without Latch/unlatch System:
Working Principle:
When the low sensor would turn on,the motor will automatically start while turning on the
high sensor will make the motor stop.
Conclusions:
This Lab was about latching and un-latching.Latching helps us to control the input in a certain
way i.e we would not need to turn on the system again and again once its latched while un-
latching as the name suggests un-latch i.e turns off the latched system.We studied two methods
of latch/un-latch. Moreover,we performed certain tasks regarding this lab for better
understanding of the concept being taken.
*-----------------------------*