引用本文: | 周立平,李劼,张文根,丁凤其.PC机通过USB口与工业控制系统的通信实现[J].电力自动化设备,2005,(9):69-72 |
| .Communication through USB between PC and industrial control system[J].Electric Power Automation Equipment,2005,(9):69-72 |
|
|
摘要: |
工业领域中PC机与工业控制系统的通信方式一般通过串行口实现,鉴于通用串行总线USB(Universal Serial Bus)的优越性,设计了基于USB总线的数据采集系统.该系统是由增强型P89C61X2单片机、CAN控制器SJA1000和USB2.0接口芯片ISP1581组成,工业控制网络为基于CAN总线的现场总线控制系统。阐述了PC机通过USB口与工业控制系统(CAN网络)通信的实现方法和设计细节。结果表明,通过PC机的USB口可以对CAN总线控制网络上的数据和信息进行实时采集和处理, |
关键词: USB总线 现场总线控制系统 在系统编程 CAN总线 驱动程序 API函数 |
DOI: |
分类号:TP39 |
基金项目: |
|
Communication through USB between PC and industrial control system |
ZHOU Li-ping LI Jie ZHANG Wen-gen DING Feng-qi
|
Abstract: |
The serial port is normally used in the communication between PC and industrial control system.Due to the high performances of USB(Universal Serial Bus),a data acquisition system based on USB is designed.It consists of enhanced P89C61X2(single-chip computer),SJA1000(CAN controller) and ISP1581(USB2.0 interface chip).The industrial control system is based on FCS of CAN bus.The design and implementation of communication between PC and industrial control system through USB is expounded.The results show that it is practical to real-timely acquire and process the data and information from CAN through UBS communication. |
Key words: USB FCS in system programming CAN bus driver program API function |