User Manual

TITLE
DRAWING
NO.
Communication Protocol
Specification
For
SCIP2.0
C-42-03320B
8/25
6.3. Four-Character Encoding
This encoding technique is applied to express data having maximum length of 24 bits. Encoding is done
by separating data into four parts of 6 bits each and then 30H is added to convert them into ASCII characters.
Figure 6 and 7 shows the Four-Character encoding and decoding example.
16,000,000 msec = 111101000010010000000000
2
Separation
111101
2
000010
2
010000
2
000000
2
Hexadecimal Equivalent
3DH 2H 10H 0H
Add 30H
6DH 32H 40H 30H
ASCII Equivalent
m 2 @ 0
m2@0 = m 2 @ 0
Hexadecimal Equivalent
6DH 32H 40H 30H
Subtract 30H
3DH 2H 10H 0H
Binary Equivalent
111101
2
000010
2
010000
2
000000
2
Merge
111101000010010000000000
2
Decimal Equivalent
16,000,000
Figure 6: 3-Character Encoding Example
Figure 7: 3-Character Decoding Example