基于LwIP和Modbus TCP协议的网络控制器设计  被引量:4

Design of Network Controller Based on LwIP and Modbus TCP Protocol

在线阅读下载全文

作  者:史先传[1] 殷帅 许议元 SHI Xian-chuan;YIN Shuai;XU Yi-yuan(College of Mechanical and Rail Transportation,Changzhou University,Changzhou 213164,China)

机构地区:[1]常州大学机械与轨道交通学院,常州213164

出  处:《自动化与仪表》2023年第2期19-24,共6页Automation & Instrumentation

摘  要:为了实现对终端设备的网络远程控制和监测,该文设计了一款基于LwIP和Modbus TCP协议的网络控制器。该控制器以STM32F107RCT6和LAN9303芯片为核心,设计出了网络通信电路、网口电路、A/D采样电路、光耦隔离电路和IO口电路。软件设计主要完成了LwIP协议栈的移植、Modbus TCP协议程序和其他控制程序的编写。经过测试,所设计的网络控制器在对设备进行远程控制和监测时具有数据传输可靠、通讯稳定和实时性好的优点,能满足工厂使用。In order to realize the network remote control and monitoring of the terminal equipment,a network controller based on LwIP and Modbus TCP protocol is designed. The controller hardware takes STM32F107RCT6 and LAN9303 chips as the core,and designs network communication circuit,network port circuit,A/D sampling circuit,optocoupler isolation circuit and IO port circuit. The software design mainly completes the transplantation of the LwIP protocol stack,the writing of the Modbus TCP protocol program and other control programs. After testing,the designed network controller has the advantages of reliable data transmission,stable communication and good real-time performance in the remote control and monitoring of the equipment,which meets the needs of the factory.

关 键 词:LWIP协议 Modbus TCP协议 STM32F107RCT6 LAN9303 网络控制 

分 类 号:TP277[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象