[Webinar] Streamline your web hosting managementRegister Today


CRC16 for ModBus RTU calculation

Posted on 2004-10-23
Medium Priority
Last Modified: 2013-12-26
Hi all

  I need to calculate CRC16 for ModBus RTU.

  I've found some CRC16 algorithms, but they are all CCITT CRC, not ModBus.

  ModBus uses the formula:

2^15 + 2^13 + 2^0

  Can anyone help me?

  Thanks in advance
Question by:SergioRos
LVL 77

Accepted Solution

GrahamSkan earned 1500 total points
ID: 12391724
There are several solutions here: http://modbus.control.com/dev/1026164935/index_html

Author Comment

ID: 12521469
Thanks, Graham. I've found the code I need in that web site


Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 3 hours left to enroll

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question