![background image](http://html1.mh-extra.com/html/omron/v500-r521b2/v500-r521b2_user-manual_741440122.webp)
125
V500-R521B2/C2
User’s Manual
Sect
ion
6
Exp
la
nat
io
n of Te
rms
Section 6
Appendix
Calculation method of modulus 16
1.
Allocate the value indicated in table 2 to the symbol character.
2.
Add all the message character (including start/stop character) and divide by 16.
3.
When the reminder is 0, check character is 0.
In other cases, take the reminder value from 16 and the result is the check character
value.
4.
Result of clause
3
is the check character value shown in table 2.
Table 2: Character value calculated in Modulus 16
[E.g.] When "A37859B" is indicated in Codabar
Therefore, data with check character is "".
Character
Value
Character
Value
0
0
•
10
1
1
$
11
2
2
:
12
3
3
/
13
4
4
,
14
5
5
+
15
6
6
A
16
7
7
B
17
8
8
C
18
9
9
D
19
65 / 16 = 4 Remainder 1 (Character of 1 is +)
+ ... Check digit
A
3
7
8
5
9 B
↓
↓
↓
↓
↓
↓ ↓
Numerical conversion 16 + 3 + 7 + 8 + 5 + 9 +17 = 65
V500-R521.book 125 ページ 2008年7月18日 金曜日 午後1時1分