2 read modes, Operation of multi-label read mode 3, Reading data format – KEYENCE BL-180 User Manual

Page 22

Advertising
background image

2.2 Read modes

14

Operation of multi-label read mode 3

This mode allows the unit to continuously read each one of 4 bar code types
“Code 1”, “Code 2”, “Code 3”, and “Code 4” as specified in the “code setup” of the
setup software (see page 32). If 3 types are specified in the “code setup”, the unit
reads 3 bar codes (each of 3 types). If 2 types are specified, the unit reads 2 bar
codes.

The following time chart is given.

The above example chart is with all four codes specified in the “code setup” of the
setup software.

• The bar code reading sequence is not fixed.

• The unit communicates the readout data in the order of Code 1 to Code 4.

After the trigger input turns off, the unit sends all the data at one time.

• For OK/NG output, “OK” turns on if the unit reads all the specified Codes 1 to 4

and “NG” turns on if the unit fails to read at least one bar code. (Comparison to
the preset data is not performed.)

Reading data format

• Each data packet is separated by a comma (, : 2CH) (intermediate delimiter).

• If an read error occurs on any one of Codes 1 to 4, or the corresponding bar

code does not exist, “ERROR” (see page 49 for the reading error codes),
instead of the read data is sent.

• See page 48 for “header string” and “delimeter”.

Example

Suppose that the following codes are specified:

Code 1 --- CODE39, 10 digits
Code 2 --- EAN/UPC, 13 digits
Code 3 --- None
Code 4 --- CODE39, 8 digits

When the unit successfully reads all 3 types of codes:

When the unit fails to read Code 1 (CODE39, 10 digits)

When the unit fails to read Code 1 (CODE39, 10 digits) and Code 4 (CODE39, 8
digits)

When the same type of data having the same digits is specified to all Codes 1 to
4, the unit sends the data in the reading order.

OK

Trigger input

Bar Code

LED beams

Communication time

OK/NG output

Code 1 Code 2 Code 3 Code 4

Code 1

Code 2

Code 3

Code 4

NG

Header

Data read

from Code

1

,

Data read

from Code

2

,

Data read

from Code

3

,

Data read

from Code

4

,

Delimeter

Header

ABCDE12345

,

4901234567894

,

KEYENCE

Delimeter

Header

ERROR

,

4901234567894

,

KEYENCE

Delimeter

Header

ERROR

,

4901234567894

,

ERROR

Delimeter

Advertising