AC70 VC CONTROL FREQUENCY INVERTER MANUAL
APPENDIX
139
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);
}
5.2.5 Communication data address definition
It is used to control frequency inverter operation, get state information and parameter setting of frequency inverter.
(1.AC70 serial function parameter address express rules
Take frequency inverter function parameter serial numbers as register address which are divided into the high byte and
the low byte two parts. The high byte expresses the function parameter group serial numbers. The byte expresses the
inner serial numbers of each function parameter group. All need to be changed to hexadecimal.
Address domain high byte definition:
x1xxH:basic parameter group
(E group)
x2xxH:external terminal parameter group(F group)
x3xxH:dedicated function parameter group (H group).
xCxxH: monitoring parameter group (C group).
xExxH: fault information group (ER group).
Attention: due to possibility that the parameters are frequently rewritten exists in the communication, EEPROM are
frequently stored. So its lifetime is cut down. As for the consumer, some function is unnecessarily to store in the
communication mode, only require to changing the value of RAM inner, can satisfy the usage requirement. As AC70
communication protocol stipulates, when it use writing order (06 H), if the parameter function code address domain
highest digit is 0, merely write in the frequency inverter RAM, power down without storing, if the parameter function
code address high half digit is 1, write in EEPROM, namely power off with storing.
For example, rewriting the function parameter [E-16], not depositing to EEPROM, address expresses for 0110H,
depositing to EEPROM, address expresses for 1110H.
Only write in the frequency inverter RAM, power down without storing.
START
Transmission time of 3.5 bytes
Slave machine address
02H
Order code
06H
Write data address high-order
01H
Write data address low-order
10H
Data content high-order
13H
Data content low-order
88H