ARDAT Posted January 27 Report Share Posted January 27 Hi! I am trying to use the PROTOCOL SEND function and send a simple message terminated by CRC-8. But the results are strange. I have created a simple program and configured PROTOCOL SEND to send a message: TEST, end of message is Checksum & ETX, the ETX is 0x0A, the calculation method is CRC-8 (binary), modulus 256, no offset and checksum length 1 byte. The expected result is: TEST<CRC-8>\n => in hex [7A][0A] see https://crccalc.com/?crc=2353440a &method=crc8&datatype=hex&outty The actual result is: [0B][0A] Is there any way, how to calculate real CRC-8? What is the current algorithm used in Visilogic (there is nothing in the help). I have also tried some other methods, but I do not get expected results either. Thank you in advance! David Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.