Air University: Implementation of Logic Gates
Air University: Implementation of Logic Gates
Air University: Implementation of Logic Gates
EXPERIMENT NO 1
LAB ASSESSMENT:
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
Aqsa Mumtaz
F-18 BEEE/Fall-2020/B
BEEE 5-B
DATE :16 oct 2020
Objective:
Implentation of Latch/unlatch operation in PLC.
Apparatus:
LogicxPro
Introduction:
PLC is a platform for performing ladder logic tasks.This lab introduces latch/unlatch operation.
Latch means to fix one output, it works like a set command, while the unlatch operation acts as a
reset which ensures that the output is in off state.Latch and unlatch must have same output
address.It can be used in the motors, when we switch on the motor we donot want it to shut down
so latch is used in it.
Procedure:
Starting parameters of PLC are known so in order to use Latch and unlatch, logic for operation
is build using EIO ans EIC and at the ouput latch is placed and in the other ladder EIO is
plconnected with unlatch, keeping latch and unlatch adderess to be same.Then, simply download
PLC, go online and run it.
Results:
TASK 1:
𝐘 = 𝐀𝐁 + 𝐃𝐂′ + 𝐁′𝐂 is implemented by using EIC for A,B,C,D and for the complement EIO is
used and at the output latch is present.
OUTPUT:
TASK 2a:
Start/stop operation of motor is implemented using latch and unlatch.
OUTPUT:
TASK 2B:
Motor either turns off or turns on without using latch and unlatch instruction.It is implemented
using XOR gate logic.
OUTPUT:
TASK 3a:
Bidirectional motor having one stop switch is implemented using XOR gate logic.Motor moves
in one direction and it cant move in the other direction but in order to change it motor must stop
so that means it must un latch it and then move in the other direction.
OUTPUT:
TASK 3b:
Now, bidirectional motor is implemented without using latch and unlatch. XOR switch allows
the motor to move in one direction only and then switch it.Stop switch in the start helps to
change the rotation.
OUTPUT:
Conclusion:
Latch and unlatch operations are the core of the machines that have specific limitations that what
operation must stay executed even if other goes false.We observed that even when the input when got
high when chnaged it had no effect on the output as the latch satisfies the set operation and in order to
chnage the output back to zero unlatch must be pressed. It can be used in many systems for storing
specific info about the output and then clearing it. In the lab tasks, we understood the complete operation
of latch and unlatch and differentiated its usage while not using it so it happens to be an important
command in ladder logic.