136
edits
| Line 106: | Line 106: | ||
== '''Checksum calculation''' == | == '''Checksum calculation''' == | ||
In order to calculate the checksum, you can go to the site '''<nowiki>https://crccalc.com</nowiki>''' and enter your request '''without the $ sign''', select HEX, '''CRC-16 ModBUS''' and click Calc CRC-16 | |||
Calculating the checksum on the [https://crccalc.com crccalc site] | |||
The resulting value must be written to the command being sent. In this case, the value obtained during the calculation 0C 44 should be written to the command as 44 0C. | |||
'''Response from the sensor:''' | |||
'''01 03 08 14 04 67 00 00 00 00 00 D8 FF''' | '''01 03 08 14 04 67 00 00 00 00 00 D8 FF''' | ||