Delta OHM HD45 Series Manual page 68

Hide thumbs Also See for HD45 Series:
Table of Contents

Advertisement

Example: CRC computation for the message formed by the two information bytes
0000 0010 (02h) and 0000 0111 (07h).
CRC initialization (step 1)
First information byte
XOR computation (step 2)
st
1
right shift (step 3)
Fixed value (1 is the shifted out bit)
XOR computation (step 4)
nd
2
right shift (step 3)
Fixed value (step 4, shifted out bit is 1)
XOR Computation
rd
3
right shift (step 3)
th
4
right shift (step 3)
Fixed value (step 4, shifted out bit is 1)
XOR Computation
th
5
right shift (step 3)
th
6
right shift (step 3)
Fixed value (step 4, shifted out bit is 1)
XOR Computation
th
7
right shift (step 3)
th
8
right shift (step 3)
Fixed value (step 4, shifted out bit is 1)
XOR Computation
Second information byte
XOR Computation (step 2)
st
1
right shift (step 3)
Fixed value (step 4, shifted out bit is 1)
XOR Computation
nd
2
right shift (step 3)
Fixed value (step 4, shifted out bit is 1)
XOR Computation
rd
3
right shift (step 3)
Fixed value (step 4, shifted out bit is 1)
XOR Computation
th
4
right shift (step 3)
th
5
right shift (step 3)
Fixed value (step 4, shifted out bit is 1)
1111
1111
1111
1111
0111
1111
1010
0000
1101
1111
0110
1111
1010
0000
1100
1111
0110
0111
0011
0011
1010
0000
1001
0011
0100
1001
0010
0100
1010
0000
1000
0100
0100
0010
0010
0001
1010
0000
1000
0001
1000
0001
0100
0000
1010
0000
1110
0000
0111
0000
1010
0000
1101
0000
0110
1000
1010
0000
1100
1000
0110
0100
0011
0010
1010
0000
- 68 -
1111
1111
0000
0010
1111
1101
1111
1110
|
0000
0001
1111
1111
1111
1111
|
0000
0001
1111
1110
1111
1111
|
1111
1111
|
0000
0001
1111
1110
1111
1111
|
1111
1111
|
0000
0001
1111
1110
0111
1111
|
0011
1111
|
0000
0001
0011
1110
0000
0111
0011
1001
1001
1100
|
0000
0001
1001
1101
0100
1110
|
0000
0001
0100
1111
0010
0111
|
0000
0001
0010
0110
0001
0011
|
0000
1001
|
0000
0001
1
1
0
1
0
1
0
1
1
1
1
0
1

Advertisement

Table of Contents
loading

Table of Contents