Industrial 2 of 5
Industrial 2 of 5.{{cite book |author=Peter Brophy |url=https://books.google.com/books?id=T7BPAAAAMAAJ |title=Computers Can Read: Machine-readable Codes and Their Applications |publisher=Gower Publishing Company |page=68 |date=1986 |isbn=0291397018 }} (also known as Standard 2 of 5{{cite web |url=http://www.barcodeisland.com/2of5.phtml |title=Standard 2 of 5 symbology |website=www.barcodeisland.com|archive-url=https://web.archive.org/web/20200607194919/http://www.barcodeisland.com/2of5.phtml |archive-date=2020-06-07 }}{{cite book |author=Dileep R. Sule |url=https://books.google.com/books?id=HiXNBQAAQBAJ |title=Manufacturing Facilities: Location, Planning, and Design, Third Edition |publisher=CRC Press |page=56 |date=2008 |isbn=978-1420044232 }}{{cite book |url=https://books.google.com/books?id=OyJMAAAAYAAJ |title=Windows Developer's Journal V8 N1-6 |publisher=Miller Freeman, Incorporated |page=29 |date=1997 }}) is a variable length, discrete, two width symbology. Industrial 2 of 5 is a subset of two-out-of-five codes.{{cite book |author=Peter Song |url=https://books.google.com/books?id=m3zgAAAAMAAJ |title=Lab Manual for Single- and Multiple-chip Microcomputer Interfacing |publisher=Prentice Hall |page=79 |date=1988 |isbn=0138116059 }}
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{{cite web |first=Gerald |last=Wolff |url=https://patents.google.com/patent/US3701097A |title=United States Patent US3701097A by Identicon Corp "Decoding bar patterns" |website=patents.google.com |publisher=United States Patent and Trademark Office |date=20 January 1971}} 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.{{cite web |url=http://barcode.businessbarcodes.net/barcodebz/industrial-2-of-5.html |title=Barcode Industrial 2 of 5 |website=barcode.businessbarcodes.net|archive-url=https://web.archive.org/web/20200715025520/http://barcode.businessbarcodes.net/barcodebz/industrial-2-of-5.html |archive-date=2020-07-15 }}{{cite book |author=S.A. Fist |url=https://books.google.com/books?id=R0_xBwAAQBAJ |title=The Informatics Handbook: A guide to multimedia communications and broadcasting |publisher=Springer Science & Business Media |page=67 |date=2012 |isbn=978-1461520931 }}
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.{{cite web |url=https://www.newland-id.com/sites/default/files/documents/2021-02/em2037_v4_user_guide_v1.0.4.pdf#page=147 |title=EM2037-V4 OEM scan engine user guide |website=www.newland-id.com}}{{cite web |url=http://www.superlead.com/UpLoad/201801/2DUserGuide_C_Series_V1%207.pdf#page=33 |title=SuperLead 2D Barcode Reader User Guide |website=www.superlead.com|archive-url=https://web.archive.org/web/20230328222015/http://www.superlead.com/UpLoad/201801/2DUserGuide_C_Series_V1%207.pdf#page=33 |archive-date=2023-03-28 }}
Encoding
Industrial 2 of 5 can encode digits from 0 to 9.{{cite web |url=http://www.n-barcode.com/en/shurui/ind-25.html |title=Industrial 2 of 5 |website=www.n-barcode.com}} 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.
class="wikitable" border="1" style="text-align:center"
|+ Industrial 2 of 5 digits encoding | ||||||||
rowspan=2| Digit
!colspan=5 rowspan=1| Bar weight !rowspan=2| Bars !rowspan=2| Encoding !rowspan=2| Mnemonic (using weights) | ||||||||
---|---|---|---|---|---|---|---|---|
1
! 2 ! 4 ! 7 ! Parity Bit | ||||||||
0 | 0 | 0 | 1 | 1 | 0 | {{pipe}}{{pipe}}▮▮{{pipe}} | NSNSWSWSN | 4+7=11, replaced by 0 |
1 | 1 | 0 | 0 | 0 | 1 | ▮{{pipe}}{{pipe}}{{pipe}}▮ | WSNSNSNSW | 1+0=1 |
2 | 0 | 1 | 0 | 0 | 1 | {{pipe}}▮{{pipe}}{{pipe}}▮ | NSWSNSNSW | 0+2=2 |
3 | 1 | 1 | 0 | 0 | 0 | ▮▮{{pipe}}{{pipe}}{{pipe}} | WSWSNSNSN | 1+2=3 |
4 | 0 | 0 | 1 | 0 | 1 | {{pipe}}{{pipe}}▮{{pipe}}▮ | NSNSWSNSW | 4+0=4 |
5 | 1 | 0 | 1 | 0 | 0 | ▮{{pipe}}▮{{pipe}}{{pipe}} | WSNSWSNSN | 1+4=5 |
6 | 0 | 1 | 1 | 0 | 0 | {{pipe}}▮▮{{pipe}}{{pipe}} | NSWSWSNSN | 2+4=6 |
7 | 0 | 0 | 0 | 1 | 1 | {{pipe}}{{pipe}}{{pipe}}▮▮ | NSNSNSWSW | 7+0=7 |
8 | 1 | 0 | 0 | 1 | 0 | ▮{{pipe}}{{pipe}}▮{{pipe}} | WSNSNSWSN | 1+7=8 |
9 | 0 | 1 | 0 | 1 | 0 | {{pipe}}▮{{pipe}}▮{{pipe}} | 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.
class="wikitable" border="1" style="text-align:center; width: 20em"
|+ Industrial 2 of 5 Start/Stop values ! Value ! Bars ! Encoding | ||
Start | ▮▮{{pipe}} | WSWSN |
Stop | ▮{{pipe}}▮ | WSNSW |
The barcode has the following physical structure:{{cite web |url=https://barcodeguide.seagullscientific.com/Content/Symbologies/Industrial_2_of_5.htm |title=Barcode Guide: Industrial 2 of 5 |website=barcodeguide.seagullscientific.com}}
1. Quiet zone 10X wide
2. Start character
3. Variable length digit characters, properly encoded
4. Optional check digit
5. Stop character
6. Quiet zone 10X wide
Checksum
Industrial 2 of 5 may include an optional check digit,{{cite web |url=https://barcode-coder.com/en/standard-2-of-5-specification-103.html |title=Barcode-Coder: Standard 2 of 5 |website=barcode-coder.com}} 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.
,
where is the most right data digit.
Example for the first 6 digits 423456:
class="wikitable" border="1" style="text-align:center"
|+ Calculating the Industrial 2 of 5 checksum |
scope="row"|Digit
|4||2||3||4||5||6 |
---|
scope="row"|Position
||||||||||| |
scope="row"|Weight
|1||3||1||3||1||3 |
scope="row"|Weighted sum
|4||6||3||12||5||18 |
scope="row"|Check digit
|colspan="6"| 10 - (48 mod 10) = 2 |
Result: 4234562 barcode
IATA 2 of 5
IATA 2 of 5{{cite web |url=http://www.n-barcode.com/en/shurui/iata-25.html |title=IATA 2 of 5 |website=www.n-barcode.com}}{{cite book |url=https://books.google.com/books?id=jYwBBQAAQBAJ&pg=PA192 |title=Building IBM Enterprise Content Management Solutions From End to End |publisher=IBM Redbooks |page=192 |date=2014 |isbn=978-0738439969 }} (also known as Computer Identics 2 of 5,{{cite web |url=https://github.com/bwipp/postscriptbarcode/wiki/IATA-2-of-5 |title=IATA 2 of 5 |website=Barcode Writer in Pure PostScript}} Airline 2 of 5{{cite web |url=https://help.accusoft.com/BarcodeXpress/v9.0/dotnet/IATA%202%20of%205.html |title=IATA 2 of 5 |website=accusoft.com}}{{cite book |url=https://books.google.com/books?id=x7XeAAAAMAAJ |title=AIIM Buying Guide and Membership Directory: The Information Management Sourcebook |publisher=Association for Information and Image Management |page=312 |date=1994 }}) 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.
class="wikitable" border="1" style="text-align:center; width: 20em"
|+ IATA 2 of 5 Start/Stop values ! Value ! Bars ! Encoding | ||
Start | {{pipe}}{{pipe}} | NSN |
Stop | ▮{{pipe}} | 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.{{cite web |first=Stanley F |last=Zamkow |url=https://patents.google.com/patent/US3882464A |title=United States Patent US3882464A by Computer Identics Corp "Size ratio label reading system" |website=patents.google.com |publisher=United States Patent and Trademark Office |date=4 April 1974}} The barcode was used by International Air Transport Association (IATA) for managing air cargo.{{cite web |url=https://www.scandit.com/products/barcode-scanning/symbologies/iata-2-of-5/ |title=IATA 2 of 5 Scandit |website=www.scandit.com}}
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{{cite web |url=https://www.inateck.com/media/productattach/b/c/bcst-33_v2_181114_en.pdf#page=47 |title=BCST-33 Barcode Scanner |website=www.inateck.com}}
See also
References
{{reflist|32em}}
External links
- [https://products.aspose.app/barcode/generate/standard2of5 Free Industrial 2 of 5 and IATA 2 of 5 generator]
- [https://web.archive.org/web/20200607194919/http://www.barcodeisland.com/2of5.phtml Industrial 2 of 5 description]
- [https://patents.google.com/patent/US3701097A Industrial 2 of 5 Patent]
- [http://www.n-barcode.com/en/shurui/iata-25.html IATA 2 of 5 description]
- [https://patents.google.com/patent/US3882464A IATA 2 of 5 Patent]
{{Barcodes}}