Industrial 2 of 5

From HandWiki
Revision as of 13:44, 10 July 2021 by imported>John Stpola (simplify)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Industrial2of5.png

Industrial 2 of 5.[1] (also known as Standard 2 of 5[2][3][4]) is a variable length, discrete, two width symbology. Industrial 2 of 5 is a subset of two-out-of-five codes.[5]

Industrial 2 of 5 is one of the first 1D and oldest barcodes and can encode only digits (0-9). It was invented in 1971[6] by Identicon Corp. and Computer Identics Corp. At this time, it has only historical value because of low encoding density and restricted charset. Previously it was used for cardboard printing, photo developing envelopes, warehouse sorting systems and for management of physical distribution.[7][8]

Industrial 2 of 5 has low encoding density because an information can be encoded only in black bars and white spaces are just ignored. Industrial 2 of 5 barcode may include an optional check digit. Most of barcode readers support this symbology.[9][10]

Encoding

Industrial 2 of 5 can encode digits from 0 to 9.[11] The digit can be encoded in 5 black bars on digit and white spaces are ignored. Any black bar can have two width: wide or narrow. Any white space can have any width by not more than narrow black bar.

Industrial 2 of 5 start/stop patterns and data patterns are split by white space. Industrial 2 of 5 could include optional checksum character which is added to the end of the barcode.

Industrial 2 of 5 features:

  • character set is a number (0-9);
  • encoding density low: barcode length on 50% longer than Interleaved 2 of 5 symbology and on 172% than Code 128;
  • variable length of symbol;
  • can include optional checking character.

Four bars in encoding scheme, except zero, have own weights which encode value of the symbol. Also, last black bar is used as parity bit to avoid single error. Symbol consists of five bars: two wide bars and three narrow bars. Value of the symbol is a sum of nonzero weights of first four bars.

As an example, we can see digit 3 is encoded. Weight 1 and 2 is not zero and parity bits is 0 means the count of bits is divisible on 2. The result: 1*1 + 1*2 + 0*4 + 0*7 = 3. The same with digit 4: weight 4 is not zero and parity bit is 1, which means that count of bits is not divisible on 2. 0*1 + 0*2 + 1*4 + 0*7 = 4.

Industrial 2 of 5 digits encoding
Digit Bar weight Bars Encoding Mnemonic (using weights)
1 2 4 7 Parity Bit
0 0 0 1 1 0 ||▮▮| NSNSWSWSN 4+7=11, replaced by 0
1 1 0 0 0 1 ▮|||▮ WSNSNSNSW 1+0=1
2 0 1 0 0 1 |▮||▮ NSWSNSNSW 0+2=2
3 1 1 0 0 0 ▮▮||| WSWSNSNSN 1+2=3
4 0 0 1 0 1 ||▮|▮ NSNSWSNSW 4+0=4
5 1 0 1 0 0 ▮|▮|| WSNSWSNSN 1+4=5
6 0 1 1 0 0 |▮▮|| NSWSWSNSN 2+4=6
7 0 0 0 1 1 |||▮▮ NSNSNSWSW 7+0=7
8 1 0 0 1 0 ▮||▮| WSNSNSWSN 1+7=8
9 0 1 0 1 0 |▮|▮| NSWSNSWSN 2+7=9

N - narrow black bar.
W - wide black bar.
S - white space between bars, in most cases must be same size as narrow black bar.

Industrial 2 of 5 Start/Stop values
Value Bars Encoding
Start ▮▮| WSWSN
Stop ▮|▮ WSNSW

The barcode has the following physical structure:
1. Start character
2. Variable length digit characters, properly encoded
3. Stop character

Checksum

Industrial 2 of 5 may include an optional check digit,[12] which is calculated as other UPC checksums. This is not required as part of the specification, but check digit is added as last digit in the code to improve the accuracy of the symbology.
[math]\displaystyle{ x_{n+1} = 10 - ((3x_1 + x_2 + 3x_3 + x_4 +\cdots+ 3x_{2n-1} + x_{2n})\pmod{10}) }[/math]

Example for the first 6 digits 123456:
10 - ((3*1 + 2 + 3*3 + 4 + 3*5 + 6) mod 10) = 1. Check digit is 1.
Result: 1234561 barcode

IATA 2 of 5

IATA2of5.png

