EasyManuals Logo

INVT Goodrive30 VFD Series User Manual

INVT Goodrive30 VFD Series
175 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #134 background imageLoading...
Page #134 background image
Goodrive30 Series VFD Communication protocol
-128-
received CRC domain. If the two CRC values are not equal to each other, errors occur in the
transmission.
During CRC, 0xFFFF is stored first, and then a process is invoked to process a minimum of 6
contiguous bytes in the frame based on the content in the current register. CRC is valid only
for the 8-bit data in each character. It is invalid for the start, stop, and check bits.
During the generation of the CRC values, the "exclusive or" (XOR) operation is performed on
the each 8-bit character and the content in the register. The result is placed in the bits from the
low-order bit to the high-order bit, and 0 is placed in the high-order bit. Then, the low-order bit
is detected. If the low-order bit is 1, the XOR operation is performed on the current value in the
register and the preset value. If low-order bit is 0, no operation is performed. This process is
repeated 8 times. After the last bit (8th bit) is detected and processed, the XOR operation is
performed on the next 8-bit byte and the current content in the register. The final values in the
register are the CRC values obtained after operations are performed on all the bytes in the
frame.
The calculation adopts the international standard CRC check rule. You can refer to the related
standard CRC algorithm to compile the CRC calculation program as required.
The following example is a simple CRC calculation function for your reference (using the C
programming language):
unsigned int crc_cal_value(unsigned char*data_value,unsigned char
data_length)
{
int i;
unsigned int crc_value=0xffff;
while(data_length--)
{
crc_value^=*data_value++;
for(i=0;i<8;i++)
{
if(crc_value&0x0001)
crc_value=(crc_value>>1)^0xa001;
else
crc_value=crc_value>>1;
}
}
return(crc_value);
}

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the INVT Goodrive30 VFD Series and is the answer not in the manual?

INVT Goodrive30 VFD Series Specifications

General IconGeneral
BrandINVT
ModelGoodrive30 VFD Series
CategoryInverter
LanguageEnglish

Related product manuals