Digital Logic Flashcards
What is the difference between analog and digital?
Analog is a continuous wave form that changes smoothly. Ex) temperature, speed, time
Digital is a discrete input of 0’s or 1’s
Which logic gate does this describe:
“If all inputs are high, all output will be high”
AND gate
1 AND 1
Which logic gate does this describe?
Any low gives a low.
AND gate.
0 - 0, 0 - 1, 1 - 0
Which logic gate does this describe?
If any input is high, the output will be high.
OR gate.
0 OR 1, 1 OR 0, 1 OR 1
Which logic gate does this describe?
If any input is high, the output will be high.
OR gate.
0 OR 1, 1 OR 0, 1 OR 1
Which gate is the inverter?
NOT gate
Which logic gate does this describe?
If all inputs are high, then the output will be low
NAND gate
Which logic gate does this describe?
Any low gives a high
NAND gate
Which logic gate does this describe?
Any high gives a low.
NOR
Which logic gate does this describe?
If any inputs are high, then the output will be low.
NOR gate
Why can you not use IC chips in any configuration?
They have a dedicated power and ground pin.
Power pin usually 14
Ground pin usually 7
Define PLC
A programmable logic controller is essentially a mechanical relay replacer which uses electronic digital logic to create programs that perform logic operation like mechanical relays
What is the difference between PLC control circuit and a relay control circuit?
PLC control circuit: separate wiring from circuit logic
Relay control circuit: use wiring to create the circuit logic
How do you convert decimal to binary?
Divide decimal number by base 2, if it divides into an even number it’s a zero, if it’s a decimal then it’s a 1
What is the maximum decimal equivalent count that can be obtained with eight bits?
255