Calculating the CRC for Messages using the TCP/IP Communication Protocol APPLICATION NOTE

2022-02-28
●Introduction
■A cyclic redundancy check (CRC) is an error-detecting techniquethat is commonly used to detect accidental changes to data in networks. A check value is attached to the original data prior to transmitting it. When the data is received after being transmitted through anetwork the check value can be used to determine if the data has been corrupted.
■MagneMotion uses the CRC-CCITT standard with an initial value of 0xFFFF and the mask polynomial 0x1021 = 2^16+2^12+2^5+1 = 100010000001000012.Note that the hexadecimal representation (0x1021) omits the leading 1 of the binary representation according tocommon practice.
●Summary
■The CRC is used in MagneMotion’s TCP/IP Communications Protocol to detect transmission errors. The step by step example in this App Note describes the process to calculate the CRC value and how to use it to detect accidental data corruption.

ROCKWELL

More

More

Application note & Design Guide

More

More

Please see the document for details

More

More

English Chinese Chinese and English Japanese

2020/2/18

Rev. A

MMI-AT031A-EN-P

396 KB

- The full preview is over. If you want to read the whole 7 page document,please Sign in/Register -
  • +1 Like
  • Add to Favorites

Recommend

All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.

Contact Us

Email: