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

C#编程实现Modbus通信协议
引用本文:崔晶,徐晓光,倪康,夏雯娟.C#编程实现Modbus通信协议[J].新乡学院学报(自然科学版),2014(8):30-33.
作者姓名:崔晶  徐晓光  倪康  夏雯娟
作者单位:安徽工程大学电气工程学院,安徽芜湖,241000
摘    要:运用C#编程语言开发了Modbus通信系统,实现温湿度采集。系统下位机采用具有Modbus通信功能的温湿度检测模块,多个模块通过RS485总线连接,并通过RS232-RS485转换器将通信总线连接到PC机串口。系统以Modbus协议访问每个温湿度模块,实现了多点温湿度采集。

关 键 词:C#  SerialPort  Modbus  温湿度

Modbus Communication Protocol Achieved by C# P rog ram
Authors:CUI Jing  XU Xiaoguang  NI Kang  XIA Wenjuan
Affiliation:CUI Jing;XU Xiaoguang;NI Kang;XIA Wenjuan;College of Electrical Engineering,Anhui Polytechnic University;
Abstract:Modhus communication system was developed by using C# programming language, which took tempera- ture and humidity acquisition system as an example. Slave machine was temperature and humidity testing modules with Modbus communication function. Multiple modules were connected via bus 485, and the communication bus was connected to a PC serial port though RS232-RS485 converter. System software accessed each module with Modbus protocol. Thus multi-point temperature and humidity acquisition was achieved.
Keywords:C#  Serialport  Modbus  temperature and humidity
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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