Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 4 of 12

BL-600 Series User's Manual: Laser Bar Code Reader, pages 31 to 40

Pages 31 to 40 of 112

The original document is the PDF (1.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Keyence BL-600 and Keyence BL-601

Page 31

Chapter 6

6.5

Functions for Reading Operation

Preset Function (Compare with:) This section describes the preset function to prevent different bar codes from being read.

6.5.1 Preset function The preset function is the function that compares the preset data (one bar code data entered beforehand) to the bar code data actually read and outputs OK/NG signals to indicate whether or not there is a match. The preset function allows the BL-600 Series to detect different bar codes without using a PC. ■ OK/NG signal output timing ➮ See pages 86 to 88.

■ Entering the preset data Use the setup software (➮ See page 53.) or a serial command (➮ See page 128.) to enter the preset data. Note: The bar code actually read can be compared to the preset data only in the single label read mode. ➮ See page 164 if you want to use CODE93. ➮ See page 165 if you want to use CODE128.

6.5.2 Using “?” and “!” in the preset data Using “?” and “!” in the preset data allows a wider range of bar codes to match the preset data. ?: One “?” character represents one character. Use “?” to regard any one-digit character as being matched. If the preset data is entered as “4912??56”, the two digits positioned in “??” can contain any characters (numeric values) for a match. !: One “!” character represents an unlimited number of characters. Use “!” to regard any number of characters as being matched. If the preset data is entered as “4912!”, any bar codes that begin with “4912” will be regarded as a match. If the preset data is “!4912”, any bar codes that end with “4912” will be regarded as a match. You can only use “!” once in one preset data.

Setting examples 1. “ABC?”

ABCD (OK),

ABC3 (OK), ABC (NG),

ABCDE (NG)

2. “ABC!”

ABCD (OK),

ABC3 (OK), ABC (OK),

ABCDE (OK),

AB (NB)

3. “?????”

Any 5-digit bar code will be OK.

4. “!CDE”

ABCDE (OK),

3CDE (OK), CDE (OK),

ABBDE (NG),

ADE (NG)

5. “A!E”

ABCDE (OK),

A3CE (OK), ABCD (NG),

AE (OK)

Reference: If you do not register preset data, “!” is automatically registered. Therefore, when the unit successfully reads a bar code, “OK” is output; when the unit fails to read, “NG” is output.

101

6

Page 32

Chapter 6

6.6

Functions for Reading Operation

Additional Information Function This section describes the additional information function that allows the BL-600 Series to send the read data together with various additional data.

6.6.1 Decode match count add function Adds the number of successful scans during one bar code reading (decode count) to the end of the readout data (up to 9999 count). However, this decode count is never less than the preset decoding match count. This function can be used to check reading stability and code label quality. ■ Data format Partition mark

:

Readout data d d = [Decoding match count] to 9999: Decode count

*

The partition mark (:) can be changed as desired (1 character max.).

■ Data output timing If the decoding count add function is used, the data is output at a different time than with normal operation. •

If single label read mode is used: The data is always output after the trigger input turns off.

•

If multi-label read mode 1 is used: The data is output when the repeat-reading time has passed after a bar code passes across the field of the laser beam.

•

If multi-label read mode 2 or 3 is used: The operation is the same as when the decoding count add function is not used.

6

6.6.2 Scan count add function (valid only if using the decoding count add function) If the decoding count add function is used, you can add the number of scans while the trigger input is on, including when the reading has failed and when a bar code does not exist, to the end of the decoding count (up to 9999). ■ Data format Partition mark Readout data

:

d

/ s s = Scan count (1 to 9999) (Zero-suppressed)

*

102

The partition mark (:) can be changed as desired (1 character max.). However, the partition mark for the scan count (/) cannot be changed.

Page 33

Chapter 6

Functions for Reading Operation

6.6.3 Code type add function Adds the bar code type before the readout data . ■ Data format Partition mark t

*

:

Readout data t= 0 1 2 3 4 5 6 7 8

: CODE39 : ITF : Industrial 2of5 : Codabar : EAN/UPC (A•E) : CODE 128 : COOP 2 of 5 : Read error : CODE93

The partition mark (:) can be changed as desired (1 character max.).

6.6.4 Label orientation add function Adds the orientation of bar code travel before the readout data. ➮ See pages 52 and 93

■ Data format

Partition mark r

:

Readout data r = F: Forward orientation R: Reverse orientation

4

9000000

Forward orientation

9000000

4

6

Reverse orientation

* *

If an read error occurs, this information is not added. The partition mark (:) can be changed as desired (1 character max.).

103

Page 34

Chapter 6

Functions for Reading Operation

6.6.5 Symbology ID add function Adds the bar code symbology identifier specified by AIM. ■ Data format

SD

*

Readout data

No partition mark is used. Bar code type

Symbology identifier (SD) ]A0

Data specification No check digit

CODE39

ITF

Inspect check digit (sent).

]A1

Inspect check digit (not sent).

]A3

No check digit

]I0

Inspect check digit (sent).

]I1

Inspect check digit (not sent). Industrial 2of5 Codabar

UPC/EAN

]I3

–––

]S0

–––

]F0

13-digit EAN

]E0

8-digit EAN

]E4

UPC-A 13-digit format

]E0

UPC-A 12-digit format

None

UPC-E CODE128

No FNC1

]C0

FNC1 is on the 1st digit of data (EAN-128).

]C1

FNC1 is on the 2nd digit of data.

6

]C2

CODE93

–––

]G0

COOP 2of5

–––

]X0

6.6.6 PMI add function Adds the data indicating the reading reliability of the bar codes (PMI: Preventive Maintenance Information). You can recognize a low reading reliability due to a low printing quality of bar code labels or a dirty transmitter/receiver of the BL-600 Series, taking appropriate actions before serious problems can occur. *

The PMI add function is only available if the single label read mode is used.

■ Data format Partition mark Readout data

:

PMI

PM1 = 0 : Normal 1 : Caution 2 : Warning 9 : Reading error

*

104

The partition mark (:) can be changed as desired (1 character max.).

Page 35

Chapter 6

Functions for Reading Operation

■ Assessment criteria for PMI The BL-600 Series assesses the PMI (Preventive Maintenance Information) in four levels by calculating the multiplier for the scan count between laser emission start and reading completion with reference to the specified decoding match count.

Trigger input Laser emission Scan count between laser emission start and reading completion

The BL-600 Series calculates the PMI using the following calculations. The assessment uses two reference values (L1: Preset value 1, L2: Preset value 2). *

Be sure to set L2 larger than L1. PMI

Calculation

Assessment

0

Scan count/Decoding match count ≤ L1

Normal

1

L1 < Scan count/Decoding match count ≤ L2

Caution

2

L2 < Scan count/Decoding match count

Warning

9

Reading error

Reading error

Note: The scan count includes scans that are not applied to a bar code. If many scan counts are not applied to a bar code, such as if using a raster-scan type reader, increase the preset values (L1 and L2).

Example: When the decoding match count is 2, preset value 1 (L1) is 5, and preset value 2 (L2) is 10: • •

Scan count for L1: 2 (Decoding match count) x 5 (L1) = 10 Scan count for L2: 2 (Decoding match count) x 10 (L1) = 20

As a result, PMI is assessed as follows: • • •

10 scans or less → PMI = 0 From 11 scans to 20 scans → PMI = 1 21 scans or more → PMI = 2

■ Setting the PMI preset values First, perform a reading rate check. Then, check the result and the following table to determine the preset values. A reading rate of less than 20% is not included. Reading rate

Preset value 1

Preset value 2

20% to 39%

6

12

40% to 59%

5

10

60% to 79%

4

8

80% to 100%

3

6

The above values should only be used as a guide. Select the optimal value according to the operating conditions for a more severe or a more moderate criteria. Reference: When the preset value 1 (L1) is set to “0”, there is no assessment criteria for preset value 1, so PMI 1 will not be displayed. If the preset value 2 (L2) is set to “0”, there is no assessment criteria for preset value 2, so PMI 2 will not be displayed.

105

6

Page 36

Chapter 6

Functions for Reading Operation ■ Conditions for effective PMI To use PMI effectively, use the function under the following conditions: •

Set the BL-600 Series so that it emits the laser after the bar codes have completely entered the field of the laser beam. If the BL-600 Series emits the laser before the bar codes enter the field of the laser beam, it will start counting scans with no bar codes, resulting in an inaccurate PMI.

•

Use the PMI add function for stationary or slowly moving bar codes. If the bar codes move at a fast speed, the scan count for each bar code decreases, resulting in an inaccurate PMI. Use the function if the decoding count in the tact check mode (➮ See page 94.) is at least 20.

•

The PMI add function is only effective in “Single label read mode”.

■ Useful examples of PMI applications ● Controlling the printing quality of bar codes Monitor the PMI constantly. If the PMI value is degraded, the printing quality of the bar code may have a problem. Inspect the bar code. ● Preventing problems before they happen If using several BL-600 Series units, monitor the PMI of all the units constantly.

6

•

If the PMI value of a specific unit is degraded: The unit may have a problem, such as a dirty transmitter/receiver.

•

If the PMI value for a specific bar code is degraded: The bar code may have a problem, such as a low printing quality.

As shown above, PMI allows you to identify problems. You can take appropriate action before a reading error actually occurs.

6.6.7 Order of the additional information If you select to include all the additional information functions, they appear in the following order: Symbology Code type identifier

:

Label orientation

Readout data

:

Decoding count

:

Scan count

*

You can change the partition mark as desired (one character), except the delimiter of the scan count.

*

No partition mark is used for the symbology identifier.

•

If the PMI add function is used, the decoding and scan counts cannot be added. Symbology Code type identifier

106

:

:

Label orientation

:

Readout data

:

PMI

Page 37

Chapter 6

6.7

Functions for Reading Operation

Max. Code Length (Designated Digit ) Output Function The max. code length output function allows the BL-600 Series to output only the designated digit(s) to the PC. For example, you can extract “345” for the output from the bar code data “49123456”. Individually set the function for Codes 1 to 4 by the following procedure. ➮ See page 52.

1. Set “Direction”. Set the direction, “Forward” or “Reverse”, from which you would like to start counting. Direction

Forward

Reverse

4 9 1 2 3 4 5 6 2. Set “Starting”. Specify from which digit you would like to begin selection (designation start digit) in the direction specified in step 1. Starting 5th digit by counting forward

4 9 1 2 3 4 5 6

6

3. Set “Effective”. Specify how many digits you would like to select for output (designation effective digits) starting from the designation start digit specified in step 2. Effective

3 digits starting from 5th digit by counting forward

4 9 1 2 3 4 5 6

Note 1: The data is output in the forward direction regardless of the selected direction. Note 2: When the bar code group includes those having different digits, take special care on the designated direction when setting the digits to be output. Example Designating and outputting “34” from bar codes “158423421” and “58423421”

1 5 8 4 2 3 4 2 1

5 8 4 2 3 4 2 1

Designate 2 digits starting from 3rd digit by counting reversely.

Note 3: When comparing to the preset data, all the digits of the bar code are used.

107

Page 38

Chapter 6

6

108

Functions for Reading Operation

Page 39

Chapter 7 Serial Communication This chapter describes the serial communication control.

7.1

Serial Communication ....................................................... 110

7.2

Details on Data Communication ....................................... 111

7.3

Command Communication ............................................... 114

7.3.1 Setup of direct control commands ....................................... 114 7.3.2 Details on parameter setting commands ............................. 118

Page 40

Chapter 7

7.1

Serial Communication

Serial Communication Serial communication allows you to send the bar code read data from the BL-600 Series to a personal computer, or change the BL-600 Series settings from a personal computer without using the setup software.

Communication types The BL-600 provides the following two communication types: •

Data communication Sends read bar code data from the BL-600 to the PC.

•

Command communication Changes the BL-600’s settings by sending a command from the PC to the BL600.

*

All communication is performed using ASCII codes on page Appendix 26.

Communication setup Configure the setup for BL-600 and the PC before attempting serial communication.

7

Tips

•

Setup of BL-600 Set the following parameters for the BL-600 using the setup software. • Baud rate, Data bits, Parity, Stop bits ➮ See page 45. • Communication protocol ➮ See pages 45 and 46. • Header/Delimiter ➮ See page 46. • Read error code ➮ See page 43.

•

PC setup Based on the BL-600’s settings, set the communication parameters on the PC using the “Ports” setting in the Windows Control Panel/System/Device Manager.

•

The following communication parameters are the default settings for the BL-600: • Baud rate: 9600 bps • Data bits: 7 bits • Parity: Even • Stop bit: 1 bit Set the PC according to the above settings before attempting communication.

•

•

The BL-600 is set, temporarily, to the default settings for 5 seconds after the power switch is turned on. When the current settings of BL-600 is not certain, send the command “SSET” (➮ See page 116.) and a [CR] to the BL-600 from your PC with 5 seconds after power-up. This causes the BL-600 to remain at its default settings and you can communicate with the BL-600 at the default settings. For information on checking the BL-600’s current settings, see “Sift to setting mode” on page 116. For information on changing the above communication parameters see “Details on parameter setting commands” on page 118. When the BL-600 TEST switch is pressed for 8 seconds, the 1st, 3rd and 5th STABILITY LEDs from the top flash, indicating that the communication parameters are set as above. (Press the TEST switch again to reset the settings.)

Note: All commands should be entered in all uppercase characters. The BL cannot accept lowercase characters.

110