![Delta ASD-M-0721 Series Скачать руководство пользователя страница 556](http://html1.mh-extra.com/html/delta/asd-m-0721-series/asd-m-0721-series_user-manual_2474520556.webp)
ASDA-M Chapter 9 Communication
Revision December, 2014
9-15
LRC and CRC transmission error checking
The error checking in ASCII communication mode is LRC (Longitudinal Redundancy
Check); CRC (Cyclical Redundancy Check) is for RTU communication mode. The
algorithm of both is as the following.
LRC (ASCII mode):
The LRC algorithm is: add all 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.
CRC (RTU mode):
The description of CRC is as the followings:
Step 1: Load a 16-bits register of FFFFH, which is called
CRC
register.
Step 2: (The low byte of CRC register) XOR (The first byte of command), and save the
result in CRC register.
Step 3: Right move one bit. Check the least significant bit (LSB) of CRC register. If the
bit is 1, then (CRC register) XOR (A001H).
Step 4: Return to Step 3 until Step 3 has been executed for 8 times. Go to Step 5.
Step 5: Repeat the procedure from Step 2 to Step 4 until all byte is processing. Get the
result of CRC value.
Start ‘
:
’
Slave Address
‘7’
‘F’
Function
‘0’
‘3’
Starting data address
‘0’
‘5’
‘C’
‘4’
Number of data
‘0’
‘0’
‘0’
‘1’
LRC Check
‘B’
‘4’
End 1
(0DH)(CR)
End 0
(0AH)(LF)
Содержание ASD-M-0721 Series
Страница 20: ...ASDA M Chapter 1 Inspection and Model Explanation Revision December 2014 1 7 ASDA M Series Servo Drive top view...
Страница 36: ...ASDA M Chapter 2 Installation Revision December 2014 2 15 Delta Part Number BR1K5W005 3kW 10...
Страница 37: ...Chapter 2 Installation ASDA M 2 16 Revision December 2014 This page is intentionally left blank...
Страница 161: ...Chapter 6 Control Mode of Operation ASDA M 6 36 Revision December 2014 Frequency Domain...
Страница 231: ...Chapter 7 Motion Control ASDA M 7 44 Revision December 2014 This page is intentionally left blank...
Страница 631: ...ASDA M Appendix A Accessories A 10 Revision December 2014 RS 485 Connector Delta Part Number ASD CNIE0B06...
Страница 645: ...Appendix B Maintenance and Inspection ASDA M B 4 Revision December 2014 This page is intentionally left blank...