Delta ASDA-B2-F Series User Manual page 197

Economic ac servo drive with dmcnet communication
Table of Contents

Advertisement

Communications
CRC (RTU Mode):
The calculation description of CRC value is as the followings:
1. Load a 16-bit register of FFFFH, which is called ‟CRC" register.
8
2. (The low byte of CRC register) XOR (The first byte of command), and save the result to CRC
register.
3. Check the least significant bit (LSB) of CRC register. If the bit is 0, right move one bit; If the
bit is 1, then right move one bit and (CRC register) XOR (A001H).
4. Return to step 3 until step 3 has been executed for 8 times. Go to step 5.
5. Repeat the procedure from step 2 to step 4 until all byte is processed.
The content of CRC register is the CRC value.
After calculating the CRC value, fill in the low word of CRC value in command message, and
then the high word. For example, if the result of CRC calculation is 3794H, 94H should be filled in
low word and 37H in high word which is shown as below:
8-12
ARD
CMD
Start Data Address
Data Number
(in word)
CRC Check Low
CRC Check High
01H
03H
01H (High)
01H (Low)
00H (High)
02H (Low)
94H (Low)
37H (High)
ASDA-B2-F
September, 2015

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents