RTU mode:
Reference information: Response information:
LRC(ASCII mode)and CRC(RTU mode)error detection value calculation:
LRC calculation in ASCII mode:
ASCII mode uses LRC (Longitudinal Redundancy Check) error detection value. The exceeded parts (e.g. the total value is
128
H
of hex, then take 28
H
only) is taken off by the unit of 256 in the total value from ADR to the last information, then
calculate and compensate, the final result is LRC error detection value.