8. Reference Materials
314
Modbus
8.1 CRC Check Calculation
Sample C functions used for CRC calculation are shown below.
They are equivalent to the CRC calculation functions stated in the published Modbus Protocol
Specification (PI-MBUS-300 Rev. J).