Besides 0 and 1 a tri state gate has a high impedance state so many devices can share one bus in time. This page explains the principle and avoiding bus conflict.
A normal gate drives 0 or 1; a tri state gate adds an enable: when EN is active it drives 0 or 1 normally, when inactive its output stage turns off to high impedance Z, neither pulling up nor down, effectively disconnected. Thus several tri state devices hang on one bus and only one is enabled at a time while the rest float, so the bus is time shared without shorting.
Typical is a CPU data bus with several chips, each behind a tri state buffer enabled by address decode in turn. On a read only the selected chip drives; on a write only the CPU drives. The bus ends often have pull up or down to hold a defined idle level. Tri state saves pins and wiring and is the base of computer and PLC expansion buses.
| EN | Output | Bus role |
|---|---|---|
| Active | 0/1 | drive |
| Inactive | Hi Z | disconnect |
| Multi | conflict | burn IO |
| Idle | pull up/down | defined |
| Decode | mutual excl | no clash |
| Long | terminate | no reflect |
A tri state gate drives 0/1 when enabled and goes high Z when not, letting devices share a bus. The discipline: only one enabled at a time, with mutually exclusive decode to avoid conflict that burns IO; pull the idle bus to a defined level, terminate long lines and remember tri state at power on.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Bus design per GB/T 4728; 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.