45
Chapter 2 11 Barcode
2
S2-Y1540
3. Position of check digit
Modulus43 is the calculational procedure of check
digit specifi ed for CODE39. Each of 43 character types
available to CODE39 are allocated each Numeric
Number to be calculated after converting them to the
numeric number. Here is the example calculation of
check digit (*21*) in CODE39.
1. is the start code designator for CODE-39. (*)
2. is the 10’s digit data of the JOB number.
(Example: When the JOB number is 21, the data is 2”.)
3. is the 1’s digit data of the JOB number.
(Example: When the JOB number is 21, the data is 1”.)
4. is stop code of CODE-39. (*)
4. Calculation procedure of check digit
1. Convert all the data characters to the numeric number
referring the table 1.
(Except start '*' and stop '*' code.) 21→2,1
2. Add the each converted number.
2 + 1 = 3
3. Divide the number of calculated in step 2 by 43, and
fi nd out the remainder.
3÷43 = Remainder 3
4. Convert the remainder 3 calculated in step 3 to the
character referring the table 1.
3→3
Therefore, the check digit is 3, and the data will be 213*'.
Table 1 Modulus43 Check Digit Calculation List
Character 0 1 2 3 456789ABCDE
Value 0 1 2 3 4567891011121314
Character F G H I J K L M N O P Q R S T
Value 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
Character U V W X Y Z -
•
$/+%
Value 30 31 32 33 34 35 36 37 38 39 40 41 42
1 2 3 4 5
-0