首页 | 本学科首页   官方微博 | 高级检索  
     

基于ATmega128的测控系统的Modbus通信
引用本文:杜明芳,程红,郭佳玲.基于ATmega128的测控系统的Modbus通信[J].高电压技术,2005,31(3):48-50.
作者姓名:杜明芳  程红  郭佳玲
作者单位:中国矿业大学机电与信息工程学院,北京,100083;中国矿业大学机电与信息工程学院,北京,100083;中国矿业大学机电与信息工程学院,北京,100083
摘    要:结合实际课题,提出了在高压开关测试仪中实现Modbus通信接口模块并利用此通用模块将测试仪接入组态软件的思想,开发了基于 AVR微控制器的 Modbus通信接口模块,在此基础上完成了下位机通过 Modbus协议与上位组态软件的实时通信,最终实现了对高压开关测试系统的远程监控。将 Modbus协议做进 8 位的 AT mega128单片机进而实现远距离监控的做法思路新颖,既解决了上位机系统开发驱动程序困难的问题,又因采用已被广泛应用的Modbus协议而使该测试仪的系统集成能力大大增强。

关 键 词:Modbus  ATmega128  USART  组态软件
文章编号:1003-6520(2005)03-0048-03
修稿时间:2004年6月1日

Modbus Communication in Measuring & Control System Based on ATmega128
DU Mingfang,CHENG Hong,GUO Jialing.Modbus Communication in Measuring & Control System Based on ATmega128[J].High Voltage Engineering,2005,31(3):48-50.
Authors:DU Mingfang  CHENG Hong  GUO Jialing
Affiliation:(School of Electricity and Information Engineering, China University of Mining and Technology, Beijing 100083, China)
Abstract:Combining with practical subject, this paper brings fo rward a creative idea which develops a Modbus communication module in High-Volt age measuring instrument and integrates it into the configuration software throu gh the Modbus protocol. Using the Modbus module based on AVR MCU, the system suc ceeds in the real-time communication between the instrument and the configurati on software running on PC, and finally long-distance monitoring is realized. Th e idea of developing a Modbus module in 8-digit ATmega128 is original and not o nly overcomes the difficulty of programming drivers but also enhances the instru ment's integration ability.
Keywords:Modbus  ATmega128  USART  configuration software  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号