Electronic interfaces/IEEE-1284
From LabAutopedia
Contents |
IEEE-1284
An early parallel interface was developed by Dr. An Wang, Robert Howard and Prentice Robinson at Wang Laboratories. The now-familiar connector was selected because Wang had a surplus stock of 20,000 Amphenol 36-pin micro ribbon connectors that were originally used for one of their early calculators. The Centronics Model 101 printer was introduced in 1970 and included this parallel interface for printers. The Centronics parallel interface quickly became a de facto industry standard. The IEEE 1284 standard superseded the Centronics interface in 1994. The IEEE 1284 standard allows for faster throughput and bidirectional data flow with a theoretical maximum throughput of 4 megabits per second, with actual throughput around 2 megabits, depending on hardware. IEEE 1284 can operate in five modes:
- Compatibility Mode, also known as Centronics, standard or SPP, is a uni-directional implementation with only a few differences from the original Centronics design.
- Nibble Mode is a uni-directional interface that allows the device to transmit data four bits at a time using status lines for data. This is the Bi-tronics mode introduced by HP and is generally used for enhanced printer status.
- Byte Mode allows the device to transmit eight bits at a time using data lines.
- Enhanced Parallel Port (EPP) is a half-duplex bi-directional interface designed to allow devices like printers, scanners, or storage devices to transmit large amounts of data. EPP can provide up to 2 Mbit/s bandwidth, approximately 15 times the speed achieved with normal parallel-port communication with far less CPU overhead.[1]
- Extended Capability Port (ECP) is a half-duplex bi-directional interface similar to EPP, except that PC implementations use direct memory access to provide even faster data transfer than EPP. Many devices that interface using this mode support RLE compression. ECP can provide up to 2.5 Mbit/s of bandwidth
Cables and connectors
An IEEE-compliant cable must meet several standards of wiring and quality. Three types of connectors are defined:
- DB-25 (type A) for the host connection.
- Centronics (officially called "Micro Ribbon", type B) 36 pin for the printer or device connection.
- Mini-Centronics (type C, MDR36) 36 pin, a smaller alternative for the device connection that has not proven popular.
Pinouts for a parallel port connectors are:
| IEEE 1284 connector configuration | ||||
|---|---|---|---|---|---|
| Pin # (DB25) | Pin # (36 pin) | Signal name | Direction | Register - bit | Inverted |
| 1 | 1 | nStrobe | Out | Control-0 | Yes |
| 2 | 2 | Data0 | In/Out | Data-0 | No |
| 3 | 3 | Data1 | In/Out | Data-1 | No |
| 4 | 4 | Data2 | In/Out | Data-2 | No |
| 5 | 5 | Data3 | In/Out | Data-3 | No |
| 6 | 6 | Data4 | In/Out | Data-4 | No |
| 7 | 7 | Data5 | In/Out | Data-5 | No |
| 8 | 8 | Data6 | In/Out | Data-6 | No |
| 9 | 9 | Data7 | In/Out | Data-7 | No |
| 10 | 10 | nAck | In | Status-6 | No |
| 11 | 11 | Busy | In | Status-7 | Yes |
| 12 | 12 | Paper-Out | In | Status-5 | No |
| 13 | 13 | Select | In | Status-4 | No |
| 14 | 14 | Linefeed | Out | Control-1 | Yes |
| 15 | 32 | nError | In | Status-3 | No |
| 16 | 31 | nInitialize | Out | Control-2 | No |
| 17 | 36 | nSelect-Printer | Out | Control-3 | Yes |
| 18-25 | 19-30,33,17,16 | Ground | - | - | - |
| table reproduced from wikipedia | |||||
IEEE-1284 cables have a maximum length of 10m (31 feet) and a maximum data rate of 2.5Mbs.
Laboratory usage
The IEEE-1284 interface has been used in the laboratory for many years as the interface of choice to printing devices, but it is being phased out in favor of more modern interfaces, such as USB. It has never been widely used for general device or instrument interfacing.
Return to Electronic Interfaces
References
| Click [+] for other articles on |
| The Market Place for Lab Automation & Screening | The Market Place |


