56
SUNFAR E300 SERIES
Demurral code means failure type:
Demurral code
Corresponding failure
01
Invalid function code
02
Invalid data addr.
03
Data beyond limitation
04
Slave invalid operation
20
Read too much parameter
21
Read stored and hided parameter
22
Slave running prohibits modification data
23
Data modification by password protection
24 Read
parameter
failure
CRC checkout:
CRC checkout
CRC low order
CRC high order
Data length (Byte)
1
1
CRC checkout function as follow:
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;
E300 Series Mini-type Integrated Universal Inverter Manual