Modbus RTU With Visual C#: Cyclical Redundancy Check Calculation
Автор: Industrial Networks
Загружено: 2016-12-11
Просмотров: 13443
Описание:
CRC checksum: Starting from Address and ending at Data Content.
Step 1: Make the 16-bit register (CRC register) = FFFFH
Step 2: Exclusive OR the first 8-bit message and the low 16-bit CRC register. Store the result in the CRC register.
*Note: To download all the examples: Modbus RTU With Visual Basic.
Please purchase application: Programming Modbus RTU on Google Play.
Link: https://play.google.com/store/apps/de...
Next you send information (Order Number) to: [email protected]. I will send you all the examples after 4 hours.
Step 3: Right shift CRC register for a bit and fill “0” into the high bit.
Step 4: Check the value shifted to the right. If it is 0, fill in the new value obtained in step 3 and store the value in CRC register; otherwise, Exclusive OR A001H and CRC register and store the result in the CRC register.
Step 5: Repeat step 3 – 4 and finish operations of all the 8 bits.
Step 6: Repeat step 2 – 5 for obtaining the next 8-bit message until the operation of all the messages are completed. The final value obtained in the CRC register is the CRC checksum. The CRC checksum has to be placed interchangeably in the checksum of the message.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: