beautypg.com

A.7 code128 specifications – KEYENCE BL-180 User Manual

Page 78

background image

A.7 CODE128 Specifications

70

A.7 CODE128 Specifications

Setting No. of Digits

• The start/stop character and check digit are not included in the number of dig-

its.

• FNC1 to 4 (Function codes), SHIFT, and CODE-A to -C should not be added to

the number of digits.

• The number of digits setting range varies depending on the start character

(CODE-A to -C).

CODE-A, B: 1 to 32

CODE-C: 2 to 64

One digit of CODE-A or CODE-B represents two digits of CODE-C.

Data Transmission

• The start/stop character and check digit cannot be sent.

• FNC1 to 4 (Function codes), SHIFT, and CODE-A to -C cannot be sent.

• Control codes are sent.

Registration of Preset Data

The number of characters that can be registered as preset data is up to 32 digits
for CODE-A or CODE-B, and up to 64 digits for CODE-C, as described above.

When ! or ? is registered as preset data, it functions as the Preset “!” “?” Function,
as described on page 20 .

Since CODE128 can represent all ASCII codes as bar code data, ! or ? can also
be represented as bar code data.

To register ! or ? as preset data, send \! or \? to differentiate it from the Preset “!”
“?” function.

To register \ as preset data, send \\.

Example:

To register 123 \!?ABC as preset data, send the following command (see
page 57).

WP68123 \\\!\?ABC

Control codes (00h to 2Fh of the ASCII code table, such as and ), start/
stop character, check digit, FNC1 to 4 (function codes), SHIFT or CODE-A to-C
cannot be registered as preset data. (Data comparison is also impossible.)