Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

CRC16 for ModBus RTU calculation

Posted on 2004-10-23
2
Medium Priority
?
8,107 Views
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
0
Comment
Question by:SergioRos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 76

Accepted Solution

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

Author Comment

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

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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

609 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