| Customize Help

Basic concepts for the MIL Code module



The following are terms commonly used in code operations:

  • One-dimensional (1D) code types. 1D code types are linear bar codes containing vertical bars and spaces. The following are examples of 1D code types:

  • Two-dimensional (2D) code types. 2D code types contain blocks that can span multiple rows and columns. The following are examples of 2D code types:

  • Aperture. A measurement of the diameter of the circular smoothing filter used by the code grade operation to avoid minor defects that might influence the grades.

  • Bearer bars. Bars that run along both the top and bottom of a code, two examples of which are illustrated in the diagram below.

  • Cell. The narrowest (thinnest) dark or white space into which data is encoded. Cells have different shapes, depending on the code type. Cells in 1D code types are the thinnest bars or spaces. Some 2D codes have cells that are approximately-square blocks, while Maxicode cells are hexagonal. In 1D and 2D codes, bars can occupy several contiguous cells, as can spaces.

    When dealing with 1D code types (except 4-state, Postnet and Planet) and 2D cross-row codes (MicroPDF, PDF417, and Truncated PDF), industry uses the term module to refer to a cell.

  • Cell size. Width of the cell, the code's narrowest unit. It is the size of the cell in X.

    The cell size of a Maxicode is defined as the distance between the center points of two hexagons in the same row.

    The industry refers to the cell size as either x-width or module size.

  • Checksum number. Number included as part of a 1D or 2D code, which is calculated based on the other characters in the code; it is a simple form of error detection. Typically during a read operation, the characters that make up the string are put through a checksum calculation whose results are compared against the checksum number.

  • Check digit. A character included in a code for the purpose of performing a mathematical check on the value of the decoded code to ensure its accuracy.

  • Codeword. A codeword is a series of cells in a code. Each code contains several types of codewords. The purpose of the codeword is dependent on its type. For example, a data codeword contains part of the encoded information, and error codewords are used in error-detection.

  • Code context. A MIL object that stores all code models. The code context also contains general code operation setting.

  • Code model. A data structure that stores all the control settings to read, grade, train, or write a particular code type.

  • Column. A series of cells along the Y-axis. Columns are only referred to when dealing with codes that have more than one row (such as 2D codes).

  • Composite code. Composite codes combine a 1D code type and a 2D code type into one code. Composite codes are most often used to encode large strings of data. The following is an example of a composite code:

  • Extended Channel Interpretation (ECI). A piece of information embedded in a code that indicates that non-standard characters, such as Arabic or Mandarin characters, are used.

  • Encoding scheme. An encoding scheme is a set of rules governing how a string is encoded. Not all code types support all encoding schemes.

  • Error correction. Error correction schemes prevent read operations from returning incorrect results. During read operations, knowing the error correction scheme allows for error detection and error recovery. Error detection discovers bit errors (when a 1 is read as a 0 or vice versa). Error recovery both detects and corrects bit errors; depending on the error correction scheme used, questionable data can be corrected based on the remaining data.

  • Erasure. An erasure is a missing or unreadable codeword at a known position. All erasures are errors, but not all errors are erasures.

  • Extended area. The extended area is a region of a 2D code 20 times the cell size beyond the code's quiet zone. The extended area should contain no marks and a constant symbol contrast (reflectance). Marks can impede the read operation significantly.

  • Finder pattern and clock pattern. The finder pattern and clock pattern are used for symbol identification, orientation, and cell location. For a Data Matrix code, the finder pattern and clock pattern are on the perimeter of the code. The finder pattern consists of two solid lines that touch at a point and the clock pattern consists of two lines of alternating light and dark cells on the opposite side of the finder pattern.

    Aztec codes use a finder pattern and a orientation pattern in the center of the code. The finder pattern consists of concentric squares, while the orientation pattern is along the outer-corners of the finder pattern.

  • Module. See cell.

  • Quiet zone. Quiet zones are areas with no marks and are used to aid the scanning process. For 1D codes, the quiet zone immediately precedes the start character and immediately follows the stop character. For 2D matrix codes, the quiet zone must be present on all four sides of the code; for 2D cross-row codes, the quiet zone must be present on 2 sides. Even hand-written scribbles in the quiet zone will impede the read operation significantly. The size of the quiet zone is dependent on the code type.

  • Reflectance. The grayscale value of a cell.

  • Scan reflectance profile. A scan reflectance profile of a code is a record of values measured along a line across the width of the code and its quiet zone (scan path).

  • Scan line. A scan line is the row that spans the entire image width, along which the code is read. The scan line can be in any direction, but must be straight. Multiple scan lines are used to locate and potentially read or grade the code.

  • Scan path. A scan path is the region of the scan line that spans the code and its quiet zone. The rest of the image's width is ignored. The scan path can be in any direction, but must be straight. Multiple scan paths are used to grade the code. A single scan path is used when generating a single scan profile as part of the scan reflectance profile.

  • Start and stop characters. Characters which inform the reader or scanner of the beginning and end of a code, analogous to the start and stop bits which are specified when transferring data across a modem. Some code types, such as Code 39, use identical stop and start characters, while others use different stop and start characters. The PDF417 code type refers to these characters as start and stop patterns.

