EasyDrive CV3100 Series Instruction Manual page 158

High performance general purpose inverter
Table of Contents

Advertisement

CV3100 series and MINI series high performance general purpose inverter instruction manual
The response massage when forward and decelerate:
RTU mode check code(CRC Check)(CRC Check)
Check the code by the end of Address to Data content.
The operation rules are as follows::
Step 1: make 16-bit register (CRC register) = FFFFH.
Step 2: Exclusive OR the first 8-bit byte message command with the low bit 16-bit
CRC register, do the Exclusive OR, and save the result into the CRC register
Step 3: MoveRight a CRC register, fill in the high bit at 0.。
Check the right value, if it is 0, step 3 of the new value into the CRC register,
otherwise the Exclusive OR A001H and CRC register, save the result into the
register of the CRC.
Step 5: Repeat step 3 and 4, the 8-bit all the operations completed.
Step 4: Check the right value, if it is 0, step 3 of the new value into the CRC register,
Step 4: Step 6: Repeat step 2 to 5, removed an 8-bit message command, until
completion of the operation instructions of all messages. Finally, get the value
of the CRC register, which is the CRC checksum. Note that the CRC check
code must be placed in the message exchange check code instructions
The following is written in C language example of CRC generation::
unsigned char* data
unsigned char length // Massage command length
Address
Function
Data volume(Byte)
Fault Number
CRC CHK Low
CRC CHK High
// Message instruction pointer
1FH
03H
02H
00H
B1H
D0H
32H
9-24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents