Download Print this page

Application Examples - Emerson EV2100 Series User Manual

Variable speed drive

Advertisement

{
int i;
unsigned crc_result=0xffff;
while(length--)
{
crc_result^=*data++;
for(i=0;i<8;i++)
{
if(crc_result&0x01)
crc_result=(crc_result>>1)^0xa001;
else
crc_result=crc_result>>1;
}
}
return (crc_result=((crc_result&0xff)<<8)|(crc_result>>8));
}

8 Application examples

To start No.5 drive and make it rotate forward with a speed of 50.00HZ (expressed as 5000 internally), the
command is as follows:
Addre
Function
ss
code
Reque
0x05
0x10
st
Respo
0x05
0x10
nse
The No.5 drive stops at its fastest speed:
Request
Response
No.5 drive jog-forward:
Request
Response
No.5 drive jog-stop:
Request
Response
No.5 drive failure reset:
Register
Number of
address
registers
0x3200
0x0002
0x3200
0x0002
Address
Function code
0x05
0x06
0x05
0x06
Address
Function code
0x05
0x06
0x05
0x06
Address
Function code
0x05
0x06
0x05
0x06
EV2100 Series Variable Speed Drive User Manual
Appendix 3
Number of bytes of
Register content
register content
0x04
0x01C7,0x1388
None
Register address
Register content
0x3200
0x00C3
0x3200
0x00C3
Register address
Register content
0x3200
0x3200
Register address
Register content
0x3200
0x00C0
0x3200
0x00C0
Parameters of Accessories
Checksum
0x16A9
None
0x4EF4
Checksum
0xC6A7
0xC6A7
Checksum
0x00D0
0x876A
0x00D0
0x876A
Checksum
0x86A6
0x86A6
125

Advertisement

loading