ASDA-B2-F Communications
September, 2015
8-11
8
LRC and CRC Transmission Error Check
The error check of ASCII mode is LRC (Longitudinal Redundancy Check) and CRC (Cyclical
Redundancy Check) is for RTU mode.
LRC (ASCII Mode):
The calculation of LRC is to add up all the byte, round down the carry and take 2’s complement.
For example: 7FH + 03H + 05H + C4H + 00H + 01H = 14CH, round down carry 1 and take 4CH.
2’s complement of 4CH is B4H.
Start
‘
:
’
Slave Address
‘7’
‘F’
Function
‘0’
‘3’
Start Data Address
‘0’
‘5’
‘C’
‘4’
Data Number
‘0’
‘0’
‘0’
‘1’
LRC Check
‘B’
‘4’
End 1
(0DH)(CR)
End 0
(0AH)(LF)
Summary of Contents for ASD-B2-0121-F
Page 3: ...September 2015 This page is intentionally left blank...
Page 9: ...VI September 2015 This page is intentionally left blank...
Page 29: ...Installation ASDA B2 F 2 12 September 2015 2 This page is intentionally left blank...
Page 185: ...Parameters ASDA B2 F 7 68 September 2015 7 This page is intentionally left blank...
Page 199: ...Communications ASDA B2 F 8 14 September 2015 8...
Page 201: ...Communications ASDA B2 F 8 16 September 2015 8 This page is intentionally left blank...
Page 217: ...Troubleshooting ASDA B2 F 9 16 September 2015 9 This page is intentionally left blank...
Page 239: ...Absolute System ASDA B2 F 10 22 September 2015 10 This page is intentionally left blank...