Appendix; Appendix A: Code128; Overview Of Code128; Code Set - SNBC BTP-R580II Programming Manual

Table of Contents

Advertisement

Appendix

Appendix A: CODE128

A.1 Overview of CODE128
In CODE128 system, it is possible to represent 128 ASCII characters, 100 numbers from 00 to 99 and
some special characters with three code sets: A, B and C. Each code set is used for representing the
following characters:
• CODE A: ASCII characters 00H to 5FH
• CODE B: ASCII characters 20H to 7FH
• CODE C: 100 numbers from 00 to 99
CODE128 can also encode the following special characters:
• SHIFT characters
In CODE A, the character just after SHIFT is processed as a character for CODE B. In CODE B, the
character just after SHIFT is processed as a character for CODE A. The second and the following
characters recover to the code set used before SHIFT. SHIFT characters cannot be used in CODE C.
• Code set selection character (CODE A, CODE B, CODE C).
These characters can switch the following code characters to CODE A, B, or C.
• Function character (FNC1, FNC2, FNC3, FNC4)
The usage of function characters depends on the application software. In CODE C, only FNC1 is
available.
A.2 Code set
Characters in CODE A:
Transmit Data
Character
Hex
NULL
00
SOH
01
STX
02
ETX
03
EOT
04
ENQ
05
ACK
06
BEL
07
BS
08
HT
09
LF
0A
VT
0B
FF
0C
CR
0D
SO
0E
Character
Decimal
0
(
1
)
2
*
3
+
4
,
5
-
6
.
7
/
8
0
9
1
10
2
11
3
12
4
13
5
14
6
BTP-R580II Programming Manual
Transmit Data
Character
Hex
Decimal
28
40
P
29
41
Q
2A
42
R
2B
43
S
2C
44
T
2D
45
U
2E
46
V
2F
47
W
30
48
X
31
49
Y
32
50
Z
33
51
[
34
52
\
35
53
]
36
54
^
- 71 -
Transmit Data
Hex
Decimal
50
80
51
81
52
82
53
83
54
84
55
85
56
86
57
87
58
88
59
89
5A
90
5B
91
5C
92
5D
93
5E
94

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents