How to validate modbus RTU data CRC in c#

Vidya Suryanarayana 1 Reputation point

I've a modbus request hex data that is fetched from a usb sniffer generated file.
This is how the data is
2 41 1 4 99 1 b4 0 1 40 0 1 b4 0 0 0 19 fe bc

the last values are the CRC LSB and MSB. How can I validate the CRC for this ?


A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,143 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,618 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. David Lowndes 4,686 Reputation points

    Find a C# implementation (or do it yourself) of the Modbus CRC algorithm.

    0 comments No comments