This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Java in General and the fly likes Checksum crc 16 modbus Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Checksum crc 16 modbus" Watch "Checksum crc 16 modbus" New topic
Author

Checksum crc 16 modbus

sukbir frwa
Greenhorn

Joined: May 12, 2011
Posts: 14
Dear All,
I have a string which I need to get the checksum values via java. Any help on how to achieve this? Thank you.
James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

<deleted> since I Googled the title and found a 'modbus' definition.


Retired horse trader.
 Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
sukbir frwa
Greenhorn

Joined: May 12, 2011
Posts: 14
Dear All,
Below is what I have found but unfortunately is for CRC32. Can I get something for CRC 16 Modbus.

sukbir frwa
Greenhorn

Joined: May 12, 2011
Posts: 14
Dear James,
I know that I require CRC 16 Modbus but I am not too sure about what polynomial? Can you help me on this? Thank you.

James Sabre wrote:
sukbir sss wrote:Dear All,
I have a string which I need to get the checksum values via java. Any help on how to achieve this? Thank you.


There are many many checksums. You will have to say which checksum you require and what polynomial it should use in the feedback.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Checksum crc 16 modbus
 
It's not a secret anymore!