ARDAT Posted January 27, 2023 Report Share Posted January 27, 2023 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 [54][45][53][54][7A][0A] see https://crccalc.com/?crc=2353440a &method=crc8&datatype=hex&outty The actual result is: [54][45][53][54][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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now