New User? Sign Up  |  Sign In  |  Help
Barcode support and
tutorials from IDAutomation
and the community.
Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Resolved Questions Bookmark and Share
gregmorin

How to manually calculate checksum for Code 128 C

Ok I have been over this and over this and I must be missing something, can you break this down for me on how to calculate this checksum for:

(01)60000116030603

Your tool gives me BED as the checksum character (#103, g or 71 MOD value) but when I follow the rules I get a sum of 2599 which MOD 103 is 24 or #56. Anyway, can you just break this one down digit by digit for me and show me how your tool gets a MOD value of 71 (BED). Thanks!


08-26-14     1849 day(s) ago    

  Report Abuse

 

Ben

Best Answer

Code 128 Fonts

The Code 128 Check Character calculation for A,B, or C can be a complex process. To avoid mathematical errors, IDAutomation recommends free font encoders.


When using the Code 128 chart, always pull the Value for the character set to encode; do not use the ASCII value. For example, the paired value 54 for Code 128 C is 54.
image


To generate the check digit for the data that is GS1-128, the start character is set C and the data: (01)60000116030603 must be split into pairs. The parentheses around the Application Identifier signifies that the FNC1. This character must also be taken into consideration when calculating the check digit.

1. Split the data into pairs:

01
60
00
01
16
03
06
03


2. Retrieve the value for each character based on the Character Set Chart.

FNC1 Character Ê is 102
01 is 01
60 is 60
00 is 00
01 is 01
16 is 16
03 is 03
06 is 06
03 is 03


3. Calculate the total and the Start Character value. For Code 128 C, it is 105.

105 +
(102 x 1) +
(01 x 2) +
(60 x 3) +
(00 x 4) +
(01 x 5) +
(16 x 6) +
(03 x 7) +
(06 x 8) +
(03 x 9) =
586

4. Calculate the Checksum.
586 divided by 103 = 5 remainder of 71.

The character for the value 71 is g.

The check character (checksum) is g.


NOTE:
If using Code 128 A, use Start 103.
If using Code 128 B, use Start 104.


CODE 128 B Check Digit Example



NOT FAMILIAR WITH LONG DIVISION

Long Division Help

Posted 1849 day(s) ago

()
()
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.

Email this question link to friends
You must enter an email address, if name is entered or vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -
  Your comment on this question
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must starts with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always starts with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 Characters are allowed. Current Count: 0
  Your comment on this answer
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allow you to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must start with "http://" or "https://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always start with "http://" or "https://")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 characters are allowed. Current Count: 0

You may answer and comment on any thread according to the Terms and Conditions.

 © Copyright 2019 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTube Join us on Google Plus Join us on LinkedIn Follow us on Twitter Like us on Facebook