Code 93

 

 

 

 

 

 

 

 

 

 

 

Barcodes

Example of check digit calculation:

 

 

 

 

 

 

 

 

 

Plain text

: C

+

O

+

D

+

E

SP

9

3

W I

Check character

 

 

 

 

 

 

 

 

 

 

 

 

Check digit C

: W (weighting of 1, 2, ... 10, 1, 2, ... from right to left)

Check digit K

: I (weighting of 1, 2, ... 15, 1, 2, ... from right to left)

Information char seq.

: C

+

O

+

D

+

E

SP

9

3

 

Reference values

:

12

41

24

41

13

41

14

38

9

3

 

Weighting factors

 

 

 

 

 

 

 

 

 

 

 

 

for check digit C

:

10

9

8

7

6

5

4

3

2

1

 

Weighting factors

 

 

 

 

 

 

 

 

 

 

 

 

for check digit K

:

11

10

9

8

7

6

5

4

3

2

1

Sum of products

 

(12*10) + (41*9) + (24*8) + (41*7) + (13*6) + (41*5)

for check digit C

: + (14*4) + (38*3) + (9*2) + (3*1) = 1442

 

 

 

Modulo 47

:

1442 mod 47 = 32 (1442/47 = 30, remainder 32)

 

Check digit C

:

W (W corresponds to the reference number 32)

 

Sum of products

:

(12*11) + (41*10) + (24*9) + (41*8) + (13*7) + (41*6)

for check digit K

 

+ (14*5) + (38*4) + (9*3) + (3*2) + (32*1) = 1710

 

Modulo 47

:

1710 mod 47 = 18 (1770/47 = 36, remainder 18)

 

Check digit K

:

I (I corresponds to the reference number 18)

 

 

The following characters are provided for coding the start and stop characters:

Start character: a, b, c, d or s (hexadecimal: 61, 62, 63, 64 or 73)

Stop character: e or f (hexadecimal: 65 or 66)

Programmer Reference Guide

U26169-J-Z716-1-7600

Page 141
Image 141
Siemens 9014, 9016, 9015 E manual Barcodes