Appendix i code128 specifications – KEYENCE BL-700 Series User Manual

Page 151

Advertising
background image

137

Appendices

Appendices

Appendix I

CODE128 Specifications

Setting No. of Digits

The start/stop character and check digit are not included in the number of digits.

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.

Note: Do not use CODE128 with control codes when you build a multidrop link.
Communication errors may occur.

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 “!” “?” Func-
tion, as described on page 18.
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 P.102.

WP68123 \\\!\?ABC <CR>

Control codes (data in 00h to 2Fh of the ASCII code table, such as <CR> and
<STX>), 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.)

Advertising