代码128和GS1-128

世界上有大约100种类型的条形码。以下是对Code128和GS1-128条形码的简介。

代码128

代码128 is the barcode developed by Computer Identics Corporation (U.S.A.) in 1981.
代码128 can represent all 128 ASCII code characters (numbers, upper case/lower case letters, symbols and control codes). Since it can represent all characters (except Japanese kanji, hiragana and katakana) that can be used with a computer keyboard, it is a computer friendly barcode.

代码128构图

The basic composition is as follows:

A
启动代码
B
检查数字(Modulus 103)
C
停止代码
  • There are 4 types of bar size.
  • One character is represented by 3 bars and 3 spaces (total six elements).
  • 开始角色有三种类型;“ Code-A”,“ Code-B”和“ Code-C”。开始字符的类型确定后续字符的字符组成。(看herefor the table of character composition. For example, when CODE A is used as a start character, the characters in the CODE-A column can be represented.)
A
Start with CODE-C
B
更改为代码-A
  • When CODE-C is used, 2-digits numbers can be represented by one type of bar pattern. This allows the very high data density.
  • When code set characters (CODE-A, CODE-B and CODE-C) are used, the barcode started with the start character of CODE-A can be changed to use the characters in the CODE-B or CODE-C column in the middle of barcode processing.
  • When "SHIFT" is used, only one character next to the SHIFT can be changed to the character in the next column (A to B, B to C, C to A). (Similar to the SHIFT key operation of on the computer keyboard)
  • “模量103”用作检查数字。

代码128 Character Composition

Numerical
value
代码
A
代码
B
代码
C
条形图
0 sp sp 00
1 ! ! 01
2 " " 02
3 # # 03
4 $ $ 04
5 % % 05
6 & & 06
7 ' ' 07
8 ( ( 08
9 ) ) 09
10 10
11 + + 11
12 , , 12
13 - - 13
14 . . 14
15 / / 15
16 0 0 16
17 1 1 17
18 2 2 18
19 3 3 19
20 4 4 20
21 5 5 21
22 6 6 22
23 7 7 23
24 8 8 24
25 9 9 25
26 26
27 ; ; 27
28 < < 28
29 = = 29
30 > > 30
31 ? ? 31
32 @ @ 32
33 A A 33
34 B B 34
35 C C 35
36 D D 36
37 E E 37
38 F F 38
39 G G 39
40 H H 40
41 I I 41
42 J J 42
43 K K 43
44 L L 44
45 M M 45
46 N N 46
47 O O 47
48 P P 48
49 Q Q 49
50 R R 50
51 S S 51
52 T T 52
53 U U 53
54 V V 54
55 W W 55
56 X X 56
57 Y Y 57
58 Z Z 58
59 [ [ 59
60 \ \ 60
61 ] ] 61
62 ^ ^ 62
63 _ _ 63
64 NUL 64
65 所以H a 65
66 stx b 66
67 etx c 67
68 EOT d 68
69 ENQ e 69
70 ACK f 70
71 BEL g 71
72 BS h 72
73 HT i 73
74 如果 j 74
75 VT k 75
76 FF l 76
77 CR m 77
78 所以 n 78
79 si o 79
80 DLE p 80
81 DC1 q 81
82 DC2 r 82
83 DC3 s 83
84 DC4 t 84
85 NAK u 85
86 syn v 86
87 ETB w 87
88 CAN x 88
89 EM y 89
90 z 90
91 ESC { 91
92 FS 92
93 GS } 93
94 卢比 94
95 我们 DEL 95
96 FNC 3 FNC 3 96
97 FNC 2 FNC 2 97
98 SHIFT SHIFT 98
99 代码C 代码C 99
100 代码B FNC 4 代码B
101 FNC 4 编写一个 编写一个
102 FNC 1 FNC 1 FNC 1
103 START(CODE A)
104 START(CODE B)
105 START(CODE C)
STOP

代码128 Features

  • 代码128 barcode can include all 128 ASCII code characters (including control codes such as [ESC], [STX], [ETX], [CR] and [LF]).
  • 当使用Code-C用作开始字符时,一个条形图可以表示2位数字。这允许非常有效的条形码组成。如果条形码数据具有12个或更多位数,则代码128提供的尺寸比ITF更小。
  • Since CODE 128 uses 4 types of bar size, printers with high print quality are required. CODE 128 is not suitable for printing with dot matrix printers and FA ink-jet printers and for flexographic printing on corrugated cardboards.

代码128 Applications

如果仅处理数字,则将使用Code-C作为开始代码允许代码128提供非常高的数据密度。
GS1-128 makes use of the characteristics of CODE 128 and is currently used in many industrial applications. With GS1-128, various data are included in the barcode, such as manufacturing date of the product, open date, weight, size, lot number, destination, customer's account, etc..

代码128 is used in the following industries:

  • U.S.A. apparel industry
  • U.S.A. food process industry
  • 美国毒品和医疗设备行业
  • 澳大利亚和新西兰的食品工业
  • European drugs and medical instruments industry

GS1-128

What Is GS1-128?

GS1-128 is the barcode that provides various data including distribution and business transaction data in addition to the data provided by the JAN code and the standard distribution code (ITF) currently available.

以下数据可以包含在GS1-128条形码中:

  • Package number
  • 包装中的数量
  • Weight, capacity and cubic capacity
  • Manufacturing date and validity of quality
  • Lot number
  • Location number (destination)
  • Customer's account code
  • 客户的订单号

Necessary data is used to form the barcode label for the various applications.

For example, On-line purchasing/ordering using EDI (the system for exchanging electronic data between companies), management of open date for foods, management of drugs validity, simplifying the work for checking incoming products, sorting packages for every destination, etc.. (The following label is a sample from a food manufacturer.)

A
Product item code
B
Validity of quality(August 27, 1999)
C
Delivery quantity
D
Net weight
E
Lot number
F
Serial number

Background of GS1-128 Establishment

JAN code and the standard distribution code (ITF) are the barcodes for indicating the product itself and its quantity and not for the data such as manufacturing date, package number, validity of quality and order number.
While CODE 39 allows such data to be included in the barcode, the exchange of such data between companies is not allowed because the definition and the number of digits of the data are different.
GS1-128被确定为通用使用的世界通用条形码,其中的项目和数据数量以及标准化条形码的类型。

GS1-128 Composition

The basic composition of GS1-128 is as follows:

  • Code 128 is used as the barcode.
  • In order to separate the required data such as weight and open data, the "application identifier (AI)" is added which is followed by the data. If more than one data is represented, each data shall be linked.
GS1-128
A
A.I.to indicate delivery container code
B
A.I.表示质量的有效性
C
A.I.to indicate delivery quantity

尽管应用程序标识符是括号的,但括号未包含在条形码数据中。它们仅用于演示。

在上面的示例中,按照应用程序标识符“ 01”,分配了14位数字代码以识别输送容器(最小包装单元的瓦楞纸板箱)。在应用标识符“ 15”之后,给出了代表质量有效性(消费有效性或药物有效性)的数据,以显示95年8月27日。在最后一个应用标识符“ 30”之后,给出表示交付数量的数据显示3个零件。
除上述规定外,大约有100个应用标识符。选择了所需的数据并将用户包含在条形码中。

GS1-128 is not intended to represent fixed data, but the data is selectable by the user. Therefore, for consistent use of GS1-128 among companies, the standards for the barcode system with the data available shall be prepared by the respective industry and the groups of companies involved.

  • In order to distinguish GS1-128 from CODE 128, it is required to give [FNC 1](function 1) following the start code (CODE-A to C).
  • 即使应用程序标识符之后的数据数字数量是可变长度,也会给出分离数据的数字。
A
启动代码C
B
[FNC 1]向GS1-128发出信号
C
Data 1(fixed-length)
D
数据2(可变长度)
E
[FNC 1] to separate the data
F
Data 3(variable-length)
G
检查数字
H
停止代码
  • 将GS1-128添加到EAN代码和标准分配代码(ITF)中,它可以用作添加更多数据的代码。

GS1-128 is designed to represent the application identifiers and the products relative data or the transaction data of the companies using CODE 128.
换句话说,GS1-128是代表各种数据的应用程序的标准。代码128是仅适用于条形码本身的标准。GS1-128和代码128之间的区别在于它是否表示应用程序。
Since GS1-128 uses the barcode composition of CODE 128, anybarcode readerthat can read CODE 128 can be used to read the GS1-128 data.

Application Identifier

Application Identifier

有100种类型的应用程序标识符可以分类如下。每个应用程序标识符之后的某些数据具有固定数量的数字(标准纸箱ID,测量日期和单位),而其他数据的数字数量不确定数字(批号,序列号,序列号,包装中的数量,数量和订单编号))。

Classification Content 应用程序标识符
包装样式
  • Carton numbers are indicated on the corrugated cardboard box that contain the mixed products.
  • Carton numbers are indicated on all corrugated cardboard boxes that are piled up on pallets.
  • For use of ASN (Advanced Shipment Notice) with indication on SCM label.
00“标准纸箱ID”
产品管理
  • 瓦楞纸箱符合交货要求,没有标准分配符号ITF。
01"Delivery container code"
  • Refurbished products and modified products
20
  • Products dates (manufacturing date, packaged date and warranty period) are indicated.
11~17
  • 产品批号
10
  • Product serial number
21
Measurement indication
  • Weight, cubic capacity and capacity are indicated on the corrugated cardboard box that contains the measured products (foods and fresh fish).
310〜369
Administration
  • 客户的订单号
400
  • Product consignment number
401
  • Location number (companies, offices and specific places)
410~421
  • Internal use and any data set by companies
90〜99

典型的应用标识符

应用程序标识符 Content 数据的数字数
00 标准纸箱ID 带有18位数字的数字

“ 00”是将包装序列号提供给每个瓦楞纸箱和托盘的标识符。因此,每个交付都给出了不同的数字。
数据具有18位数字,并具有以下组成:

Package type 1 digit
Universal company code 7位数字
每次交付的包装序列号 9 digits
检查数字(modulus 10/3 weight) 1 digit

“软件包类型”如下:

Package type
0 Case or carton
1 Pallet (larger than case and carton)
2 Container (larger than pallet)
3 以上任何包装类型
4 根据内部要求(用于内部使用)
5 根据相关公司之间的相互要求
6〜9 No use allowed
Package type

"Universal company code" is indicated by "country code" + "manufacturer code" for the companies who registered JAN. For the companies who did not register JAN, it is required to obtain the universal business account code.

“标准纸箱ID”在欧美称为SSCC-18(串行运输集装箱代码)。

应用程序标识符 Content 数据的数字数
01 Delivery container code Numbers with 14 digits

The same composition of the standard distribution code (ITF) is generally applied to "01". It consists of the EAN code of the packaged product and the package indicator that indicates the product quantity.

Package indicator 1Digit
EAN code 12digits
检查数字(模量10/3重量) 1 digit

"Package indicator" is as follows:

Package indicator
0 Corrugated cardboard boxes that contain the mixed products
1~8 Corrugated cardboard box for one-item that contains the same quantity. Setting within the range of 1 to 8. In many cases, 1 is set.
9 The corrugated cardboard box that contains the different quantity for one-item

Since "delivery container code" has the same data composition as for the EAN code and the standard distribution code, it can be used only on the condition that EAN and standard distribution codes are not printed on corrugated cardboard boxes.

"Delivery container code" is called SCC-14 (Shipping Container Code) in Europe and America.

A
Identifier(01 is the delivery container code.)
B
Delivery container code
C
Identifier(17 represents the validity for sale.)
D
Validity for sale(August 30, ’98)
E
Identifier(10 is the batch number.)
F
Batch number
应用程序标识符 Content 格式
10 Batch number or lot number 在20个字母数字中

"10" is the application identifier to indicate the batch number and the lot number of the product. 20 alphanumeric characters (variable-length) or less are available.

应用程序标识符 Content 格式
11 Manufacturing date (YYMMDD) Numbers with 6 digits
13 Packaged date (YYMMDD) Numbers with 6 digits
15 Validity of quality (YYMMDD) Numbers with 6 digits
17 Validity for sale (YYMMDD) Numbers with 6 digits

指示各种日期的数据。
For the validity of quality, the important data necessary for management are indicated. For example, "open date" of foods and "drugs validity" of drugs.

应用程序标识符 Content 格式
400 管理号码(客户的订单号) Within 30 alphanumeric characters
411 位置编号(客户的帐户代码) Numbers with 13 digits

These are the application identifiers to indicate the administration data such as "order number" of customers and "customer's account code".

应用程序标识符 Content 格式
410 Location number (destination code) Numbers with 13 digits
420 Location number (destination postal code) 在9个字母数字中

They are used for sorting goods according to destinations. "410" is the application identifier that allows the sorting for every company with EAN company codes being used.
“420”是应用程序的标识符,允许the sorting for every delivery destination with postal numbers being used.

The sample shows that AI "420" and the postal number "22071" representing the domestic delivery location are used for door-to-door delivery service.

INDEX

Baidu