AND, OR and NOT are the three cornerstones of digital logic, and the truth table is their identity card. This page explains the three gates and gives tips for reading them on a diagram.
An AND gate outputs 1 only when all inputs are 1, else 0, like series switches. An OR outputs 1 if any input is 1, else 0, like parallel switches. A NOT inverts a single input, 1 to 0 and 0 to 1. They are the base of all combinational logic; read the truth table and you can predict any output, which is basic fault finding.
Two input AND: 00 to 0, 01 to 0, 10 to 0, 11 to 1. OR: 00 to 0, 01 to 1, 10 to 1, 11 to 1. NOT: 0 to 1, 1 to 0. Mnemonics: AND is strict (all 1), OR is wide (any 1), NOT flips. Multi input gates extend this: AND is 0 if any 0, OR is 1 if any 1.
| Input | AND | OR | NOT |
|---|---|---|---|
| 0,0 | 0 | 0 | dash |
| 0,1 | 0 | 1 | dash |
| 1,0 | 0 | 1 | dash |
| 1,1 | 1 | 1 | dash |
| 0 | dash | dash | 1 |
| 1 | dash | dash | 0 |
AND gives 1 only on all 1, OR on any 1, NOT inverts; the truth table is the basic fault tool. Watch the small bubble (inversion) on diagrams, never float inputs especially in CMOS, and test each gate against its table to locate faults.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Digital basics per GB/T 4728 symbols; control to GB/T 5226.1 and IEC 60204-1. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.