Barcode Technology

Barcode History

Barcode Label Paper

Barcode Printer

Barcode Application

Inventory Management

AI Barcode QRCode

Barcode Scanner

Barcode Software

Barcode Software B

Barcode Software C

Barcode Software D

Barcode Software E

New Technology A

New Technology B

Robot Technology

Barcode Types

Barcode Types B

Barcode Types C

Barcode Types D

Barcode Types E

Barcode Types F

Electronic Technology

Psychology at Work

Barcode Technology and Barcode Software Related   <<< Back to Directory <<<

Encoding of the MSI (Modified Plessey) barcode

Introduction to MSI Barcode

The MSI (Modified Plessey) barcode is a continuous, variable-length symbology originally designed by the Plessey Company in the 1970s. MSI barcodes are primarily used for inventory control, store shelf labeling, and other retail applications. The encoding process of MSI involves converting numeric data into a series of bars and spaces of varying widths, which can then be scanned and interpreted by barcode readers.

Character Set and Structure

MSI barcodes encode only numeric data (digits 0-9). Each digit is represented by a sequence of four bars and four spaces, with each bar or space being either narrow or wide. The structure of an MSI barcode can be divided into several key components:

1.Start Sentinel: A unique pattern indicating the beginning of the barcode.

2.Data Digits: The numeric data to be encoded.

3.Check Digit(s): One or more check digits for error detection, typically calculated using modulo 10 or modulo 11 algorithms.

4.Stop Sentinel: A unique pattern indicating the end of the barcode.

Encoding Process

Step 1: Converting Data Digits to Binary Patterns

Each digit in the MSI barcode is converted to a binary pattern consisting of four bars and four spaces. The patterns for the digits 0-9 are as follows:

0: 100100100100

1: 100100100110

2: 100100110100

3: 100100110110

4: 100110100100

5: 100110100110

6: 100110110100

7: 100110110110

8: 110100100100

9: 110100100110

In these patterns, '1' represents a narrow bar, '0' represents a narrow space, '11' represents a wide bar, and '00' represents a wide space.

Step 2: Calculating Check Digits

MSI barcodes often use check digits to enhance error detection. There are two common methods for calculating check digits in MSI barcodes: modulo 10 and modulo 11.

Modulo 10 Check Digit Calculation:

1.Starting from the rightmost digit, assign alternating weights of 2 and 1 to each digit.

2.Multiply each digit by its assigned weight.

3.Sum the results of the multiplications.

4.The check digit is the amount needed to bring the sum to the next multiple of 10.

Example:

Consider the data digits '12345':

1.Assign weights: 1 (5), 2 (4), 1 (3), 2 (2), 1 (1)

2.Multiply and sum: 11 + 22 + 13 + 24 + 1*5 = 1 + 4 + 3 + 8 + 5 = 21

3.The next multiple of 10 is 30, so the check digit is 30 - 21 = 9.

Modulo 11 Check Digit Calculation:

1.Starting from the rightmost digit, assign decreasing weights from 2 to 7 repeatedly.

2.Multiply each digit by its assigned weight.

3.Sum the results of the multiplications.

4.The check digit is the remainder when the sum is divided by 11. If the remainder is 10, the check digit is usually set to 0.

Example:

Consider the data digits '12345':

1.Assign weights: 2 (5), 3 (4), 4 (3), 5 (2), 6 (1)

2.Multiply and sum: 16 + 25 + 34 + 43 + 5*2 = 6 + 10 + 12 + 12 + 10 = 50

3.The remainder of 50 divided by 11 is 6, so the check digit is 6.

Step 3: Encoding Start and Stop Sentinels

The start and stop sentinels are unique patterns that signal the beginning and end of the barcode. In MSI, the start sentinel is typically represented by the binary pattern '110', and the stop sentinel by '1001'.

Step 4: Constructing the Full Barcode

To construct the full barcode, the start sentinel, data digits (including check digit), and stop sentinel are concatenated. Each digit is represented by its corresponding binary pattern.

Example:

Consider the data digits '12345' with a modulo 10 check digit:

1.Data digits: '12345'

2.Check digit: 9

3.Full data: '123459'

4.Binary patterns:

1: 100100100110

2: 100100110100

3: 100100110110

4: 100110100100

5: 100110100110

9: 110100100110

5.Concatenate with start and stop sentinels:

Start sentinel: 110

Data: 100100100110 100100110100 100100110110 100110100100 100110100110 110100100110

Stop sentinel: 1001

The final binary pattern for the barcode '12345' with a check digit of 9 would be:

110 100100100110 100100110100 100100110110 100110100100 100110100110 110100100110 1001

Example Encoding Process

To illustrate the encoding process in more detail, let's go through another example step-by-step.

Example: Encoding the Data '9876' with a Modulo 10 Check Digit

1.Convert Data Digits to Binary Patterns:

9: 110100100110

8: 110100100100

7: 100110110110

6: 100110110100

2.Calculate Modulo 10 Check Digit:

Data digits: '9876'

Assign weights: 1 (6), 2 (7), 1 (8), 2 (9)

Multiply and sum: 16 + 27 + 18 + 29 = 6 + 14 + 8 + 18 = 46

The next multiple of 10 is 50, so the check digit is 50 - 46 = 4.

3.Convert Check Digit to Binary Pattern:

4: 100110100100

4.Construct Full Barcode:

Start sentinel: 110

Data: 110100100110 (9) 110100100100 (8) 100110110110 (7) 100110110100 (6) 100110100100 (4)

Stop sentinel: 1001

