|
Calculation of Modified Plessy (MSI) Check Digit
For example if the data "12345" is to be encoded as a barcode. The check digit is calculated as follows.
| Data | 1 | 2 | 3 | 4 | 5 |
| Starting from the last digit, extract each alternate digit |
| 1 | | 3 | | 5 |
| Multiply by 2 : | 135 * 2 = 270 (Result 1) |
| Sum the remaining alternate digits : | 2 + 4 = 6 (Result 2) |
| Sum the digits from Result 1: | 2 + 7 + 0 = 9 (Result 3) |
| Sum Result 1 and Result 3: | 9 + 6 = 15 (Sum) |
|
If Sum Modulo 10 equals 0, the result is 0.
Otherwise the result is 10 - (Sum Modulo 10)
|
| Modulo 10 : | 10 - (15 % 10) = 5 |
| Data to be encoded | 123455 |
| Mapping | "123455" |
The characters "{123455}" can then be keyed in to the text editor with the appropriate font selected to generate a MSI barcode with check digit.
Back to Modified Plessy (MSI) Barcode Font
|