How can i write CRC16 program? (in modbus)
Ältere Kommentare anzeigen
hello..
I'm trying to run motor using MODBUS communication.
Please help me the CRC16 calculation program.
If enter query : 01100058001020000000000000000200002134000007D0000005DC000005DC000003E800000001 ,
the result is : 1C08 ← correct.

↑
Motor control program I made(but,There is no CRC16 calculation program, so i have to write it by hand. )

↑
https://crccalc.com/
2 Kommentare
Atsushi Ueno
am 20 Mai 2021
How about using the code posted on File Exchange?
Uihwan Kim
am 25 Mai 2021
Antworten (1)
Steven Lord
am 19 Mai 2021
0 Stimmen
See the swapbytes function.
1 Kommentar
Uihwan Kim
am 25 Mai 2021
Kategorien
Mehr zu Operating on Diagonal Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!