User Manual

TITLE
DRAWING
NO.
Communication Protocol
Specification
For
SCIP2.0
C-42-03320B
7/25
6.2. Three-Character Encoding
This encoding technique is applied to express data having maximum length of 18 bits. Encoding is done
by separating data into upper, middle and lower 6 bits and then 30H is added to convert them into ASCII
characters. Figure 4 and 5 shows the Three-Character encoding and decoding example.
5,432 mm = 1010100111000
2
Separation
000001
2
010100
2
111000
2
Hexadecimal Equivalent
1H 14H 38H
Add 30H
31H 44H 68H
ASCII Equivalent
1 D h
1 D h = 1 D h
Hexadecimal Equivalent
31H 44H 68H
Subtract 30H
1H 14H 38H
Binary Equivalent
000001
2
010100
2
111000
2
Merge
000001010100111000
2
Decimal Equivalent
5,432
Figure 4: 3-Character Encoding Example
Figure 5: 3-Character Decoding Example