Technical code information

For detailed information about specific code types, refer to one of the following sources.

Code type

Source

1D Code types

All 1D codes except for Pharamcode, Planet code and Postnet.

"International Organization for Standardization (ISO-IEC) 15416:2000 Automatic identification and data capture techniques — Bar code print quality test specification — Linear symbols . Switzerland: ISO/IEC Information technology, 2000. 42."

"International Organization for Standardization (ISO-IEC) 15416:2016 Automatic identification and data capture techniques — Bar code print quality test specification — Linear symbols . Switzerland: ISO/IEC Information technology, 2016. 44."

BC412

"SEMI 1993, 2003 Semi T1-95 (Reapproved 0303) Specification for back surface bar code marking of silicon wafers . San Jose, CA, USA: Semiconductor Equipment and Matrerials International (SEMI), 2003. 10."

Code 128

"International Organization for Standardization (ISO-IEC) 15417:2007 Automatic identification and data capture techniques - Code 128 bar code symbology specification . Switzerland: ISO/IEC Information technology, 2007. 32."

Code 39

"International Organization for Standardization (ISO-IEC) 16388:2007 Automatic identification and data capture techniques - Code 39 bar code symbology specification . Switzerland: ISO/IEC Information technology, 2007. 26."

EAN 8, EAN 13, UPC-A, UPC-E

"International Organization for Standardization (ISO-IEC) 15420:2000 Automatic identification and data capture techniques - Bar code symbology specification - EAN-UPC . Switzerland: ISO/IEC Information technology, 2000. 44."

Interleaved 2 of 5

"International Organization for Standardization (ISO-IEC) 16390:2000 Automatic identification and data capture techniques - Interleaved 2 of 5 bar code symbology specification . Switzerland: ISO/IEC Information technology, 2000. 42."

GS1 Databar

"International Organization for Standardization (ISO-IEC) 24724:2000 Automatic identification and data capture techniques - Reduced Space Symbology (RSS) bar code symbology specification . Switzerland: ISO/IEC Information technology, 2000. 42."

Code 93

"ANSI/AIM-BC5-2000 AIM Uniform symbology specification - Code 93 . U.S.A: American National Standards Institute, Inc, 2000. 17."

Codabar

"ANSI/AIM-BC3-2000 AIM Uniform symbology specification - Codabar . U.S.A: American National Standards Institute, Inc, 2000. 17."

Pharmacode

For technical information about Pharmacode, see "Laetus am Sandberg Geratebau GmbH The Pharmacode Guide . Germany: Laetus am Sandberg Geratebau GmbH, 1997. 61." by Laetus

Planet code

