5-69
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){ /* LSB(b0)=1 */
reg_crc=(reg_crc>>1) ^ 0Xa001;
}else{
reg_crc=reg_crc >>1;
}
}
}
return reg_crc;
// the value that sent back to the CRC register finally
}
4. Definition of the Parameters Addresses of the Communication Protocol:
Definition
Parameter Address
Function
Parameter setting
within the drive
GGnnH
GG suggests the parameter group whereas nn
suggests the parameter code. For example,
Pr. 04-01 is indicated as 0401H.
Command toward
the drive
2000H
Bit0~3
0: no function
1: STOP
2: RUN
3: JOG + RUN
Bit4~5
00B: no function
01B: FWD
10B: REV
11B: direction change
Содержание S3000 Series
Страница 1: ...440V Series Multifunctional VectorControl ACMotor Drivers User Manual S3000 Series AC Motor Drivers...
Страница 8: ...2 5 DIMENTIONS 2 5...
Страница 9: ...2 6 403 216...
Страница 10: ...2 7...
Страница 11: ...2 8 S3000 IP06...