IATA 2 of 5[13][14] (also known as Computer Identics 2 of 5,[15] Airline 2 of 5[16][17]) is a variable length, discrete, two width symbology, which is fully similar to Industrial 2 of 5 symbology except start/stop symbols. In this way it has all advantages and issues of Industrial 2 of 5 symbology.

IATA 2 of 5 Start/Stop values
Value Bars Encoding
Start || NSN
Stop ▮| WSN

N - narrow black bar.
W - wide black bar.
S - white space between bars, in most cases must be same size as narrow black bar.

IATA 2 of 5 was invented in 1974 by Computer Identics Corp.[18] The barcode was used by International Air Transport Association (IATA) for managing air cargo.[19]

IATA 2 of 5 version used by International Air Transport Association had fixed 17 digits length with 16 valuable package identification digit and 17-th check digit. Some readers currently still support this symbology[20]

See also

  • Automated identification and data capture (AIDC)
  • Barcode
  • Code 2 of 5
  • International Air Transport Association
  • Inventory control system

References

  1. Peter Brophy (1986). Computers Can Read: Machine-readable Codes and Their Applications. Gower Publishing Company. p. 68. ISBN 0291397018. https://books.google.com/books?id=T7BPAAAAMAAJ. 
  2. "Standard 2 of 5 symbology". http://www.barcodeisland.com/2of5.phtml. 
  3. Dileep R. Sule (2008). Manufacturing Facilities: Location, Planning, and Design, Third Edition. CRC Press. p. 56. ISBN 978-1420044232. https://books.google.com/books?id=HiXNBQAAQBAJ. 
  4. Windows Developer's Journal V8 N1-6. Miller Freeman, Incorporated. 1997. p. 29. https://books.google.com/books?id=OyJMAAAAYAAJ. 
  5. Peter Song (1988). Lab Manual for Single- and Multiple-chip Microcomputer Interfacing. Prentice Hall. p. 79. ISBN 0138116059. https://books.google.com/books?id=m3zgAAAAMAAJ. 
  6. Wolff, Gerald (20 January 1971). "United States Patent US3701097A by Identicon Corp "Decoding bar patterns"". United States Patent and Trademark Office. https://patents.google.com/patent/US3701097A. 
  7. "Barcode Industrial 2 of 5". http://barcode.businessbarcodes.net/barcodebz/industrial-2-of-5.html. 
  8. S.A. Fist (2012). The Informatics Handbook: A guide to multimedia communications and broadcasting. Springer Science & Business Media. p. 67. ISBN 978-1461520931. https://books.google.com/books?id=R0_xBwAAQBAJ. 
  9. "EM2037 Series OEM Scan Engine User Guide". https://www.newland-id.com/wp-content/uploads/2019/08/EM2037_User_Guide.pdf#page=96. 
  10. "SuperLead 2D Barcode Reader User Guide". http://www.superlead.com/UpLoad/201801/2DUserGuide_C_Series_V1%207.pdf#page=33. 
  11. "Industrial 2 of 5". http://www.n-barcode.com/en/shurui/ind-25.html. 
  12. "Barcode-Coder: Standard 2 of 5". https://barcode-coder.com/en/standard-2-of-5-specification-103.html. 
  13. "IATA 2 of 5". http://www.n-barcode.com/en/shurui/iata-25.html. 
  14. Building IBM Enterprise Content Management Solutions From End to End. IBM Redbooks. 2014. p. 192. ISBN 978-0738439969. https://books.google.com/books?id=jYwBBQAAQBAJ&pg=PA192. 
  15. "IATA 2 of 5". https://github.com/bwipp/postscriptbarcode/wiki/IATA-2-of-5. 
  16. "IATA 2 of 5". https://help.accusoft.com/BarcodeXpress/v9.0/dotnet/IATA%202%20of%205.html. 
  17. AIIM Buying Guide and Membership Directory: The Information Management Sourcebook. Association for Information and Image Management. 1994. p. 312. https://books.google.com/books?id=x7XeAAAAMAAJ. 
  18. Zamkow, Stanley F (4 April 1974). "United States Patent US3882464A by Computer Identics Corp "Size ratio label reading system"". United States Patent and Trademark Office. https://patents.google.com/patent/US3882464A. 
  19. "IATA 2 of 5 Scandit". https://www.scandit.com/products/barcode-scanning/symbologies/iata-2-of-5/. 
  20. "BCST-33 Barcode Scanner". https://www.inateck.com/media/productattach/b/c/bcst-33_v2_181114_en.pdf#page=47. 

External links