The final binary pattern for the barcode '9876' with a check digit of 4 would be:

110 110100100110 110100100100 100110110110 100110110100 100110100100 1001

Detailed Steps with Visual Representation

To further clarify the encoding process, let's break down each step with visual representations.

Step 1: Start Sentinel

The start sentinel '110' indicates the beginning of the barcode. It is represented by:

110

| | |

Step 2: Data Digits

Each data digit is converted to its corresponding binary pattern:

Digit 9:

Binary: 110100100110

Visual:

|| || || |

Digit 8:

Binary: 110100100100

Visual:

|| || ||

Digit 7:

Binary: 100110110110

Visual:

| ||| |||

Digit 6:

Binary: 100110110100

Visual:

| ||| ||

Step 3: Check Digit

The check digit is calculated and added to the data:

Check Digit 4:

Binary: 100110100100

Visual:

| || ||

Step 4: Stop Sentinel

The stop sentinel '1001' indicates the end of the barcode. It is represented by:

1001

| | |

Final Barcode Visual Representation

Combining all components, the final visual representation of the barcode '9876' with a check digit of 4 would be:

110 110100100110 110100100100 100110110110 100110110100 100110100100 1001

| | || || || || || || | ||| ||| | ||| || | || || |

Conclusion

Encoding an MSI barcode involves converting numeric data into binary patterns, calculating check digits for error detection, and combining these elements with start and stop sentinels to create the final barcode. Each digit is represented by a unique sequence of bars and spaces, allowing for accurate scanning and interpretation by barcode readers. This process ensures the reliable encoding of numeric data for various applications, such as inventory control and retail.

 

EasierSoft Barcode Label Design & Bulk Printing Software

---- Use Excel Data to Batch Print Barcodes on Label Sheets or Roll Labels  

---- How to use this barcode software

Download:  Free Barcode Software + Barcode Label Designer

Download Free Barcode Software at Softonic

     Download at CNET

Once you obtain a GS1/UPC/EAN barcode, or other barcode type and QR code, you can use our free software to batch print barcode labels onto Roll label paper using a professional label printer, or to batch print barcodes onto Avery 5160 label sheets using a regular laser or inkjet printer. Our software has free and paid versions.

The free version fully meets your needs for batch printing GS1/UPC/EAN barcodes. The paid version can import data from Excel and databases to batch print barcode labels with different values.

How to Start

Input Data

Import Excel Data

Print Barcode

Barcode Format

Label Designer

All Screen Shot

Export Barcode Image

Save Template

Output Word Excel

How to Use & FAQ:

Example: Print portrait orientation 5164

Example: Print barcodes to 5167 label

Example: Print barcodes to 5168 label

Example: Print portrait orientation 5168

Example: Print barcodes to 5169 label

Example: Print barcodes to 5660 label

Example: Print barcodes to 5661 label

Example: Print barcodes to 5662 label

Example: Print barcodes to 5663 label

Example: Print barcodes to 5664 label

Example: Print portrait orientation 5664

Example: Print barcodes to 5873 label

Example: Print barcodes to 5874 label

Two ways to import Excel data

Import Excel Data - Pro Edition

Import Excel Data - Std Edition

Import Data from Excel - Detail

Load Data From Excel File

Data Editing Table

Copy Data From Excel

Four ways to input barcode data

Add ASCII Key E

Input Multiple Lines of Text for Barcodes

Generates Sequential Serial Numbers

Import or copy data from Excel sheets

Special sequence number generation

Std Details: Simple Input Form

Std Details: Multiple Line Text Input

Details: Sequence Barcode Generator

Examples: Sequence Barcode Generator

Import Data From Excel Spreadsheet

Barcode Data Correspondence Diagram

Data Editor

Editing a Single Row Data in Form

Batch Editing Multiple Rows of Data

Batch Data Editing - Example 2

Design & print complex barcode labels

Configuring Text Elements on Label

Configuring Barcode Elements on Label

Configuring Image Elements on Label

Setting Line Elements on Label

Designing Labels for 5164 Sheet

Advanced Page Layout Settings

Add Barcode Elements to a Label

Configuring Parameters of a Barcode

Entering Multiple Values for a Barcode

Print barcode labels

Print bulk barcodes - How to start

Four sections of print bulk barcodes

Barcode Filter & Repeat Print Quantity

Highlights

Excel integration: Import data directly from Excel to generate and print barcodes in bulk.

Label designer: Create complex labels with multiple barcodes, text, logos, and shapes.

Batch printing: Print thousands of barcodes at once using standard inkjet/laser printers or professional barcode printers.


Flexible editions:

Standard Edition: Simple batch printing with Excel data.

Professional Edition: Adds command-line automation for workflow integration.

Label Designer Edition: Advanced design features for complex labels.


Why Choose Our Barcode Solutions?

Cost-effective: Free online generator and permanent free desktop version available.

Easy to use: No technical expertise required—just input data and print.

Versatile: Supports nearly all 1D and 2D barcode types, including QR codes.

Trusted: Recommended by CNET and widely downloaded by users worldwide.


Suitable Use Cases

Small businesses and startups needing quick barcode labels for products.

Retailers and online sellers managing inventory with batch barcode printing.

Manufacturers requiring sequential or custom barcode labels for packaging.

Educational and testing environments where barcodes are used for tracking.

 

 

CONTACT

cs@easiersoft.com

If you have any question, please feel free to email us.

 

https://free-barcode.com

 

<<< Back to Directory <<<     Barcode Generator     Barcode Freeware     Privacy Policy