摘要
数据在通信线路上传输时,由于各种各样的干扰和噪声的影响,导致接收端可能收到不正确的数据.实际工程中,常用16位CRC校验方式实现工业网络底层PLC与上位PC机通讯系统中数据链路层差错校验.文中分析了CRC校验原理,提出了实现CRC校验的算法,编写了基于西门子S7-200PLC的CRC校验程序.
When data transmission on communications lines, due to a variety of interference and noise, the receiving end may receive incorrect data. In practical engineering of industrial networks, PLC is the bottom controller to communicate with the host computer, CRC checksum is commonly used in data link layer error checking. The paper analyzes the principle of CRC checksum, proposes the algorithm to achieve CRC checksum, and prepares the program based on Siemens S7-200 PLC.
出处
《常熟理工学院学报》
2009年第10期80-83,88,共5页
Journal of Changshu Institute of Technology