Rockwell Automation 2755 AdaptaScan Software User Manual

Page 96

Advertising
background image

6–14

Publication 2755-838

Matrix 2 of 5

When editing the Matrix 2 of 5 symbology, the following options are
available:

Check Character

Select:

To:

None

Handle all decoded characters as data.

Verify

Verify the check character on each symbol that is read. The
symbol is invalid if the calculated checksum (see below) does
not match the decoded check character.

Verify & Strip

Verify the check character on each symbol and then remove
the check character from the data. The symbol is invalid if the
calculated code does not match the decoded check character.

Guard Bars

Verifies the presence of guard bars. When selected, the guard bars
must be present to decode a symbol. When not selected, the symbol
is decoded with or without guard bars.

Matrix 2 of 5 Check Character

The AdaptaScan performs a modulus 10 check of a Matrix 2 of 5
code as follows:

1. Start and Stop codes are not included in the checksum.
2. Sum of even position digits is multiplied (weighted) by 3.
3. Sum of odd position digits is multiplied (weighted) by 1.
4. Odd and even weighted results are added together.
5. Divide the sum of the odd and even weighted results by 10.
6. Subtract the remainder of the division from 10 to obtain the checksum.

For example, the following code is decoded, the most significant
digit (digit #1) is to the left. The least significant digit is to the right
and is an even position digit.

8

6

1

3

2

5

1

8

Sum of 3 (sum even digits) + (sum odd digits) = 3 (6 + 3 + 5 + 8) + (8 + 1 + 2 + 1) = 78

Code =

Sum/10 = 78/10 = 7 with Remainder = 8

Checksum = 10 - Remainder = 10 - 8 = 2

Advertising