User Manual of SY5000 series AC Drive MODBUS communication protocol
~110~
Step 6
:
Repeat Step
2~
Step
5,
take next 8-bit message command until
all message command calculation completes. After all, get the value of CRC
register, namely CRC check code. It is worth noting that CRC check code must
be swapped to place in the confirmation code.
The following is calculation example of CRC check code which is written by C
language: unsigned char *data
//message command pointer
unsigned char length //message command length
unsigned int crc_chk(unsigned char *data,unsigned char length)
{
int j;
unsigned int reg_crc=0xFFFF;
while(length--)
{
reg_crc ^ = *data++;
for(j=0;j<8;j++)
{
if(reg_crc & 0x01) reg_crc=(reg_crc>>1)^0xA001;
else reg_crc=reg_crc>>1;
}
}
}
return reg_crc;
// return CRC register
Содержание SY5000 series
Страница 1: ......
Страница 2: ......
Страница 4: ...User Manual of SY5000 series AC Drive Overview 1 2 Instruction of model no 1 3 Nameplate instruction ...
Страница 11: ...User Manual of SY5000 series AC Drive Installation Figure 2 2 a 11KW 160KW Figure 2 2 b 185KW ...
Страница 21: ...User Manual of SY5000 series AC Drive Wiring 19 Figure 3 2b Connection diagram of SY5000 G series 18 5KW ...
Страница 22: ...User Manual of SY5000 series AC Drive Wiring 20 Figure 3 3a Connection diagram of SY5000 P series 18 5KW ...
Страница 83: ...User Manual of SY5000 series AC Drive Parameter instrction 81 ...