资 源 简 介
】 本文主要讨论了Modbus 通信协议的R TU 帧格式中常用的错误校验方法,即循环冗余校验法( CRC) 。
提出了Modbus 协议反转CRC 校验的方法,推导了反转CRC 校验快速计算表格,并用C 语言实现了基于快速查
表算法的循环冗余校验程序。-In this paper, we mainly discuss the Modbus communication protocol R TU frame format commonly used in error checking methods, namely, Cyclic Redundancy Check Code (CRC). Modbus protocol proposed inversion method CRC checksum, CRC checksum is derived fast computing inversion table, and C language to achieve a quick look-up table algorithm based on cyclic redundancy check procedure.