A guide to barcode symbology for the logistics industry

Size: px
Start display at page:

Download "A guide to barcode symbology for the logistics industry"

Transcription

1 A guide to barcode symbology for the logistics industry

2 Symbology in barcodes Barcode technologies provide fast reliable data collection to ensure item or package traceability, and enhance customer service. Barcodes are machine readable symbols that store identifying data about the package or item with which they are associated. These symbols, when read by a barcode scanner, are decoded, recorded, and processed to extract the data for a variety of uses (e.g., pricing, order fulfillment, traceability through production, sortation, shipping, etc.) Over the years, different forms of barcodes have been developed to help businesses around the world. These include: 1-D linear barcodes 2-D matrix codes A 1-D (one-dimensional) barcode is the typical style with which we are most familiar. All the information in the code is organized horizontally in bar and space widths and read left to right by a scanner. Several versions of 1-D codes store only numerical data while others can encode additional characters. The height of the code varies based on the space available on a product and the ability of a barcode reader to read a small or large sized barcode. In the 2-D (two-dimensional) matrix code type, the data is encoded as black and white cells (small squares) arranged in either a square or rectangular pattern. As well as being able to encode huge amounts of data, the matrix code improves readability and resistance to poor printing. They also include redundant data so even if one or more cells are damaged, the code is still readable. Postal codes Stacked linear barcodes This type of barcode lies somewhere in between a 2-D and a 1-D linear barcode. Instead of encoding data in the black bar and white space widths, these primarily use the height of the bars. The majority of postal codes only use numbers, but a few are now starting to include letters as well. A stacked linear barcode is one of two types of 2-D barcodes. These simply consist of multiple linear barcodes that are layered on top of one another, allowing a greater amount information to be encoded. However, to fully decode the data, a barcode reader must be able to simultaneously read the code both horizontally and vertically. 2

3 Decoding a barcode Let s take a closer look at the makeup of two of the most common barcode types: Universal Product Code (UPC) HUMAN READABLE CODE The first six digits are the manufacturer identification number which they pay an annual fee for and the next five digits are an item number. Check digit Calculated by a formula using the other numbers in the code, it enables the barcode reader to determine if it scanned the number correctly. Data Matrix Clocking Pattern Provides a count of the number of rows and columns in the code. CELL DATA region Can be text or numeric data up to 2,335 alphanumeric characters. Redundant data is often included so even if one or more cells are damaged, the code is still readable. FINDER or l pattern Helps a barcode reader locate and determine the orientation of the code. 3

4 The evolution of barcodes A brief history It might be hard to remember a time when barcodes were not part of our daily lives, but it was not until the 1970s that they first made an impact. Although the first patent was actually issued in 1952, it was still some time later that they were first commercially used to label railroad cars. However, it took until June 1974 before the first scanner was installed at a Marsh s supermarket in Ohio, USA, allowing a product with a barcode attached to be read for the very first time. Unassumingly, this was just a simple packet of Wrigley s chewing gum. Today s application Decades after that first scan, we can hardly imagine a world without barcodes. Available in various guises, barcodes continue to benefit industries that manufacture, buy, sell and distribute products. They help collect data faster and more reliably, improve decision making, eliminate the possibility of human error, reduce employee training time and track products throughout their lifecycle. They are also extremely versatile, inexpensive to design and print and ultimately reduce costs. Quite simply they have changed the way businesses work across the globe. 4

