摘要
介绍了Modbus串行通信协议的原理,并在TMS320LF2407变频器控制模块上采用汇编语言实现基于Modbus的RTU模式程序编写。重点对设计中的关键程序进行了分析和探讨,并通过在实验室搭建硬件平台,验证了项目的可行性,实现了上位机和变频器的串行通信及控制功能。
This paper introduces the Modbus protocol and uses assembly language to realize the RTU mode programming based on Modbus in TMS320 LF2407 inverter. The key procedures in the design are analyzed and discussed,and the feasibility of the project is verified by building a hardware platform in the laboratory,and the serial communication and control functions of the host computer and the frequency converter are realized.
引文
[1]刘和平,严利平,张学锋,等. TMS320LF240x DSP结构、原理及应用[M].北京:北京航空航天大学出版社,2002.
[2]华镕.从MODBUS到透明就绪[M].北京:机械工业出版社,2009.
[3]郭鹏义,杨耕.基于DSP的变频器与PC机串行通信的实现[J].电气传动,2004(2):45-47.