摘要
介绍了Modbus协议并讨论了遵守Modbus RTU协议的传输数据的CRC算法验证的实现。结合西门子S7-200PLC的特点给出了利用Visual Basic中的MSComm控件实现基于该协议的计算机与可编程控制器串行通信的方法。
This paper introduced Modbus Protocol, and discussed the application of CRC algorithm in data transmission, which abided by MODBUS RTU Protocol. According to the characteristics of Siemens S7-200PLC ,a communication method between the computer and PLC with MSComm ActiveX of Visual Basic based on Modbus Protocol was presented .
出处
《机械工程与自动化》
2008年第3期85-87,共3页
Mechanical Engineering & Automation