5
MVD 100
User’s manual
The check number is determined by adding the ASCII characters between STX and the two characters
before ETB in byte mode without carry. This results in a 1-byte value xy. Two 1-byte numbers (x0,
0y) are determined on the basis of this value. x0 becomes 0x (push 4 times), and then becomes 3x
through the addition of 30h. 30h is added to 0y in order to obtain 3y.
Example:
(STX) v iii
t sss pp (ETB)
02h
+
030
: 110
8:
17h
Now the ASCII characters are added together.
+ = 2B
0 = 30
3 = 33
0 = 30
: = 3A
1 = 31
1 = 31
0 = 30
8A -> 8A => 80 -> 08 +30 -> 38 -> “8”
=> 0A +30 -> 3A -> “:”
Consequently, the check is “8:” (38Hex & 3AHex).
Check number is calculated on the basis of these characters