Appendix H: Interleaved 2 of 5 Code
Interleaved 2 of 5 Code is a
123456 but you can set the length to something different using the TriCoder Setup Menu. Setting the length to 00 digits allows variable length bar codes scanning. If you must use the 00 setting, you must use the “Minimum/Maximum” data length field when creating a program in the TriCoder to check each field for the proper length; otherwise, expect partial (bad data!) reads (misreads!).
A Mod 10 Check Digit is optionally available for use with I 2 of 5. The exact check digit calculation is illustrated below.
Interleaved 2 of 5 Mod 10 check digit calculation
Assume that the bar code data is 1987.
Starting with the least significant digit (in this case, a 7), label the digits alternatively even and odd.
7 - even
8 - odd
9 - even
1 – odd
Take the sum of the odd digits: 8 + 1 = 9
Multiply the sum of the even digits by 3: (7 + 9) x 3 = 48
Add the results of steps 3 and 4: 9 + 48 = 57
Subtract the result of step 5 from the next highest multiple of 10:
60 - 57 = 3
The checksum becomes the |
|
Because the data now has an odd length, a leading zero is added, for the final result of : | 019873 |
115