What is the difference between UCC MOD 10 and MSI MOD 10? S’abonner

0
Avatar
minjian huang

What is the difference between UCC MOD 10 and MSI MOD 10?

What are the rules?

3 commentaires

0
Avatar
Peter Thane

I am not sure of the precise differences but they will both use a different formula to provide the resultant MOD 10 check digit with the MSI MOD 10 being used by MSI barcode symbols whilst the UCC variant is used for your EAN, UPC, JAN, GTIN, GS1 and similar codes.

I think for the UCC Mod 10 you multiply the digits by 1  for the 1st, 3 for the 2nd, 1 for the 3rd , 3 for the 4th etc and then add up the results and take away the sum by the next multiple of 10 (ie for 44 the check digit would be 6 being 50 - 44)

For the MSI I found this online

The checksum algorithm for Mode 10 is to use “Luhn algorithm”:

  1. Counting from the check digit, which is the rightmost one, and moving left, double (x 2) the value of every second digit.
  2. Sum the digits of the products (eg, 10 ⇒ 1+0 = 1, 14 ⇒ 1+ 4 =5) together with the un-doubled digits from the original number
  3. Got the sum, then do: sum Mod 10 = check digit
So 123456 will have a check digit of 4
0
Avatar
minjian huang

hi,Peter Thane。In bartender,Code 39。

UCC MOD 10,123456 will have a check digit of 5.

MSI  MOD 10,123456 will have a check digit of 6.

The result is different from what you said

 

 

 

0
Avatar
Peter Thane

For the UCC Mod 10 I didnt say what the original number was, I just said if the total came to 44 then the digit would be 6 but you are correct for 123456 the CD would 5 

Sorry there was a a typo and for the formula MSI code is correct but I missed off a digit and it should have said 1234567 give a check digit of 4.

Veuillez vous connecter pour laisser un commentaire.