Delta ASDA-A2 Series User Manual page 590

High resolution ac servo drive for network communication applications
Hide thumbs Also See for ASDA-A2 Series:
Table of Contents

Advertisement

Chapter 9 Communications
LRC and CRC Error Checking
ASCII mode adopts LRC (Longitudinal Redundancy Check) and RTU mode adopts CRC (Cyclical
Redundancy Check)
LRC (ASCII Mode):
LRC (Longitudinal Redundancy Check) is calculated by summing up, module 256, the values
of the bytes from Slave address to last data character then calculating the hexadecimal
representation of the 2's-complement negation of the sum.
For example, reading 1 word from address 05C4H of the AC servo drive with address 7FH.
Start
Slave address
Function
Starting data address
Number of data
LRC Check
End 1
End 0
7FH + 03H + 05H + C4H + 00H + 01H = 14CH, take 4CH only, the 2's complement negation of
4CH is B4H.
Hence, we can know that LRC CHK is 'B','4'.
Revision September 2012
':'
'7'
'F'
'0'
'3'
'0'
'5'
'C'
'4'
'0'
'0'
'0'
'1'
'B'
'4'
(0DH)(CR)
(0AH)(LF)
A2
ASDA-
9-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents