Code 93

Barcodes

EAN-8 and EAN-13 Add-on

The EAN-8 and EAN-13 codes with a two or five-digit add-on are printed automatically if two or five additional digits are programmed in the application.

The check digit calculation ignores the add-on digits.

Example of check digit calculation modulo 10 with a weighting of 3:

Plain text

:

4

1

2

3

4

5

6

7

8

9

0

1

8

Check digit

:

8

 

 

 

 

 

 

 

 

 

 

 

 

Information digit sequence

:

4

1

2

3

4

5

6

7

8

9

0

1

 

Weighting factors

:

1

3

1

3

1

3

1

3

1

3

1

3

 

Products

:

4

3

2

9

4

15

6

21

8

27

0

3

 

Sum of products

: 4+3+2+9+4+15+6+21+8+27+0+3=102

Modulo 10

:

102 mod 10 = 2 (102/10 = remndr. 2)

 

Difference from 10 is check digit

:

10-2=8

 

 

 

 

 

 

 

 

 

 

Check digit

:

8

 

 

 

 

 

 

 

 

 

 

 

 

Code 93

The character complement of the Code 93 code comprises:

10 digits: 0 1 2 3 4 5 6 7 8 9

26 letters: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

7 special characters: Space $ % + - . /

4 control characters: $

%

(X’67 in ISO 7-bit or X’87 in EBCDIC) (X’68 in ISO 7-bit or X’88 in EBCDIC) (X’69 in ISO 7-bit or X’89 in EBCDIC) (X’6A in ISO 7-bit or X’91 in EBCDIC)

1 start character:

1 stop character:

(X’61 in ISO 7-bit or X’81 in EBCDIC)

(X’65 in ISO 7-bit or X’85 in EBCDIC)

The number of characters is variable. The start/stop characters are programmed with the characters, e.g. a/e.

Programmer Reference Guide

U26169-J-Z716-1-7600

Page 139
Image 139
Siemens 9015 E, 9016, 9014 manual Code, EAN-8 and EAN-13 Add-on