Omron VARISPEED E7 User Manual page 210

Variable torque frequency inverter
Hide thumbs Also See for VARISPEED E7:
Table of Contents

Advertisement

The following example clarifies the calculation method. It shows the calculation of a CRC-16 code with the
slave address 02H (0000 0010) and the function code 03H (0000 0011). The resulting CRC-16 code is D1H
for the lower and 40H for the higher byte. The example calculation in this example is not done completely
(normally data would follow the function code).
1111 1111 1111 1111
1111 1111 1111 1101
0111 1111 1111 1110
1010 0000 0000 0001
1101 1111 1111 1111
0110 1111 1111 1111
1010 0000 0000 0001
1100 1111 1111 1110
0110 0111 1111 1111
0011 0011 1111 1111
1010 0000 0000 0001
1001 0011 1111 1110
0100 1001 1111 1111
0010 0100 1111 1111
1010 0000 0000 0001
1000 0100 1111 1110
0100 0010 0111 1111
0010 0001 0011 1111
1010 0000 0000 0001
1000 0001 0011 1110
1000 0001 0011 1101
0100 0000 1001 1110
1010 0000 0000 0001
1110 0000 1001 1111
0111 0000 0100 1111
1010 0000 0000 0001
1101 0000 0100 1110
0110 1000 0010 0111
0011 0100 0001 0011
1010 0000 0000 0001
1001 0100 0001 0010
0100 1010 0000 1001
0010 0101 0000 0100
1010 0000 0000 0001
1000 0101 0000 0101
0100 0010 1000 0010
1010 0000 0000 0001
1110 0010 1000 0011
0111 0001 0100 0001
1010 0000 0000 0001
1101 0001 0100 0000
Calculations
Overflow
0000 0010
1
1
0
1
0
1
0
1
0000 0011
1
1
0
1
0
1
1
1
D1H
40H
Higher
Lower
Byte
Byte
Description
Initial value
Address
ExOr Result
Shift 1
ExOr Result
Shift 2
ExOr Result
Shift 3
Shift 4
ExOr Result
Shift 5
Shift 6
ExOr Result
Shift 7
Shift 8
ExOr Result
Function Code
ExOr Result
Shift 1
ExOr Result
Shift 2
ExOr Result
Shift 3
Shift 4
ExOr Result
Shift 5
Shift 6
ExOr Result
Shift 7
ExOr Result
Shift 8
ExOr Result
CRC-16 Result
6
71
6-

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents