Справочное Руководство для Intermec 1800

Скачать
Страница из 212
Symbologies—Codabar
SP/XX/RM/10/E/960401
   149
Calculation of the check digit
1.  The values corresponding to all the Codabar data characters in the
message (including Start/Stop characters) are added together to make
a total.
2. The data character which must be added to this total to make a
multiple of 16 is the check character.
Example
message:
A 0 1 2 3 4 B
characters:
 A   0   1   2   3   4   B
values:
16   0   1   2   3   4  17
sum of character values:
43
next multiple of 16:
48
48 - 43 =
5  (the check character)
final message:
A 0 1 2 3 4 5
 
B