This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modbus CRC?
#3
Hello Admin,

I found this somewhere before, but I can't get it to work. The calculated CRC value is always something else than expected.

Here are few sample telegrams (last two bytes are the CRC):

02 08 05 [17 C3] - read address
02 00 02 [51 C1] - response

02 05 00 00 [11 9D] - read cumulative energy
02 03 00 D6 35 FF FF FF FF 00 00 BC 10 02 00 52 DE [78 B8] - response

This calculator gives a correct CRC for every check:
https://www.lammertbies.nl/comm/info/crc...ation.html

for the CRC-16 (Modbus) type.
Reply


Messages In This Thread
Modbus CRC? - by zoltan - 25.05.2017, 11:42
RE: Modbus CRC? - by admin - 25.05.2017, 11:52
RE: Modbus CRC? - by zoltan - 25.05.2017, 13:18
RE: Modbus CRC? - by admin - 25.05.2017, 16:38
RE: Modbus CRC? - by zoltan - 25.05.2017, 17:01

Forum Jump: