摘要
在对CAN协议及TCP/IP协议栈进行深入研究的基础上,设计了以太网与CAN总线互联网关,该设计可以实现基于TCP/IP协议的计算机网络设备与基于CAN总线协议的底层现场网络互联。通过Visual C++6.0编写了网关上的程序使用了MSComm和WinSock控件提供串口通信和TCP/IP通信功能,通过数据包发送和接收实验表明Can-Ethernet网关设计的有效性。
This paper designs the gateway of Ethernet-CAN based on the study of CAN Protocol and TCP/IP Protocol Stack.It can communicate the computer network based on the TCP/IP protocol with the field network based on the CAN Bus protocol.The experimental program is developed in Visual C++ 6.0 with MSComm and WinSock control that providing TCP/IP and serial port data service.The results of data packet send/receive experiments show that the design of CAN-Ethernet is effective.
出处
《自动化技术与应用》
2010年第8期77-81,共5页
Techniques of Automation and Applications
基金
广东工业大学高教研究基金项目"构建教育教学质量保障的智能化评价体系"(2009D06)