EasyManua.ls Logo

Nidec NE200 - Page 221

Nidec NE200
244 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NE200/300 Series Drive User Manual
212 Appendix A Modbus Communication Protocol
4) NE300 Terminals status (0030H) definition.
4. CRC16 calculation method
unsigned int CRC16
unsigned char *data
unsigned char length
{
int i
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

Table of Contents

Related product manuals