You are on page 1of 3

AUTOMATION AND ROBOTICS

LAB NO.03

Question 01:
The AND Gate:
The AND gate is associated with the following symbol that can have any number of
inputs but only one output.

The truth table below shows that the output is only turned on when all the inputs are
true (1). An easy way to remember this is AND works like multiplication.

Input A
0
1
0
1
The ladder logic equivalent for
two normal contacts side by

Input B

Output

0
0
1
1

0
0
0
1

an AND function looks like


side.

Question 02:
The OR Gate:
Last but not least the OR gate is associated with the following symbol that also can
have any number of inputs but only one output.

The truth table below shows that the output is turned on (1) when any of the inputs
are true (1). An easy way to remember this is OR works like addition.

AUTOMATION AND ROBOTICS


LAB NO.03

Input A
0
1
0
1

The ladder logic equivalent


looks like two normal
each other.

Input B
0
0
1
1

Output
0
1
1
1

for an OR function
contacts on top of

Practice Problem:
Consider a water tank that is initially full, which has two input sensors and one
output. When below sensor A sense the water level, motor on automatically and
sensor A off. When tank is full sensor B sense the water level and off the motor.

AUTOMATION AND ROBOTICS


LAB NO.03

Solution:
As initially water tank is full, sensor I 0.4 is on. When tank become empty another
sensor I 0.5 sense the water level and on the motor and after that sensor I 0.5 off
but still motor is on until water tank become full. When tank is full sensor I 0.4
sense the water level and off the motor.

You might also like