![]() | Interleaved 2 from 5 Barcode Specification | ![]() |
![]() ![]() ![]() ![]() ![]() ![]() | ||
![]() | ||
![]() |
The structure of the 2 of 5 barcode family is one of the simplest of the width-modulated industrial bar codes. There are three well known members of this family: the Industrial, Matrix and Interleaved. These three codes have the following similarities:
All of these 2 of 5 codes use five binary elements to encode each character. Two of the elements of each character are logic 1`s and, depending on the family member, are printed as wide bars and/or wide spaces. The consistent use of two wide elements out of five provides an easy method of character error checking.
The table below shows the binary-to-character encoding scheme used by these 2 of 5 family members. It is a weighted binary type with even parity. The least significant bit (LSB) is located on the left, and the parity bit follows the most significant bit (MSB) on the right. The fact that this code is a weighted binary type allows the decoder to calculate the encoded value, rather than performing a comparison search between decoded bit patterns and those located in memory.
Character | LSB | MSB | Parity | |||
---|---|---|---|---|---|---|
1 | 2 | 4 | 7 | P | ||
0 | 0 | 0 | 1 | 1 | 0 | |
1 | 1 | 0 | 0 | 0 | 1 | |
2 | 0 | 1 | 0 | 0 | 1 | |
3 | 1 | 1 | 0 | 0 | 0 | |
4 | 0 | 0 | 1 | 0 | 1 | |
5 | 1 | 0 | 1 | 0 | 0 | |
6 | 0 | 1 | 1 | 0 | 0 | |
7 | 0 | 0 | 0 | 1 | 1 | |
8 | 1 | 0 | 0 | 1 | 0 | |
9 | 0 | 1 | 0 | 1 | 0 |
Another common feature of these codes members is the calculation of the optional message checksum character which encodes information about the number, value, and sequence of the characters in the message. The value of the checksum character is determined by the following six step procedure:
An even higher information density can be achieved with the elimination of the intercharacter space. The Interleaved 2 of 5 barcode does this by interleaving characters encoded in the bars with characters encoded in the spaces.
The Interleaved 2 of 5 barcode is termed a "continuous" code because it does not use intercharacter spaces. Its continuous nature and its interleaving of the message characters make the Interleaved code the most complex of the 2 of 5 family to print and decode. The interleaving of characters also requires that an even number of characters be encoded.
When the message (including the checksum character, if used) contains an odd number of characters, a leading zero is added to obtain an even number of characters.
The Interleaved 2 of 5 barcode has the highest information density of the entire 2 of 5 family. Many inventory and data collections systems currently use both numeric and alphanumeric data to record part numbers and transactions. The 2 of 5 barcode family is capable of encoding numeric data. Thus, in those instances where alphanumeric data must be encoded, a different code must be selected. Out of the 2 of 5 family Interleaved 2 of 5 is the most common.
We have created an innovative Web based solution to the printing of Interleaved 2 of 5 and other barcodes. Barcode Mill prints barcodes on Web pages which may be scanned when the page is printed out. Alternatively the barcode can be cut 'n' pasted to a graphics package.
Altek Instruments Ltd have a range of products designed for the data collection/automatic ID industries.
![]() | |
![]() | |
Top Home | © Lee Allen,2018 |