For faster navigation, this Iframe is preloading the Wikiwand page for 并行端口.

并行端口

本条目存在以下问题,请协助改善本条目或在讨论页针对议题发表看法。 此条目可参照英语维基百科相应条目来扩充。 (2020年8月10日)若您熟悉来源语言和主题,请协助参考外语维基百科扩充条目。请勿直接提交机械翻译,也不要翻译不可靠、低品质内容。依版权协议,译文需在编辑摘要注明来源,或于讨论页顶部标记((Translated page))标签。 此条目需要补充更多来源。 (2020年8月10日)请协助补充多方面可靠来源改善这篇条目无法查证的内容可能会因为异议提出而被移除。致使用者:请搜索一下条目的标题(来源搜索:"并行端口"网页新闻书籍学术图像),以检查网络上是否存在该主题的更多可靠来源(判定指引)。
并行端口
IBM兼容机常见的一个用于连接打印机的DB-25并行端口,带有打印机图案。
类别 点对点连接
设计者 Centronics, IBM
设计时间 1970–1981
制造商 Centronics, Dataproducts, Intel, IBM, Compaq, Nortel等
取代 USB (1996)
长度 2.3厘米(0.91英寸)
热插拔 通常不支持
外接
缆线 通常为25口,有外壳包裹。
引脚 8个数据针,其中4个用于输出控制器,,5个用于输入控制器,8个地线
连接器 DB-25, DB25F, "Centronics" 36-pin Amphenol, DC-37
信号 0到+5.0伏 DC
接地 专用引脚
最大电压 5V直流电
数据信号 并行
宽度 可变位宽
比特率 PP: 150 kB/s,[1]
EPP: 2 MB/s
ECP: 2.5 MB/s
最多装置数 2
协议 应用
如图展示了IBM兼容机上的并口引脚输出定义

并行端口Parallel Port),又称平行端口LPT(Line Printer Terminal),是电脑上数据以并行方式传递的端口,也就是说至少应该有两条连接线用于传递数据。与只使用一根线传递数据(这里没有包括用于接地、控制等的连接线)的串行端口相比,并口在相同的数据传送速率下,可以更快地传输数据。在21世纪之前,在需要较大传输速度的地方,例如打印机,并口得到广泛使用。但是随着速度迅速提高,并口上导线之间数据同步成为一个很难处理的难题,导致并口在速度竞赛中逐渐被淘汰。目前USB等改进的串口逐渐代替了并口。

用途

端口地址

传统上IBM个人电脑会按下表的配置分配前三个并口。

端口号 中断 起始I/O地址 终止I/O地址 Notes
7 0x3BCh 0x3BFh Used Parallel Ports which were incorporated on to Video Cards-Doesn't support ECP addresses
LPT1 5 0x378h 0x37Fh Usual Address For LPT 1
LPT2 5 0x278h 0x27Fh Usual Address For LPT 2
地址 别名 MSB LSB
Bit: 7 6 5 4 3 2 1 0
Base 数据输出 Pin: 9 8 7 6 5 4 3 2
Base+1 状态输入 Pin: ~11 10 12 13 15
Base+2 控制 Pin: ~17 16 ~14 ~1

~ 表示该 pin 信号是反相的

针定义

引脚号码(D-Type 25) 引脚号码(并行) SPP信号 发送方向 寄存器 信号反相
1 1 ~Strobe 出/入 控制
2 2 Data 0 输出 资料
3 3 Data 1 输出 资料
4 4 Data 2 输出 资料
5 5 Data 3 输出 资料
6 6 Data 4 输出 资料
7 7 Data 5 输出 资料
8 8 Data 6 输出 资料
9 9 Data 7 输出 资料
10 10 ~Ack 输入 状态
11 11 Busy 输入 状态
12 12 Paper-Out / Paper-End 输入 状态
13 13 Select 输入 状态
14 14 ~Auto-Linefeed 出/入 控制
15 32 ~Error / ~Fault 输入 状态
16 31 Initialize 出/入 控制
17 36 ~Select-Printer / ~Select-In 出/入 控制
18 - 25 19-30 Ground Gnd

~ 表示 active low,例如若有错误, pin 为低位时,表示有错误(Error),高位为正常。

注:输出表示信号从电脑输出到 Device,如 Printer。

参考资料

  1. ^ James, Kevin. PC interfacing and data acquisition : techniques for measurement, instrumentation and control. Oxford ; Boston : Newnes, 2000. ISBN 9780750646246. p. 256
{{bottomLinkPreText}} {{bottomLinkText}}
并行端口
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?