Description: 本程序是专门针对Moxa的嵌入式计算机(LINUX系统版)写的,采用的是C语言,用于通信协议的转换即将串口设备转换为标准的Modbus TCP/IP协议!
默认的端口为502!本例运行平台是moxa的Uc7408-Lx-8上,上位机是IFIX,驱动为MBE!串口设备是一些电力仪表!
要正确编译本程序,需要在Linux环境下,推荐采用Ubuntu!同时需要在Ubuntu上安装moxa的开发包,这个可以在其官网上下载!你只需要
简单的修改就可以用在实际的工程中!-This program is designed for Moxa' s embedded computers (LINUX system version) written using the C language for communication protocol conversion will convert a standard serial device Modbus TCP/IP protocol! Default port is 502! In this case the operating platform moxa Uc7408-Lx-8, the host computer is IFIX, driven MBE! Serial devices are some of the power meter! To properly compile this program, you need the Linux environment, recommend the use of Ubuntu! Also need to install on Ubuntu moxa development package, this can be downloaded in its official website! You only need a simple modification can be used in the actual project! Platform: |
Size: 11264 |
Author:谢飞龙 |
Hits: