- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 3kb
- Update:
- 2013-10-25
- Downloads:
- 0 Times
- Uploaded by:
- 蒋晓军
Description: RS485 communication program. Modbus protocol ASCII mode
Using ASCII mode, the message includes an error detection method based LRC domain.
LRC field testing in addition to the beginning of the message field colon and end carriage return line numbers outside content.
LRC field is a binary value that contains an 8-bit byte.
LRC value calculated by the transmission device and into the message frame, the receiving device receiving the message in the process of calculation LRC,
Receives the message and place it in the LRC field value, and if the two values are unequal, there is an error.
LRC is the message of the continuous accumulation of bytes 8Bit, discarding the carry bit.
To Search:
File list (Check if you may need any files):
SerialCommunication.C