HV580L Series Frequency Inverter
194
preset, fixed value. If the LSB is 0, no exclusive XOR takes place. This process is repeated until 8 shifts have
been performed. After the last (8) shift, the next eight-
bit byte is exclusive XOR with the register’s current
value, and the process repeats for 8 more shifts as described above. The final contents of the register, after all
the bytes of the message have been applied, is the CRC value.
When CRC appended to the message, the low byte is appended first, and then the high byte.
CRC calculation program:
unsigned int crc_chk_value(unsigned char *data_value,unsigned char length)
{
unsigned int crc_value=0xFFFF;
int i;
while(length--)
{
crc_value^=*dat+;
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);
}
Communication data address definition:
The chapter is about communication contents, it’s used to control the inverter operation, the status of the
inverter and related parameter setup. Read and write function code parameters (Some function codes are not
able to be changed, only for the manufacturer use.). The mark rules of function code parameters address:
The group number and mark of function codes are parameter address for indication rules.