DL100 Series Universal Low-Power Inverter
CRC CHECK:
CRC CHECK function is shown as below:
unsigned int crc_chk_value(unsigned char *data_value, unsigned char length)
{
unsigned int crc_value=0xFFFF;
int i;
while(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);
}
3. Definition of communication parameter address
Distribution of inverter parameter address
High is the number of function code group, while low is mark
number of function code, e.g. F1.11, the register address is F10B.
High is 0xD0 and low is monitoring mark number, e.g. d-12, the
register address is D00C
Note:
(1)The frequent writing of function code parameters in the EEPROM will reduce
its service life. Some parameters in the communication mode don’t need to store,
but to modify the RAM value. When writing the functional parameter of RAM,
just change “F” to “0” in the high address of the register, e.g. when writing the
RAM value of F1.11, its register address should be 010 B, but the expression
method of the register address cannot be used to read the functional parameters
of the frequency inverter.