Note; Crc I5000Ck - IACDRIVE I5000 Series Operation Manual

Sensorless vector control inverter
Table of Contents

Advertisement

Request format:
Protocol data unit
Command
Data Address
Write Content
Reply format (success):
Protocol data unit
Command
Data Address
Write Content
If the operation fails, the inverter will reply a message formed by failure command and error
code. The failure command is (Command+0x80). The error code indicates the reason of
the error; see table 1.

10.5 Note:

10.5.1 Between frames, the span should not less than 3.5 bytes interval, otherwise, the
message will be discarded.
10.5.2 Be cautious to modify the parameters of PC group through communication,
otherwise may cause the communication interrupted.
10.5.3 In the same frame, if the span between two .near bytes more than 1.5 bytes
interval, the behind bytes will be assumed as the start of next message so that
communication will failure.

10.6 CRC I5000ck

For higher speed, CRC-16 uses tables. The following are C language source code for CRC-
16.
unsigned int crc_cal_value(unsigned char *data_value,unsigned char data_length)
{
int i;
unsigned
int
while(data_length--)
{
crc_value^=*data_value++;
for(i=0;i<8;i++)
{
if(crc_value&0x0001)crc_value=(crc_value>>1)^0xa001;
crc_value=crc_value>>1;
Data length(bytes)
1
2
2
Data length(bytes)
1
2
2
crc_value=0xffff;
Range
0x06
0~0xFFFF
0~0xFFFF
Range
0x06
0~0xFFFF
0~0xFFFF
else
117

Advertisement

Table of Contents
loading

Table of Contents