5 1-D linear barcodes 1-D linear barcodes are probably the most commonly recognized style of barcode used today. The following selection of symbols help illustrate their multiple forms: Code 128 Code 128 is a more recently introduced symbol and the most robust 1-D barcode type. The number 128 refers to the ability to hold any character of the ASCII 128 character set. That includes all digits, characters and punctuation marks. This makes it fairly compact and very powerful as it enables diverse storage of data. Encoding Type: Alphanumeric Format: Multi-width Check Digit: Required Logistics UPC-A EAN-13 By far the most common and well-known barcode used in the U.S., UPC-A encodes 12 digits of data. The first digit is the number system character followed by a five-digit manufacturer number, a five-digit product number and a final check digit. Due to its limited encoding, UPC-A is primarily used in retail. Retail & Supermarkets in United States EAN-13 is the European counterpart of the UPC-A symbol. The main difference between them is that the EAN-13 encodes an extra digit of data to make a total of 13. The first two digits of the barcode identify a specific country and the check digit is the last number of the second group of six digits. Retail & Supermarkets in Europe Encoding Type: Numeric Format: Multi-width Check Digit: Required Encoding Type: Numeric Format: Multi-width Check Digit: Required UPC-E EAN-8 UPC-E is a condensed variation of a UPC-A barcode. The code is condensed as a result of eliminating extra zeros from the digital data. Because the resulting barcode is about half the size of a UPC-A barcode, it is generally used on very small packaging where space is limited. Small Retail Packages in United States EAN-8 is the EAN equivalent of UPC-E in the sense that it provides a short barcode. Set in two groups of four numbers, it is composed of two flag digits, five data digits and one check digit. This is primarily used on small packaging where space is limited. Small Retail Packages in Europe Encoding Type: Numeric Format: Multi-width Check Digit: Required Encoding Type: Numeric Format: Multi-width Check Digit: Required Each of these requires registration to an association to assign unique serial data. 5

6 1-D linear barcodes Code 39 Code 39, also known as 3 of 9 Code, was the first symbol to use numbers and letters. It is a variable-length barcode that is self-checking so a check digit normally isn t necessary, but is recommended. Its popularity is due to its ability to encode up to 43 numbers, letters and other characters. Code 39 is still widely used, especially in non-retail environments. Encoding Type: Partial alphanumeric Format: Wide/narrow Check Digit: Optional Military & Automotive Extended Code 39 Extended Code 39 uses a combination of two standard Code 39 characters to encode every one of the 128 ASCII characters. It also allows for special characters, such as lowercase letters. Generally, the more special characters that are used, the longer the barcode will become. Most barcode readers will not automatically read Extended Code 39 without custom configuration. Encoding Type: Partial alphanumeric Format: Wide/narrow Check Digit: Optional Military & Automotive Code 93 Code 93 was designed to encode data more compactly and with higher data redundancy than with older multi-length barcode types such as Code 39. Encoding Type: Alphanumeric Format: Multi-width Check Digit: Required Military, Automotive & Healthcare Interleaved 2 of 5 Interleaved 2 of 5 encodes any even number of numeric characters. Unlike Standard 2 of 5 (a.k.a. Industrial 2 of 5), which only encodes information in the width of the bars, Interleaved 2 of 5 encodes data in the width of both the bars and spaces. This allows Interleaved 2 of 5 to achieve higher density encoding. Encoding Type: Numeric Format: Wide/narrow Check Digit: Optional Distribution & Warehousing 6

7 Stacked linear barcodes GS1 DataBar Stacked GS1 DataBar Stacked barcodes are designed to condense the GTIN into a more compact and square barcode suitable for use on smaller packages (such as the label stickers on fresh produce). Supermarkets PDF417 PDF417 barcodes can store up to 1,800 printable ASCII characters or 1,100 binary characters per symbol. It is also possible to break large amounts of data into several PDF417 codes which are linked together. In theory, there is no limit to the amount of data that can be stored in a group of PDF417 symbols. U.S. Driver s Licenses & Logistics Encoding Type: ASCII characters Format: Wide/narrow Check Digit: Required Encoding Type: ASCII characters Format: Wide/narrow Check Digit: Required Postal codes Over the years nearly every country in the world has developed their own postal codes to best suit their needs. However, in recent times there has been a move towards standardizing them. POSTNET The POSTNET (Postal Numeric Encoding Technique) barcode is used by the U.S. Postal Service to automatically sort mail. Unlike most other barcodes in which data is encoded in the width of the bars and spaces, POSTNET actually encodes data in the height of the bars. Intelligent Mail Barcode The IMB (Intelligent Mail Barcode) is a U.S. Postal Service barcode used to sort and track letters and flats. In addition to the ZIP code used to generate a POSTNET barcode, the IMB carries sender s information. 7

