摘要
在日益扩大的以计算机为中心的自动化控制管理系统中 ,通讯分系统在整个系统中所占比重越来越大 .通讯质量的优劣 ,直接关系到系统的可靠性 .数据传输能力、软件通讯协议的制定和通讯的实现也逐渐成为设计者必须解决的关键技术 .以计量管理系统为例 ,结合设计实践 ,介绍了串行通讯的优点以及PB开发平台的基本特征 ,综述了系统功能和软、硬件组成 ,及应用程序要完成的任务 .详细分析了串口通讯的工作流程 ,辅之以程序代码 ,探讨研究了数据传输的实现过程 .
In the automation control system of computer center-based, the communication subsystem plays more and more important role in whole system. The communication quality will affect the reliability of the system. Key technologies, such as data transmission capability, software communication approval adopting and communication implementation were the issues to be solved. Taking metrological management system as an example, the advantages of serial communication and basic features of PB were analyzed in this paper. The functions, software, hardware and missions to be implemented were summarized. The program code-aided operation flowchart of serial communication was analyzed in detail, and the implementation process of data transmission was studied finally.
出处
《光电技术应用》
2004年第5期58-62,共5页
Electro-Optic Technology Application
关键词
智能采集
串行通信
PB
事件驱动
intelligent acquisition
serial communication
PB
event-driven