基于LabVIEW平台的DSP与PC的Modbus协议串口通信实现
吴振奎,张自雷,魏毅立,周金生,田春雨
(内蒙古科技大学 信息工程学院,内蒙古 包头 014010)
关键词:Modbus;LabVIEW;DSP;串口通信
中途分类号:TP29 文献标识码:A
摘 要:本文以PC作为主机、DSP作为从机,设计了DSP与PC的RS-232串行通信接口电路;基于LabVIEW开发平台编写Modbus协议通信程序,实现了DSP与PC的通信,并成功应用于活塞式气动发动机电控配气控制系统。该系统硬件电路简单,软件编写容易,拓展性和移植性较好。
The realization of serial communication Modbus protocol between DSP and PC based on LabVIEW
Wu Zhen-kui, Zhang Zi-lei, WEI Yi-li,ZHOU Jin-sheng, TIAN Chun-yu
(Information EngineeringSchool, Inner Mongolia University of Science and Technology, Baotou 014011, China)
Key words:Modbus;LabVIEW;DSP;Serial communication.
Abstract: RS-232 protocol serial communication interface was designed with PC as a host and DSP as a slave computer. The Modbus programs based on LabVIEW platform was completed ,andthe communication between PC and DSP was realized, which was successfully applied to an air-powered piston engine control system with electro-controlledvariable valve. The hardwarecircuit of the system is simple, and it is easy to program with a better result in scalability and portability.