8 2-D matrix codes 2-D symbologies are a more recent addition to the world of barcodes. By storing data both horizontally and vertically, significantly more can be encoded than is possible with a 1-D barcode. The following examples demonstrate the more popular ones available. Data Matrix Data Matrix codes allow encoding of large amounts of data (up to 2,335 alphanumeric or 3,116 numerical characters) and use an error correction system to read codes that are as much as 40% damaged. They are made up of black and white cells in a square or rectangular pattern, a finder pattern and a timing pattern (see page three). MaxiCode MaxiCode is a fixed-size code which holds up to 93 data characters. It is composed of a central bulls-eye locator and offset rows of hexagonal elements. It was created by United Parcel Service to allow quick, automated scanning of packages on high-speed conveyor lines (high powered imagebased barcode readers can read a MaxiCode on a carton traveling at up to 550 feet/minute or 168 meters/minute). Aerospace, Components, U.S. Mail, HIBC, Defense, & Printed Media Logistics QR QR (Quick Read) codes contain square blocks of black cells on a white background with finder patterns in the top left, top right, and bottom left corners. QR was developed with the intention of being used for tracking parts during vehicle assembly. However, it has grown in popularity since the introduction of readers on smartphones, and it is now commonly used in printed marketing materials. Aztec Named after the resemblance of the central finder pattern to an Aztec pyramid, the code is built on a square grid with a bulls-eye pattern at its center for locating the code. Data is encoded in concentric square rings around the bulls-eye pattern. Aztec codes have the potential to use less space than other matrix barcodes because they do not require a surrounding blank quiet zone. Automotive Parts & Commercial Marketing Travel Tickets & Car Registration Documents 8

9 Reading barcodes There are many types of barcode scanners on the market that address the many applications that use barcodes. Decoding capability, performance reliability and communications are key to getting the data into the system. Ranking barcode readers The most important way to rank barcode reader performance is by its read rate. Read rate is the number of barcodes read divided by the number attempted. It s usually expressed as a percentage and the closer to 100%, the better. Read rate is the best measure of how reliable and robust the reader is to the barcodes seen on the factory floor. Barcode quality feedback In many production lines, it is important to maintain the barcode print quality at a high level to ensure that the code can be read by other readers in the product distribution chain. Image-based readers can provide this feedback on every code they read. Extracting the data After marking the package or item and reading the code, the data is stored or used within the plant or distribution center s MES (Manufacturing Execution System). If available, Ethernet communication is the fastest and most reliable method of data transfer. CALCULATING READ RATE If 9,900 barcodes are successfully read in 10,000 attempts, the read rate is calculated: 9,900 10,000 =.99 or 99% Cognex barcode readers offer high read rates, industrial connectivity, and reliable performance, and come in many shapes and sizes: Fixed-mount Handheld Mobile Computers Verifiers From the smallest and highest performing fixed-mount readers for direct part mark and high-speed code reading, to the widest range of handheld readers, Cognex has the solution for you. Get more information about Cognex image-based readers at: 9

10 Companies around the world rely on Cognex vision and ID to optimize quality, drive down costs and control traceability. Corporate Headquarters One Vision Drive Natick, MA USA Tel: Fax: Americas United States, East United States, West United States, South United States, Detroit United States, Chicago Canada Mexico Central America South America Brazil Europe Austria Belgium France Germany Hungary Ireland Italy Netherlands Poland Spain Sweden Switzerland Turkey United Kingdom Asia China India Japan Korea Singapore Taiwan Copyright 2013, Cognex Corporation. All information in this document is subject to change without notice. Cognex and the Cognex logo are registered trademarks of Cognex Corporation. All other trademarks are the property of their respective owners. Printed in the USA. Lit. No. DMEG