
285
is 1, the XOR operation is performed on the current value in the register and the preset value. If LSB
is 0, no operation is performed. This process is repeated 8 times. After the last bit (8
th
bit) is detected
and processed, the XOR operation is performed on the next 8-bit byte and the current content in the
register. The final values in the register are the CRC values obtained after operations are performed
on all the bytes in the frame.
The calculation adopts the international standard CRC check rule. You can refer to the related standard
CRC algorithm to compile the CRC calculation program as required.
The following is a simple CRC calculation function for your reference (using the C programming
language):
unsigned int crc_cal_value(unsigned char×data_value,unsigned char data_length)
{
int
i;
unsigned
int
crc_value=0xffff;
while(data_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);
}
In the ladder logic, CKSM uses the table look-up method to calculate the CRC value according to the
content in the frame. The program of this method is simple, and the calculation is fast, but the ROM
space occupied is large. Use this program with caution in scenarios where there are space occupation
limits on programs.
Содержание MSI350 Series
Страница 1: ...MSI350 SERIES INVERTER USER MANUAL...
Страница 2: ...2...
Страница 34: ...34 4 2 6 Vertical installation Fig 4 5 Vertical installation...
Страница 38: ...38 Fig 4 10 3PH 380V 30 37kW Fig 4 11 3PH 380V 45 110kW Fig 4 12 660V 22 45kW...
Страница 39: ...39 Fig 4 13 660V 55 132kW Fig 4 14 380V 132 200kW and 660V 160 220kW...
Страница 40: ...40 Fig 4 15 380V 220 315kW and 660V 250 355kW...
Страница 71: ...71...
Страница 83: ...83 When selecting customized V F curve function users can set the reference channels and...
Страница 90: ...90...
Страница 96: ...96...
Страница 101: ...101...
Страница 147: ...147...
Страница 260: ...260 7 6 Analysis on common faults 7 6 1 Motor fails to work...
Страница 261: ...261 7 6 2 Motor vibrates...
Страница 262: ...262 7 6 3 Overvoltage...
Страница 263: ...263 7 6 4 Undervoltage...
Страница 264: ...264 7 6 5 Unusual heating of motor...
Страница 265: ...265 7 6 6 Inverter overheating...
Страница 266: ...266 7 6 7 Motor stalls during ACC...
Страница 267: ...267 7 6 8 Overcurrent...
Страница 318: ...318 The following figure shows the external wiring of the extension card used in combination with a push pull encoder...
Страница 336: ...336 A 6 5 PROFINET communication card EC TX509...
Страница 339: ...339 A 7 Programmable extension card function description A 7 1 Programmable extension card EC PC501 00...
Страница 380: ...380...
Страница 386: ...386...
Страница 387: ...387...
Страница 388: ...388...