United States Postal Service site, Rapid Information Bulletin Board System (http://ribbs.usps.gov)

Postnet

United States Postal Service site, (http://www.usps.com) and find the POSTNET bar code Certification page

2D code types

All 2D codes except for MaxiCode.

"International Organization for Standardization (ISO-IEC) 15415:2011(E) Automatic identification and data capture techniques — Bar code print quality test specification — Two-dimensional symbols . Switzerland: ISO/IEC Information technology, 2011. 56."

Aztec

"International Organization for Standardization (ISO-IEC) 24778:2008(E) Automatic identification and data capture techniques - Aztec Code bar code symbology specification . Switzerland: ISO/IEC Information technology, 2008. 52."

Cross-row

"International Organization for Standardization (ISO-IEC) 15438:2006(E) Automatic identification and data capture techniques - PDF417 bar code symbology specification . Switzerland: ISO/IEC Information technology, 2006. 112."

"International Organization for Standardization (ISO-IEC) 24728:2006 Automatic identification and data capture techniques" MicroPDF417 bar code symbology specification . Switzerland: ISO/IEC Information technology, 2006. 56."

"International Organization for Standardization (ISO-IEC) 15416:2000 Automatic identification and data capture techniques — Bar code print quality test specification — Linear symbols . Switzerland: ISO/IEC Information technology, 2000. 42."

"International Organization for Standardization (ISO-IEC) 15416:2016 Automatic identification and data capture techniques — Bar code print quality test specification — Linear symbols . Switzerland: ISO/IEC Information technology, 2016. 44."

"International Organization for Standardization (ISO-IEC) 15415:2004(E) Automatic identification and data capture techniques — Bar code print quality test specification — Two-dimensional symbols . Switzerland: ISO/IEC Information technology, 2004. 56."

Data matrix

"ANSI/AIM-BC11-1997 AIM Uniform symbology specification - Data matrix . U.S.A: American National Standards Institute, Inc, 2000. 17."

"International Organization for Standardization (ISO-IEC) 16022:2007 Automatic identification and data capture techniques - Data Matrix bar code symbology specification . Switzerland: ISO/IEC Information technology, 2006. 142."

"ISO/IEC 21471:2020 Automatic identification and data capture techniques - Extended Rectangular Data Matrix (DMRE) bar code symbology specification . Switzerland: ISO/IEC Information technology, 2020. 80."

"ISO/IEC TR 29158:2011 Direct Part Mark (DPM) Quality Guideline . USA: ISO/IEC Information technology, 2011. 20."

"SEMI T2-0298E 1993, 2000 Specification for marking of wafers with a two-dimensional matrix code symbol . San Jose, CA, USA: Semiconductor Equipment and Matrerials International (SEMI), 2000. 8."

"SEMI T7-0303 1997, 2003 Specification for back surface marking of double-side polished wafers with a two-dimensional matrix code symbol . San Jose, CA, USA: Semiconductor Equipment and Matrerials International (SEMI), 2003. 4."

MaxiCode

"ANSI/AIM-BC10 AIM Uniform symbology specification - MaxiCode . U.S.A: American National Standards Institute, Inc, 2000. 17."

QR and Micro QR

"ISO/IEC FDIS 18004:2006(E) Automatic identification and data capture techniques - QR Code 2005 bar code symbology specification . U.S.A: ISO/IEC Information technology, 2006. 17."

"International Organization for Standardization (ISO-IEC) 18004:2006 Automatic identification and data capture techniques - QR Code 2005 bar code symbology specification . Switzerland: ISO/IEC Information technology, 2006. 124."

"ISO/IEC TR 29158:2011 Direct Part Mark (DPM) Quality Guideline . USA: ISO/IEC Information technology, 2011. 20."

Composite codes

General

"International Organization for Standardization (ISO-IEC) 24723:2006(E) Automatic identification and data capture techniques - EAN.UCC Composite bar code symbology specification . Switzerland: ISO/IEC Information technology, 2006. 52."

"International Organization for Standardization (ISO-IEC) 15416:2000 Automatic identification and data capture techniques — Bar code print quality test specification — Linear symbols . Switzerland: ISO/IEC Information technology, 2000. 42."

"International Organization for Standardization (ISO-IEC) 15416:2016 Automatic identification and data capture techniques — Bar code print quality test specification — Linear symbols . Switzerland: ISO/IEC Information technology, 2016. 44."

"International Organization for Standardization (ISO-IEC) 15415:2004(E) Automatic identification and data capture techniques — Bar code print quality test specification — Two-dimensional symbols . Switzerland: ISO/IEC Information technology, 2004. 56."

"International Organization for Standardization (ISO-IEC) 15415:2011(E) Automatic identification and data capture techniques — Bar code print quality test specification — Two-dimensional symbols . Switzerland: ISO/IEC Information technology, 2011. 56."